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 = 1513105;
}
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 (99 < _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 1159
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=1", 0);
s = new Sound();
Frame 1164
gotoAndPlay (1166);
Frame 1166
setProperty("/Gts", _visible , 1);
Set("/Variables:From", "Debut");
gotoAndPlay (1167);
Frame 1167
if (/Variables:From ne "EauTab1") {
Set("/Variables:PtArret", 3);
if (/Variables:PtArrive == 6) {
if (/Variables:SensYeti == 1) {
Set("/Variables:PtArrive", 5);
Set("/Variables:SensYeti", -1);
} else if (/Variables:From eq "Tab3") {
Set("/Variables:PtArrive", 7);
Set("/Variables:SensYeti", 1);
}
} else if (/Variables:PtArrive == 7) {
if (_root.Gts.Yeti.hitTest(_root.Gts.P7)) {
if (((/Variables:From eq "Tab4Haut") or (/Variables:From eq "Tab3")) or (/Variables:From eq "Tab4Bas")) {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArrive", 6);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:SensYeti == 1) {
if (/Variables:From ne "Tab3") {
Set("/Variables:PtArrive", 6);
Set("/Variables:SensYeti", -1);
}
} else if ((/Variables:SensYeti == -1) and (((/Variables:From eq "Tab4Haut") or (/Variables:From eq "Tab3")) or (/Variables:From eq "Tab4Bas"))) {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", 1);
}
} else if (/Variables:PtArrive == 8) {
if (((/Variables:From eq "Tab4Haut") or (/Variables:From eq "Tab3")) or (/Variables:From eq "Tab4Bas")) {
if (_root.Gts.Yeti.hitTest(_root.Gts.P8) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 9);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P8) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 7);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 9) {
if (((/Variables:From eq "Tab4Haut") or (/Variables:From eq "Tab3")) or (/Variables:From eq "Tab4Bas")) {
if (_root.Gts.Yeti.hitTest(_root.Gts.P9) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P9) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", -1);
}
} else if ((/Variables:PtArrive < 6) and (3 < /Variables:PtArrive)) {
if (/Variables:SensYeti == 1) {
Set("/Variables:PtArrive", /Variables:PtArrive - 1);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
Set("/Variables:SensYeti", -1);
}
} else if ((9 < /Variables:PtArrive) or (/Variables:PtArrive < 3)) {
if (/Variables:SensYeti == -1) {
Set("/Variables:PtArrive", /Variables:PtArrive + 1);
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:SensYeti", 1);
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.PontGaucheDerriere", _visible , 0);
setProperty("_root.PontDroiteDerriere", _visible , 0);
Frame 1168
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
if (/Variables:From == "EauTab1") {
setProperty("_root.Meg", _x , XPosition);
setProperty("_root.Meg", _y , YPosition + 20);
setProperty("_root.Meg", _yscale , Scale);
setProperty("_root.Meg", _xscale , Scale);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From == "Tab5") {
tellTarget ("_root") {
gotoAndStop ("StepEauTab1");
};
}
if (/Variables:From == "Tab6") {
setProperty("_root.Meg", _visible , 0);
setProperty("_root.Meg", _x , 372);
setProperty("_root.Meg", _y , 30);
gotoAndStop (1183);
}
if (/Variables:From == "Debut") {
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
if (/Variables:From == "Tab2") {
Set("/Variables:Etage", 2);
setProperty("_root.Meg", _x , 111);
setProperty("_root.Meg", _y , 112);
}
if (/Variables:From == "Tab4Bas") {
Set("/Variables:Etage", 2);
setProperty("_root.Meg", _x , 419);
setProperty("_root.Meg", _y , 376);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From == "Tab4Haut") {
Set("/Variables:Etage", 2);
setProperty("_root.Meg", _x , 547);
setProperty("_root.Meg", _y , 245);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From == "Tab3") {
Set("/Variables:Etage", 2);
setProperty("_root.Meg", _x , 486);
setProperty("_root.Meg", _y , 95);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
tellTarget ("_root.Gts") {
gotoAndStop (2);
};
Instance of Symbol 2392 MovieClip in Frame 1168
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5950 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (/Variables:Etage == 1) {
tellTarget ("_root.Trou") {
gotoAndStop (2);
};
setProperty("_root.PontDroiteDevant", _visible , 1);
setProperty("_root.PontGaucheDevant", _visible , 1);
setProperty("_root.PontDroiteDerriere", _visible , 0);
setProperty("_root.PontGaucheDerriere", _visible , 0);
setProperty("_root.DecoupeTab1", _visible , 1);
} else {
tellTarget ("_root.Trou") {
gotoAndStop (1);
};
setProperty("_root.PontDroiteDevant", _visible , 0);
setProperty("_root.PontGaucheDevant", _visible , 0);
setProperty("_root.PontDroiteDerriere", _visible , 1);
setProperty("_root.PontGaucheDerriere", _visible , 1);
setProperty("_root.DecoupeTab1", _visible , 0);
}
if (((_root.CacheGrimpe.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheGrimpe2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
setProperty("_root.PontDroiteDevant", _visible , 0);
setProperty("_root.PontGaucheDevant", _visible , 0);
setProperty("_root.PontDroiteDerriere", _visible , 1);
setProperty("_root.PontGaucheDerriere", _visible , 1);
setProperty("_root.DecoupeTab1", _visible , 0);
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab1");
};
}
if ((_root.CacheGrimpeb.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab1b");
};
}
if (((_root.CacheGrimpe1c.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheGrimpe2c.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab1c");
};
}
if (_root.CacheEntreEau.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Scale = getProperty("_root.Meg", _xscale);
Xposition = getProperty("_root.Meg", _x);
Yposition = getProperty("_root.Meg", _y);
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreEau");
};
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (_root.CacheVersTab4Haut.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab1Haut");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if (_root.CacheVersTab4Bas.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab1Bas");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if (_root.CacheVersTab2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab1");
if (/Variables:LumiereAllumee != true) {
tellTarget ("_root") {
gotoAndPlay ("Tab2aIni");
};
} else {
tellTarget ("_root") {
gotoAndPlay ("Tab2bIni");
};
}
}
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);
setProperty("_root.PontDroiteDevant", _visible , 1);
setProperty("_root.PontGaucheDevant", _visible , 0);
setProperty("_root.PontDroiteDerriere", _visible , 0);
setProperty("_root.PontGaucheDerriere", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1169
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
stop();
Frame 1178
Set("/Variables:Grimpe", true);
if (250 < getProperty("_root.Meg", _y)) {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y) - 20);
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
} else {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x) - 20);
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y));
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
}
Instance of Symbol 2451 MovieClip in Frame 1178
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) + 20);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
Set("/Variables:Etage", 1);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
}
if (_root.CacheSortCote.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.RIGHT)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 93);
setProperty("_root.Meg", _y , 132);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
Set("/Variables:Etage", 2);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1183
Set("/Variables:Grimpe", true);
if (70 < getProperty("_root.Meg", _y)) {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y) - 20);
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
} else {
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
}
Instance of Symbol 2452 MovieClip in Frame 1183
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) + 20);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
Set("/Variables:Etage", 1);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
}
if (_root.CacheSortHaut.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.UP)) {
tellTarget ("_root") {
gotoAndPlay ("Tab6Ini");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1187
Set("/Variables:Grimpe", true);
if (290 < getProperty("_root.Meg", _y)) {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y) - 20);
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
} else {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y) + 60);
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
}
Instance of Symbol 2453 MovieClip in Frame 1187
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) + 20);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
Set("/Variables:Etage", 2);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
}
if (_root.CacheSortHaut.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.UP)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) - 40);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1189
Set("/Variables:EtatVide", "StepEauTab1Stoppe");
Set("/Variables:EtatActif", "StepMarcheEauTab1");
nextFrame();
Frame 1190
if (/Variables:From eq "Tab5") {
Set("/Variables:From", "");
} else {
setProperty("_root.Meg", _xscale , Scale);
setProperty("_root.Meg", _yscale , Scale);
setProperty("_root.Meg", _x , Xposition);
setProperty("_root.Meg", _y , Yposition - 20);
}
Set("/Variables:Delta", _root.Meg._yscale / 100);
Instance of Symbol 2467 MovieClip in Frame 1190
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
setProperty("_root.PontDroiteDevant", _visible , 1);
setProperty("_root.PontGaucheDevant", _visible , 1);
setProperty("_root.PontDroiteDerriere", _visible , 0);
setProperty("_root.PontGaucheDerriere", _visible , 0);
setProperty("_root.DecoupeTab1", _visible , 1);
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheSortEau.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "EauTab1");
Scale = getProperty("_root.Meg", _xscale);
Xposition = getProperty("_root.Meg", _x);
Yposition = getProperty("_root.Meg", _y);
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
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;
} 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) {
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;
} 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) {
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;
} 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) {
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)) {
Idle = false;
} 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) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
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 (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1196
Set("/Variables:PtArret", 6);
if (/Variables:PtArrive == 9) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P9) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", -1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P9) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 10) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P10) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 11);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P10) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 9);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 11) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P11) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P11) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
} else if ((/Variables:PtArrive < 9) and (6 < /Variables:PtArrive)) {
if (/Variables:SensYeti == 1) {
Set("/Variables:PtArrive", /Variables:PtArrive - 1);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
Set("/Variables:SensYeti", -1);
}
} else if ((/Variables:PtArrive >= 1) and (/Variables:PtArrive < 6)) {
if (/Variables:SensYeti == -1) {
Set("/Variables:PtArrive", /Variables:PtArrive + 1);
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:SensYeti", 1);
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
Frame 1197
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:EtatActif", "Tab2");
if (/Variables:From == "Tab1") {
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From == "Tab5") {
myColor = new Color(_root.Meg);
myColorTransform = new Object();
myColorTransform.ra = -100;
myColorTransform.ga = -100;
myColorTransform.ba = -100;
MyColor.setTransform(myColorTransform);
setProperty("_root.Meg", _x , 243);
setProperty("_root.Meg", _y , 224);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root.Sons") {
gotoAndPlay ("SndToDark");
};
}
tellTarget ("_root.Gts") {
gotoAndStop (4);
};
Instance of Symbol 2476 MovieClip in Frame 1197
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.UP)) {
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Etage", 2);
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (((/Variables:LumiereAllumee == false) and Key.isDown(key.SPACE)) and (/Variables:ObjetSelect == 3)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DeposeRoche");
};
}
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 (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1198
Set("/Variables:Grimpe", false);
stop();
Frame 1207
Set("/Variables:PtArret", 6);
if (/Variables:PtArrive == 9) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P9) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", -1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P9) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 8);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 10) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P10) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 11);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P10) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 9);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 11) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P11) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P11) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
} else if ((/Variables:PtArrive < 9) and (6 < /Variables:PtArrive)) {
if (/Variables:SensYeti == 1) {
Set("/Variables:PtArrive", /Variables:PtArrive - 1);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
Set("/Variables:SensYeti", -1);
}
} else if ((/Variables:PtArrive >= 1) and (/Variables:PtArrive < 6)) {
if (/Variables:SensYeti == -1) {
Set("/Variables:PtArrive", /Variables:PtArrive + 1);
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:SensYeti", 1);
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
Frame 1208
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:EtatActif", "Tab2");
setProperty("_root.RocheLumineuse", _x , /Variables:XPositionRoche);
setProperty("_root.RocheLumineuse", _y , /Variables:YPositionRoche);
if (/Variables:From == "Tab5") {
setProperty("_root.Meg", _x , 248);
setProperty("_root.Meg", _y , 234);
}
if (/Variables:From == "Tab1") {
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From == "Tab2a") {
setProperty("_root.Meg", _x , /:XPosition);
setProperty("_root.Meg", _y , /:YPosition);
tellTarget ("_root.Meg") {
gotoAndStop(/:Frame);
};
}
tellTarget ("_root.Gts") {
gotoAndStop (4);
};
Instance of Symbol 2530 MovieClip in Frame 1208
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Ferme == false)) {
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Etage", 2);
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if ((_root.CacheBriseGlace.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:Tab2Ferme == false)) {
if (/Variables:ChuteBouche == true) {
if (((getProperty("_root.Gts.BlocGauche", _x) < getProperty("_root.Gts.Yeti", _x)) and (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x))) and (getProperty("_root.Gts.Yeti", _y) < getProperty("_root.Gts.BlocBas", _y))) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseGlaceTab2");
};
} else if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndNotNow");
};
}
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseGlaceTab2");
};
}
}
if (_root.CacheGlisse.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("Glisse");
};
}
if ((_root.CacheCadavre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:GardeMortVu == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RegardeGarde");
};
}
if (((_root.CacheGrimpe.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheGrimpe2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab2b");
};
}
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 (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1209
Set("/Variables:Grimpe", false);
stop();
Frame 1218
Set("/Variables:Grimpe", true);
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y));
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
Instance of Symbol 2533 MovieClip in Frame 1218
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if ((_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) or (_root.CacheSortBas2.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN))) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) + 20);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1223
Set("/Variables:PtArret", 9);
if (/Variables:PtArrive == 2) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P2) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P2) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 3) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P3) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 2);
Set("/Variables:SensYeti", -1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P3) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 4);
Set("/Variables:SensYeti", 1);
}
} else if (/Variables:PtArrive == 4) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P4) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", -1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P4) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 5);
Set("/Variables:SensYeti", 1);
}
} else if (/Variables:PtArrive == 5) {
if (/Variables:From eq "Tab1") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P5) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 4);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArrive", 6);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P5) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 6);
Set("/Variables:SensYeti", 1);
}
} else if ((5 < /Variables:PtArrive) and (/Variables:PtArrive < 9)) {
if (/Variables:SensYeti == -1) {
Set("/Variables:PtArrive", /Variables:PtArrive + 1);
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:SensYeti", 1);
}
} else if ((/Variables:PtArrive < 2) or (9 < /Variables:PtArrive)) {
if (/Variables:SensYeti == 1) {
Set("/Variables:PtArrive", /Variables:PtArrive - 1);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
Set("/Variables:SensYeti", -1);
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
Frame 1224
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
if (/Variables:From == "Tab1") {
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From == "Tab5") {
setProperty("_root.Meg", _x , 85);
setProperty("_root.Meg", _y , 307);
}
tellTarget ("_root.Gts") {
gotoAndStop (6);
};
Instance of Symbol 2562 MovieClip in Frame 1224
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (((_root.CacheGrimpe.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheGrimpe2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab3");
};
}
if ((_root.CacheChuteAction.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:ChuteBouche == false)) {
if (/Variables:Tab2Ferme == true) {
if (((getProperty("_root.Gts.BlocGauche", _x) < getProperty("_root.Gts.Yeti", _x)) and (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x))) and (getProperty("_root.Gts.Yeti", _y) < getProperty("_root.Gts.BlocBas", _y))) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("ChuteAction");
};
} else if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndNotNow");
};
}
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("ChuteAction");
};
}
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Etage", 2);
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
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);
setProperty("_root.PontGlaceDevant", _visible , 1);
setProperty("_root.PontGlaceDerriere", _visible , 0);
setProperty("_root.PontGlaceDevant.Gauche", _visible , 0);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 9);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1225
Set("/Variables:Grimpe", false);
stop();
Frame 1234
Set("/Variables:Grimpe", true);
if (200 < getProperty("_root.Meg", _y)) {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y));
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
} else {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y) + 60);
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
}
Instance of Symbol 2565 MovieClip in Frame 1234
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) + 20);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
}
if (_root.CacheSortHaut.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.UP)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) - 40);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1241
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
if (/Variables:From == "Tab1Haut") {
setProperty("_root.Meg", _x , 97);
setProperty("_root.Meg", _y , 118);
}
tellTarget ("_root.Gts") {
gotoAndStop (8);
};
Instance of Symbol 2582 MovieClip in Frame 1241
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (((_root.CacheGrimpe.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheGrimpe2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab4");
};
}
if (((_root.CacheRocheRamasse.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:RocheRamasse == false)) and (/Variables:RocheTombe == true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RocheRamasse");
};
}
if (_root.CacheVersTab1Haut.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Etage", 2);
Set("/Variables:From", "Tab4Haut");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheVersTab1Bas.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Etage", 2);
Set("/Variables:From", "Tab4Bas");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
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);
setProperty("_root.PontGlaceDevant", _visible , 1);
setProperty("_root.PontGlaceDerriere", _visible , 0);
setProperty("_root.PontGlaceDevant.Gauche", _visible , 0);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1242
Set("/Variables:Grimpe", false);
stop();
Frame 1251
Set("/Variables:Grimpe", true);
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y));
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
Instance of Symbol 2583 MovieClip in Frame 1251
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (((_root.CacheArracheRoche.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.IsDown(Key.Space)) and (/Variables:RocheTombe == false)) and (/Variables:ObjetSelect == 1)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RocheTombe");
};
}
if ((_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) or (_root.CacheSortBas2.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and (Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)))) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) + 20);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1257
if ((/Variables:Tab2Ferme == true) and (/Variables:ChuteBouche == true)) {
gotoAndPlay (1290);
} else if ((/Variables:From ne "EauTab5") and ((/Variables:Tab2Ferme != true) or (/Variables:ChuteBouche != true))) {
Set("/Variables:PtArret", 7);
if (/Variables:PtArrive == 11) {
if (/Variables:From eq "Tab2") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P11) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P11) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 1) {
if (/Variables:From eq "Tab2") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P1) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 2);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P1) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 11);
Set("/Variables:SensYeti", -1);
}
} else if (/Variables:PtArrive == 2) {
if (/Variables:From eq "Tab3") {
if (_root.Gts.Yeti.hitTest(_root.Gts.P2) or (/Variables:SensYeti == 1)) {
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
} else if (_root.Gts.Yeti.hitTest(_root.Gts.P2) or (/Variables:SensYeti == -1)) {
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
} else if ((2 < /Variables:PtArrive) and (/Variables:PtArrive < 7)) {
if (/Variables:SensYeti == -1) {
Set("/Variables:PtArrive", /Variables:PtArrive + 1);
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:SensYeti", 1);
}
} else if ((7 < /Variables:PtArrive) and (/Variables:PtArrive < 11)) {
if (/Variables:SensYeti == 1) {
Set("/Variables:PtArrive", /Variables:PtArrive - 1);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
Set("/Variables:SensYeti", -1);
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
Frame 1258
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:EtatActif", "Tab5");
setProperty("_root.StepEau", _x , -150);
setProperty("_root.StepEau", _y , 245);
if (/Variables:From == "EauTab5") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , XPosition);
setProperty("_root.Meg", _y , YPosition);
setProperty("_root.Meg", _yscale , Scale);
setProperty("_root.Meg", _xscale , Scale);
tellTarget ("_root.Meg") {
gotoAndStop ("SortEau");
};
}
if (/Variables:From == "Tab1") {
tellTarget ("_root") {
gotoAndStop ("StepEauTab5");
};
}
if (/Variables:From == "Tab2") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
if (/Variables:From == "Tab3") {
setProperty("_root.Meg", _x , 550);
setProperty("_root.Meg", _y , 253);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
tellTarget ("_root.Gts") {
gotoAndStop (10);
};
Instance of Symbol 2592 MovieClip in Frame 1258
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheEntreEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.DOWN)) {
Scale = getProperty("_root.Meg", _xscale);
Xposition = getProperty("_root.Meg", _x);
Yposition = getProperty("_root.Meg", _y) + 60;
Frame = getProperty("_root.Meg", _currentframe);
tellTarget ("_root") {
gotoAndStop ("StepEauTab5");
};
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ChuteBouche == false)) {
Set("/Variables:From", "Tab5");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (_root.CacheVersTab2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Ferme == false)) {
Set("/Variables:From", "Tab5");
if (/Variables:LumiereAllumee != true) {
tellTarget ("_root") {
gotoAndPlay ("Tab2aIni");
};
} else {
tellTarget ("_root") {
gotoAndPlay ("Tab2bIni");
};
}
}
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);
setProperty("_root.PontGlaceDevant", _visible , 1);
setProperty("_root.PontGlaceDerriere", _visible , 0);
setProperty("_root.PontGlaceDevant.Gauche", _visible , 0);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) and ((/Variables:Tab2Ferme != true) or (/Variables:ChuteBouche != true))) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
if (/Variables:Tab2Ferme == true) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 7);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
}
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else if (/Variables:ChuteBouche == true) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArret", 7);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1259
Set("/Variables:Grimpe", false);
stop();
Frame 1267
Set("/Variables:EtatVide", "StepEauTab5Stoppe");
Set("/Variables:EtatActif", "StepMarcheEauTab5");
nextFrame();
Frame 1268
if (/Variables:From eq "Tab1") {
Set("/Variables:From", "");
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
} else {
setProperty("_root.Meg", _xscale , Scale);
setProperty("_root.Meg", _yscale , Scale);
setProperty("_root.Meg", _x , Xposition);
setProperty("_root.Meg", _y , Yposition);
tellTarget ("_root.Meg") {
gotoAndStop(Frame);
};
}
Set("/Variables:Delta", _root.Meg._yscale / 100);
Instance of Symbol 2597 MovieClip in Frame 1268
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
setProperty("_root.PontDroiteDevant", _visible , 1);
setProperty("_root.PontGaucheDevant", _visible , 1);
setProperty("_root.PontDroiteDerriere", _visible , 0);
setProperty("_root.PontGaucheDerriere", _visible , 0);
setProperty("_root.DecoupeTab1", _visible , 1);
if (_root.SortEauTab5.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.UP)) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "EauTab5");
Scale = getProperty("_root.Meg", _xscale);
setProperty("_root.StepEau", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepEau", _y , getProperty("_root.Meg", _y) - 40);
setProperty("_root.StepEau", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepEau", _yscale , getProperty("_root.Meg", _yscale));
Xposition = getProperty("_root.Meg", _x);
Yposition = getProperty("_root.Meg", _y) - 40;
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab5");
Set("/Variables:Etage", 1);
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
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;
} 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) {
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;
} 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) {
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;
} 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) {
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") {
};
Idle = false;
} 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) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
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 ((!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) and ((/Variables:Tab2Ferme != true) or (/Variables:ChuteBouche != true))) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1274
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.05);
Set("/Variables:EtatVide", "Tab6Stoppe");
Set("/Variables:EtatActif", "Tab6");
gotoAndStop (1284);
tellTarget ("_root.Gts") {
gotoAndStop (12);
};
Instance of Symbol 2610 MovieClip in Frame 1274
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (((_root.CacheGrimpe.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheGrimpe2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.IsDown(Key.Space)) and (/Variables:ObjetSelect == 4)) {
tellTarget ("_root") {
gotoAndStop ("StepGrimpeTab6");
};
}
if ((((_root.CacheGlaceFond.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:TrouLumiereOuvert == true)) and (/Variables:RocheAllume == false)) and (/Variables:ObjetSelect == 2)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RocheAllume");
};
}
if (((_root.CacheGlaceFond.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:TrouLumiereOuvert == false)) and (/Variables:ObjetSelect == 9)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("GlaceFond");
};
}
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);
setProperty("_root.PontGlaceDevant", _visible , 1);
setProperty("_root.PontGlaceDerriere", _visible , 0);
setProperty("_root.PontGlaceDevant.Gauche", _visible , 0);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1275
Set("/Variables:Grimpe", false);
stop();
Frame 1284
Set("/Variables:Grimpe", true);
if (390 < getProperty("_root.Meg", _y)) {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y));
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
} else {
setProperty("_root.StepGrimpe", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepGrimpe", _y , getProperty("_root.Meg", _y) + 100);
setProperty("_root.StepGrimpe", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepGrimpe", _yscale , getProperty("_root.Meg", _yscale));
setProperty("_root.Meg", _visible , 0);
}
Instance of Symbol 2611 MovieClip in Frame 1284
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (5990 < random(6000)) {
tellTarget ("_root.CriYeti") {
play();
};
}
if (_root.CacheSortBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.DOWN)) {
Set("/Variables:From", "Tab6");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheSortHaut.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) and Key.isDown(Key.UP)) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , getProperty("_root.StepGrimpe", _x));
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y) - 100);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
}
}
if (!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1290
if (/Variables:YetiAssome == true) {
setProperty("_root.Yeti", _x , 382.3);
setProperty("_root.Yeti", _y , 84.8);
}
Frame 1291
Set("/Variables:Grimpe", false);
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.025);
Set("/Variables:EtatVide", "TabYetiStoppe");
Set("/Variables:EtatActif", "TabYeti");
setProperty("_root.StepEau", _x , -150);
setProperty("_root.StepEau", _y , 245);
if (/Variables:From == "EauTabYeti") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , XPosition);
setProperty("_root.Meg", _y , YPosition);
setProperty("_root.Meg", _yscale , Scale);
setProperty("_root.Meg", _xscale , Scale);
tellTarget ("_root.Meg") {
gotoAndStop ("SortEau");
};
}
if (/Variables:From == "Tab1") {
tellTarget ("_root") {
gotoAndStop ("StepEauTabYeti");
};
}
tellTarget ("_root.Gts") {
gotoAndStop (10);
};
Instance of Symbol 2742 MovieClip in Frame 1291
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe == true) {
tellTarget ("_root.Yeti.YetiCote") {
gotoAndStop (1);
};
}
if (/Variables:Stoppe != true) {
if ((((/Variables:ObjetSelect == 7) and Key.isDown(Key.SPACE)) and (/Variables:YetiPeur != true)) and (/Variables:YetiPris != true)) {
if (((getProperty("_root.Meg", _currentframe) == 6) or (((getProperty("_root.Meg", _currentframe) == 8) or (getProperty("_root.Meg", _currentframe) == 7)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Yeti", _x) - 20)))) or (((getProperty("_root.Meg", _currentframe) == 4) or (getProperty("_root.Meg", _currentframe) == 5)) and ((getProperty("_root.Yeti", _x) + 20) < getProperty("_root.Meg", _x)))) {
Set("/Variables:FlashOk", true);
} else {
Set("/Variables:FlashOk", false);
}
tellTarget ("_root.Meg.Obj") {
gotoAndPlay ("Photo");
};
}
if (((((/Variables:ObjetSelect == 7) and Key.isDown(Key.SPACE)) and (/Variables:YetiPeur != true)) and (/Variables:YetiPris == true)) and (/Variables:YetiAssome == false)) {
if (((getProperty("_root.Meg", _currentframe) == 6) or (((getProperty("_root.Meg", _currentframe) == 8) or (getProperty("_root.Meg", _currentframe) == 7)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Yeti", _x) - 20)))) or (((getProperty("_root.Meg", _currentframe) == 4) or (getProperty("_root.Meg", _currentframe) == 5)) and ((getProperty("_root.Yeti", _x) + 20) < getProperty("_root.Meg", _x)))) {
Set("/Variables:FlashOk", true);
} else {
Set("/Variables:FlashOk", false);
}
tellTarget ("_root.Meg.Obj") {
gotoAndPlay ("Photo");
};
}
if (((/Variables:YetiAction != true) and (/Variables:YetiPris != true)) and (/Variables:YetiAssome != true)) {
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
Set("/Variables:YetiAction", true);
tellTarget ("_root.Yeti.YetiCote") {
gotoAndStop ("Claque");
};
}
if ((getProperty("_root.Meg", _x) < getProperty("_root.Yeti", _x)) and (/Variables:CoteYeti eq "Droite")) {
Set("/Variables:YetiAction", true);
tellTarget ("_root.Yeti.YetiCote") {
gotoAndStop ("Tourne");
};
} else if ((getProperty("_root.Yeti", _x) < getProperty("_root.Meg", _x)) and (/Variables:CoteYeti eq "Gauche")) {
Set("/Variables:YetiAction", true);
tellTarget ("_root.Yeti.YetiCote") {
gotoAndStop ("Tourne");
};
}
}
if (((_root.CachePique.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.IsDown(Key.Space)) and (/Variables:YetiAssome == true)) and (/Variables:ObjetSelect == 10)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=19", 0);
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if (_root.CacheEntreEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.DOWN)) {
Scale = getProperty("_root.Meg", _xscale);
Xposition = getProperty("_root.Meg", _x);
Yposition = getProperty("_root.Meg", _y) + 60;
Frame = getProperty("_root.Meg", _currentframe);
tellTarget ("_root") {
gotoAndStop ("StepEauTabYeti");
};
}
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);
setProperty("_root.PontGlaceDevant", _visible , 1);
setProperty("_root.PontGlaceDerriere", _visible , 0);
setProperty("_root.PontGlaceDevant.Gauche", _visible , 0);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) and ((/Variables:Tab2Ferme != true) or (/Variables:ChuteBouche != true))) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
if (/Variables:Tab2Ferme == true) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 7);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
}
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else if (/Variables:ChuteBouche == true) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
} else {
Set("/Variables:PtArret", 7);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1292
Set("/Variables:Grimpe", false);
stop();
Frame 1300
Set("/Variables:EtatVide", "StepEauTabYetiStoppe");
Set("/Variables:EtatActif", "StepMarcheEauTabYeti");
nextFrame();
Frame 1301
if (/Variables:From eq "Tab1") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=15", 0);
Set("/Variables:From", "");
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
} else {
setProperty("_root.Meg", _xscale , Scale);
setProperty("_root.Meg", _yscale , Scale);
setProperty("_root.Meg", _x , Xposition);
setProperty("_root.Meg", _y , Yposition);
tellTarget ("_root.Meg") {
gotoAndStop(Frame);
};
}
Set("/Variables:Delta", _root.Meg._yscale / 100);
Instance of Symbol 2743 MovieClip in Frame 1301
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.PontDroiteDevant", _visible , 1);
setProperty("_root.PontGaucheDevant", _visible , 1);
setProperty("_root.PontDroiteDerriere", _visible , 0);
setProperty("_root.PontGaucheDerriere", _visible , 0);
setProperty("_root.DecoupeTab1", _visible , 1);
if (_root.SortEauTab5.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.UP)) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "EauTabYeti");
Scale = getProperty("_root.Meg", _xscale);
setProperty("_root.StepEau", _x , getProperty("_root.Meg", _x));
setProperty("_root.StepEau", _y , getProperty("_root.Meg", _y) - 40);
setProperty("_root.StepEau", _xscale , getProperty("_root.Meg", _xscale));
setProperty("_root.StepEau", _yscale , getProperty("_root.Meg", _yscale));
Xposition = getProperty("_root.Meg", _x);
Yposition = getProperty("_root.Meg", _y) - 40;
tellTarget ("_root") {
gotoAndPlay ("TabYetiIni");
};
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab5");
Set("/Variables:Etage", 1);
Set("/Variables:FlashOk", false);
Set("/Variables:CoteYeti", "Droite");
Set("/Variables:PositionYeti", 4);
Set("/Variables:YetiAction", false);
Set("/Variables:YetiPeur", false);
if (/Variables:YetiAssome == false) {
Set("/Variables:YetiPris", false);
} else {
Set("/Variables:YetiPris", true);
}
Set("/Variables:YetTourne", false);
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
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;
} 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) {
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;
} 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) {
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;
} 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) {
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") {
};
Idle = false;
} 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) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
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;
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
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 ((!_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArret)) and ((/Variables:Tab2Ferme != true) or (/Variables:ChuteBouche != true))) {
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocDroite) and (/Variables:ChuteBouche == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocDroite", _x)) {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 3);
Set("/Variables:PtArrive", 3);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
if (_root.Gts.Yeti.hitTest(_root.Gts.BlocGauche) and (/Variables:Tab2Ferme == true)) {
if (getProperty("_root.Gts.Yeti", _x) < getProperty("_root.Gts.BlocGauche", _x)) {
Set("/Variables:PtArret", 10);
Set("/Variables:PtArrive", 10);
Set("/Variables:SensYeti", -1);
} else {
Set("/Variables:PtArret", 1);
Set("/Variables:PtArrive", 1);
Set("/Variables:SensYeti", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.Yeti", _x) + /Variables:MoveX);
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.Yeti", _y) + /Variables:MoveY);
if (_root.Gts.Yeti.hitTest(_root.Gts.ZoneDeplace.GtsSteppen) and (/Variables:YetiVu != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("CroiseYeti");
};
}
if ((_root.Gts.Yeti.hitTest("_root.Gts.P" + /Variables:PtArrive) == true) and (/Variables:PtArrive != /Variables:PtArret)) {
Set("/Variables:PtArrive", /Variables:PtArrive + /Variables:SensYeti);
if (/Variables:PtArrive < 1) {
Set("/Variables:PtArrive", /Variables:PtNb);
}
if (/Variables:PtNb < /Variables:PtArrive) {
Set("/Variables:PtArrive", 1);
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Yeti", _x) - getProperty("_root.Gts.P" + /Variables:PtArrive, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Yeti", _y) - getProperty("_root.Gts.P" + /Variables:PtArrive, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else {
Set("/Variables:YetiVu", false);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1306
stopAllSounds();
gotoAndPlay (1329);
Frame 1313
stopAllSounds();
gotoAndPlay (1329);
Frame 1324
stopAllSounds();
gotoAndPlay (1399);
Frame 1329
stopAllSounds();
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=22", 0);
Frame 1398
stop();
Frame 2412
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=21", 0);
Frame 2442
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 126
play();
Symbol 68 MovieClip Frame 142
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 207 Button
on (release) {
stopAllSounds();
gotoAndPlay (1159);
}
Symbol 1040 MovieClip Frame 1
Fleche = 1;
Set("/:Idle", false);
InvNbTotal = 11;
SaveArray = new Array();
i = 0;
while (i < InvNbTotal) {
Set(SaveArray, SaveArray.Push(false));
i = i + 1;
}
BaseScaleGts = 26;
InventaireOuvert = false;
LargeurObjet = 60;
InvNb = 3;
InvNbMax = 10;
InvObjetSelect = 0;
Instructions = "RULES\r\nIn Steppenwolf: The X-Creatures Project, you guide Meg Crimson and the Steppenwolf himself through a series of action- and logic-based interactive puzzles. \r\nThere are two major components to this application: the Main Game screen, where all the action takes place, and the Inventory page, where the player can stop to think, access stored information and manipulate a variety of items.\r\n\r\n1. The Main Game Screen\r\nCareful manipulation of the character and of the interactive environment is the key to success in this game. The following keyboard commands are available:\r\nUp, Down, Left and Right Arrows: walk in the appropriate direction\r\nUp/Right, Up/Left, Down/Left, Down/Right Arrow combinations: walk along diagonals\r\nHold SHIFT while pressing on a directional arrow combination: run in the appropriate direction\r\nCTRL: jump in the current direction of movement (not available in episode 1)\r\nSPACE: Context-sensitive \"Action Key\", which depends on the interactive element closest to the character's current position. Examples include opening a door, picking up a statue and storing it in the character's inventory, untying a knot to free a hostage, etc.\r\n\r\nThe game's on-screen interface items are very simple:\r\nThe Life Gauge located in the top-left corner measures the hero's current health level. Don't let it fall to zero, or the game is over. \r\nThe special icon located in the top-right corner gives you access to the Inventory screen. It will look like an electronic bracelet when Steppenwolf is the active character, and like a palmtop computer when Meg is in charge.\r\n\r\nFinally, three short-cut keys give quick access to the inventory: \r\nI: Open the inventory\r\nRight/Left arrows: to scroll the item list while the inventory is opened\r\nO: Close the inventory\r\nT: Store the active object and replace it with its successor.\r\n\r\n2.The Inventory Screen\r\nThis page contains four buttons, a slider which allows you to set the sound volume, and a display window whose contents depend on the state of the MAIL and ITEMS buttons.\r\na) MAIL and ITEMS buttons: Click on these buttons to toggle between MAIL and ITEMS mode. \r\nWhen MAIL is active, the display window shows a list of the recent email messages received by the hero. Click on the (underlined) sender's name to read a message; some messages also come with visual attachments, which can be accessed by clicking on the paper clip icon next to the sender's name. \r\nWhen ITEMS is active, a small area at the bottom of the display window is reserved to a scrolling list of the objects picked up by the characters since the beginning of the episode. Roll over the side edges of this area to scroll the list. Click on one of the objects to make it active; a detailed description will appear in the larger area of the display window. \r\nSome inventory items are components which can be assembled into more elaborate objects. For example, making an antidote potion may require several ingredients. If you drag a different object to the main display window while it's already showing something else, the two will automatically merge into one if appropriate. (Otherwise, the new item simply replaces the old one as active object.)\r\nb) OK button: returns to the main game screen\r\nc) HELP button: read the game's instructions\r\nd) QUIT button: leave the current episode and return to the series' main menu.\r\ne) IMAGE QUALITY buttons: if the animation is choppy or slow on your computer, select a lower image quality.\r\n\r\nMinimum system requirements:\r\nWindows 95/98/NT/2000\r\nMinimum 200MHz processor, Windows compatible sound card, 24 bit display.\r\nMacintosh OS\r\nMinimum 200MHz PowerPC processor, 24 bit display.\r\n";
InvObjet1 = 1;
InvObjet2 = 4;
InvObjet3 = 8;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
InvMail = 0;
InvMailMax = 6;
InvMail1 = 1;
InvMail2 = 2;
InvMail3 = 0;
InvMail4 = 0;
InvMail5 = 0;
InvMail6 = 0;
Mail1 = "Meg, \r\nAs your first Secrets of the Wild assignment, you must seek out, find and film a legendary African creature known as the Mokele Mbembe. \r\nReportedly, this creature is as big as an elephant and can knock down trees with a single blow of its long and powerful tail. I say reportedly, because we have no formal proof that it exists: several scientific expeditions have visited the area since 1980, but failed to produce any conclusive evidence. However, given that legends concerning the monster have turned up all over central Africa, and that the local population is utterly terrified of the creature, we do believe that it is there, probably deep in the marshes beyond the source of the Congo river. \r\nA veteran cameraman by the name of Derek Murphy will assist you in this assignment. Don't be put off by his personality quirks; he's the best I've ever seen at what he does. We expect daily reports, which Derek will send us via satellite and which will be published on the World Geographic web site. We have already signed up over one hundred thousand subscribers; failure is not an option. \r\nAs I mentioned earlier when we talked in my office, you may want to contact a man known as the Steppenwolf. I know little about this guy, especially not whether he'll be of any help to you; all that my sources tell me is that he is a paleo-biologist and a self-proclaimed expert in the study of mythical and improbable animals. If that's true, he probably knows as much about the Mokele Mbembe as anyone. Apparently, he lives as a recluse, somewhere in the jungle near your destination, and he hasn't talked to anyone outside of the local tribe in years, so you'll have to be very convincing to squeeze any information out of him. For what it's worth, I have attached an old photograph of the man to this message. \r\nTime to get to work, now. A boat is waiting for you in Kisangani harbor. It will take you up the river, to the heart of the jungle. From then on, you're on your own. \r\nSincerely, \r\nMcAllister \r\n";
GrimpeCentre = false;
Vie = 100;
RocheRamasse = false;
Etage = 1;
LumiereAllumee = false;
Tab2Ferme = false;
GardeMortVu = false;
XPositionRoche = -300;
YPositionRoche = 0;
ChuteBouche = false;
RocheTombe = false;
TrouLumiereOuvert = false;
RocheAllume = false;
SensYeti = -1;
CoteYeti = "Droite";
PtArret = 2;
PtArrive = 1;
PtNb = 11;
Vitesse = 4;
NbRecul = 4;
PositionYeti = 4;
YetiTourne = false;
YetiAssome = false;
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 2
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (4);
}
Symbol 1048 MovieClip Frame 3
gotoAndPlay (5);
Symbol 1048 MovieClip Frame 9
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1048 MovieClip Frame 11
gotoAndStop (1);
Symbol 1048 MovieClip Frame 15
gotoAndStop (1);
Symbol 1048 MovieClip Frame 17
gotoAndStop (1);
Symbol 1048 MovieClip Frame 22
gotoAndStop (1);
Symbol 1048 MovieClip Frame 25
gotoAndStop (1);
Symbol 1048 MovieClip Frame 28
gotoAndStop (1);
Symbol 1048 MovieClip Frame 29
gotoAndStop (1);
Symbol 1048 MovieClip Frame 34
gotoAndStop (1);
Symbol 1048 MovieClip Frame 35
gotoAndStop (1);
Symbol 1048 MovieClip Frame 40
gotoAndStop (1);
Symbol 1048 MovieClip Frame 41
gotoAndStop (1);
Symbol 1048 MovieClip Frame 46
gotoAndStop (1);
Symbol 1048 MovieClip Frame 47
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=9", 0);
Symbol 1048 MovieClip Frame 67
gotoAndStop (1);
Symbol 1048 MovieClip Frame 68
Set("/Variables:MegCri", true);
Symbol 1048 MovieClip Frame 85
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1124 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=10", 0);
Symbol 1124 MovieClip Frame 11
tellTarget ("_root") {
gotoAndStop ("StepEauTab1");
};
Symbol 1124 MovieClip Frame 12
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
Symbol 1124 MovieClip Frame 13
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1153 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=5", 0);
Symbol 1153 MovieClip Frame 9
Set("/Variables:ChuteBouche", true);
tellTarget ("_root.Glace") {
gotoAndPlay (2);
};
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
Symbol 1153 MovieClip Frame 10
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1189 MovieClip Frame 1
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=3", 0);
Symbol 1189 MovieClip Frame 37
Set("/Variables:RocheTombe", true);
tellTarget ("_root.Roche") {
gotoAndStop (2);
};
Symbol 1189 MovieClip Frame 38
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1204 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=4", 0);
Symbol 1204 MovieClip Frame 21
Set("/Variables:RocheRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (3);
};
tellTarget ("_root.Roche.RocheRamasse") {
gotoAndStop (2);
};
Symbol 1204 MovieClip Frame 22
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1297 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab6Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=7", 0);
Symbol 1297 MovieClip Frame 45
Set("/Variables:TrouLumiereOuvert", true);
setProperty("_root.Meg", _x , 295);
setProperty("_root.Meg", _y , 214);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root.Lumiere") {
gotoAndStop (2);
};
Symbol 1297 MovieClip Frame 46
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1317 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab6Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=8", 0);
Symbol 1317 MovieClip Frame 2
Set("/Variables:ObjetRemove", 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Symbol 1317 MovieClip Frame 28
Set("/Variables:RocheAllume", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (4);
};
setProperty("_root.Meg", _x , 295);
setProperty("_root.Meg", _y , 214);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
Symbol 1317 MovieClip Frame 29
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1325 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=13", 0);
Symbol 1325 MovieClip Frame 72
Set("/Variables:GardeMortVu", true);
Symbol 1325 MovieClip Frame 73
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1357 MovieClip Frame 7
stop();
Symbol 1358 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab2aStoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=11", 0);
Symbol 1358 MovieClip Frame 21
Set("/Variables:LumiereAllumee", true);
Set("/Variables:ObjetRemove", 3);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/:XPosition", getProperty("_root.Meg", _x));
Set("/:YPosition", getProperty("_root.Meg", _y));
Set("/:Frame", getProperty("_root.Meg", _currentframe));
Set("/Variables:YPositionRoche", getProperty("_root.Meg", _y));
Set("/Variables:XPositionRoche", getProperty("_root.Meg", _x) - 30);
Set("/Variables:From", "Tab2a");
Symbol 1358 MovieClip Frame 22
tellTarget ("_root") {
gotoAndPlay ("Tab2bIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1419 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=14", 0);
Symbol 1419 MovieClip Frame 30
Set("/Variables:Tab2Ferme", true);
setProperty("_root.Meg", _x , 294);
setProperty("_root.Meg", _y , 280);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
tellTarget ("_root.GlaceTombe") {
gotoAndStop (2);
};
tellTarget ("_root.GlaceTombe2") {
gotoAndStop (2);
};
Symbol 1419 MovieClip Frame 31
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1541 MovieClip Frame 5
stop();
Symbol 1543 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=20", 0);
Symbol 1543 MovieClip Frame 23
if ((/Variables:PtArrive == 5) and (/Variables:SensYeti == 1)) {
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts.P7", _x));
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts.P7", _y));
Set("/Variables:PtArrive", 7);
Set("/Variables:PtArret", 7);
} else {
setProperty("_root.Gts.Yeti", _x , getProperty("_root.Gts." + /Variables:PtArrive, _x));
setProperty("_root.Gts.Yeti", _y , getProperty("_root.Gts." + /Variables:PtArrive, _y));
}
Set("/Variables:YetiVu", true);
Symbol 1543 MovieClip Frame 24
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1569 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=12", 0);
Symbol 1569 MovieClip Frame 6
setProperty("_root.Meg", _x , 294);
setProperty("_root.Meg", _y , 297);
Symbol 1569 MovieClip Frame 7
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1570 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("/Variables:AnimJoue", false);
stop();
Symbol 1570 MovieClip Frame 2
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 3
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 4
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 5
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 6
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 7
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 8
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 9
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 10
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 11
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1570 MovieClip Frame 12
Set("/Variables:Stoppe", true);
Set("/Variables:AnimJoue", true);
Symbol 1585 MovieClip Frame 1
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , getProperty("GtsSteppen", _xscale) - (100 - ((/Variables:BaseScaleGts * 100) / _xscale)));
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , getProperty("GtsSteppen", _yscale) - (100 - ((/Variables:BaseScaleGts * 100) / _yscale)));
Symbol 1586 MovieClip Frame 2
Set("/Variables:TableauStep", 1);
nextFrame();
Symbol 1586 MovieClip Frame 3
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1586 MovieClip Frame 4
Set("/Variables:TableauStep", 2);
nextFrame();
Symbol 1586 MovieClip Frame 5
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1586 MovieClip Frame 6
Set("/Variables:TableauStep", 4);
nextFrame();
Symbol 1586 MovieClip Frame 7
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1586 MovieClip Frame 8
Set("/Variables:TableauStep", 5);
nextFrame();
Symbol 1586 MovieClip Frame 9
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1586 MovieClip Frame 10
Set("/Variables:TableauStep", 3);
nextFrame();
Symbol 1586 MovieClip Frame 11
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1586 MovieClip Frame 12
Set("/Variables:TableauStep", 6);
nextFrame();
Symbol 1586 MovieClip Frame 13
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1643 MovieClip Frame 1
gotoAndStop(/Variables:ObjetSelect + 1);
stop();
Symbol 1643 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 1643 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 1643 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 1643 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 1643 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 1643 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 1643 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 1643 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 1643 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 1643 MovieClip Frame 11
Set("/Variables:ObjetSelect", 10);
Symbol 1643 MovieClip Frame 12
Set("/Variables:ObjetSelect", 11);
Symbol 1651 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 1651 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 1657 Button
on (release) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
Symbol 1659 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") {
if (/Variables:AnimJoue != true) {
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray[i], false);
i = i + 1;
}
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
on (keyPress "I") {
if (/Variables:AnimJoue != true) {
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray[i], false);
i = i + 1;
}
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
Symbol 1660 MovieClip Frame 1
stop();
Symbol 1660 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 1672 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 1684 Button
on (release) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 1694 Button
on (release) {
nextFrame();
}
Symbol 1701 Button
on (release) {
_level0.gotoAndPlay(1);
unloadMovieNum (10);
}
Symbol 1702 Button
on (release) {
gotoAndStop (1);
}
Symbol 1703 MovieClip Frame 1
stop();
Symbol 1711 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 1722 Button
on (release) {
Set("/Variables:ObjetSelect", 0);
Set("/Variables:TransMail", "");
tellTarget ("MailMovie") {
gotoAndStop (1);
};
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 183);
setProperty("/Gts", _y , 173);
setProperty("/Gts", _xscale , 40);
setProperty("/Gts", _yscale , 40);
nextFrame();
}
Symbol 1724 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 1725 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 1727 MovieClip Frame 1
stop();
Symbol 1727 MovieClip Frame 2
stop();
Symbol 1727 MovieClip Frame 3
stop();
Symbol 1730 MovieClip Frame 1
stop();
Symbol 1730 MovieClip Frame 4
gotoAndPlay (2);
Symbol 1739 Button
on (release) {
if (/Variables:YetiAssome == true) {
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 11);
Set("/Variables:ObjetSelect", 11);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (12);
};
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
tellTarget ("/Inventaire") {
gotoAndStop (1);
};
}
}
Symbol 1744 Button
on (release) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=2", 0);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 10);
Set("/Variables:ObjetRemove", 8);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (8);
};
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
tellTarget ("/Inventaire") {
gotoAndStop (1);
};
}
Symbol 1745 MovieClip Frame 1
stop();
Symbol 1749 MovieClip Frame 1
stop();
Symbol 1749 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 1749 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 1749 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 1749 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 1749 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 1749 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 1749 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 1749 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 1749 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 1749 MovieClip Frame 11
Set("/Variables:ObjetSelect", 10);
Symbol 1749 MovieClip Frame 12
Set("/Variables:ObjetSelect", 11);
Symbol 1751 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
Set("/Variables:InvObjetSelect", int(substring(_name, 6, 2)));
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
Symbol 1752 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
Set("/Variables:InvObjetSelect", int(substring(_name, 6, 2)));
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 6)) {
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 6);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=6", 0);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1753 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
Set("/Variables:InvObjetSelect", int(substring(_name, 6, 2)));
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 5)) {
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 5);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=6", 0);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1755 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1755 MovieClip Frame 2
/Variables:SaveArray[0] = true;
Symbol 1755 MovieClip Frame 3
/Variables:SaveArray[1] = true;
Symbol 1755 MovieClip Frame 4
/Variables:SaveArray[2] = true;
Symbol 1755 MovieClip Frame 5
/Variables:SaveArray[3] = true;
Symbol 1755 MovieClip Frame 6
/Variables:SaveArray[4] = true;
Symbol 1755 MovieClip Frame 7
/Variables:SaveArray[5] = true;
Symbol 1755 MovieClip Frame 8
/Variables:SaveArray[6] = true;
Symbol 1755 MovieClip Frame 9
/Variables:SaveArray[7] = true;
Symbol 1755 MovieClip Frame 10
/Variables:SaveArray[8] = true;
/Variables:SaveArray[4] = false;
/Variables:SaveArray[5] = false;
Symbol 1755 MovieClip Frame 11
/Variables:SaveArray[9] = true;
Symbol 1755 MovieClip Frame 12
/Variables:SaveArray[10] = true;
Symbol 1756 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1756 MovieClip Frame 2
/Variables:SaveArray[0] = true;
Symbol 1756 MovieClip Frame 3
/Variables:SaveArray[1] = true;
Symbol 1756 MovieClip Frame 4
/Variables:SaveArray[2] = true;
Symbol 1756 MovieClip Frame 5
/Variables:SaveArray[3] = true;
Symbol 1756 MovieClip Frame 6
/Variables:SaveArray[4] = true;
Symbol 1756 MovieClip Frame 7
/Variables:SaveArray[5] = true;
Symbol 1756 MovieClip Frame 8
/Variables:SaveArray[6] = true;
Symbol 1756 MovieClip Frame 9
/Variables:SaveArray[7] = true;
Symbol 1756 MovieClip Frame 10
/Variables:SaveArray[8] = true;
/Variables:SaveArray[4] = false;
/Variables:SaveArray[5] = false;
Symbol 1756 MovieClip Frame 11
/Variables:SaveArray[9] = true;
Symbol 1756 MovieClip Frame 12
/Variables:SaveArray[10] = true;
Symbol 1757 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 1757 MovieClip Frame 2
stop();
Symbol 1758 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 1758 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1758 MovieClip Frame 3
stop();
Symbol 1761 MovieClip Frame 1
stop();
Symbol 1761 MovieClip Frame 2
a = 1;
while (eval ("/Variables:InvObjet" + a) != /Variables:ObjetCombine) {
a = a + 1;
}
i = a;
while ((eval ("/Variables:InvObjet" + i) != 0) and (i < /Variables:InvNbMax)) {
Set("/Variables:InvObjet" + i, eval ("/Variables:InvObjet" + (i + 1)));
i = i + 1;
}
i = 1;
while (/Variables:InvNbMax >= i) {
tellTarget ("../Chaine1/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
tellTarget ("../Chaine2/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
tellTarget ("../Chaine3/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
i = i + 1;
}
if (/Variables:InvNb < 4) {
setProperty("../Chaine2", _x , getProperty("../BorneGauche", _x) + (/Variables:LargeurObjet / 4));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (3 * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (3 * /Variables:LargeurObjet));
} else if ((getProperty("../Chaine1", _x) < getProperty("../Chaine2", _x)) and (getProperty("../Chaine3", _x) < getProperty("../Chaine1", _x))) {
setProperty("../Chaine3", _x , getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine2", _x , getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
} else if ((getProperty("../Chaine2", _x) < getProperty("../Chaine3", _x)) and (getProperty("../Chaine1", _x) < getProperty("../Chaine2", _x))) {
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
} else {
setProperty("../Chaine2", _x , getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((/Variables:ObjetCombine == 1) or (/Variables:ObjetCombine == 2)) {
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (2);
};
}
gotoAndStop (1);
Symbol 1762 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 1762 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1762 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 1762 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1762 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 1762 MovieClip Frame 6
gotoAndStop (1);
Symbol 1773 Button
on (release) {
gotoAndStop (2);
}
Symbol 1774 Button
on (release) {
gotoAndStop (3);
}
Symbol 1776 Button
on (release) {
gotoAndStop (4);
}
Symbol 1777 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 1777 MovieClip Frame 2
_quality = "LOW";
Symbol 1777 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 1777 MovieClip Frame 4
_quality = "HIGH";
Symbol 1778 Button
on (keyPress "o") {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
on (keyPress "O") {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
Symbol 1786 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 1788 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 1791 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1794 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 1795 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 1797 MovieClip Frame 1
stop();
Symbol 1797 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 1804 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 1805 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 1808 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 1809 MovieClip Frame 1
stop();
Symbol 1809 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 1813 MovieClip Frame 1
gotoAndStop(/Variables:Attachement);
Symbol 1813 MovieClip Frame 2
stop();
Symbol 1814 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 1815 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 1816 MovieClip Frame 1
stop();
Symbol 1816 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 1817 MovieClip Frame 1
stop();
Symbol 1817 MovieClip Frame 2
stop();
Symbol 1817 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 1817 MovieClip Frame 6
stop();
Symbol 1818 MovieClip Frame 1
stop();
Symbol 1820 Button
on (release) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 1821 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 1828 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 1831 Button
on (keyPress "o") {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
Symbol 1832 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 1834 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 1836 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 1836 MovieClip Frame 2
stop();
Symbol 1837 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
stop();
Symbol 1837 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
stop();
Instance of Symbol 1673 MovieClip "BoutonVolume" in Symbol 1837 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 1837 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 1673 MovieClip "BoutonVolume" in Symbol 1837 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 1839 MovieClip Frame 1
stop();
Symbol 1839 MovieClip Frame 2
Random = random(100);
if (75 < Random) {
gotoAndPlay (3);
} else if (50 < Random) {
gotoAndPlay (46);
} else if (25 < Random) {
gotoAndPlay (94);
} else {
gotoAndPlay (165);
}
Symbol 1839 MovieClip Frame 45
gotoAndStop (1);
Symbol 1839 MovieClip Frame 93
gotoAndStop (1);
Symbol 1839 MovieClip Frame 164
gotoAndStop (1);
Symbol 1839 MovieClip Frame 207
gotoAndStop (1);
Symbol 1974 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 1974 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1974 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1974 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1974 MovieClip Frame 8
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1974 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 1974 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1974 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1974 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1974 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 1974 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 1974 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (47);
}
Symbol 1974 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 1974 MovieClip Frame 72
gotoAndPlay (45);
Symbol 1974 MovieClip Frame 77
Set("/Variables:Stoppe", true);
Symbol 1974 MovieClip Frame 78
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 1974 MovieClip Frame 79
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 1974 MovieClip Frame 80
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 1974 MovieClip Frame 81
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 1974 MovieClip Frame 84
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 1974 MovieClip Frame 86
Set("/Variables:Stoppe", false);
gotoAndPlay (1);
Symbol 1974 MovieClip Frame 90
Set("/Variables:Stoppe", true);
play();
play();
Symbol 1974 MovieClip Frame 91
play();
play();
Symbol 1974 MovieClip Frame 92
play();
play();
Symbol 1974 MovieClip Frame 93
tellTarget ("_root.Flash") {
play();
};
play();
play();
Symbol 1974 MovieClip Frame 94
play();
play();
Symbol 1984 MovieClip Frame 1
stop();
Symbol 1984 MovieClip Frame 4
Set("/Variables:Vie", /Variables:Vie - 25);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 1984 MovieClip Frame 7
gotoAndStop (1);
Symbol 1989 MovieClip Frame 1
stop();
Symbol 1989 MovieClip Frame 7
gotoAndStop (1);
Symbol 2081 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2081 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2081 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2081 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2081 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2081 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2081 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2081 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2081 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2081 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2081 MovieClip Frame 40
Set("/Variables:Stoppe", false);
play();
Symbol 2081 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2081 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2081 MovieClip Frame 73
gotoAndPlay (45);
Symbol 2081 MovieClip Frame 83
Set("/Variables:Stoppe", true);
Symbol 2081 MovieClip Frame 85
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2081 MovieClip Frame 86
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2081 MovieClip Frame 87
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2081 MovieClip Frame 88
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2081 MovieClip Frame 89
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2081 MovieClip Frame 91
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2081 MovieClip Frame 92
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2081 MovieClip Frame 96
play();
Set("/Variables:Stoppe", true);
Symbol 2081 MovieClip Frame 97
play();
Symbol 2081 MovieClip Frame 98
play();
Symbol 2081 MovieClip Frame 99
play();
tellTarget ("_root.Flash") {
play();
};
Symbol 2081 MovieClip Frame 100
play();
Symbol 2156 MovieClip Frame 1
Set("_root:Idle", false);
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2156 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2156 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2156 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2156 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2156 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2156 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2156 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2156 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2156 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2156 MovieClip Frame 38
Set("/Variables:Stoppe", false);
play();
Symbol 2156 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (49);
}
Symbol 2156 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2156 MovieClip Frame 68
gotoAndPlay (45);
Symbol 2156 MovieClip Frame 80
Set("/Variables:Stoppe", true);
Symbol 2156 MovieClip Frame 81
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2156 MovieClip Frame 82
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2156 MovieClip Frame 83
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2156 MovieClip Frame 84
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2156 MovieClip Frame 87
Set("/Variables:Stoppe", false);
/:Idle == true;
Symbol 2156 MovieClip Frame 89
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2156 MovieClip Frame 93
Set("/Variables:Stoppe", true);
play();
Symbol 2156 MovieClip Frame 94
play();
Symbol 2156 MovieClip Frame 95
play();
Symbol 2156 MovieClip Frame 96
tellTarget ("_root.Flash") {
play();
};
play();
Symbol 2156 MovieClip Frame 97
play();
Symbol 2253 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2253 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2253 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2253 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2253 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2253 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2253 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2253 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2253 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2253 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2253 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 2253 MovieClip Frame 41
if (random(20) == 10) {
gotoAndPlay (46);
}
Symbol 2253 MovieClip Frame 42
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (41);
}
Symbol 2253 MovieClip Frame 73
gotoAndPlay (40);
Symbol 2253 MovieClip Frame 84
Set("/Variables:Stoppe", true);
Symbol 2253 MovieClip Frame 85
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2253 MovieClip Frame 86
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2253 MovieClip Frame 87
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2253 MovieClip Frame 88
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2253 MovieClip Frame 89
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2253 MovieClip Frame 93
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2253 MovieClip Frame 94
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2253 MovieClip Frame 97
Set("/Variables:Stoppe", true);
play();
Symbol 2253 MovieClip Frame 98
play();
Symbol 2253 MovieClip Frame 99
play();
Symbol 2253 MovieClip Frame 100
tellTarget ("_root.Flash") {
play();
};
play();
Symbol 2253 MovieClip Frame 101
play();
Symbol 2339 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2339 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2339 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2339 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2339 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2339 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2339 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2339 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2339 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2339 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2339 MovieClip Frame 37
Set("/Variables:Stoppe", false);
play();
Symbol 2339 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2339 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2339 MovieClip Frame 80
gotoAndPlay (45);
Symbol 2339 MovieClip Frame 91
Set("/Variables:Stoppe", true);
Symbol 2339 MovieClip Frame 92
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2339 MovieClip Frame 93
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2339 MovieClip Frame 94
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2339 MovieClip Frame 95
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2339 MovieClip Frame 99
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2339 MovieClip Frame 101
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2339 MovieClip Frame 104
Set("/Variables:Stoppe", true);
play();
Symbol 2339 MovieClip Frame 105
play();
Symbol 2339 MovieClip Frame 106
play();
Symbol 2339 MovieClip Frame 107
tellTarget ("_root.Flash") {
play();
};
play();
Symbol 2339 MovieClip Frame 108
play();
Symbol 2366 MovieClip Frame 1
if (/Variables:DeltaTombe != 0) {
if (/Variables:DeltaTombe == 6) {
Meurt = true;
}
setProperty("_root.Meg", _y , _root.Meg._y + 50);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
} else {
gotoAndPlay (3);
}
Symbol 2366 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2366 MovieClip Frame 4
if (/Variables:EtatActif eq "Tab1") {
setProperty("_root.PontDroiteDevant", _visible , 1);
setProperty("_root.PontGaucheDevant", _visible , 1);
setProperty("_root.PontDroiteDerriere", _visible , 0);
setProperty("_root.PontGaucheDerriere", _visible , 0);
Set("/Variables:Vie", /Variables:Vie - 10);
Set("/Variables:Etage", 1);
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
}
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:FinTrou", true);
tellTarget ("_parent") {
gotoAndStop (1);
};
stop();
Symbol 2386 MovieClip Frame 19
Set("/Variables:Stoppe", false);
tellTarget ("_parent") {
gotoAndStop (6);
};
Symbol 2387 MovieClip Frame 1
if (/Variables:FinTrou == true) {
Set("/Variables:FinTrou", false);
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 50);
}
stop();
Symbol 2387 MovieClip Frame 12
Set("/Variables:Stoppe", true);
stop();
Symbol 2390 MovieClip Frame 1
if (/Variables:Etage == 2) {
nextFrame();
}
stop();
Symbol 2390 MovieClip Frame 2
stop();
Symbol 2395 MovieClip Frame 1
Niveau = 2;
if (/Variables:Etage == 1) {
nextFrame();
}
stop();
Symbol 2430 MovieClip Frame 1
if (Bouge == true) {
setProperty("../", _y , getProperty("../", _y) - ((51.3 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
}
if (/Variables:GrimpeCentre == true) {
setProperty("../", _y , getProperty("../", _y) + ((51.3 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
gotoAndStop (12);
}
stop();
Instance of Symbol 2412 MovieClip in Symbol 2430 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:Stoppe != true) and (/Variables:InventaireOuvert != true)) {
if (/Variables:GrimpeCentre == false) {
if (Key.isDown(Key.UP)) {
if (!_root.CacheHaut.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true)) {
tellTarget ("../") {
play();
};
}
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../../") {
gotoAndStop ("Bas");
};
} else if (Key.isDown(Key.RIGHT)) {
tellTarget ("../../") {
gotoAndStop ("Droit");
};
} else if (Key.isDown(Key.LEFT)) {
tellTarget ("../../") {
gotoAndStop ("Gauche");
};
}
}
}
}
Symbol 2430 MovieClip Frame 3
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 4
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 5
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 6
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 7
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 8
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Random = random(100);
if (Random < 25) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndForce");
};
}
Symbol 2430 MovieClip Frame 9
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 10
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 12
Set("/Variables:GrimpeCentre", false);
Bouge = true;
stop();
Instance of Symbol 2429 MovieClip in Symbol 2430 MovieClip Frame 12
onClipEvent (enterFrame) {
if ((/Variables:Stoppe != true) and (/Variables:InventaireOuvert != true)) {
if (/Variables:GrimpeCentre == false) {
if (Key.isDown(Key.UP)) {
if (!_root.CacheHaut.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true)) {
tellTarget ("../") {
play();
};
}
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../../") {
gotoAndStop ("Bas");
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:GrimpeCentre", "monte");
tellTarget ("../../") {
gotoAndStop ("Droit");
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:GrimpeCentre", "monte");
tellTarget ("../../") {
gotoAndStop ("Gauche");
};
}
}
}
}
Symbol 2430 MovieClip Frame 13
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 14
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 15
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 16
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 17
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 18
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 19
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2430 MovieClip Frame 20
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 1
if (Bouge == true) {
setProperty("../", _y , getProperty("../", _y) + ((51.3 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
}
if (/Variables:GrimpeCentre == true) {
setProperty("../", _y , getProperty("../", _y) - ((51.3 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
gotoAndStop (12);
}
stop();
Instance of Symbol 2431 MovieClip in Symbol 2439 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:Stoppe != true) and (/Variables:InventaireOuvert != true)) {
if (/Variables:GrimpeCentre == false) {
if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndStop ("Haut");
};
} else if (Key.isDown(Key.DOWN)) {
if (!(_root.CacheBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) or ((/Variables:StepAttache == true) and _root.CacheBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true)))) {
tellTarget ("../") {
play();
};
}
} else if (Key.isDown(Key.RIGHT)) {
tellTarget ("../../") {
gotoAndStop ("Droit");
};
} else if (Key.isDown(Key.LEFT)) {
tellTarget ("../../") {
gotoAndStop ("Gauche");
};
}
}
}
}
Symbol 2439 MovieClip Frame 3
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 4
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 5
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 6
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 7
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 8
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 9
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 10
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 12
Set("/Variables:GrimpeCentre", false);
Bouge = true;
stop();
Instance of Symbol 2433 MovieClip in Symbol 2439 MovieClip Frame 12
onClipEvent (enterFrame) {
if ((/Variables:Stoppe != true) and (/Variables:InventaireOuvert != true)) {
if (/Variables:GrimpeCentre == false) {
if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndStop ("Haut");
};
} else if (Key.isDown(Key.DOWN)) {
if (!(_root.CacheBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true) or ((/Variables:StepAttache == true) and _root.CacheBas.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true)))) {
tellTarget ("../") {
play();
};
}
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:GrimpeCentre", "descent");
tellTarget ("../../") {
gotoAndStop ("Droit");
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:GrimpeCentre", "descent");
tellTarget ("../../") {
gotoAndStop ("Gauche");
};
}
}
}
}
Symbol 2439 MovieClip Frame 13
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 14
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 15
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 16
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 17
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 18
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Random = random(100);
if (Random < 25) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndForce");
};
}
Symbol 2439 MovieClip Frame 19
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2439 MovieClip Frame 20
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + ((73 * (getProperty("_root.Meg", _xscale) / 100)) / 16));
}
Symbol 2447 MovieClip Frame 1
if (Bouge == true) {
setProperty("../", _x , getProperty("../", _x) - ((38.6 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
}
if (/Variables:GrimpeCentre eq "monte") {
Set("/Variables:GrimpeCentre", false);
setProperty("../", _y , getProperty("../", _y) - ((25.7 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
} else if (/Variables:GrimpeCentre eq "descent") {
Set("/Variables:GrimpeCentre", false);
setProperty("../", _y , getProperty("../", _y) + ((25.7 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
}
stop();
Instance of Symbol 2445 MovieClip in Symbol 2447 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:Stoppe != true) and (/Variables:InventaireOuvert != true)) {
if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndStop ("Haut");
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../../") {
gotoAndStop ("Bas");
};
} else if (Key.isDown(Key.RIGHT)) {
tellTarget ("../../") {
gotoAndStop ("Droit");
};
} else if (Key.isDown(Key.LEFT)) {
if (!_root.CacheGauche.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true)) {
tellTarget ("../") {
play();
};
}
}
}
}
Symbol 2447 MovieClip Frame 2
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 3
Random = random(100);
if (Random < 25) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndForce");
};
}
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 4
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 5
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 6
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 7
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 8
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 9
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 10
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 11
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 12
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 13
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 14
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 15
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2447 MovieClip Frame 17
Bouge = true;
Symbol 2449 MovieClip Frame 1
if (Bouge == true) {
setProperty("../", _x , getProperty("../", _x) + ((38.6 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
}
if (/Variables:GrimpeCentre eq "monte") {
Set("/Variables:GrimpeCentre", false);
setProperty("../", _y , getProperty("../", _y) - ((25.7 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
} else if (/Variables:GrimpeCentre eq "descent") {
Set("/Variables:GrimpeCentre", false);
setProperty("../", _y , getProperty("../", _y) + ((25.7 * (getProperty("../", _xscale) / 100)) * (_xscale / 100)));
}
stop();
Instance of Symbol 2448 MovieClip in Symbol 2449 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:Stoppe != true) and (/Variables:InventaireOuvert != true)) {
if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndStop ("Haut");
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../../") {
gotoAndStop ("Bas");
};
} else if (Key.isDown(Key.RIGHT)) {
if (!_root.CacheDroite.hitTest(_root.StepGrimpe._x, _root.StepGrimpe._y, true)) {
tellTarget ("../") {
play();
};
}
} else if (Key.isDown(Key.LEFT)) {
tellTarget ("../../") {
gotoAndStop ("Gauche");
};
}
}
}
Symbol 2449 MovieClip Frame 2
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _y , getProperty("_root.StepGrimpe", _y));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 3
Random = random(100);
if (Random < 25) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndForce");
};
}
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 4
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 5
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 6
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 7
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 8
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 9
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 10
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 11
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 12
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 13
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 14
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 15
if (/Variables:StepAttache == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + ((53.9 * (getProperty("_root.Meg", _xscale) / 100)) / 14));
}
Symbol 2449 MovieClip Frame 17
Bouge = true;
Symbol 2450 MovieClip Frame 1
stop();
Symbol 2450 MovieClip Frame 2
stop();
Symbol 2450 MovieClip Frame 3
stop();
Symbol 2450 MovieClip Frame 4
stop();
Symbol 2454 MovieClip Frame 5
Random = random(100);
if (50 < Random) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau1");
};
} else {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau2");
};
}
Symbol 2454 MovieClip Frame 12
Set("/Variables:Stoppe", false);
play();
Symbol 2454 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (17);
}
Symbol 2454 MovieClip Frame 16
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (12);
}
Symbol 2454 MovieClip Frame 46
gotoAndPlay (12);
Symbol 2457 MovieClip Frame 6
Random = random(100);
if (50 < Random) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau1");
};
} else {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau2");
};
}
Symbol 2457 MovieClip Frame 11
Set("/Variables:Stoppe", false);
play();
Symbol 2457 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (17);
}
Symbol 2457 MovieClip Frame 16
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (11);
}
Symbol 2457 MovieClip Frame 44
gotoAndPlay (11);
Symbol 2459 MovieClip Frame 4
Random = random(100);
if (50 < Random) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau1");
};
} else {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau2");
};
}
Symbol 2459 MovieClip Frame 11
Set("/Variables:Stoppe", false);
play();
Symbol 2459 MovieClip Frame 14
if (random(20) == 10) {
gotoAndPlay (16);
}
Symbol 2459 MovieClip Frame 15
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (11);
}
Symbol 2459 MovieClip Frame 45
gotoAndPlay (11);
Symbol 2461 MovieClip Frame 8
Random = random(100);
if (50 < Random) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau1");
};
} else {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau2");
};
}
Symbol 2461 MovieClip Frame 11
Set("/Variables:Stoppe", false);
play();
Symbol 2461 MovieClip Frame 14
if (random(20) == 10) {
gotoAndPlay (16);
}
Symbol 2461 MovieClip Frame 15
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (11);
}
Symbol 2461 MovieClip Frame 44
gotoAndPlay (11);
Symbol 2462 MovieClip Frame 4
Random = random(100);
if (50 < Random) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau1");
};
} else {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau2");
};
}
Symbol 2462 MovieClip Frame 11
Set("/Variables:Stoppe", false);
play();
Symbol 2462 MovieClip Frame 17
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 2462 MovieClip Frame 18
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (11);
}
Symbol 2462 MovieClip Frame 51
gotoAndPlay (11);
Symbol 2463 MovieClip Frame 4
Random = random(100);
if (50 < Random) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau1");
};
} else {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndMarcheEau2");
};
}
Symbol 2463 MovieClip Frame 11
Set("/Variables:Stoppe", false);
play();
Symbol 2463 MovieClip Frame 19
if (random(20) == 10) {
gotoAndPlay (21);
}
Symbol 2463 MovieClip Frame 20
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (11);
}
Symbol 2463 MovieClip Frame 54
gotoAndPlay (11);
Symbol 2464 MovieClip Frame 1
stop();
stop();
Symbol 2464 MovieClip Frame 2
stop();
Symbol 2464 MovieClip Frame 3
stop();
Symbol 2464 MovieClip Frame 4
stop();
Symbol 2464 MovieClip Frame 5
stop();
Symbol 2464 MovieClip Frame 6
stop();
Symbol 2464 MovieClip Frame 7
stop();
Symbol 2464 MovieClip Frame 8
stop();
Symbol 2466 MovieClip Frame 1
stop();
Symbol 2475 MovieClip Frame 1
stop();
Symbol 2482 MovieClip Frame 1
if (/Variables:Tab2Ferme == true) {
nextFrame();
}
stop();
Symbol 2482 MovieClip Frame 2
stop();
Symbol 2526 MovieClip Frame 1
if (/Variables:Tab2Ferme == true) {
nextFrame();
}
stop();
Symbol 2526 MovieClip Frame 2
stop();
Symbol 2529 MovieClip Frame 1
if (/Variables:Tab2Ferme == true) {
nextFrame();
}
stop();
Symbol 2529 MovieClip Frame 2
stop();
Symbol 2554 MovieClip Frame 6
stop();
Symbol 2556 MovieClip Frame 1
if (/Variables:ChuteBouche == true) {
gotoAndStop (21);
}
stop();
Symbol 2556 MovieClip Frame 21
stop();
Symbol 2561 MovieClip Frame 1
if (/Variables:ChuteBouche == true) {
nextFrame();
}
stop();
stop();
Symbol 2575 MovieClip Frame 1
if (/Variables:RocheRamasse == true) {
nextFrame();
}
stop();
Symbol 2577 MovieClip Frame 1
if (/Variables:RocheTombe == true) {
nextFrame();
}
stop();
Symbol 2577 MovieClip Frame 2
stop();
Symbol 2581 MovieClip Frame 1
stop();
Symbol 2591 MovieClip Frame 1
stop();
Symbol 2596 MovieClip Frame 1
stop();
Symbol 2607 MovieClip Frame 1
if (/Variables:TrouLumiereOuvert == true) {
nextFrame();
}
stop();
Symbol 2607 MovieClip Frame 2
stop();
Symbol 2609 MovieClip Frame 1
stop();
Symbol 2614 MovieClip Frame 1
stop();
Symbol 2614 MovieClip Frame 2
myColor = new Color(_root.Meg);
myColorTransform = new Object();
myColorTransform.ra = -100;
myColorTransform.ga = -100;
myColorTransform.ba = -100;
MyColor.setTransform(myColorTransform);
myColor = new Color(_root.Yeti);
myColorTransform = new Object();
myColorTransform.ra = -100;
myColorTransform.ga = -100;
myColorTransform.ba = -100;
MyColor.setTransform(myColorTransform);
myColor = new Color(_root.Cache);
myColorTransform = new Object();
myColorTransform.ra = -100;
myColorTransform.ga = -100;
myColorTransform.ba = -100;
MyColor.setTransform(myColorTransform);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=16", 0);
Symbol 2614 MovieClip Frame 3
myColor = new Color(_root.Meg);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
MyColor.setTransform(myColorTransform);
myColor = new Color(_root.Yeti);
myColorTransform = new Object();
myColorTransform.ra = 78;
myColorTransform.ga = 78;
myColorTransform.ba = 78;
MyColor.setTransform(myColorTransform);
myColor = new Color(_root.Cache);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
MyColor.setTransform(myColorTransform);
if ((/Variables:FlashOk == true) and (/Variables:YetiPris != true)) {
Set("/Variables:YetiAction", true);
Set("/Variables:FlashOk", true);
Set("/Variables:YetiPeur", true);
tellTarget ("_root.Collider") {
nextFrame();
};
tellTarget ("_root.Yeti.YetiCote") {
gotoAndStop ("Peur");
};
}
if ((/Variables:FlashOk == true) and (/Variables:YetiPris == true)) {
Set("/Variables:YetiAction", true);
Set("/Variables:FlashOk", true);
Set("/Variables:YetiPeur", true);
tellTarget ("_root.Collider") {
nextFrame();
};
tellTarget ("_root.Yeti.YetiCote") {
gotoAndStop ("Assome");
};
}
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2644 MovieClip Frame 1
if (/Variables:YetiTourne == true) {
Set("/Variables:YetiTourne", false);
gotoAndPlay (39);
}
Symbol 2644 MovieClip Frame 2
Set("/Variables:YetiAction", true);
Symbol 2644 MovieClip Frame 4
if ((90 < random(100)) and (/Variables:Stoppe != true)) {
tellTarget ("_parent") {
gotoAndStop ("FrappeSol");
};
}
Symbol 2644 MovieClip Frame 34
Set("/Variables:YetiAction", false);
Symbol 2644 MovieClip Frame 43
if ((90 < random(100)) and (/Variables:Stoppe != true)) {
tellTarget ("_parent") {
gotoAndStop ("FrappeSol");
};
}
Symbol 2644 MovieClip Frame 47
if (((/Variables:PositionYeti < /Variables:NbRecul) and (70 < random(100))) and (/Variables:Stoppe != true)) {
tellTarget ("_parent") {
gotoAndStop ("Avance");
};
} else if (95 < random(100)) {
gotoAndPlay (1);
}
Symbol 2644 MovieClip Frame 58
if ((90 < random(100)) and (/Variables:Stoppe != true)) {
tellTarget ("_parent") {
gotoAndStop ("FrappeSol");
};
}
Symbol 2644 MovieClip Frame 63
if (((/Variables:PositionYeti < /Variables:NbRecul) and (70 < random(100))) and (/Variables:Stoppe != true)) {
tellTarget ("_parent") {
gotoAndStop ("Avance");
};
}
Symbol 2644 MovieClip Frame 68
if ((90 < random(100)) and (/Variables:Stoppe != true)) {
tellTarget ("_parent") {
gotoAndStop ("FrappeSol");
};
}
Symbol 2644 MovieClip Frame 71
if (90 < random(100)) {
gotoAndPlay (1);
} else {
gotoAndPlay (39);
}
Symbol 2652 MovieClip Frame 1
Set("/Variables:YetiPeur", true);
Set("/Variables:YetiAction", true);
tellTarget ("_root.Collider") {
prevFrame();
};
Symbol 2652 MovieClip Frame 4
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 30);
}
Symbol 2652 MovieClip Frame 5
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
Symbol 2652 MovieClip Frame 14
Set("/Variables:PositionYeti", /Variables:PositionYeti + 1);
Set("/Variables:YetiPeur", false);
Set("/Variables:YetiAction", false);
Set("/Variables:YetiTourne", true);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2667 MovieClip Frame 1
Set("/Variables:YetiAction", true);
Symbol 2667 MovieClip Frame 17
if (0 < /Variables:PositionYeti) {
setProperty("_root.Pic", _x , getProperty("_root.Meg", _x));
setProperty("_root.Pic", _y , getProperty("_root.Meg", _y));
tellTarget ("_root.Pic") {
play();
};
} else {
tellTarget ("_root.CageYeti") {
play();
};
Set("/Variables:YetiPris", true);
}
Symbol 2667 MovieClip Frame 22
Set("/Variables:YetiAction", false);
Set("/Variables:YetiPeur", false);
if (/Variables:YetiPris != true) {
Set("/Variables:YetiTourne", true);
tellTarget ("_parent") {
gotoAndStop (1);
};
} else {
tellTarget ("_parent") {
gotoAndStop ("Pris");
};
}
Symbol 2690 MovieClip Frame 7
if (/Variables:CoteYeti eq "Gauche") {
Set("/Variables:CoteYeti", "Droite");
Set("/Variables:YetiTourne", true);
Set("/Variables:YetiAction", false);
tellTarget ("../../") {
gotoAndStop ("Droite");
};
} else {
Set("/Variables:CoteYeti", "Gauche");
Set("/Variables:YetiTourne", true);
Set("/Variables:YetiAction", false);
tellTarget ("../../") {
gotoAndStop ("Gauche");
};
}
stop();
Symbol 2697 MovieClip Frame 10
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
Set("/Variables:Vie", /Variables:Vie - 40);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 50);
}
Symbol 2697 MovieClip Frame 17
Set("/Variables:YetiAction", false);
Set("/Variables:YetiTourne", true);
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2701 MovieClip Frame 2
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) + 2);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) - 2);
Symbol 2701 MovieClip Frame 3
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) + 2);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) - 2);
Symbol 2701 MovieClip Frame 4
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) + 2);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) - 2);
Symbol 2701 MovieClip Frame 5
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) + 2);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) - 2);
Symbol 2701 MovieClip Frame 6
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) + 2);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) - 2);
Symbol 2701 MovieClip Frame 7
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) + 2);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) - 2);
Symbol 2701 MovieClip Frame 15
Set("/Variables:PositionYeti", /Variables:PositionYeti - 1);
tellTarget ("_parent") {
gotoAndStop ("FrappeSol");
};
Symbol 2702 MovieClip Frame 85
Set("/Variables:YetiPeur", true);
Set("/Variables:YetiAction", true);
Set("/Variables:YetiPris", false);
Symbol 2702 MovieClip Frame 93
tellTarget ("_root.CageYeti.Stalag1.Garnotte") {
play();
};
Symbol 2702 MovieClip Frame 94
tellTarget ("_root.CageYeti.Stalag2.Garnotte") {
play();
};
Symbol 2702 MovieClip Frame 95
tellTarget ("_root.CageYeti.Stalag3.Garnotte") {
play();
};
tellTarget ("_root.CageYeti.Stalag4.Garnotte") {
play();
};
Symbol 2702 MovieClip Frame 96
tellTarget ("_root.CageYeti.Stalag5.Garnotte") {
play();
};
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
Set("/Variables:Vie", /Variables:Vie - 30);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 50);
}
Symbol 2702 MovieClip Frame 106
tellTarget ("_root.Collider") {
prevFrame();
};
Symbol 2702 MovieClip Frame 109
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 30);
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
}
Symbol 2702 MovieClip Frame 110
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
Symbol 2702 MovieClip Frame 119
Set("/Variables:PositionYeti", /Variables:PositionYeti + 1);
Symbol 2702 MovieClip Frame 120
tellTarget ("_root.Collider") {
prevFrame();
};
Symbol 2702 MovieClip Frame 123
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 30);
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
}
Symbol 2702 MovieClip Frame 124
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
Symbol 2702 MovieClip Frame 133
Set("/Variables:PositionYeti", /Variables:PositionYeti + 1);
Symbol 2702 MovieClip Frame 134
tellTarget ("_root.Collider") {
prevFrame();
};
Symbol 2702 MovieClip Frame 137
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 30);
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
}
Symbol 2702 MovieClip Frame 138
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
Symbol 2702 MovieClip Frame 147
Set("/Variables:PositionYeti", /Variables:PositionYeti + 1);
Symbol 2702 MovieClip Frame 148
tellTarget ("_root.Collider") {
prevFrame();
};
Symbol 2702 MovieClip Frame 151
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
if (_root.Meg.Pieds.hitTest(_root.Yeti.ZoneFrappe)) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 30);
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
}
Symbol 2702 MovieClip Frame 152
setProperty("_root.Yeti", _x , getProperty("_root.Yeti", _x) - 6);
setProperty("_root.Yeti", _y , getProperty("_root.Yeti", _y) + 6);
Symbol 2702 MovieClip Frame 161
Set("/Variables:PositionYeti", /Variables:PositionYeti + 1);
Set("/Variables:YetiPeur", false);
Set("/Variables:YetiAction", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2709 MovieClip Frame 1
if (/Variables:YetiAssome == true) {
gotoAndStop (90);
}
Set("/Variables:YetiAssome", true);
Symbol 2709 MovieClip Frame 34
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=18", 0);
Symbol 2709 MovieClip Frame 90
stop();
Symbol 2710 MovieClip Frame 1
if (/Variables:YetiAssome == true) {
gotoAndStop (8);
}
stop();
Symbol 2710 MovieClip Frame 2
stop();
Symbol 2710 MovieClip Frame 3
stop();
Symbol 2710 MovieClip Frame 4
stop();
Symbol 2710 MovieClip Frame 5
stop();
Symbol 2710 MovieClip Frame 6
stop();
Symbol 2710 MovieClip Frame 7
stop();
Symbol 2710 MovieClip Frame 8
stop();
Symbol 2711 MovieClip Frame 1
stop();
Symbol 2711 MovieClip Frame 2
stop();
Symbol 2711 MovieClip Frame 3
stop();
Symbol 2711 MovieClip Frame 4
stop();
Symbol 2711 MovieClip Frame 5
stop();
Symbol 2711 MovieClip Frame 6
stop();
Symbol 2711 MovieClip Frame 7
stop();
Symbol 2711 MovieClip Frame 8
stop();
Symbol 2712 MovieClip Frame 1
Set("/Variables:CoteYeti", "Droite");
stop();
Symbol 2712 MovieClip Frame 2
Set("/Variables:CoteYeti", "Gauche");
stop();
Symbol 2715 MovieClip Frame 12
stop();
Symbol 2719 MovieClip Frame 6
stop();
Symbol 2723 MovieClip Frame 1
stop();
Symbol 2723 MovieClip Frame 6
if (((((getProperty("_root.Pic", _x) - 50) < getProperty("_root.Meg", _x)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Pic", _x) + 50))) and ((getProperty("_root.Pic", _y) - 50) < getProperty("_root.Meg", _y))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Pic", _y) + 50))) {
Set("/Variables:Vie", /Variables:Vie - 30);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri != true) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
}
Symbol 2723 MovieClip Frame 12
gotoAndStop (1);
stop();
Symbol 2728 MovieClip Frame 1
stop();
Symbol 2728 MovieClip Frame 2
tellTarget ("_parent") {
nextFrame();
};
Symbol 2728 MovieClip Frame 7
if (getProperty("_parent", _name) eq "Stalag5") {
tellTarget ("_root.CageYeti") {
gotoAndStop (1);
};
}
stop();
Symbol 2729 MovieClip Frame 1
if (/Variables:YetiAssome == true) {
gotoAndStop (11);
}
Symbol 2729 MovieClip Frame 11
stop();
Symbol 2729 MovieClip Frame 12
stop();
Symbol 2733 MovieClip Frame 1
if (/Variables:YetiAssome == true) {
gotoAndStop (11);
}
Symbol 2733 MovieClip Frame 11
stop();
Symbol 2733 MovieClip Frame 12
stop();
Symbol 2734 MovieClip Frame 1
if (/Variables:YetiAssome == true) {
gotoAndStop (17);
}
stop();
Symbol 2734 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=17", 0);
Symbol 2734 MovieClip Frame 17
stop();
Symbol 2735 MovieClip Frame 1
stop();
Symbol 2735 MovieClip Frame 12
Set("/Variables:Stoppe", true);
stop();
Symbol 2741 MovieClip Frame 1
stop();
Symbol 2741 MovieClip Frame 2
stop();
Symbol 2741 MovieClip Frame 3
stop();
Symbol 2741 MovieClip Frame 4
stop();
Symbol 2741 MovieClip Frame 5
stop();
Symbol 2767 Button
on (release) {
stopAllSounds();
gotoAndPlay (1159);
}
Symbol 3176 MovieClip Frame 8
stop();