Frame 1
g_episode_name = "steppenwolf_episode_22";
s = new Sound();
ifFrameLoaded (10) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
myArray = new Array();
myArray[0] = "red";
myArray[1] = "yellow";
myArray[2] = 1;
if (myArray[2] == 1) {
gotoAndPlay (5);
}
Frame 4
stop();
Frame 23
ifFrameLoaded (200) {
gotoAndPlay (25);
}
Frame 24
gotoAndPlay (22);
Frame 25
tellTarget ("_root.LogoWb.LogoWb2") {
play();
};
Frame 69
ifFrameLoaded (325) {
gotoAndPlay (71);
}
Frame 70
gotoAndPlay (68);
Instance of Symbol 64 MovieClip "LoadingBar" in Frame 108
onClipEvent (load) {
var totalbytes = 1966080;
}
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 (484) {
if (/:Instru != true) {
tellTarget ("_root.InstructionButton") {
gotoAndStop (2);
};
}
}
if (99 < _root.LoadingBar.Loaded.Percent.Loaded) {
_root.LoadingBar.Loaded.Percent.Loaded = 100;
}
}
Frame 484
Set("/:Instru", true);
nextFrame();
Frame 485
stop();
Frame 486
stop();
Frame 487
stop();
Frame 488
stop();
Frame 489
stop();
Frame 490
stop();
Frame 491
stop();
Frame 504
stop();
Frame 924
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=1", 0);
Frame 926
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 931
gotoAndPlay (933);
Instance of Symbol 2033 MovieClip "Variables" in Frame 934
onClipEvent (load) {
function Setting() {
this.X = getProperty("_root.Meg", _x);
this.Y = getProperty("_root.Meg", _y);
this.Scale = getProperty("_root.Meg", _xscale);
this.Position = getProperty("_root.Meg", _currentframe);
this.Tableau = /Variables:EtatActif;
this.MegInitialisation = function () {
tellTarget ("_root") {
gotoAndStop(this.Tableau);
};
if (/Variables:SettingMechant == true) {
setProperty("_root.Mechant", _x , /Variables:MechantX);
setProperty("_root.Mechant", _y , /Variables:MechantY);
setProperty("_root.Mechant", _xscale , /Variables:MechantScale);
setProperty("_root.Mechant", _yscale , /Variables:MechantScale);
tellTarget ("_root.Mechant") {
gotoAndStop(/Variables:MechantFrame);
};
}
setProperty("_root.Meg", _x , this.X);
setProperty("_root.Meg", _y , this.Y);
setProperty("_root.Meg", _xscale , this.Scale);
setProperty("_root.Meg", _yscale , this.Scale);
tellTarget ("_root.Meg") {
gotoAndStop(this.Position);
};
};
}
function MegSaveString() {
return((((((((int(/Variables:MegSetting.X) + ",") + int(/Variables:MegSetting.Y)) + ",") + int(/Variables:MegSetting.Scale)) + ",") + /Variables:MegSetting.Position) + ",") + /Variables:MegSetting.Tableau);
}
function InventaireSaveString() {
InventaireSave = "";
InventaireSave = (InventaireSave + /Variables:InvNb) + ",";
i = 1;
while (/Variables:InvNbMax >= i) {
InventaireSave = (InventaireSave + eval ("/Variables:InvObjet" + i)) + ",";
i = i + 1;
}
return(InventaireSave);
}
function VariablesSaveString() {
ArrayNoms = new array();
ArrayNoms.push("Vie");
ArrayNoms.push("EtatActif");
ArrayNoms.push("EtatVide");
ArrayNoms.push("Decale");
ArrayNoms.push("Delta");
ArrayNoms.push("VarieDelta");
ArrayNoms.push("VarX");
ArrayNoms.push("Arrive");
ArrayNoms.push("Dir");
ArrayNoms.push("BarreRamasse");
ArrayNoms.push("BombeRamasse");
ArrayNoms.push("CutterRamasse");
ArrayNoms.push("SacRamasse");
ArrayNoms.push("LianeRamasse");
ArrayNoms.push("MangueRamasse");
ArrayNoms.push("CbRamasse");
ArrayNoms.push("Tab1Niveau");
ArrayNoms.push("Tab1Mechant1Tir");
ArrayNoms.push("Tab1Mechant2Tir");
ArrayNoms.push("BarilsTombe");
ArrayNoms.push("GrilleOuverte");
ArrayNoms.push("SeaJetBaisse");
ArrayNoms.push("MechantBaril");
ArrayNoms.push("ChuteBloque");
ArrayNoms.push("CaverneOuverte");
ArrayNoms.push("GorilleFrappe");
ArrayNoms.push("CBLance");
ArrayNoms.push("PontTombe");
ArrayNoms.push("PasserelleTombe");
ArrayNoms.push("GardePasserelle");
ArrayNoms.push("SingeFou");
ArrayNoms.push("LianeAttache");
ArrayNoms.push("GardePont");
ArrayNoms.push("GardeStep");
if (((/Variables:EtatActif eq "Tab1") or (/Variables:EtatActif eq "Tab1Eau")) or (/Variables:EtatActif eq "Tab1Grimpe")) {
Set("/Variables:FrameMechant1", getProperty("_root.Mechant1", _currentframe));
ArrayNoms.push("FrameMechant1");
}
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab4Grimpe")) and (/Variables:PontTombe == false)) {
Set("/Variables:Mechant3Frame", getProperty("_root.Mechant3", _currentframe));
ArrayNoms.push("Mechant3Frame");
}
if ((((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab4Grimpe")) and (/Variables:PasserelleTombe == false)) and (/Variables:GardeStep == true)) {
Set("/Variables:Mechant4Frame", getProperty("_root.Mechant4", _currentframe));
ArrayNoms.push("Mechant4Frame");
}
if (((/Variables:EtatActif eq "Tab5") or (/Variables:EtatActif eq "Tab5Grimpe")) and (/Variables:PasserelleTombe == false)) {
Set("/Variables:FrameGardeStep", getProperty("_root.GardeStep", _currentframe));
ArrayNoms.push("FrameGardeStep");
}
if (((/Variables:EtatActif eq "Tab3") or (/Variables:EtatActif eq "Tab3Grimpe")) or (/Variables:EtatActif eq "Tab3Eau")) {
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
}
ArrayNoms.push("FrameGorille");
Set("/Variables:NomsVariablesSave", ArrayNoms.toString());
ArrayValeur = new array();
ArrayType = new array();
i = 0;
while (i < ArrayNoms.length) {
ArrayValeur.Push(eval ("/Variables:" + ArrayNoms[i]));
ArrayType.Push(typeof(eval ("/Variables:" + ArrayNoms[i])));
i = i + 1;
}
Set("/Variables:ValeursVariablesSave", ArrayValeur.toString());
Set("/Variables:TypeVariablesSave", ArrayType.toString());
}
Vitesse = 6;
VarieDelta = 6;
Fleche = 1;
Set("/:Idle", false);
BaseScaleGts = 16.8;
VitX = 30;
VitY = 30;
MoveX = 18;
MoveY = 8;
VitesseTombe = 25;
InvNbTotal = 8;
InventaireOuvert = false;
LargeurObjet = 60;
InvNb = 0;
InvNbMax = 12;
InvObjetSelect = 0;
Instructions = "RULES\r\nIn Steppenwolf: The X-Creatures Project, you guide Meg Crimson and the Steppenwolf himself through a series of action- and logic-based interactive puzzles. \r\nThere are two major components to this application: the Main Game screen, where all the action takes place, and the Inventory page, where the player can stop to think, access stored information and manipulate a variety of items.\r\n\r\n1. The Main Game Screen\r\nCareful manipulation of the character and of the interactive environment is the key to success in this game. The following keyboard commands are available:\r\nUp, Down, Left and Right Arrows: walk in the appropriate direction\r\nUp/Right, Up/Left, Down/Left, Down/Right Arrow combinations: walk along diagonals\r\nHold SHIFT while pressing on a directional arrow combination: run in the appropriate direction\r\nCTRL: jump in the current direction of movement (not available in episode 1)\r\nSPACE: Context-sensitive \"Action Key\", which depends on the interactive element closest to the character's current position. Examples include opening a door, picking up a statue and storing it in the character's inventory, untying a knot to free a hostage, etc.\r\n\r\nThe game's on-screen interface items are very simple:\r\nThe Life Gauge located in the top-left corner measures the hero's current health level. Don't let it fall to zero, or the game is over. \r\nThe special icon located in the top-right corner gives you access to the Inventory screen. It will look like an electronic bracelet when Steppenwolf is the active character, and like a palmtop computer when Meg is in charge.\r\n\r\nFinally, three short-cut keys give quick access to the inventory: \r\nI: Open the inventory\r\nRight/Left arrows: to scroll the item list while the inventory is opened\r\nO: Close the inventory\r\nT: Store the active object and replace it with its successor.\r\n\r\n2.The Inventory Screen\r\nThis page contains four buttons, a slider which allows you to set the sound volume, and a display window whose contents depend on the state of the MAIL and ITEMS buttons.\r\na) MAIL and ITEMS buttons: Click on these buttons to toggle between MAIL and ITEMS mode. \r\nWhen MAIL is active, the display window shows a list of the recent email messages received by the hero. Click on the (underlined) sender's name to read a message; some messages also come with visual attachments, which can be accessed by clicking on the paper clip icon next to the sender's name. \r\nWhen ITEMS is active, a small area at the bottom of the display window is reserved to a scrolling list of the objects picked up by the characters since the beginning of the episode. Roll over the side edges of this area to scroll the list. Click on one of the objects to make it active; a detailed description will appear in the larger area of the display window. \r\nSome inventory items are components which can be assembled into more elaborate objects. For example, making an antidote potion may require several ingredients. If you drag a different object to the main display window while it's already showing something else, the two will automatically merge into one if appropriate. (Otherwise, the new item simply replaces the old one as active object.)\r\nb) OK button: returns to the main game screen\r\nc) HELP button: read the game's instructions\r\nd) QUIT button: leave the current episode and return to the series' main menu.\r\ne) IMAGE QUALITY buttons: if the animation is choppy or slow on your computer, select a lower image quality.\r\n\r\nMinimum system requirements:\r\nWindows 95/98/NT/2000\r\nMinimum 200MHz processor, Windows compatible sound card, 24 bit display.\r\nMacintosh OS\r\nMinimum 200MHz PowerPC processor, 24 bit display.\r\n";
InvObjet1 = 0;
InvObjet2 = 0;
InvObjet3 = 0;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
InvObjet11 = 0;
InvObjet12 = 0;
InvMail = 0;
InvMailMax = 6;
InvMail1 = 1;
InvMail2 = 0;
InvMail3 = 0;
InvMail4 = 0;
InvMail5 = 0;
InvMail6 = 0;
Mail1 = "Mr. Sanchez,\r\nThose who leave the Brotherhood are no longer welcomed in the presence of the Treasure. If you value your life, you will not ask again. Ever.";
MegCri = false;
VarX = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
GtsVisible = 1;
BarreRamasse = false;
BombeRamasse = false;
CutterRamasse = false;
SacRamasse = false;
LianeRamasse = false;
MangueRamasse = false;
CbRamasse = false;
Tab1Niveau = 1;
Tab1Mechant1Tir = false;
Tab1Mechant2Tir = false;
BarilsTombe = false;
GrilleOuverte = false;
SeaJetBaisse = false;
MechantBaril = false;
FrameMechant1 = 1;
ChuteBloque = false;
CaverneOuverte = false;
FrameGorille = 1;
GorilleFrappe = false;
CBLance = false;
PontTombe = false;
PasserelleTombe = false;
GardePasserelle = false;
SingeFou = false;
LianeAttache = false;
GardePont = false;
Mechant3Frame = 1;
Mechant4Frame = 1;
GardeStep = false;
FrameGardeStep = 1;
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
}
Frame 935
Set("/Variables:From", "Debut");
gotoAndPlay (936);
Frame 937
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
if (/Variables:From eq "Tab1Eau") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 72);
setProperty("_root.Meg", _y , 320);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Quai1") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 172);
setProperty("_root.Meg", _y , 216);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Quai2") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 310);
setProperty("_root.Meg", _y , 216);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
if (/Variables:From eq "Quai3") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 355);
setProperty("_root.Meg", _y , 146);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Instance of Symbol 2338 MovieClip in Frame 937
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (_root.Mechant1.Obj.hitTest(_root.Meg)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardeTue");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((_root.CacheSeaJet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:SeaJetBaisse == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendSeaJet");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CacheQuai1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Quai1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CacheQuai2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Arrive", "Quai2");
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CacheQuai3.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Arrive", "Quai3");
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CachePoteau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PoteauBas");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
} else if (_root.CacheEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=2", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendRoche");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CachePoteauHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PoteauHaut");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if ((_root.CacheSac.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:SacRamasse == false)) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=7", 0);
Set("/Variables:SacRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Sac") {
gotoAndStop (2);
};
}
if ((_root.CacheCutter.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CutterRamasse == false)) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=5", 0);
Set("/Variables:CutterRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Cutter") {
gotoAndStop (2);
};
}
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 4)) and (/Variables:SeaJetBaisse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PasseCarte");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (((_root.CacheGrilleEgout.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:GrilleOuverte == true)) and (/Variables:Tab1Mechant1Tir == false)) {
Set("/Variables:Arrive", "EntreEgout");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if (/Variables:Tab1Mechant1Tir == true) {
if (/Variables:MechantBaril == true) {
tellTarget ("_root.Mechant1") {
gotoAndStop ("Tir2");
};
} else {
tellTarget ("_root.Mechant1") {
gotoAndStop ("Tir");
};
}
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
} else if (_root.CacheMechantVoit.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Tab1Mechant1Tir", true);
}
if (/Variables:Tab1Mechant2Tir == true) {
tellTarget ("_root.Mechant2") {
gotoAndStop ("Tir");
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P1", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P2", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P3", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P4", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P5", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P6", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P7", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P8", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (8);
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) 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);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 938
if (/Variables:Arrive eq "Egout") {
setProperty("_root.Meg", _x , 145);
setProperty("_root.Meg", _y , 120);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Arrive", "");
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
if (/Variables:From eq "Poteau") {
Set("/Variables:From", "");
if (/Variables:Tab1Niveau == 1) {
setProperty("_root.Meg", _x , 38);
setProperty("_root.Meg", _y , 360);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.DecoupeRock", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
} else {
setProperty("_root.Meg", _x , 47);
setProperty("_root.Meg", _y , 113);
setProperty("_root.DecoupeRock", _visible , 0);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
}
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:Run", false);
stop();
Frame 943
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 950
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab1EauStoppe");
Set("/Variables:EtatActif", "Tab1Eau");
if (/Variables:From eq "Quai1") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 205);
setProperty("_root.Meg", _y , 254);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
if (/Variables:From eq "Quai2") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 311);
setProperty("_root.Meg", _y , 262);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Quai3") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 389);
setProperty("_root.Meg", _y , 156);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
Instance of Symbol 2338 MovieClip in Frame 950
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (244 < getProperty("_root.Meg", _y)) {
setProperty("_root.Barils", _visible , 0);
setProperty("_root.CoinQuai", _visible , 0);
} else {
setProperty("_root.Barils", _visible , 1);
setProperty("_root.CoinQuai", _visible , 1);
}
if (355 < getProperty("_root.Meg", _y)) {
setProperty("_root.TourelleDevant", _visible , 0);
} else {
setProperty("_root.TourelleDevant", _visible , 1);
}
if (_root.CacheEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteRoche");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
if (_root.CacheQuai1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Quai1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
if (_root.CacheQuai2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Arrive", "Quai2");
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
if (_root.CacheQuai3.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Arrive", "Quai3");
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
if ((_root.CachePlonge.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab1Mechant1Tir == false)) {
Set("/Variables:Arrive", "Plonge");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if ((_root.CacheBarre.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:BarreRamasse == false)) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=3", 0);
Set("/Variables:BarreRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.BarreClou") {
gotoAndStop (2);
};
}
if (((_root.CacheBarils.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:BarilsTombe == false)) and Key.isDown(32)) and (/Variables:ObjetSelect == 2)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CoupeChaine");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
if (/Variables:Tab1MechantTir == true) {
if (/Variables:MechantBaril == true) {
tellTarget ("_root.Mechant1") {
gotoAndStop ("Tir2");
};
} else {
tellTarget ("_root.Mechant1") {
gotoAndStop ("Tir");
};
}
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
} else if (_root.CacheMechantVoit.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Tab1MechantTir", true);
}
if (/Variables:Tab1Mechant2Tir == true) {
tellTarget ("_root.Mechant2") {
gotoAndStop ("Tir");
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P1", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P2", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P3", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P4", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P5", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P6", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P7", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P8", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (8);
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
Set("/Variables:Run", false);
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
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(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
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(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 951
Set("/Variables:EtatActif", "Tab1Eau");
Set("/Variables:EtatVide", "Tab1EauStoppe");
Set("/Variables:Run", false);
stop();
Frame 956
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 960
Set("/Variables:EtatActif", "Tab1Grimpe");
Set("/Variables:EtatVide", "Tab1Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 966
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
Frame 967
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:SingeFou", false);
Set("/Variables:GardePont", false);
if (/Variables:From eq "Plage") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 61);
setProperty("_root.Meg", _y , 365);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "FalaiseTab4") {
Set("/Variables:From", "");
Set("/Variables:Arrive", "FalaiseHaut");
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (/Variables:From eq "LianeTab4") {
Set("/Variables:From", "");
Set("/Variables:Arrive", "Liane3Haut");
gotoAndStop (991);
}
Instance of Symbol 2338 MovieClip in Frame 967
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (_root.CacheGorilleVoit.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CBLance == false)) {
Set("/Variables:GorilleFrappe", true);
} else {
Set("/Variables:GorilleFrappe", false);
}
if (_root.CacheGrimpeLiane1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:Arrive", "Liane1Haut");
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CacheGrimpeRoche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:Arrive", "FalaiseBas");
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CacheGrimpeLiane2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:Arrive", "Liane2Haut");
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CacheGrimpeLiane3.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=14", 0);
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:Arrive", "Liane3Bas");
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CachePlage.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendPlage");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
if ((_root.CacheMangue.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:MangueRamasse == false)) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=13", 0);
Set("/Variables:MangueRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 9);
tellTarget ("_root.Mangue") {
gotoAndStop (2);
};
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) 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);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 968
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:Run", false);
if (/Variables:From eq "Liane1") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 311);
setProperty("_root.Meg", _y , 203);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
if (/Variables:From eq "Liane2") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 458);
setProperty("_root.Meg", _y , 110);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Liane3") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 500);
setProperty("_root.Meg", _y , 67);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
if (/Variables:From eq "Falaise") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 110);
setProperty("_root.Meg", _y , 197);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
stop();
Frame 973
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 980
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
Frame 981
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab3EauStoppe");
Set("/Variables:EtatActif", "Tab3Eau");
if (/Variables:From eq "Plage") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 108);
setProperty("_root.Meg", _y , 374);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
if (/Variables:From eq "Grotte") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 364);
setProperty("_root.Meg", _y , 158);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
Instance of Symbol 2338 MovieClip in Frame 981
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (getProperty("_root.Meg", _y) < 328) {
setProperty("_root.DecoupeRocheDevant", _visible , 1);
} else {
setProperty("_root.DecoupeRocheDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 176) {
setProperty("_root.RocherDevant", _visible , 1);
} else {
setProperty("_root.RocherDevant", _visible , 0);
}
if (_root.CacheGorilleVoit.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CBLance == false)) {
Set("/Variables:GorilleFrappe", true);
} else {
Set("/Variables:GorilleFrappe", false);
}
if ((_root.CacheGrotte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 6)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PlaceBombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab3EauStoppe");
};
}
if ((_root.CacheGrotte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:CaverneOuverte == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("GrimpeGrotte");
};
tellTarget ("_root") {
gotoAndStop ("Tab3EauStoppe");
};
}
if ((_root.CacheLanceCb.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 8)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceCb");
};
tellTarget ("_root") {
gotoAndStop ("Tab3EauStoppe");
};
}
if (_root.CacheGrimpeLiane1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Liane1Bas");
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CacheGrimpeLiane2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=12", 0);
Set("/Variables:Arrive", "Liane2Bas");
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CachePlage.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
tellTarget ("_root.Animatiques") {
gotoAndStop ("MontePlage");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
if (((_root.CacheMort.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CbRamasse == false)) and Key.isDown(32)) and (/Variables:PontTombe == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendRadio");
};
tellTarget ("_root") {
gotoAndStop ("Tab3EauStoppe");
};
}
if ((_root.CacheLiane.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:LianeRamasse == false)) and Key.isDown(32)) {
Set("/Variables:LianeRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
tellTarget ("_root.Liane") {
gotoAndStop (2);
};
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
Set("/Variables:Run", false);
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
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(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
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(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 982
Set("/Variables:EtatActif", "Tab3Eau");
Set("/Variables:EtatVide", "Tab3EauStoppe");
Set("/Variables:Run", false);
if (/Variables:From eq "Liane1") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 317);
setProperty("_root.Meg", _y , 316);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Liane2") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 442);
setProperty("_root.Meg", _y , 388);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "TombeFalaise") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 198);
setProperty("_root.Meg", _y , 278);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
stop();
Frame 987
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 991
Set("/Variables:EtatActif", "Tab3Grimpe");
Set("/Variables:EtatVide", "Tab3Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 997
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
Frame 998
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
if (/Variables:From eq "Tab3Falaise") {
Set("/Variables:From", "");
Set("/Variables:Arrive", "FalaiseBas");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (/Variables:From eq "Tab3") {
Set("/Variables:From", "");
Set("/Variables:Arrive", "Liane1Bas");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (/Variables:From eq "Tab5") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 419);
setProperty("_root.Meg", _y , 25);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
Instance of Symbol 2338 MovieClip in Frame 998
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (_root.Mechant3.Obj.hitTest(_root.Meg)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardeTue");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.Mechant4.hitTest(_root.Meg)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardeTue");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (getProperty("_root.Meg", _y) < 126) {
setProperty("_root.PoteauDevant", _visible , 1);
} else {
setProperty("_root.PoteauDevant", _visible , 0);
}
if (((_root.CacheRoche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:LianeAttache == false)) and (/Variables:ObjetSelect == 7)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttacheRoche");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (((_root.CacheCoupeChaine.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:PasserelleTombe == false)) and (/Variables:ObjetSelect == 2)) {
if (/Variables:GardePasserelle == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CoupePasserelle");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (/Variables:MegParle == false) {
Set("/Variables:MegParle", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("NotNow");
};
}
} else if ((_root.CachePoteauGauche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:PasserelleTombe == true)) {
Set("/Variables:Arrive", "Gauche");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if ((((_root.CacheRoche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:LianeAttache == true)) and (/Variables:ObjetSelect == 1)) and (/Variables:PontTombe == false)) {
if (/Variables:GardePont == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PousseRoche");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (/Variables:MegParle == false) {
Set("/Variables:MegParle", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("NotNow");
};
}
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if ((_root.CachePoteauDroite.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:PasserelleTombe == true)) {
Set("/Variables:Arrive", "Droite");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheLiane1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Liane1Haut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheLiane2Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Liane2Bas");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheLiane2Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Liane2Haut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheGrimpeFalaise.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "FalaiseHaut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if ((((_root.CacheLanceMangue.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 9)) and (/Variables:SingeFou == false)) and (/Variables:GardePont == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceFruit");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (/Variables:Mechant3Tir == true) {
if (/Variables:GardePont == true) {
tellTarget ("_root.Mechant3") {
gotoAndStop ("Tir2");
};
} else {
tellTarget ("_root.Mechant3") {
gotoAndStop ("Tir");
};
}
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P1", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P2", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P3", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P4", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P5", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P6", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P7", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P8", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (8);
};
}
} else if (_root.CacheMechant3Voit.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PontTombe == false)) {
Set("/Variables:Mechant3Tir", true);
}
if ((/Variables:Mechant4Tir == true) and (/Variables:PasserelleTombe == false)) {
tellTarget ("_root.Mechant4") {
gotoAndStop ("Tir");
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P1", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P2", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P3", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P4", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P5", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P6", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P7", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P8", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (8);
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) 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);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 999
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:Run", false);
stop();
Frame 1004
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1008
Set("/Variables:EtatActif", "Tab4Grimpe");
Set("/Variables:EtatVide", "Tab4Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2338 MovieClip in Frame 1008
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:Mechant3Tir == true) {
if (/Variables:GardePont == true) {
tellTarget ("_root.Mechant3") {
gotoAndStop ("Tir2");
};
} else {
tellTarget ("_root.Mechant3") {
gotoAndStop ("Tir");
};
}
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P1", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P2", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P3", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P4", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P5", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P6", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D2", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D2", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D6", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P7", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D3", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D3", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D7", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.P8", _x);
YCentre = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D4", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D4", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D8", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D5", _x);
Y1 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D5", _y);
X2 = getProperty("_root.Mechant3", _x) + getProperty("_root.Mechant3.D1", _x);
Y2 = getProperty("_root.Mechant3", _y) + getProperty("_root.Mechant3.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant3.Obj") {
gotoAndStop (8);
};
}
} else if (_root.CacheMechant3Voit.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PontTombe == false)) {
Set("/Variables:Mechant3Tir", true);
}
if ((/Variables:Mechant4Tir == true) and (/Variables:PasserelleTombe == false)) {
tellTarget ("_root.Mechant4") {
gotoAndStop ("Tir");
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P1", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P2", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P3", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P4", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P5", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P6", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D2", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D2", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D6", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P7", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D3", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D3", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D7", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.P8", _x);
YCentre = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D4", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D4", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D8", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D5", _x);
Y1 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D5", _y);
X2 = getProperty("_root.Mechant4", _x) + getProperty("_root.Mechant4.D1", _x);
Y2 = getProperty("_root.Mechant4", _y) + getProperty("_root.Mechant4.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant4.Obj") {
gotoAndStop (8);
};
}
}
}
};
}
Frame 1014
if (/Variables:PasserelleTombe == false) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=27", 0);
} else {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=32", 0);
}
Frame 1015
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:EtatActif", "Tab5");
if (/Variables:From eq "Tab4") {
Set("/Variables:Decale", 0.4);
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 177);
setProperty("_root.Meg", _y , 390);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Grotte") {
Set("/Variables:Decale", 0);
Set("/Variables:From", "");
Set("/Variables:Arrive", "Sort");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
Instance of Symbol 2338 MovieClip in Frame 1015
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (_root.GardeStep.hitTest(_root.Meg)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardeTue");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheGrotte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Entre");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
if (_root.CachePoteauBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PoteauBas");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
if (_root.CachePorteLab.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PorteLab");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
if (_root.CachePoteauHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PoteauHaut");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
if (((_root.CacheBombe.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:BombeRamasse == false)) and Key.isDown(32)) and (/Variables:PasserelleTombe == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
if (getProperty("_root.Meg", _y) < 303) {
if (/Variables:GardeStep == false) {
Set("/Variables:GardeStep", true);
tellTarget ("_root.GardeStep") {
gotoAndPlay (2);
};
}
setProperty("_root.TubeDevant", _visible , 1);
} else {
setProperty("_root.TubeDevant", _visible , 0);
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab5");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=29", 0);
Set("/Variables:FrameGardeStep", getProperty("_root.GardeStep", _currentframe));
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
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(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) 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);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 1016
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:Run", false);
stop();
Frame 1021
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1025
Set("/Variables:EtatActif", "Tab5Grimpe");
Set("/Variables:EtatVide", "Tab5Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 1033
StringSave = /Save:Fichier.split("@");
StringNomVar = StringSave[0].split(",");
StringValeurVar = StringSave[1].split(",");
StringTypeVar = StringSave[2].split(",");
i = 0;
while (i < StringNomVar.length) {
if (StringTypeVar[i] eq "number") {
Set("/Variables:" + StringNomVar[i], Number(StringValeurVar[i]));
} else if (StringTypeVar[i] eq "boolean") {
if (StringValeurVar[i] eq "true") {
Set("/Variables:" + StringNomVar[i], true);
} else {
Set("/Variables:" + StringNomVar[i], false);
}
} else {
Set("/Variables:" + StringNomVar[i], StringValeurVar[i]);
}
i = i + 1;
}
StringInventaire = StringSave[3].split(",");
Set("/Variables:InvNb", int(StringInventaire[0]));
i = 1;
while (/Variables:InvNbMax >= i) {
Set("/Variables:InvObjet" + i, int(StringInventaire[i]));
i = i + 1;
}
StringMeg = StringSave[4].split(",");
Set("/Variables:MegSetting", new /Variables:Setting());
/Variables:MegSetting.X = StringMeg[0];
/Variables:MegSetting.Y = StringMeg[1];
/Variables:MegSetting.Scale = StringMeg[2];
/Variables:MegSetting.Position = StringMeg[3];
/Variables:MegSetting.Tableau = StringMeg[4];
Set("/Save:Fichier", "");
Set("/Variables:MegDessus", false);
/Variables:MegSetting.MegInitialisation();
Frame 1034
prevFrame();
Frame 1035
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 3673 MovieClip in Frame 1035
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 1038
if (/Save:Fichier ne "") {
gotoAndStop (1034);
} else {
gotoAndPlay (933);
}
Frame 1039
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
gotoAndPlay (1062);
Frame 1046
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
gotoAndPlay (1062);
Frame 1057
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Save:TempsDepart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (1132);
Frame 1062
stopAllSounds();
Frame 1131
stop();
Frame 1977
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=40", 0);
Frame 2070
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/lowtime.swf", "MovieTimer");
} else {
tellTarget ("Question") {
gotoAndStop (2);
};
}
stop();
Symbol 2 MovieClip Frame 1
TempsDepart = getTimer();
Fichier = "";
Symbol 8 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", "_self");
}
Symbol 12 Button
on (release) {
play();
}
Symbol 19 MovieClip Frame 33
stop();
Symbol 19 MovieClip Frame 41
stop();
Symbol 20 MovieClip Frame 41
stop();
Symbol 29 MovieClip Frame 39
stop();
Symbol 30 MovieClip Frame 61
stop();
Symbol 56 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 57 MovieClip Frame 1
fscommand ("load");
Symbol 57 MovieClip Frame 3
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 57 MovieClip Frame 10
stop();
Symbol 61 MovieClip Frame 9
stop();
Symbol 63 Button
on (release) {
stopAllSounds();
tellTarget ("/") {
gotoAndStop ("Choix");
};
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 12
stop();
Symbol 64 MovieClip Frame 23
stop();
Symbol 64 MovieClip Frame 35
stop();
Symbol 64 MovieClip Frame 48
stop();
Symbol 64 MovieClip Frame 62
stop();
Symbol 64 MovieClip Frame 76
stop();
Symbol 64 MovieClip Frame 90
stop();
Symbol 64 MovieClip Frame 104
stop();
Symbol 64 MovieClip Frame 105
play();
Symbol 64 MovieClip Frame 106
play();
Symbol 64 MovieClip Frame 107
play();
Symbol 64 MovieClip Frame 108
play();
Symbol 64 MovieClip Frame 109
play();
Symbol 64 MovieClip Frame 110
play();
Symbol 64 MovieClip Frame 111
play();
Symbol 64 MovieClip Frame 112
play();
Symbol 64 MovieClip Frame 113
play();
Symbol 64 MovieClip Frame 114
play();
Symbol 64 MovieClip Frame 115
play();
Symbol 64 MovieClip Frame 116
play();
Symbol 64 MovieClip Frame 117
play();
Symbol 64 MovieClip Frame 118
play();
Symbol 64 MovieClip Frame 119
play();
Symbol 64 MovieClip Frame 120
play();
Symbol 64 MovieClip Frame 121
play();
Symbol 64 MovieClip Frame 122
play();
Symbol 64 MovieClip Frame 123
play();
Symbol 64 MovieClip Frame 124
play();
Symbol 64 MovieClip Frame 125
play();
Symbol 64 MovieClip Frame 126
play();
Symbol 64 MovieClip Frame 142
stop();
Symbol 67 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("Instructions");
};
}
Symbol 68 MovieClip Frame 1
stop();
if (/:ViewInst == true) {
gotoAndStop (2);
}
Symbol 68 MovieClip Frame 2
Set("/:ViewInst", true);
Symbol 213 MovieClip Frame 12
stop();
Symbol 237 Button
on (release) {
Set("/:Instru", false);
gotoAndPlay (1);
}
Symbol 247 Button
on (release) {
nextFrame();
}
Symbol 252 Button
on (release) {
prevFrame();
}
Symbol 267 Button
on (release) {
Set("/:Challenge", true);
tellTarget ("/") {
play();
};
}
Symbol 273 Button
on (release) {
Set("/:Challenge", false);
tellTarget ("/") {
play();
};
}
Symbol 445 Button
on (release) {
stopAllSounds();
gotoAndPlay (926);
}
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 2
gotoAndStop (1);
Symbol 710 MovieClip Frame 6
gotoAndStop (1);
Symbol 710 MovieClip Frame 7
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (9);
}
Symbol 710 MovieClip Frame 8
gotoAndPlay (10);
Symbol 710 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 710 MovieClip Frame 32
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 779 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 779 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 779 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 779 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 779 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 779 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 779 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 779 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 779 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 779 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 779 MovieClip Frame 11
Set("/Variables:ObjetSelect", 10);
Symbol 786 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 786 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 792 Button
on (release) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
}
Symbol 794 Button
on (keyPress "t") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "T") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "i") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
on (keyPress "I") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root.GameSaved") {
play();
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 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 808 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 819 Button
on (release) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 829 Button
on (release) {
nextFrame();
}
Symbol 838 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 839 Button
on (release) {
gotoAndStop (1);
}
Symbol 840 MovieClip Frame 1
stop();
Symbol 848 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 859 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 861 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 862 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 864 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 2
stop();
Symbol 864 MovieClip Frame 3
stop();
Symbol 867 MovieClip Frame 1
stop();
Symbol 867 MovieClip Frame 4
gotoAndPlay (2);
Symbol 874 Button
on (release) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=8", 0);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
Set("/Variables:ObjetRemove", 3);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("/Inventaire") {
gotoAndStop (1);
};
}
Symbol 875 MovieClip Frame 1
stop();
Symbol 883 MovieClip Frame 1
stop();
Symbol 883 MovieClip Frame 2
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 1);
Symbol 883 MovieClip Frame 3
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 2);
Symbol 883 MovieClip Frame 4
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 3);
Symbol 883 MovieClip Frame 5
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 4);
Symbol 883 MovieClip Frame 6
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 5);
Symbol 883 MovieClip Frame 7
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 6);
Symbol 883 MovieClip Frame 8
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 7);
Symbol 883 MovieClip Frame 9
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 8);
Symbol 883 MovieClip Frame 10
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 9);
Symbol 883 MovieClip Frame 11
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 10);
Symbol 886 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 887 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 10)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=35", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 6);
Set("/Variables:ObjetCombine", 10);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (7);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 888 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
Set("/Variables:InvObjetSelect", int(substring(_name, 6, 2)));
_x = /Variables:Xposition;
_y = /Variables:Yposition;
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
Symbol 889 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 5)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=35", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 6);
Set("/Variables:ObjetCombine", 5);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (7);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 890 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 891 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 891 MovieClip Frame 2
stop();
Symbol 892 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 892 MovieClip Frame 2
gotoAndPlay (1);
Symbol 892 MovieClip Frame 3
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 2
a = 1;
while (eval ("/Variables:InvObjet" + a) != /Variables:ObjetCombine) {
a = a + 1;
}
i = a;
while ((eval ("/Variables:InvObjet" + i) != 0) and (i < /Variables:InvNbMax)) {
Set("/Variables:InvObjet" + i, eval ("/Variables:InvObjet" + (i + 1)));
i = i + 1;
}
i = 1;
while (/Variables:InvNbMax >= i) {
tellTarget ("../Chaine1/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
tellTarget ("../Chaine2/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
tellTarget ("../Chaine3/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
i = i + 1;
}
if (/Variables:InvNb < 4) {
setProperty("../Chaine2", _x , getProperty("../BorneGauche", _x) + (/Variables:LargeurObjet / 4));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (3 * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (3 * /Variables:LargeurObjet));
} else if ((getProperty("../Chaine1", _x) < getProperty("../Chaine2", _x)) and (getProperty("../Chaine3", _x) < getProperty("../Chaine1", _x))) {
setProperty("../Chaine3", _x , getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine2", _x , getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
} else if ((getProperty("../Chaine2", _x) < getProperty("../Chaine3", _x)) and (getProperty("../Chaine1", _x) < getProperty("../Chaine2", _x))) {
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
} else {
setProperty("../Chaine2", _x , getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
gotoAndStop (1);
Symbol 896 MovieClip Frame 1
if (Key.isDown(37) and (3 < /Variables:InvNb)) {
Deplace = /Variables:LargeurObjet;
gotoAndPlay (3);
}
if (Key.isDown(39) and (3 < /Variables:InvNb)) {
Deplace = -1 * /Variables:LargeurObjet;
gotoAndPlay (3);
}
Symbol 896 MovieClip Frame 2
gotoAndPlay (1);
Symbol 896 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 896 MovieClip Frame 4
gotoAndPlay (1);
Symbol 896 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 896 MovieClip Frame 6
gotoAndStop (1);
Symbol 910 Button
on (release) {
if (/Variables:Tombe != true) {
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
}
Symbol 911 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 916 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 916 MovieClip Frame 2
TempsTemp = getTimer() - /Save:TempsDepart;
HeuresTemp = TempsTemp / 3600000;
Heures = int(Math.abs(int(HeuresTemp)));
MinutesEnMilli = TempsTemp - (Heures * 3600000);
MinutesTemp = MinutesEnMilli / 60000;
Minutes = int(Math.abs(int(MinutesTemp)));
SecondesEnMilli = MinutesEnMilli - (Minutes * 60000);
SecondesTemp = SecondesEnMilli / 1000;
Secondes = int(Math.abs(int(SecondesTemp)));
if (Heures < 10) {
Heures = "0" + Heures;
}
if (Minutes < 10) {
Minutes = "0" + Minutes;
}
if (Secondes < 10) {
Secondes = "0" + Secondes;
}
TempsEcoule = (((Heures + ":") + Minutes) + ":") + Secondes;
Symbol 917 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 917 MovieClip Frame 2
stop();
Symbol 918 Button
on (release) {
gotoAndStop (2);
}
Symbol 919 Button
on (release) {
gotoAndStop (3);
}
Symbol 921 Button
on (release) {
gotoAndStop (4);
}
Symbol 922 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 922 MovieClip Frame 2
_quality = "LOW";
Symbol 922 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 922 MovieClip Frame 4
_quality = "HIGH";
Symbol 923 Button
on (keyPress "o") {
trace("mange d'l'ostie d'marde !!!");
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 931 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 933 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 935 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 938 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 939 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 940 MovieClip Frame 1
stop();
Symbol 940 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 946 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 947 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 950 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 951 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 953 MovieClip Frame 1
stop();
Symbol 954 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 955 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 956 MovieClip Frame 1
stop();
Symbol 956 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 957 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 2
stop();
Symbol 957 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 957 MovieClip Frame 6
stop();
Symbol 958 MovieClip Frame 1
stop();
Symbol 960 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);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 961 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 966 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 968 Button
on (keyPress "o") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 969 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 971 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 973 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 973 MovieClip Frame 2
stop();
Symbol 974 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
Set("/Variables:Arrive", "");
Set("/Variables:From", "");
stop();
Symbol 974 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
stop();
Instance of Symbol 809 MovieClip "BoutonVolume" in Symbol 974 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 974 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 809 MovieClip "BoutonVolume" in Symbol 974 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 1054 MovieClip Frame 12
Set("/Variables:From", /Variables:Arrive);
tellTarget ("_root") {
gotoAndPlay ("Tab1EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1057 MovieClip Frame 12
Set("/Variables:From", "Roche");
tellTarget ("_root") {
gotoAndPlay ("Tab1EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1058 MovieClip Frame 12
Set("/Variables:From", "Plage");
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1066 MovieClip Frame 12
Set("/Variables:From", /Variables:Arrive);
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1067 MovieClip Frame 12
Set("/Variables:From", "Tab1Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1068 MovieClip Frame 12
Set("/Variables:From", "Plage");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1110 MovieClip Frame 22
Set("/Variables:Arrive", "SortEau");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1127 MovieClip Frame 43
Set("/Variables:GrilleOuverte", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=4", 0);
Set("/Variables:Arrive", "SortEau");
tellTarget ("_root.Grille") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1166 MovieClip Frame 68
Set("/Variables:Arrive", "Egout");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1189 MovieClip Frame 19
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=9", 0);
tellTarget ("_root.Seajet") {
gotoAndPlay (2);
};
if (/Variables:MechantBaril == false) {
Set("/Variables:Tab1MechantTir", true);
}
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1214 MovieClip Frame 20
Set("/Variables:BarilsTombe", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=6", 0);
setProperty("_root.Meg", _x , 472);
setProperty("_root.Meg", _y , 266);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
setProperty("_root.Barils", _visible , 0);
tellTarget ("_root.Barils") {
gotoAndStop ("Eau");
};
tellTarget ("_root.BarilsDerriere") {
gotoAndPlay (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab1Eau");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1297 MovieClip Frame 16
Set("/Variables:Arrive", "Part");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=10", 0);
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1364 MovieClip Frame 25
tellTarget ("_parent") {
gotoAndStop ("Accoste");
};
Symbol 1492 MovieClip Frame 35
Set("/Variables:From", "Tab1");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=11", 0);
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1541 MovieClip Frame 30
Set("/Variables:From", "");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=20", 0);
Set("/Variables:CbRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 8);
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1561 MovieClip Frame 10
Set("/Variables:CBLance", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=21", 0);
tellTarget ("_parent") {
gotoAndStop ("SingeEcoute");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1633 MovieClip Frame 102
tellTarget ("_parent") {
gotoAndStop ("CapitaineEcoute");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1691 MovieClip Frame 44
Set("/Variables:From", "");
Set("/Variables:ObjetRemove", 8);
tellTarget ("/Inventaire/ObjetRemove") {
play();
};
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Gorille") {
gotoAndPlay ("CB");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1713 MovieClip Frame 25
Set("/Variables:ChuteBloque", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=23", 0);
tellTarget ("_root.Chute") {
gotoAndStop (2);
};
tellTarget ("_root.RocheChute") {
gotoAndStop (2);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1748 MovieClip Frame 31
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=36", 0);
tellTarget ("_parent") {
gotoAndStop ("RocheExplose");
};
Symbol 1789 MovieClip Frame 51
Set("/Variables:ObjetRemove", 6);
tellTarget ("/Inventaire/ObjetRemove") {
play();
};
Set("/Variables:ObjetSelect", 0);
Set("/Variables:CaverneOuverte", true);
setProperty("_root.Meg", _x , 400);
setProperty("_root.Meg", _y , 200);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root.Grotte") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1825 MovieClip Frame 14
Set("/Variables:From", "Grotte");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=37", 0);
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1887 MovieClip Frame 37
Set("/Variables:LianeAttache", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=16", 0);
Set("/Variables:ObjetRemove", 7);
tellTarget ("/Inventaire/ObjetRemove") {
play();
};
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Mechant3.Roche") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1943 MovieClip Frame 17
Set("/Variables:SingeFou", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=17", 0);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1951 MovieClip Frame 25
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=18", 0);
tellTarget ("_root.Mechant3") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1983 MovieClip Frame 24
Set("/Variables:BombeRamasse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=33", 0);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 10);
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1987 MovieClip Frame 20
Set("/Variables:PasserelleTombe", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=30", 0);
tellTarget ("_root.Mechant4") {
gotoAndStop ("Mort");
};
tellTarget ("_root.PasserelleDevant") {
gotoAndStop (2);
};
tellTarget ("_root.PasserelleDerriere") {
gotoAndStop (2);
};
tellTarget ("_root.PasserelleTombe") {
gotoAndPlay (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2025 MovieClip Frame 20
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Symbol 2026 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("/Variables:AnimJoue", false);
Set("/Variables:Run", false);
stop();
Symbol 2026 MovieClip Frame 2
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 3
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 4
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 5
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 6
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 7
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 8
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 9
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 10
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 11
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 12
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 13
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 14
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 15
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 16
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 17
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 18
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 19
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 20
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 21
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 22
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 23
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 24
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 25
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 26
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 27
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 28
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2026 MovieClip Frame 29
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2030 MovieClip Frame 1
stop();
Symbol 2030 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=99", 0);
gotoAndStop (1);
Symbol 2031 MovieClip Frame 2
stop();
Symbol 2031 MovieClip Frame 3
stop();
Symbol 2038 MovieClip Frame 1
if (/Variables:BarreRamasse == true) {
nextFrame();
}
stop();
Symbol 2042 MovieClip Frame 1
if (/Variables:SeaJetBaisse == true) {
gotoAndStop (47);
} else {
stop();
}
Symbol 2042 MovieClip Frame 2
Set("/Variables:SeaJetBaisse", true);
Symbol 2042 MovieClip Frame 47
stop();
Symbol 2042 MovieClip Frame 48
stop();
Symbol 2047 MovieClip Frame 1
stop();
Symbol 2047 MovieClip Frame 2
stop();
Symbol 2101 MovieClip Frame 1
if (/Variables:BarilsTombe == true) {
gotoAndStop (67);
} else {
stop();
}
Symbol 2101 MovieClip Frame 2
Set("/Variables:BarilsTombe", true);
Symbol 2101 MovieClip Frame 40
tellTarget ("_root.Mechant1") {
gotoAndPlay ("VersBarils");
};
Symbol 2101 MovieClip Frame 67
stop();
Symbol 2109 MovieClip Frame 1
if (/Variables:GrilleOuverte == true) {
nextFrame();
}
stop();
Symbol 2109 MovieClip Frame 2
stop();
Symbol 2111 MovieClip Frame 1
if (/Variables:CutterRamasse == true) {
nextFrame();
}
stop();
Symbol 2113 MovieClip Frame 1
if (/Variables:SacRamasse == true) {
nextFrame();
}
stop();
Symbol 2243 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2243 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2243 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2243 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2243 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2257 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2257 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2257 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2257 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2257 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2269 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2269 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2269 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2269 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2269 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2270 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2270 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2270 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2270 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2270 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2271 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2271 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2271 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2271 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2271 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2283 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2283 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2283 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2283 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2283 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2306 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2306 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2306 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2306 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2306 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2307 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2307 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2307 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2307 MovieClip Frame 15
if (getProperty("../../", _name) eq "Mechant1") {
Set("/Variables:Tab1Mechant2Tir", true);
}
Symbol 2307 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2308 MovieClip Frame 1
stop();
Symbol 2308 MovieClip Frame 2
stop();
Symbol 2308 MovieClip Frame 3
stop();
Symbol 2308 MovieClip Frame 4
stop();
Symbol 2308 MovieClip Frame 5
stop();
Symbol 2308 MovieClip Frame 6
stop();
Symbol 2308 MovieClip Frame 7
stop();
Symbol 2308 MovieClip Frame 8
stop();
Symbol 2310 MovieClip Frame 1
if (/Variables:Tab1Mechant2Tir == true) {
nextFrame();
}
stop();
Symbol 2310 MovieClip Frame 2
stop();
Symbol 2317 MovieClip Frame 26
if ((((getProperty("../", _name) eq "Mechant1") and (/Variables:EtatActif eq "Tab1Grimpe")) and (/Variables:MechantBaril == false)) and ((/Variables:Arrive eq "PoteauBas") or (/Variables:Arrive eq "PoteauHaut"))) {
Set("/Variables:Tab1MechantTir", true);
}
Instance of Symbol 2328 MovieClip in Symbol 2332 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2333 MovieClip Frame 1
if (/Variables:FrameMechant1 != 1) {
gotoAndPlay(/Variables:FrameMechant1);
} else {
stop();
}
Symbol 2333 MovieClip Frame 2
play();
Instance of Symbol 2328 MovieClip in Symbol 2333 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2333 MovieClip Frame 31
Set("/Variables:MechantBaril", true);
tellTarget ("_root.CacheMechantVoit") {
gotoAndStop (2);
};
stop();
Symbol 2333 MovieClip Frame 32
stop();
Symbol 2333 MovieClip Frame 33
stop();
Symbol 2336 MovieClip Frame 1
if (/Variables:Tab1Niveau == 2) {
nextFrame();
} else {
stop();
}
Symbol 2343 MovieClip Frame 1
if (/Variables:BarilsTombe == true) {
nextFrame();
} else {
stop();
}
Symbol 2368 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 2415 MovieClip Frame 10
if (random(20) == 10) {
gotoAndPlay (12);
}
Symbol 2415 MovieClip Frame 11
gotoAndPlay (2);
Symbol 2415 MovieClip Frame 50
gotoAndPlay (2);
Symbol 2480 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 2480 MovieClip Frame 2
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 2480 MovieClip Frame 3
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 2480 MovieClip Frame 4
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 2480 MovieClip Frame 5
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
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) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 2480 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 2481 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 2481 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 2481 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2482 MovieClip Frame 1
stop();
Symbol 2482 MovieClip Frame 9
stop();
Symbol 2482 MovieClip Frame 17
stop();
Symbol 2482 MovieClip Frame 25
stop();
Symbol 2482 MovieClip Frame 33
stop();
Symbol 2482 MovieClip Frame 40
stop();
Symbol 2490 MovieClip Frame 1
stop();
Symbol 2490 MovieClip Frame 2
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 2490 MovieClip Frame 3
gotoAndStop (1);
Symbol 2494 MovieClip Frame 1
stop();
Symbol 2494 MovieClip Frame 2
if ((((/Variables:EtatActif eq "Tab5") and (/Variables:BarilsExplose == false)) and _root.CacheBarils.hitTest(_root.Meg._x, _root.Meg._y, true)) and (50 < random(100))) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BarilsExplose");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
Symbol 2494 MovieClip Frame 3
gotoAndStop (1);
Symbol 2582 MovieClip Frame 13
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 2582 MovieClip Frame 14
gotoAndPlay (3);
Symbol 2582 MovieClip Frame 52
gotoAndPlay (3);
Symbol 2631 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 2631 MovieClip Frame 3
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 2631 MovieClip Frame 4
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 2631 MovieClip Frame 5
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 2631 MovieClip Frame 6
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 2631 MovieClip Frame 7
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 2631 MovieClip Frame 12
Set("/Variables:Stoppe", false);
Symbol 2632 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 2632 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 2632 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2633 MovieClip Frame 1
stop();
Symbol 2633 MovieClip Frame 9
stop();
Symbol 2633 MovieClip Frame 17
stop();
Symbol 2633 MovieClip Frame 25
stop();
Symbol 2633 MovieClip Frame 33
stop();
Symbol 2633 MovieClip Frame 40
stop();
Symbol 2711 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 2745 MovieClip Frame 4
Set("/Variables:Stoppe", false);
play();
Symbol 2745 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 2745 MovieClip Frame 16
gotoAndPlay (4);
Symbol 2745 MovieClip Frame 48
gotoAndPlay (4);
Symbol 2781 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 2781 MovieClip Frame 2
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 2781 MovieClip Frame 3
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 2781 MovieClip Frame 4
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 2781 MovieClip Frame 5
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 2781 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 2782 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 2782 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 2782 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2783 MovieClip Frame 1
stop();
Symbol 2783 MovieClip Frame 10
stop();
Symbol 2783 MovieClip Frame 19
stop();
Symbol 2783 MovieClip Frame 29
stop();
Symbol 2783 MovieClip Frame 38
stop();
Symbol 2783 MovieClip Frame 46
stop();
Symbol 2832 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 2912 MovieClip Frame 12
if (random(20) == 10) {
gotoAndPlay (17);
}
Symbol 2912 MovieClip Frame 13
gotoAndPlay (2);
Symbol 2912 MovieClip Frame 59
gotoAndPlay (2);
Symbol 3002 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3002 MovieClip Frame 2
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 3002 MovieClip Frame 3
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 3002 MovieClip Frame 4
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 3002 MovieClip Frame 5
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 3002 MovieClip Frame 6
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 2), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - /Variables:Delta) + (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
Symbol 3002 MovieClip Frame 11
Set("/Variables:Stoppe", false);
Symbol 3003 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3003 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3003 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3004 MovieClip Frame 1
stop();
Symbol 3004 MovieClip Frame 10
stop();
Symbol 3004 MovieClip Frame 20
stop();
Symbol 3004 MovieClip Frame 29
stop();
Symbol 3004 MovieClip Frame 38
stop();
Symbol 3004 MovieClip Frame 48
stop();
Symbol 3047 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 3085 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (21);
}
Symbol 3085 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3085 MovieClip Frame 63
gotoAndPlay (4);
Symbol 3152 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3152 MovieClip Frame 2
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 3152 MovieClip Frame 3
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 3152 MovieClip Frame 4
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 3152 MovieClip Frame 5
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Symbol 3152 MovieClip Frame 13
Set("/Variables:Stoppe", false);
Symbol 3153 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3153 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3153 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3154 MovieClip Frame 1
stop();
Symbol 3154 MovieClip Frame 10
stop();
Symbol 3154 MovieClip Frame 18
stop();
Symbol 3154 MovieClip Frame 27
stop();
Symbol 3154 MovieClip Frame 36
stop();
Symbol 3154 MovieClip Frame 44
stop();
Symbol 3155 MovieClip Frame 4
stop();
Symbol 3156 MovieClip Frame 1
stop();
Symbol 3156 MovieClip Frame 9
play();
Symbol 3156 MovieClip Frame 12
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AlbElec");
};
tellTarget ("_root") {
gotoAndStop ("Tab7Stoppe");
};
stop();
Symbol 3161 MovieClip Frame 1
if (/Variables:BarilsTombe == true) {
nextFrame();
}
stop();
Symbol 3163 MovieClip Frame 1
if (/Variables:SeaJetBaisse == true) {
nextFrame();
}
stop();
Symbol 3167 MovieClip Frame 1
if (/Variables:MechantBaril == true) {
nextFrame();
} else {
stop();
}
Symbol 3169 MovieClip Frame 1
stop();
Symbol 3169 MovieClip Frame 9
stop();
Symbol 3169 MovieClip Frame 17
stop();
Symbol 3171 MovieClip Frame 1
stop();
Symbol 3171 MovieClip Frame 9
stop();
Symbol 3171 MovieClip Frame 17
stop();
Symbol 3173 MovieClip Frame 1
stop();
Symbol 3173 MovieClip Frame 10
stop();
Symbol 3173 MovieClip Frame 20
stop();
Symbol 3174 MovieClip Frame 1
stop();
Symbol 3174 MovieClip Frame 10
stop();
Symbol 3174 MovieClip Frame 18
stop();
Symbol 3176 MovieClip Frame 1
stop();
Symbol 3176 MovieClip Frame 10
stop();
Symbol 3176 MovieClip Frame 19
stop();
Symbol 3177 MovieClip Frame 1
stop();
Symbol 3213 MovieClip Frame 1
if (/Variables:Arrive eq "Egout") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "EntreEgout") {
gotoAndPlay (40);
} else {
stop();
}
Symbol 3213 MovieClip Frame 2
tellTarget ("_root.GrilleEgout") {
gotoAndStop (2);
};
Symbol 3213 MovieClip Frame 39
Set("/Variables:Arrive", "Egout");
tellTarget ("_root.GrilleEgout") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3213 MovieClip Frame 40
tellTarget ("_root.GrilleEgout") {
gotoAndStop (2);
};
Symbol 3213 MovieClip Frame 99
Set("/Variables:Arrive", "");
tellTarget ("_root.GrilleEgout") {
gotoAndStop (1);
};
tellTarget ("_root.AgpPlonge") {
gotoAndPlay ("Sort");
};
gotoAndStop (1);
Symbol 3217 MovieClip Frame 1
if (/Variables:Arrive eq "Plonge") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "SortEau") {
gotoAndPlay (28);
} else {
stop();
}
Symbol 3217 MovieClip Frame 27
if (/Variables:GrilleOuverte == false) {
if (/Variables:ObjetSelect == 1) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CasseGrille");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
} else {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TireGrille");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
} else {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("Nage");
};
tellTarget ("_root") {
gotoAndStop ("Tab1EauStoppe");
};
}
Symbol 3217 MovieClip Frame 53
setProperty("_root.Meg", _x , 348);
setProperty("_root.Meg", _y , 280);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab1Eau");
};
Symbol 3262 MovieClip Frame 1
if (/Variables:Arrive eq "PoteauBas") {
gotoAndStop (2);
} else if (/Variables:Arrive eq "PoteauHaut") {
gotoAndPlay (113);
} else {
stop();
}
Symbol 3262 MovieClip Frame 2
stop();
Instance of Symbol 2328 MovieClip in Symbol 3262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(225 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3262 MovieClip Frame 90
play();
Symbol 3262 MovieClip Frame 112
if (/Variables:MechantBaril == false) {
Set("/Variables:Tab1Mechant1Tir", true);
}
Set("/Variables:Tab1Niveau", 2);
Set("/Variables:From", "Poteau");
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3262 MovieClip Frame 113
play();
Symbol 3262 MovieClip Frame 136
stop();
Instance of Symbol 2328 MovieClip in Symbol 3262 MovieClip Frame 136
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("Debarque");
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3262 MovieClip Frame 137
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(225 - int(_currentframe));
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3262 MovieClip Frame 223
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
Set("/Variables:Tab1Niveau", 1);
Set("/Variables:From", "Poteau");
tellTarget ("_root") {
gotoAndPlay ("Tab1");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(225 - int(_currentframe));
};
}
}
}
Symbol 3285 MovieClip Frame 1
if (/Variables:Arrive eq "Part") {
tellTarget ("_root.SeaJet") {
gotoAndStop ("Part");
};
gotoAndPlay (2);
} else {
stop();
}
Symbol 3285 MovieClip Frame 22
Set("/Variables:Stoppe", true);
Set("/Variables:EtatVide", "Tab1Stoppe");
tellTarget ("_root.Animatiques") {
gotoAndStop ("BateauArrive");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
Symbol 3288 MovieClip Frame 1
if (/Variables:CaverneOuverte == true) {
nextFrame();
}
stop();
Instance of Symbol 2328 MovieClip in Symbol 3292 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3294 MovieClip Frame 1
if (/Variables:ChuteBloque == true) {
nextFrame();
}
stop();
Symbol 3295 MovieClip Frame 1
if (/Variables:ChuteBloque == true) {
nextFrame();
}
stop();
Symbol 3308 MovieClip Frame 1
if (/Variables:PontTombe == true) {
nextFrame();
}
stop();
Symbol 3313 MovieClip Frame 1
if (/Variables:MangueRamasse == true) {
nextFrame();
}
stop();
Symbol 3317 MovieClip Frame 1
if (/Variables:LianeRamasse == true) {
nextFrame();
}
stop();
Symbol 3337 MovieClip Frame 1
stop();
Symbol 3337 MovieClip Frame 35
gotoAndStop (1);
Symbol 3337 MovieClip Frame 98
gotoAndStop (1);
Symbol 3337 MovieClip Frame 114
gotoAndStop (1);
Symbol 3337 MovieClip Frame 134
gotoAndStop (1);
Symbol 3378 MovieClip Frame 1
if (/Variables:CBLance == true) {
gotoAndPlay (165);
} else {
gotoAndPlay(/Variables:FrameGorille);
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:GorilleFrappe == true) {
tellTarget ("_parent") {
gotoAndPlay ("VersDroite");
};
} else {
tellTarget ("_parent") {
play();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 9
if (40 < random(100)) {
Random = random(100);
if (75 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son1");
};
} else if (50 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son3");
};
} else if (25 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son4");
};
} else {
tellTarget ("SonGorille") {
gotoAndPlay ("Son2");
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:GorilleFrappe == true) {
tellTarget ("_parent") {
gotoAndPlay ("BaisseBras");
};
} else {
tellTarget ("_parent") {
play();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 38
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 47
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:GorilleFrappe == true) {
tellTarget ("_parent") {
gotoAndPlay ("VersDroite");
};
} else {
tellTarget ("_parent") {
play();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 77
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 98
if (/Variables:GorilleFrappe == true) {
gotoAndPlay (217);
} else {
play();
}
Symbol 3378 MovieClip Frame 99
if (40 < random(100)) {
Random = random(100);
if (75 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son1");
};
} else if (50 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son3");
};
} else if (25 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son4");
};
} else {
tellTarget ("SonGorille") {
gotoAndPlay ("Son2");
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 99
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 115
if (/Variables:GorilleFrappe == true) {
gotoAndPlay (232);
} else {
play();
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 116
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 121
if (/Variables:GorilleFrappe == true) {
gotoAndPlay (232);
} else {
play();
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 122
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 155
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:GorilleFrappe == true) {
tellTarget ("_parent") {
gotoAndPlay ("VersDroite");
};
} else {
tellTarget ("_parent") {
play();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 157
gotoAndPlay (2);
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 165
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 171
if (40 < random(100)) {
Random = random(100);
if (75 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son1");
};
} else if (50 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son3");
};
} else if (25 < Random) {
tellTarget ("SonGorille") {
gotoAndPlay ("Son4");
};
} else {
tellTarget ("SonGorille") {
gotoAndPlay ("Son2");
};
}
}
Symbol 3378 MovieClip Frame 216
gotoAndPlay (165);
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 217
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 234
if (((getProperty("_root.StepLiane1", _currentframe) >= 50) and (90 >= getProperty("_root.StepLiane1", _currentframe))) and (/Variables:EtatActif eq "Tab3Grimpe")) {
gotoAndPlay (235);
} else if (/Variables:GorilleFrappe == true) {
gotoAndPlay (232);
} else {
gotoAndPlay (122);
}
Symbol 3378 MovieClip Frame 235
play();
Instance of Symbol 2328 MovieClip in Symbol 3378 MovieClip Frame 235
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3378 MovieClip Frame 246
tellTarget ("_root.StepLiane1") {
gotoAndPlay ("Tombe");
};
Symbol 3378 MovieClip Frame 266
gotoAndPlay (232);
Symbol 3380 MovieClip Frame 1
if (/Variables:CBLance == true) {
nextFrame();
}
stop();
Symbol 3422 MovieClip Frame 1
if (/Variables:Arrive eq "FalaiseBas") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=22", 0);
gotoAndPlay (2);
} else if (/Variables:Arrive eq "FalaiseHaut") {
if (/Variables:BombeRamasse == true) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=34", 0);
}
gotoAndStop (230);
} else {
stop();
}
Symbol 3422 MovieClip Frame 2
play();
Symbol 3422 MovieClip Frame 8
stop();
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 8
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 32
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop ("Droite");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 47
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 65
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if ((key.isDown(32) and (/Variables:ObjetSelect == 1)) and (/Variables:ChuteBloque == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseRoche");
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 67
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if ((key.isDown(32) and (/Variables:ObjetSelect == 1)) and (/Variables:ChuteBloque == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseRoche");
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 68
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if ((key.isDown(32) and (/Variables:ObjetSelect == 1)) and (/Variables:ChuteBloque == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseRoche");
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 69
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if ((key.isDown(32) and (/Variables:ObjetSelect == 1)) and (/Variables:ChuteBloque == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseRoche");
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 71
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 89
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop ("Droite");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 104
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(135 - int(_currentframe));
};
}
}
}
Symbol 3422 MovieClip Frame 128
play();
Symbol 3422 MovieClip Frame 133
Set("/Variables:From", "Falaise");
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 134
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop ("Milieu");
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 135
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 148
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(39)) {
if (/Variables:ChuteBloque == false) {
tellTarget ("_parent") {
gotoAndPlay ("Tombe");
};
} else {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 149
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3422 MovieClip Frame 168
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=24", 0);
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 168
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 169
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(140 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 170
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 229
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(38)) {
Set("/Variables:From", "Tab3Falaise");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 231
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 289
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3422 MovieClip Frame 291
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(459 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3422 MovieClip Frame 325
gotoAndStop (38);
Symbol 3422 MovieClip Frame 326
play();
Symbol 3422 MovieClip Frame 336
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 3422 MovieClip Frame 350
Set("/Variables:From", "TombeFalaise");
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
Symbol 3451 MovieClip Frame 1
stop();
Symbol 3453 MovieClip Frame 1
if (/Variables:Arrive eq "Liane2Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Liane2Haut") {
gotoAndPlay (154);
} else {
stop();
}
Symbol 3453 MovieClip Frame 2
play();
Symbol 3453 MovieClip Frame 15
stop();
Instance of Symbol 2328 MovieClip in Symbol 3453 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3453 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(304 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3453 MovieClip Frame 140
play();
Symbol 3453 MovieClip Frame 153
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:From", "Liane2");
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 3453 MovieClip Frame 154
play();
Symbol 3453 MovieClip Frame 165
stop();
Instance of Symbol 2328 MovieClip in Symbol 3453 MovieClip Frame 165
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3453 MovieClip Frame 166
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(304 - int(_currentframe));
};
}
}
}
Symbol 3453 MovieClip Frame 290
play();
Symbol 3453 MovieClip Frame 306
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:From", "Liane2");
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
Symbol 3454 MovieClip Frame 1
if (/Variables:Arrive eq "Liane3Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Liane3Haut") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=19", 0);
gotoAndStop (39);
} else {
stop();
}
Symbol 3454 MovieClip Frame 2
play();
Symbol 3454 MovieClip Frame 5
stop();
Instance of Symbol 2328 MovieClip in Symbol 3454 MovieClip Frame 5
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3454 MovieClip Frame 6
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(77 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3454 MovieClip Frame 38
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
}
}
Symbol 3454 MovieClip Frame 39
stop();
Instance of Symbol 2328 MovieClip in Symbol 3454 MovieClip Frame 39
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(77 - int(_currentframe));
};
}
}
}
Symbol 3454 MovieClip Frame 73
play();
Symbol 3454 MovieClip Frame 75
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:From", "Liane3");
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 3455 MovieClip Frame 1
if (/Variables:Arrive eq "Liane1Bas") {
Set("/Variables:GorilleFrappe", true);
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Liane1Haut") {
gotoAndPlay (72);
} else {
stop();
}
Symbol 3455 MovieClip Frame 2
play();
Symbol 3455 MovieClip Frame 15
stop();
Instance of Symbol 2328 MovieClip in Symbol 3455 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3455 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(140 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3455 MovieClip Frame 57
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(140 - int(_currentframe));
};
}
if (key.isDown(38) and (/Variables:CBLance == true)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3455 MovieClip Frame 58
play();
Symbol 3455 MovieClip Frame 71
Set("/Variables:From", "Liane1");
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 3455 MovieClip Frame 72
play();
Symbol 3455 MovieClip Frame 83
stop();
Instance of Symbol 2328 MovieClip in Symbol 3455 MovieClip Frame 83
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38) and (/Variables:CBLance == true)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3455 MovieClip Frame 84
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(140 - int(_currentframe));
};
}
}
}
Symbol 3455 MovieClip Frame 126
play();
Symbol 3455 MovieClip Frame 138
Set("/Variables:FrameGorille", getProperty("_root.Gorille", _currentframe));
Set("/Variables:From", "Liane1");
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
Symbol 3455 MovieClip Frame 139
play();
Symbol 3455 MovieClip Frame 140
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 3455 MovieClip Frame 162
Set("/Variables:From", "Liane1");
tellTarget ("_root") {
gotoAndStop ("Tab3Eau");
};
Symbol 3473 MovieClip Frame 1
if (/Variables:PasserelleTombe == true) {
nextFrame();
}
stop();
Symbol 3484 MovieClip Frame 1
if (/Variables:LianeAttache == true) {
nextFrame();
}
stop();
Symbol 3508 MovieClip Frame 1
if (/Variables:PontTombe == true) {
gotoAndStop (28);
} else {
play();
}
Symbol 3508 MovieClip Frame 2
Set("/Variables:PontTombe", true);
Instance of Symbol 2328 MovieClip in Symbol 3508 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3508 MovieClip Frame 28
stop();
Symbol 3509 MovieClip Frame 1
if (/Variables:PontTombe == true) {
gotoAndStop (56);
} else if (/Variables:Mechant3Frame != 1) {
gotoAndPlay(/Variables:Mechant3Frame);
} else {
stop();
}
Instance of Symbol 2328 MovieClip in Symbol 3509 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3509 MovieClip Frame 52
Set("/Variables:GardePont", true);
stop();
Symbol 3509 MovieClip Frame 53
stop();
Symbol 3509 MovieClip Frame 54
stop();
Symbol 3509 MovieClip Frame 55
stop();
Symbol 3509 MovieClip Frame 56
stop();
Symbol 3518 MovieClip Frame 1
if (/Variables:PasserelleTombe == true) {
gotoAndStop (66);
} else if (/Variables:GardeStep == true) {
if (/Variables:Mechant4Frame != 1) {
gotoAndPlay(/Variables:Mechant4Frame);
} else {
gotoAndPlay (2);
}
} else {
stop();
}
Instance of Symbol 2328 MovieClip in Symbol 3518 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3518 MovieClip Frame 65
Set("/Variables:Mechant4Tir", true);
Set("/Variables:GardePasserelle", true);
stop();
Symbol 3518 MovieClip Frame 66
stop();
Instance of Symbol 2328 MovieClip in Symbol 3570 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:SingeFou == true) {
tellTarget ("_parent") {
gotoAndPlay ("Fou");
};
} else {
tellTarget ("_parent") {
play();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3570 MovieClip Frame 245
gotoAndPlay (1);
Symbol 3570 MovieClip Frame 300
tellTarget ("_root.Mechant3") {
play();
};
Symbol 3570 MovieClip Frame 576
Set("/Variables:SingeFou", false);
gotoAndPlay (1);
Symbol 3575 MovieClip Frame 1
if (/Variables:PasserelleTombe == true) {
nextFrame();
}
stop();
Symbol 3591 MovieClip Frame 1
if (/Variables:PasserelleTombe == true) {
gotoAndStop (21);
}
stop();
Symbol 3591 MovieClip Frame 21
stop();
Symbol 3594 MovieClip Frame 1
if (/Variables:PasserelleTombe == true) {
nextFrame();
}
stop();
Symbol 3596 MovieClip Frame 1
if (/Variables:PontTombe == true) {
nextFrame();
}
stop();
Symbol 3596 MovieClip Frame 2
stop();
Symbol 3610 MovieClip Frame 1
if (/Variables:Arrive eq "Gauche") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Droite") {
gotoAndPlay (130);
} else {
stop();
}
Symbol 3610 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=31", 0);
play();
Symbol 3610 MovieClip Frame 15
stop();
Instance of Symbol 2328 MovieClip in Symbol 3610 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueGauche");
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3610 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(259 - int(_currentframe));
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3610 MovieClip Frame 120
play();
Symbol 3610 MovieClip Frame 129
setProperty("_root.Meg", _x , 384);
setProperty("_root.Meg", _y , 136);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 3610 MovieClip Frame 130
play();
Symbol 3610 MovieClip Frame 140
stop();
Instance of Symbol 2328 MovieClip in Symbol 3610 MovieClip Frame 140
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop ("DebarqueDroite");
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3610 MovieClip Frame 141
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(259 - int(_currentframe));
};
}
}
}
Symbol 3610 MovieClip Frame 245
play();
Symbol 3610 MovieClip Frame 257
setProperty("_root.Meg", _x , 187);
setProperty("_root.Meg", _y , 136);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 3618 MovieClip Frame 1
if (/Variables:Arrive eq "Liane2Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Liane2Haut") {
gotoAndPlay (71);
} else {
stop();
}
Symbol 3618 MovieClip Frame 2
play();
Symbol 3618 MovieClip Frame 9
stop();
Instance of Symbol 2328 MovieClip in Symbol 3618 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3618 MovieClip Frame 10
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(141 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3618 MovieClip Frame 63
play();
Symbol 3618 MovieClip Frame 70
setProperty("_root.Meg", _x , 82);
setProperty("_root.Meg", _y , 166);
setProperty("_root.Meg", _visible , 1);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=26", 0);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 3618 MovieClip Frame 71
play();
Symbol 3618 MovieClip Frame 79
stop();
Instance of Symbol 2328 MovieClip in Symbol 3618 MovieClip Frame 79
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(141 - int(_currentframe));
};
}
}
}
Symbol 3618 MovieClip Frame 133
play();
Symbol 3618 MovieClip Frame 139
setProperty("_root.Meg", _x , 50);
setProperty("_root.Meg", _y , 317);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 3619 MovieClip Frame 1
if (/Variables:Arrive eq "Liane1Bas") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=15", 0);
gotoAndStop (2);
} else if (/Variables:Arrive eq "Liane1Haut") {
gotoAndPlay (28);
} else {
stop();
}
Symbol 3619 MovieClip Frame 2
stop();
Instance of Symbol 2328 MovieClip in Symbol 3619 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
Set("/Variables:From", "LianeTab4");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3619 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(55 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3619 MovieClip Frame 18
play();
Symbol 3619 MovieClip Frame 27
setProperty("_root.Meg", _x , 456);
setProperty("_root.Meg", _y , 384);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 3619 MovieClip Frame 28
play();
Symbol 3619 MovieClip Frame 38
stop();
Instance of Symbol 2328 MovieClip in Symbol 3619 MovieClip Frame 38
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(55 - int(_currentframe));
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3619 MovieClip Frame 53
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
Set("/Variables:From", "LianeTab4");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(55 - int(_currentframe));
};
}
}
}
Symbol 3620 MovieClip Frame 1
if (/Variables:Arrive eq "FalaiseBas") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=25", 0);
gotoAndStop (2);
} else if (/Variables:Arrive eq "FalaiseHaut") {
gotoAndPlay (46);
} else {
stop();
}
Symbol 3620 MovieClip Frame 2
stop();
Instance of Symbol 2328 MovieClip in Symbol 3620 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
Set("/Variables:From", "FalaiseTab4");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3620 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(91 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3620 MovieClip Frame 38
play();
Symbol 3620 MovieClip Frame 45
setProperty("_root.Meg", _x , 108);
setProperty("_root.Meg", _y , 329);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 3620 MovieClip Frame 46
play();
Symbol 3620 MovieClip Frame 54
stop();
Instance of Symbol 2328 MovieClip in Symbol 3620 MovieClip Frame 54
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(91 - int(_currentframe));
};
}
}
}
Symbol 3620 MovieClip Frame 90
Set("/Variables:From", "FalaiseTab4");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
Symbol 3659 MovieClip Frame 1
if (/Variables:PasserelleTombe == true) {
gotoAndStop (78);
} else if (/Variables:GardeStep == true) {
gotoAndPlay(/Variables:FrameGardeStep);
} else {
stop();
}
Symbol 3659 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=28", 0);
Instance of Symbol 2328 MovieClip in Symbol 3659 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3659 MovieClip Frame 78
stop();
Symbol 3661 MovieClip Frame 1
if (/Variables:Arrive eq "PoteauBas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "PoteauHaut") {
gotoAndPlay (75);
} else {
stop();
}
Symbol 3661 MovieClip Frame 2
play();
Symbol 3661 MovieClip Frame 5
stop();
Instance of Symbol 2328 MovieClip in Symbol 3661 MovieClip Frame 5
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2328 MovieClip in Symbol 3661 MovieClip Frame 6
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(149 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3661 MovieClip Frame 63
play();
Symbol 3661 MovieClip Frame 74
setProperty("_root.Meg", _x , 481);
setProperty("_root.Meg", _y , 277);
setProperty("_root.Meg", _visible , 1);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=39", 0);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
Symbol 3661 MovieClip Frame 75
play();
Symbol 3661 MovieClip Frame 87
stop();
Instance of Symbol 2328 MovieClip in Symbol 3661 MovieClip Frame 87
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(149 - int(_currentframe));
};
}
}
}
Symbol 3661 MovieClip Frame 145
play();
Symbol 3661 MovieClip Frame 147
setProperty("_root.Meg", _x , 462);
setProperty("_root.Meg", _y , 395);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
Symbol 3666 MovieClip Frame 1
if (/Variables:Arrive eq "PorteLab") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 3666 MovieClip Frame 2
setProperty("_root.PorteLab", _visible , 0);
Symbol 3666 MovieClip Frame 39
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
Symbol 3671 MovieClip Frame 1
if (/Variables:Arrive eq "Sort") {
gotoAndPlay (23);
} else if (/Variables:Arrive eq "Entre") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 3671 MovieClip Frame 22
Set("/Variables:From", "Grotte");
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
Symbol 3671 MovieClip Frame 23
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=22&stage=38", 0);
Symbol 3671 MovieClip Frame 36
setProperty("_root.Meg", _xscale , 23.4);
setProperty("_root.Meg", _yscale , 23.4);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 538);
setProperty("_root.Meg", _y , 368);
Set("/Variables:Decale", 0);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
Symbol 3730 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 3731 MovieClip Frame 1
if (/:Challenge == true) {
stop();
} else {
fscommand ("load");
play();
}
Symbol 3731 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 3731 MovieClip Frame 3
stop();
Symbol 3734 Button
on (release) {
stopAllSounds();
gotoAndPlay (926);
}
Symbol 4010 Button
on (release) {
Set("/:Challenge", true);
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 4012 Button
on (release) {
nextFrame();
}
Symbol 4014 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 4015 MovieClip Frame 1
stop();
Symbol 4015 MovieClip Frame 2
stop();
Symbol 4015 MovieClip Frame 3
stop();