Frame 1
g_episode_name = "steppenwolf_episode_20";
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 = 1851392;
}
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 (460) {
if (/:Instru != true) {
tellTarget ("_root.InstructionButton") {
gotoAndStop (2);
};
}
}
if (99 < _root.LoadingBar.Loaded.Percent.Loaded) {
_root.LoadingBar.Loaded.Percent.Loaded = 100;
}
}
Frame 460
Set("/:Instru", true);
nextFrame();
Frame 461
stop();
Frame 462
stop();
Frame 463
stop();
Frame 464
stop();
Frame 465
stop();
Frame 466
stop();
Frame 467
stop();
Frame 480
stop();
Frame 926
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=1", 0);
Frame 927
s = new Sound();
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 932
gotoAndPlay (934);
Instance of Symbol 2452 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("GourdeRamasse");
ArrayNoms.push("FiletRamasse");
ArrayNoms.push("SiffletRamasse");
ArrayNoms.push("CordeRamasse");
ArrayNoms.push("MechantCordeRamasse");
ArrayNoms.push("CutterRamasse");
ArrayNoms.push("CordeMainRamasse");
ArrayNoms.push("Tab1Etage");
ArrayNoms.push("PedroParle");
ArrayNoms.push("Tab1Bloque");
ArrayNoms.push("PedroLibre");
ArrayNoms.push("SangVerse");
ArrayNoms.push("ChupaAttaque");
ArrayNoms.push("VieMeg");
ArrayNoms.push("Tab2Eau");
ArrayNoms.push("ChevreVu");
ArrayNoms.push("ToileDechire");
ArrayNoms.push("Tab3Eau");
ArrayNoms.push("PorteHangarOuverte");
ArrayNoms.push("Tab3MechantPendu");
ArrayNoms.push("CordePlace");
ArrayNoms.push("MechantFrappe");
ArrayNoms.push("MechantVoit");
ArrayNoms.push("IdleCorde");
ArrayNoms.push("PositionMechant");
ArrayNoms.push("BateauBas");
ArrayNoms.push("ChupaArrivePhare");
ArrayNoms.push("Tab5MechantMort");
ArrayNoms.push("BateauAccoste");
ArrayNoms.push("PontTombe");
ArrayNoms.push("FiletPlace");
ArrayNoms.push("PoteauAttache");
ArrayNoms.push("BarqueAttache");
ArrayNoms.push("StepSifflet");
ArrayNoms.push("ChuppaPlongeFilet");
ArrayNoms.push("ChuppaFilet");
if ((((((/Variables:EtatActif eq "Tab1") or (/Variables:EtatActif eq "Tab1Grimpe")) or (/Variables:EtatActif eq "Tab2")) or (/Variables:EtatActif eq "Tab2Grimpe")) or (/Variables:EtatActif eq "Tab3")) or (/Variables:EtatActif eq "Tab3Grimpe")) {
Set("/Variables:SettingMechant", true);
Set("/Variables:MechantFrame", int(getProperty("_root.Mechant", _currentframe)));
Set("/Variables:MechantX", int(getProperty("_root.Mechant", _x)));
Set("/Variables:MechantY", int(getProperty("_root.Mechant", _y)));
Set("/Variables:MechantScale", int(getProperty("_root.Mechant", _xscale)));
if (/Variables:MechantFrame == 11) {
Set("/Variables:FrameMechantIdle", _root.Mechant.Obj._currentframe);
}
ArrayNoms.push("MechantFrame");
ArrayNoms.push("MechantX");
ArrayNoms.push("MechantY");
ArrayNoms.push("MechantScale");
} else {
Set("/Variables:SettingMechant", false);
}
ArrayNoms.push("SettingMechant");
ArrayNoms.push("FrameMechantIdle");
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;
StepPenche = false;
MoveX = 12;
MoveY = 8;
MoveScale = 1;
InvNbTotal = 8;
InventaireOuvert = false;
LargeurObjet = 60;
InvNb = 2;
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 = 7;
InvObjet2 = 8;
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;
GourdeRamasse = false;
FiletRamasse = false;
SiffletRamasse = false;
CordeRamasse = false;
MechantCordeRamasse = false;
CutterRamasse = false;
CordeMainRamasse = false;
Tab1Etage = 1;
MegDevant = true;
PedroParle = false;
Tab1Bloque = true;
PedroLibre = false;
SangVerse = false;
ChupaAttaque = "Meg";
VieMeg = 100;
Tab2Eau = false;
ChevreVu = false;
ToileDechire = false;
Tab3Eau = false;
FrameMechantIdle = 1;
PorteHangarOuverte = false;
Tab3MechantPendu = false;
CordePlace = false;
MechantDevant = false;
MechantFrappe = false;
MechantVoit = false;
IdleCorde = false;
PositionMechant = "Tab3";
BateauBas = false;
PorteHangarOuverte = false;
ChupaArrivePhare = false;
Tab5MechantMort = false;
BateauAccoste = false;
PontTombe = false;
FiletPlace = false;
PoteauAttache = false;
BarqueAttache = false;
StepSifflet = false;
ChuppaPlongeFilet = false;
ChuppaFilet = false;
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
}
Frame 935
Set("/Variables:From", "Debut");
gotoAndPlay (936);
Frame 936
Set("/Variables:MegDevant", true);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 937
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
if (/Variables:From eq "Tab2") {
Set("/Variables:Tab1Etage", 2);
setProperty("_root.Meg", _x , 121);
setProperty("_root.Meg", _y , 49);
}
if (/Variables:From eq "Tab3") {
Set("/Variables:Tab1Etage", 1);
setProperty("_root.Meg", _x , 312);
setProperty("_root.Meg", _y , 86);
}
if ((/Variables:PositionMechant ne "ArriveTab3") and (/Variables:PositionMechant ne "FrappeMeg")) {
tellTarget ("_root.Mechant") {
gotoAndStop ("PasLa");
};
}
if (/Variables:PositionMechant eq "ArriveTab3") {
Set("/Variables:PositionMechant", "Tab1");
}
if (/Variables:PositionMechant eq "FrappeMeg") {
setProperty("_root.Mechant", _x , 440);
setProperty("_root.Mechant", _y , 177);
}
Instance of Symbol 2475 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 (Key.isDown(32)) {
if (_root.CacheGrimpeHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Etage == 2)) {
Set("/Variables:Arrive", "LianeHaut");
gotoAndStop ("Tab1Grimpe");
} else if (_root.CacheGrimpeBas.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Etage == 1)) {
Set("/Variables:Arrive", "LianeBas");
gotoAndStop ("Tab1Grimpe");
} else if ((_root.CachePedroMeg.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 4)) and (/Variables:PedroLibre == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LiberePedro");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
} else if ((/Variables:ObjetSelect == 1) and (/Variables:SangVerse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("VerseSang");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if ((_root.CacheCoupeLiane.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 7)) and (/Variables:LianeCoupe == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CoupeLiane");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
} else if (/Variables:StepPenche == false) {
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Penche");
};
}
}
if ((163 < getProperty("_root.Meg", _y)) and (/Variables:MegDevant == true)) {
Set("/Variables:MegDevant", false);
_root.MegPedro.swapDepths(_root.Swap);
} else if ((/Variables:MegDevant == false) and (163 >= getProperty("_root.Meg", _y))) {
Set("/Variables:MegDevant", true);
_root.MegPedro.swapDepths(_root.Swap);
}
if (151 < getProperty("_root.Meg", _y)) {
setProperty("_root.GugusseDevant", _visible , 0);
} else {
setProperty("_root.GugusseDevant", _visible , 1);
}
if (/Variables:Tab1Etage == 1) {
setProperty("_root.TouffeDevant", _visible , 1);
} else {
setProperty("_root.TouffeDevant", _visible , 0);
}
if ((/Variables:Tab1Etage == 1) and (110 < getProperty("_root.Meg", _x))) {
setProperty("_root.LianeDevant", _visible , 1);
} else {
setProperty("_root.LianeDevant", _visible , 0);
}
if ((_root.CachePedroParle.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PedroParle == false)) and (/Variables:Tab1Bloque == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PedroParle");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CacheVersTab2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Etage == 2)) {
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Etage == 1)) {
if (/Variables:PositionMechant eq "Tab1") {
Set("/Variables:PositionMechant", "ArriveTab1");
}
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if ((/Variables:Tab3MechantPendu == false) and ((/Variables:PositionMechant eq "Tab1") or (/Variables:PositionMechant eq "VersMeg"))) {
if ((getProperty("_root.Mechant", _y) < getProperty("_root.Meg", _y)) and (/Variables:MechantDevant == true)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:MechantDevant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant", _y)) and (/Variables:MechantDevant == false)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:MechantDevant", true);
}
if (/Variables:MechantVoit == true) {
if (((((getProperty("_root.Mechant", _x) < (getProperty("_root.Meg", _x) + 10)) and ((getProperty("_root.Meg", _x) - 10) < getProperty("_root.Mechant", _x))) and (getProperty("_root.Mechant", _y) < (getProperty("_root.Meg", _y) + 10))) and ((getProperty("_root.Meg", _y) - 10) < getProperty("_root.Mechant", _y))) and (/Variables:MechantFrappe == false)) {
tellTarget ("_root.Mechant.Obj") {
gotoAndPlay ("Attaque");
};
} else if (_root.CacheMechantFrappe.hitTest(_root.Mechant._x, _root.Mechant._y, true) and (/Variables:PositionMechant eq "VersMeg")) {
Set("/Variables:PositionMechant", "FrappeMeg");
tellTarget ("_root.MegPedro.MechantMeg") {
gotoAndStop (2);
};
tellTarget ("_root.Mechant") {
gotoAndStop ("PasLa");
};
Set("/Variables:MechantFrappe", true);
} else if (/Variables:MechantFrappe == false) {
if (((getProperty("_root.Meg", _y) < 202) and (/Variables:PositionMechant ne "FrappeMeg")) and (/Variables:PositionMechant ne "VersMeg")) {
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
} else {
Set("/Variables:PositionMechant", "VersMeg");
XMeg = 440;
YMeg = 177;
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P1", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D1", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P2", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P3", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P4", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D5", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P5", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D1", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P6", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P7", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P8", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D5", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (8);
};
}
}
} else if (/Variables:PositionMechant eq "FrappeMeg") {
tellTarget ("_root.Mechant") {
gotoAndStop (8);
};
tellTarget ("_root.Mechant.Obj") {
gotoAndPlay ("Attaque");
};
}
}
if (/Variables:StepPenche == false) {
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);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
}
};
}
Frame 938
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:Run", false);
stop();
Frame 943
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 946
Set("/Variables:EtatActif", "Tab1Grimpe");
Set("/Variables:EtatVide", "Tab1Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 952
Set("/Variables:MechantDevant", false);
Set("/Variables:MechantFrappe", false);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 953
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:EtatActif", "Tab2");
if (/Variables:PositionMechant eq "ArriveTab3") {
Set("/Variables:PositionMechant", "Tab2");
} else if (/Variables:PositionMechant eq "ArriveTab2Eau") {
setProperty("_root.Mechant", _x , 516);
setProperty("_root.Mechant", _y , 250);
Set("/Variables:PositionMechant", "Tab2");
} else {
tellTarget ("_root.Mechant") {
gotoAndStop ("PasLa");
};
}
if (/Variables:From eq "Tab2Eau") {
setProperty("_root.Meg", _x , 523);
setProperty("_root.Meg", _y , 249);
setProperty("_root.Meg", _xscale , 19.8);
setProperty("_root.Meg", _yscale , 19.8);
}
if (/Variables:From eq "Tab1") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=2", 0);
Set("/Variables:Tab2Eau", false);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Tab3") {
setProperty("_root.Meg", _x , 585);
setProperty("_root.Meg", _y , 275);
setProperty("_root.Meg", _xscale , 19.8);
setProperty("_root.Meg", _yscale , 19.8);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2475 MovieClip in Frame 953
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 (Key.isDown(32)) {
if ((/Variables:ObjetSelect == 1) and (/Variables:SangVerse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("VerseSang");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (((_root.CacheSauteToile.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ToileDechire == false)) and (/Variables:Tab2Eau == false)) and (/Variables:ObjetSelect == 7)) {
Set("/Variables:Arrive", "SauteToile");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
} else if (_root.CacheEau.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Stoppe", true);
if (/Variables:PositionMechant eq "Tab2") {
Set("/Variables:PositionMechant", "Tab2Eau");
}
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreEauTab2");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
} else if (_root.CacheChevre.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (/Variables:ChevreVu == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitChevre");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
} else if (/Variables:GourdeRamasse == false) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=3", 0);
Set("/Variables:GourdeRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Chevre.Gourde") {
gotoAndStop (2);
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
}
} else if (/Variables:StepPenche == false) {
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Penche");
};
}
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=4", 0);
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=7", 0);
Set("/Variables:From", "Tab2");
if (/Variables:PositionMechant eq "Tab2") {
Set("/Variables:PositionMechant", "ArriveTab2");
}
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if ((/Variables:Tab3MechantPendu == false) and (/Variables:PositionMechant eq "Tab2")) {
if ((getProperty("_root.Mechant", _y) < getProperty("_root.Meg", _y)) and (/Variables:MechantDevant == true)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:MechantDevant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant", _y)) and (/Variables:MechantDevant == false)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:MechantDevant", true);
}
if (/Variables:MechantVoit == true) {
if (((((getProperty("_root.Mechant", _x) < (getProperty("_root.Meg", _x) + 10)) and ((getProperty("_root.Meg", _x) - 10) < getProperty("_root.Mechant", _x))) and (getProperty("_root.Mechant", _y) < (getProperty("_root.Meg", _y) + 10))) and ((getProperty("_root.Meg", _y) - 10) < getProperty("_root.Mechant", _y))) and (/Variables:MechantFrappe == false)) {
tellTarget ("_root.Mechant.Obj") {
gotoAndPlay ("Attaque");
};
} else if (/Variables:MechantFrappe == false) {
if (/Variables:EtatActif eq "Tab2") {
if (((_root.Zone1.hitTest(_root.Mechant._x, _root.Mechant._y) == true) and (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y) == true)) or ((_root.Zone2.hitTest(_root.Mechant._x, _root.Mechant._y) == true) and (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y) == true))) {
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
} else {
XMeg = 511;
YMeg = 311;
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P1", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D1", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P2", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P3", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P4", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D5", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P5", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D1", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P6", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P7", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P8", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D5", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (8);
};
}
}
}
}
}
if (/Variables:StepPenche == false) {
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);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
}
};
}
Frame 954
Set("/Variables:EtatActif", "Tab2");
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:Run", false);
stop();
Frame 959
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 963
Set("/Variables:EtatActif", "Tab2Grimpe");
Set("/Variables:EtatVide", "Tab2Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 968
Set("/Variables:SangVerse", false);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 969
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab2EauStoppe");
Set("/Variables:EtatActif", "Tab2Eau");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=6", 0);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
Instance of Symbol 2475 MovieClip in Frame 969
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.CacheEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
if (/Variables:PositionMechant eq "Tab2Eau") {
Set("/Variables:PositionMechant", "ArriveTab2Eau");
}
tellTarget ("_root.Animatiques") {
gotoAndStop ("SortEauTab2");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
}
if (((_root.CacheFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab2Eau == true)) and (/Variables:FiletRamasse == false)) {
Set("/Variables:FiletRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Filet") {
gotoAndStop (2);
};
}
if (((_root.CacheCorde.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab2Eau == true)) and (/Variables:CordeRamasse == false)) {
Set("/Variables:CordeRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Corde") {
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(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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)));
}
}
}
};
}
Frame 970
Set("/Variables:EtatActif", "Tab2Eau");
Set("/Variables:EtatVide", "Tab2EauStoppe");
Set("/Variables:Run", false);
stop();
Frame 975
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 981
Set("/Variables:MechantDevant", false);
Set("/Variables:MechantFrappe", false);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 982
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.8);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
if (/Variables:PositionMechant eq "ArriveTab2") {
Set("/Variables:PositionMechant", "Tab3");
setProperty("_root.Mechant", _x , -85);
setProperty("_root.Mechant", _y , 225);
setProperty("_root.Mechant", _xscale , 75);
setProperty("_root.Mechant", _yscale , 75);
} else if (/Variables:PositionMechant eq "ArriveTab3Eau") {
setProperty("_root.Mechant", _x , 189);
setProperty("_root.Mechant", _y , 288);
setProperty("_root.Mechant", _xscale , 81);
setProperty("_root.Mechant", _yscale , 81);
Set("/Variables:PositionMechant", "Tab3");
} else if (/Variables:PositionMechant eq "ArriveTab1") {
setProperty("_root.Mechant", _x , 651);
setProperty("_root.Mechant", _y , 378);
Set("/Variables:PositionMechant", "Tab3");
} else if (/Variables:PositionMechant eq "Tab3") {
} else {
tellTarget ("_root.Mechant") {
gotoAndStop ("PasLa");
};
}
if (/Variables:From eq "Tab2") {
setProperty("_root.Meg", _x , 31);
setProperty("_root.Meg", _y , 309);
}
if (/Variables:From eq "Tab3Eau") {
setProperty("_root.Meg", _x , 315);
setProperty("_root.Meg", _y , 280);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Tab1") {
setProperty("_root.Meg", _x , 473);
setProperty("_root.Meg", _y , 376);
setProperty("_root.Meg", _xscale , 36);
setProperty("_root.Meg", _yscale , 36);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Tab3Eau2") {
setProperty("_root.Meg", _x , 330);
setProperty("_root.Meg", _y , 163);
setProperty("_root.Meg", _xscale , 23);
setProperty("_root.Meg", _yscale , 23);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
if (/Variables:From eq "Tab4") {
setProperty("_root.Meg", _x , 269);
setProperty("_root.Meg", _y , 219);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Instance of Symbol 2475 MovieClip in Frame 982
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 (Key.isDown(32)) {
if ((/Variables:ObjetSelect == 1) and (/Variables:SangVerse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("VerseSang");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if ((_root.CacheMechantCorde.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:MechantCordeRamasse == false)) and (/Variables:Tab3MechantPendu == true)) {
Set("/Variables:MechantCordeRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.MechantMort.Corde") {
gotoAndStop (2);
};
} else if ((_root.CacheGrimpePlanches.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab3MechantPendu == false)) and (/Variables:MechantVoit == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("GrimpePlanches");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
} else if (_root.CacheEau2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Cache2");
Set("/Variables:Stoppe", true);
if (/Variables:PositionMechant eq "Tab3") {
Set("/Variables:PositionMechant", "Tab3Eau");
}
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreEauTab3");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
} else if (_root.CacheEau.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Cache1");
if (/Variables:PositionMechant eq "Tab3") {
Set("/Variables:PositionMechant", "Tab3Eau");
}
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreEauTab2");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
} else if (/Variables:StepPenche == false) {
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Penche");
};
}
}
if (216 < getProperty("_root.Meg", _x)) {
if (229 < getProperty("_root.Meg", _y)) {
setProperty("_root.GrilleDevant", _visible , 0);
} else {
setProperty("_root.GrilleDevant", _visible , 1);
}
} else if (198 < getProperty("_root.Meg", _y)) {
setProperty("_root.GrilleDevant", _visible , 0);
} else {
setProperty("_root.GrilleDevant", _visible , 1);
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (/Variables:CutterRamasse == false) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=9", 0);
} else {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=13", 0);
}
Set("/Variables:From", "Tab3");
Set("/Variables:Tab1Bloque", false);
if (((/Variables:MechantVoit == true) and (/Variables:Tab3MechantPendu == false)) and (/Variables:PositionMechant eq "Tab3")) {
Set("/Variables:PositionMechant", "ArriveTab3");
}
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheVersTab2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3");
if (((/Variables:MechantVoit == true) and (/Variables:Tab3MechantPendu == false)) and (/Variables:PositionMechant eq "Tab3")) {
Set("/Variables:PositionMechant", "ArriveTab3");
}
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
if (/Variables:Tab3MechantPendu == false) {
if ((getProperty("_root.Mechant", _y) < getProperty("_root.Meg", _y)) and (/Variables:MechantDevant == true)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:MechantDevant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant", _y)) and (/Variables:MechantDevant == false)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:MechantDevant", true);
}
if (/Variables:MechantVoit == true) {
if (((((getProperty("_root.Mechant", _x) < (getProperty("_root.Meg", _x) + 10)) and ((getProperty("_root.Meg", _x) - 10) < getProperty("_root.Mechant", _x))) and (getProperty("_root.Mechant", _y) < (getProperty("_root.Meg", _y) + 10))) and ((getProperty("_root.Meg", _y) - 10) < getProperty("_root.Mechant", _y))) and (/Variables:MechantFrappe == false)) {
tellTarget ("_root.Mechant.Obj") {
gotoAndPlay ("Attaque");
};
} else if (/Variables:MechantFrappe == false) {
if (/Variables:EtatActif eq "Tab3") {
if (((_root.Zone1.hitTest(_root.Mechant._x, _root.Mechant._y) == true) and (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y) == true)) or ((_root.Zone2.hitTest(_root.Mechant._x, _root.Mechant._y) == true) and (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y) == true))) {
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
} else {
XMeg = 177;
YMeg = 250;
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P1", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D1", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P2", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P3", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P4", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D5", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P5", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D1", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P6", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D2", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D2", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D6", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P7", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D3", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D3", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D7", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.P8", _x);
YCentre = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D4", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D4", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D8", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant", _x) + getProperty("_root.Mechant.D5", _x);
Y1 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.D5", _y);
X2 = getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.D1", _x);
Y2 = getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.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.Mechant") {
gotoAndStop (8);
};
}
}
}
} else {
XCentre = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.Centre", _x);
YCentre = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.Centre", _y);
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
Droite1 = false;
Droite2 = false;
Droite3 = false;
Droite4 = false;
X1 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P1", _x);
Y1 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P1", _y);
X2 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P2", _x);
Y2 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P2", _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.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P2", _x);
Y1 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P2", _y);
X2 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P3", _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;
}
X1 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P4", _y);
X2 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P3", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite3 = true;
} else {
Droite3 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite3 = true;
} else {
Droite3 = false;
}
X1 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P4", _y);
X2 = (getProperty("_root.Mechant", _x) + getProperty("_root.Mechant.Obj", _x)) + getProperty("_root.Mechant.Obj.P1", _x);
Y2 = (getProperty("_root.Mechant", _y) + getProperty("_root.Mechant.Obj", _y)) + getProperty("_root.Mechant.Obj.P1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite4 = true;
} else {
Droite4 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite4 = true;
} else {
Droite4 = false;
}
if ((((Droite1 == true) and (Droite2 == true)) and (Droite3 == true)) and (Droite4 == true)) {
Set("/Variables:MechantVoit", true);
}
}
}
if (/Variables:StepPenche == false) {
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);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
}
};
}
Frame 983
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:Run", false);
stop();
Frame 988
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 993
Set("/Variables:EtatActif", "Tab3Grimpe");
Set("/Variables:EtatVide", "Tab3Grimpe");
setProperty("_root.Meg", _visible , 0);
setProperty("_root.GrilleDevant", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 997
Set("/Variables:SangVerse", false);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 998
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=10", 0);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab3EauStoppe");
Set("/Variables:EtatActif", "Tab3Eau");
if (/Variables:From eq "Cache2") {
setProperty("_root.Meg", _x , 372);
setProperty("_root.Meg", _y , 206);
setProperty("_root.Meg", _xscale , 25.7);
setProperty("_root.Meg", _yscale , 25.7);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
} else if (/Variables:From eq "Tab4Eau") {
setProperty("_root.Meg", _x , 419);
setProperty("_root.Meg", _y , 158);
setProperty("_root.Meg", _xscale , 25.7);
setProperty("_root.Meg", _yscale , 25.7);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
Instance of Symbol 2475 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 (getProperty("_root.Meg", _y) < 152) {
setProperty("DecoupePorteDevant", _visible , 1);
} else {
setProperty("DecoupePorteDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 246) {
setProperty("BateauDevant", _visible , 1);
} else {
setProperty("BateauDevant", _visible , 0);
}
if (_root.CacheEau2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab3Eau2");
if (/Variables:PositionMechant eq "Tab3Eau") {
Set("/Variables:PositionMechant", "ArriveTab3Eau");
}
tellTarget ("_root.Animatiques") {
gotoAndStop ("SortEauTab3");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab4EauIni");
};
}
if (_root.CacheEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab3Eau");
if (/Variables:PositionMechant eq "Tab3Eau") {
Set("/Variables:PositionMechant", "ArriveTab3Eau");
}
tellTarget ("_root.Animatiques") {
gotoAndStop ("SortEauTab2");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
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(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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)));
}
}
}
};
}
Frame 999
Set("/Variables:EtatActif", "Tab3Eau");
Set("/Variables:EtatVide", "Tab3EauStoppe");
Set("/Variables:Run", false);
stop();
Frame 1004
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1011
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 1012
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 1);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
if (/Variables:From eq "Tab4Eau") {
if (/Variables:Arrive eq "Echelle1") {
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
} else {
setProperty("_root.Meg", _x , 494);
setProperty("_root.Meg", _y , 198);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
}
if (/Variables:From eq "Tab5") {
setProperty("_root.Meg", _x , 494);
setProperty("_root.Meg", _y , 198);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
Instance of Symbol 2475 MovieClip in Frame 1012
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 (Key.isDown(32)) {
if ((/Variables:ObjetSelect == 1) and (/Variables:SangVerse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("VerseSang");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (_root.CacheBaisseBateau.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:BateauBas == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendBateau");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (_root.CacheOuvrePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PorteHangarOuverte == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("OuvrePorteHangar");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (_root.CacheCutter.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CutterRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=12", 0);
Set("/Variables:CutterRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
tellTarget ("_root.Cutter") {
gotoAndStop (2);
};
} else if (_root.CacheEchelle.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Arrive", "Echelle1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("Tab4EntreEau");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (_root.CacheEchelle2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (/Variables:BateauBas == false) {
Set("/Variables:Arrive", "Echelle2");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("Tab4EntreEau");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (/Variables:PedroLibre == true) {
if (/Variables:PorteHangarOuverte == false) {
if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("PorteFerme");
};
}
} else {
Set("/Variables:Arrive", "Echelle2");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBateau");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
} else if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("FreePedro");
};
}
} else if (/Variables:StepPenche == false) {
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Penche");
};
}
}
if (/Variables:StepPenche == false) {
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);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
}
};
}
Frame 1013
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:Run", false);
tellTarget ("_root.Gts") {
gotoAndStop (8);
};
stop();
Frame 1018
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1025
Set("/Variables:SangVerse", false);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 1026
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab4EauStoppe");
Set("/Variables:EtatActif", "Tab4Eau");
if (/Variables:From eq "Tab2Eau") {
if (/Variables:PedroLibre == true) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=15", 0);
} else {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=11", 0);
}
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab4") {
if (/Variables:Arrive eq "Echelle1") {
setProperty("_root.Meg", _x , 253);
setProperty("_root.Meg", _y , 282);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
} else {
setProperty("_root.Meg", _x , 425);
setProperty("_root.Meg", _y , 282);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
}
Instance of Symbol 2475 MovieClip in Frame 1026
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.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab4Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
}
if (_root.CacheSortEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("Tab4SortEau");
};
tellTarget ("_root") {
gotoAndStop ("Tab4EauStoppe");
};
}
if ((_root.CacheSortEau2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:BateauBas == false)) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle2");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("Tab4SortEau");
};
tellTarget ("_root") {
gotoAndStop ("Tab4EauStoppe");
};
}
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(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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)));
}
}
}
};
}
Frame 1027
Set("/Variables:EtatActif", "Tab4Eau");
Set("/Variables:EtatVide", "Tab4EauStoppe");
Set("/Variables:Run", false);
stop();
Frame 1032
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1040
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 1041
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:EtatActif", "Tab5");
if ((/Variables:From eq "Tab4") or (/Variables:From eq "PontTombe")) {
if (/Variables:From eq "Tab4") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=17", 0);
}
Set("/Variables:Arrive", "Bateau");
gotoAndStop (1072);
}
if (/Variables:From eq "Tab5Eau") {
setProperty("_root.Meg", _x , 485);
setProperty("_root.Meg", _y , 369);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
Instance of Symbol 2475 MovieClip in Frame 1041
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 (Key.isDown(32)) {
if ((/Variables:ObjetSelect == 1) and (/Variables:SangVerse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("VerseSang");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (_root.CacheEchelleHaut.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendCabine");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (_root.CacheEchelleBas.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteCabine");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if ((_root.CacheFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 3)) and (/Variables:FiletPlace == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=23", 0);
Set("/Variables:FiletPlace", true);
Set("/Variables:ObjetRemove", 3);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Filet") {
gotoAndStop (2);
};
} else if ((_root.CacheChuppaSifflet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 8)) and (/Variables:ChuppaFilet == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PiqueChuppa");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
} else if (_root.CacheDescendQuai.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreEauTab5");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
} else if ((((/Variables:ObjetSelect == 6) and (/Variables:StepSifflet == false)) and (/Variables:ChuppaPlongeFilet == false)) and (/Variables:ChuppaFilet == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("StepSifflet");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:StepPenche == false) {
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Penche");
};
}
}
if (/Variables:StepPenche == false) {
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);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
}
};
}
Frame 1042
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:Run", false);
tellTarget ("_root.Gts") {
gotoAndStop (8);
};
stop();
Frame 1047
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1054
Set("/Variables:SangVerse", false);
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 1055
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5EauStoppe");
Set("/Variables:EtatActif", "Tab5Eau");
if (/Variables:From eq "Barque") {
setProperty("_root.Meg", _x , 125);
setProperty("_root.Meg", _y , 255);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Poteau") {
setProperty("_root.Meg", _x , 335);
setProperty("_root.Meg", _y , 402);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Tab5") {
setProperty("_root.Meg", _x , 464);
setProperty("_root.Meg", _y , 406);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Frame 1056
Set("/Variables:EtatActif", "Tab5Eau");
Set("/Variables:EtatVide", "Tab5EauStoppe");
Set("/Variables:Run", false);
stop();
Instance of Symbol 2475 MovieClip in Frame 1056
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 (287 < getProperty("_root.Meg", _y)) {
setProperty("_root.BarqueDevant", _visible , 0);
} else {
setProperty("_root.BarqueDevant", _visible , 1);
}
if (_root.CacheGrimpePoteau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
if (/Variables:PontTombe == true) {
Set("/Variables:Arrive", "PoteauBas");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
} else if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("MechantVoit");
};
}
}
if (((_root.CachePoteau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and ((/Variables:ObjetSelect == 2) or (/Variables:ObjetSelect == 5))) and (/Variables:PoteauAttache == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttachePoteau");
};
tellTarget ("_root") {
gotoAndStop ("Tab5EauStoppe");
};
}
if (_root.CacheSortEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SortEauTab5");
};
tellTarget ("_root") {
gotoAndStop ("Tab5EauStoppe");
};
}
if (_root.CacheBarque.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
if (((/Variables:ObjetSelect == 2) or (/Variables:ObjetSelect == 5)) and (/Variables:BarqueAttache == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttacheBarque");
};
tellTarget ("_root") {
gotoAndStop ("Tab5EauStoppe");
};
} else if (((/Variables:BarqueAttache == true) and (/Variables:PoteauAttache == true)) and (/Variables:PontTombe == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrachePont");
};
tellTarget ("_root") {
gotoAndStop ("Tab5EauStoppe");
};
} else if (((/Variables:BarqueAttache == true) or (/Variables:PoteauAttache == true)) and (/Variables:PontTombe == false)) {
Set("/Variables:BarqueAttache", false);
Set("/Variables:PoteauAttache", false);
Set("/Variables:CordeRamasse", true);
Set("/Variables:CordeMainRamasse", false);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
Set("/Variables:ObjetRemove", 5);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
} else {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RetourQuai");
};
tellTarget ("_root") {
gotoAndStop ("Tab5EauStoppe");
};
}
}
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(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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");
};
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)));
}
}
}
};
}
Frame 1061
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1072
Set("/Variables:EtatActif", "Tab5Grimpe");
Set("/Variables:EtatVide", "Tab5Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 1075
tellTarget ("_root.Chupa") {
gotoAndPlay (1);
};
Frame 1076
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5HautStoppe");
Set("/Variables:EtatActif", "Tab5Haut");
Instance of Symbol 2475 MovieClip in Frame 1076
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 (Key.isDown(32)) {
if (_root.CacheAroseMechant.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 1)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AroseMechant");
};
tellTarget ("_root") {
gotoAndStop ("Tab5HautStoppe");
};
} else if ((_root.CacheSifflet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:SiffletRamasse == false)) and (/Variables:Tab5MechantMort == true)) {
Set("/Variables:SiffletRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
tellTarget ("_root.Sifflet") {
gotoAndStop (1);
};
} else if (_root.CacheDescendFort.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendMarches");
};
tellTarget ("_root") {
gotoAndStop ("Tab5HautStoppe");
};
} else if ((((/Variables:ObjetSelect == 6) and (/Variables:StepSifflet == false)) and (/Variables:ChuppaPlongeFilet == false)) and (/Variables:ChuppaFilet == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("StepSifflet");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:StepPenche == false) {
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Penche");
};
}
}
if ((_root.CacheMechantFrappe.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:MechantFrappe == false)) and (/Variables:Tab5MechantMort == false)) {
tellTarget ("_root.MechantToit") {
gotoAndPlay ("Attaque");
};
}
if (/Variables:StepPenche == false) {
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);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
}
};
}
Frame 1077
Set("/Variables:EtatActif", "Tab5Haut");
Set("/Variables:EtatVide", "Tab5HautStoppe");
Set("/Variables:Run", false);
stop();
Frame 1082
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1089
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 1090
prevFrame();
Frame 1091
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 4169 MovieClip in Frame 1091
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 1094
if (/Save:Fichier ne "") {
gotoAndStop (1090);
} else {
gotoAndPlay (933);
}
Frame 1095
stopAllSounds();
gotoAndPlay (1118);
Frame 1102
stopAllSounds();
gotoAndPlay (1118);
Frame 1113
stopAllSounds();
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Save:TempsDepart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (1188);
Frame 1118
stopAllSounds();
Frame 1187
stop();
Frame 1188
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=25", 0);
Frame 1866
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 457 Button
on (release) {
stopAllSounds();
gotoAndPlay (927);
}
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1057 MovieClip Frame 2
gotoAndStop (1);
Symbol 1057 MovieClip Frame 6
gotoAndStop (1);
Symbol 1057 MovieClip Frame 7
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (9);
}
Symbol 1057 MovieClip Frame 8
gotoAndPlay (10);
Symbol 1057 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1057 MovieClip Frame 44
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1057 MovieClip Frame 62
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1057 MovieClip Frame 90
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1057 MovieClip Frame 100
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1122 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 1122 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 1122 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 1122 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 1122 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 1122 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 1122 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 1122 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 1122 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 1129 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 1129 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 1135 Button
on (release) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
Symbol 1139 MovieClip Frame 1
Set("/Variables:GageLargeurMeg", _width);
Symbol 1139 MovieClip Frame 2
setProperty("Gage2Meg", _width , /Variables:GageLargeurMeg * (/Variables:VieMeg / 100));
stop();
Symbol 1142 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) {
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) {
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 1143 MovieClip Frame 1
stop();
Symbol 1143 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 1156 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 1168 Button
on (release) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 1178 Button
on (release) {
nextFrame();
}
Symbol 1187 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 1188 Button
on (release) {
gotoAndStop (1);
}
Symbol 1189 MovieClip Frame 1
stop();
Symbol 1197 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 1208 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 1210 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 1211 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 1213 MovieClip Frame 1
stop();
Symbol 1213 MovieClip Frame 2
stop();
Symbol 1213 MovieClip Frame 3
stop();
Symbol 1216 MovieClip Frame 1
stop();
Symbol 1216 MovieClip Frame 4
gotoAndPlay (2);
Symbol 1225 MovieClip Frame 1
stop();
Symbol 1225 MovieClip Frame 2
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 1);
Symbol 1225 MovieClip Frame 3
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 2);
Symbol 1225 MovieClip Frame 4
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 3);
Symbol 1225 MovieClip Frame 5
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 4);
Symbol 1225 MovieClip Frame 6
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 5);
Symbol 1225 MovieClip Frame 7
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 6);
Symbol 1225 MovieClip Frame 8
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 7);
Symbol 1225 MovieClip Frame 9
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 8);
Symbol 1228 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 1229 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 1230 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1231 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 1231 MovieClip Frame 2
stop();
Symbol 1232 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 1232 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1232 MovieClip Frame 3
stop();
Symbol 1235 MovieClip Frame 1
stop();
Symbol 1235 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 1236 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 1236 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1236 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 1236 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1236 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 1236 MovieClip Frame 6
gotoAndStop (1);
Symbol 1250 Button
on (release) {
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 1251 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 1256 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 1256 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 1257 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 1257 MovieClip Frame 2
stop();
Symbol 1258 Button
on (release) {
gotoAndStop (2);
}
Symbol 1259 Button
on (release) {
gotoAndStop (3);
}
Symbol 1261 Button
on (release) {
gotoAndStop (4);
}
Symbol 1262 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 1262 MovieClip Frame 2
_quality = "LOW";
Symbol 1262 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 1262 MovieClip Frame 4
_quality = "HIGH";
Symbol 1263 Button
on (keyPress "o") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 1271 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 1273 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 1275 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1278 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 1279 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 1280 MovieClip Frame 1
stop();
Symbol 1280 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 1286 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 1287 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 1290 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1291 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 1293 MovieClip Frame 1
stop();
Symbol 1294 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 1295 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 1296 MovieClip Frame 1
stop();
Symbol 1296 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 1297 MovieClip Frame 1
stop();
Symbol 1297 MovieClip Frame 2
stop();
Symbol 1297 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 1297 MovieClip Frame 6
stop();
Symbol 1298 MovieClip Frame 1
stop();
Symbol 1300 Button
on (release) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 1301 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 1306 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 1308 Button
on (keyPress "o") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 1309 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 1311 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 1313 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 1313 MovieClip Frame 2
stop();
Symbol 1314 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
Set("/Variables:StepPenche", false);
stop();
Symbol 1314 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
stop();
Instance of Symbol 1157 MovieClip "BoutonVolume" in Symbol 1314 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 1314 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 1157 MovieClip "BoutonVolume" in Symbol 1314 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 1361 MovieClip Frame 24
Set("/Variables:ChevreVu", true);
tellTarget ("_root.Chevre") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1393 MovieClip Frame 9
setProperty("_root.Meg", _x , 426);
setProperty("_root.Meg", _y , 321);
setProperty("_root.Meg", _xscale , 19.8);
setProperty("_root.Meg", _yscale , 19.8);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:ObjetRemove", 7);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.TrouToile") {
gotoAndStop (2);
};
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1396 MovieClip Frame 1
tellTarget ("_root.Meg.Obj") {
gotoAndStop (36);
};
Symbol 1396 MovieClip Frame 52
Set("/Variables:PedroParle", true);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1503 MovieClip Frame 12
if (/Variables:EtatActif eq "Tab2Eau") {
Set("/Variables:From", "Tab2Eau");
Set("/Variables:Tab2Eau", false);
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
} else {
Set("/Variables:From", "Tab3Eau");
Set("/Variables:Tab3Eau", false);
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 1507 MovieClip Frame 12
if (/Variables:EtatActif eq "Tab2") {
Set("/Variables:From", "Tab2");
Set("/Variables:SangVerse", false);
Set("/Variables:Tab2Eau", true);
tellTarget ("_root") {
gotoAndPlay ("Tab2EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
} else {
Set("/Variables:From", "Tab3");
Set("/Variables:Tab3Eau", true);
Set("/Variables:SangVerse", false);
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 1525 MovieClip Frame 12
Set("/Variables:Tab3Eau", true);
Set("/Variables:SangVerse", false);
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1526 MovieClip Frame 12
Set("/Variables:Tab3Eau", false);
Set("/Variables:SangVerse", false);
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1562 MovieClip Frame 15
Set("/Variables:Arrive", "GrimpePlanches");
setProperty("_root.Meg", _x , -1000);
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1565 MovieClip Frame 15
setProperty("_root.Meg", _x , 92);
setProperty("_root.Meg", _y , 222);
setProperty("_root.Meg", _xscale , 29);
setProperty("_root.Meg", _yscale , 29);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1586 MovieClip Frame 20
Set("/Variables:CordePlace", true);
Set("/Variables:ObjetRemove", 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.StepCorde") {
nextFrame();
};
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1645 MovieClip Frame 17
tellTarget ("_root.MechantMort") {
gotoAndStop (2);
};
setProperty("_root.Meg", _x , 139);
setProperty("_root.Meg", _y , 205);
setProperty("_root.Meg", _xscale , 29);
setProperty("_root.Meg", _yscale , 29);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1726 MovieClip Frame 20
Set("/Variables:Tab3MechantPendu", true);
Set("/Variables:PositionMechant", "Pendu");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=8", 0);
tellTarget ("_root.Mechant") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.StepCorde") {
gotoAndPlay ("Tue");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1744 MovieClip Frame 10
Set("/Variables:From", "Tab4Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1745 MovieClip Frame 10
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab4EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1768 MovieClip Frame 25
Set("/Variables:PedroLibre", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=14", 0);
tellTarget ("_root.MegPedro") {
gotoAndStop ("Cours");
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1782 MovieClip Frame 13
Set("/Variables:PorteHangarOuverte", true);
tellTarget ("_root.Porte") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1911 MovieClip Frame 170
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1957 MovieClip Frame 14
Set("/Variables:BateauBas", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=16", 0);
tellTarget ("_root.Bateau") {
gotoAndPlay (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1968 MovieClip Frame 12
Set("/Variables:From", "Barque");
tellTarget ("_root") {
gotoAndPlay ("Tab5EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2019 MovieClip Frame 1
Set("/Variables:PoteauAttache", true);
if (/Variables:BarqueAttache == true) {
Set("/Variables:CordeMainRamasse", false);
Set("/Variables:ObjetRemove", 5);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
} else {
Set("/Variables:ObjetRemove", 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:CordeMainRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
}
Symbol 2019 MovieClip Frame 27
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=18", 0);
if (/Variables:BarqueAttache == true) {
} else {
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (6);
};
}
tellTarget ("_root") {
gotoAndPlay ("Tab5Eau");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2060 MovieClip Frame 1
Set("/Variables:BarqueAttache", true);
if (/Variables:PoteauAttache == true) {
Set("/Variables:CordeMainRamasse", false);
Set("/Variables:ObjetRemove", 5);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
} else {
Set("/Variables:ObjetRemove", 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:CordeMainRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
}
Symbol 2060 MovieClip Frame 20
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=19", 0);
if (/Variables:PoteauAttache == true) {
} else {
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (6);
};
}
tellTarget ("_root") {
gotoAndPlay ("Tab5Eau");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2128 MovieClip Frame 74
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=20", 0);
Set("/Variables:PontTombe", true);
Set("/Variables:BateauAccoste", false);
Set("/Variables:From", "PontTombe");
tellTarget ("_root.Pont") {
gotoAndStop (2);
};
tellTarget ("_root.BarqueDevant") {
gotoAndStop (1);
};
tellTarget ("_root.BarqueDerriere") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2149 MovieClip Frame 18
Set("/Variables:SangVerse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=5", 0);
tellTarget ("_root.Meg.Obj.Sang") {
nextFrame();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2150 MovieClip Frame 10
setProperty("_root.Meg", _x , 441);
setProperty("_root.Meg", _y , 224);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2151 MovieClip Frame 10
setProperty("_root.Meg", _x , 430);
setProperty("_root.Meg", _y , 272);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2177 MovieClip Frame 16
Set("/Variables:Arrive", "PoteauHaut");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2186 MovieClip Frame 18
if (/Variables:ChupaArrivePhare == false) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=21", 0);
tellTarget ("_parent") {
gotoAndStop ("AppelChupa");
};
} else {
Set("/Variables:From", "Tab5Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab5HautIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 2187 MovieClip Frame 109
Set("/Variables:ChupaArrivePhare", true);
Set("/Variables:EtatActif", "Tab5Haut");
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndPlay ("Tab5HautIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2216 MovieClip Frame 124
Set("/Variables:From", "Tab5");
Set("/Variables:StepSifflet", false);
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2217 MovieClip Frame 12
Set("/Variables:From", "Tab5Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2218 MovieClip Frame 12
Set("/Variables:From", "Tab5");
Set("/Variables:SangVerse", false);
tellTarget ("_root") {
gotoAndPlay ("Tab5EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2332 MovieClip Frame 61
Set("/Variables:ObjetRemove", 1);
Set("/Variables:ObjetSelect", 0);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=22", 0);
Set("/Variables:Tab5MechantMort", true);
tellTarget ("_root.Sifflet") {
gotoAndStop (2);
};
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.MechantToit") {
gotoAndStop ("Mort");
};
tellTarget ("_root") {
gotoAndPlay ("Tab5Haut");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2349 MovieClip Frame 30
Set("/Variables:StepSifflet", true);
tellTarget ("_root.Chupa") {
gotoAndPlay ("StepSifflet");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2445 MovieClip Frame 2
stopAllSounds();
Symbol 2445 MovieClip Frame 120
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=24", 0);
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
Symbol 2446 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("/Variables:AnimJoue", false);
Set("/Variables:Run", false);
Set("/Variables:StepPenche", false);
if (/Variables:ChuppaFilet == false) {
tellTarget ("_root.Chupa") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Chupa") {
gotoAndStop ("Mort");
};
}
stop();
Symbol 2446 MovieClip Frame 2
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 3
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 4
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 5
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 6
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 7
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 8
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 9
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 10
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 11
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 12
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 13
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 14
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 15
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 16
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 17
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 18
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 19
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 20
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 21
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 22
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 23
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 24
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 25
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 26
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 27
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 28
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 29
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 30
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 31
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 32
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 33
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 34
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2446 MovieClip Frame 35
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2450 MovieClip Frame 1
stop();
Symbol 2450 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=20&stage=99", 0);
gotoAndStop (1);
Symbol 2471 MovieClip Frame 1
if (/Variables:Tab1Bloque == true) {
nextFrame();
}
stop();
Symbol 2473 MovieClip Frame 1
if (/Variables:Tab1Etage == 2) {
nextFrame();
}
stop();
Symbol 2545 MovieClip Frame 1
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Instance of Symbol 2475 MovieClip in Symbol 2545 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2545 MovieClip Frame 2
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 3
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 4
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 5
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 6
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 7
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 8
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 2545 MovieClip Frame 9
gotoAndPlay (1);
Symbol 2545 MovieClip Frame 13
Set("/Variables:MechantFrappe", true);
Symbol 2545 MovieClip Frame 14
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2545 MovieClip Frame 24
Set("/Variables:MechantFrappe", false);
gotoAndPlay (1);
Symbol 2676 MovieClip Frame 1
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Instance of Symbol 2475 MovieClip in Symbol 2676 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2676 MovieClip Frame 2
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 3
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 4
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 5
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 6
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 7
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 8
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 2) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2676 MovieClip Frame 9
gotoAndPlay (1);
Symbol 2676 MovieClip Frame 27
Set("/Variables:MechantFrappe", true);
Symbol 2676 MovieClip Frame 28
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2676 MovieClip Frame 38
Set("/Variables:MechantFrappe", false);
gotoAndPlay (1);
Symbol 2714 MovieClip Frame 1
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Instance of Symbol 2475 MovieClip in Symbol 2714 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2714 MovieClip Frame 2
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 3
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 4
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 5
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 6
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 7
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 8
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2714 MovieClip Frame 9
gotoAndPlay (1);
Symbol 2714 MovieClip Frame 13
Set("/Variables:MechantFrappe", true);
Symbol 2714 MovieClip Frame 14
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2714 MovieClip Frame 24
Set("/Variables:MechantFrappe", false);
gotoAndPlay (1);
Symbol 2764 MovieClip Frame 1
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Instance of Symbol 2475 MovieClip in Symbol 2764 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2764 MovieClip Frame 2
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 3
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 4
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 5
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 6
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 7
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 8
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
if (getProperty("../", _currentframe) == 6) {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
}
Symbol 2764 MovieClip Frame 9
gotoAndPlay (1);
Symbol 2764 MovieClip Frame 27
Set("/Variables:MechantFrappe", true);
Symbol 2764 MovieClip Frame 28
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2764 MovieClip Frame 38
Set("/Variables:MechantFrappe", false);
gotoAndPlay (1);
Symbol 2784 MovieClip Frame 1
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Instance of Symbol 2475 MovieClip in Symbol 2784 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2784 MovieClip Frame 2
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 3
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 4
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 5
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 6
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 7
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 8
if (/Variables:EtatActif eq "Tab3") {
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - /Variables:MoveScale);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - /Variables:MoveScale);
}
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 2784 MovieClip Frame 9
gotoAndPlay (1);
Symbol 2784 MovieClip Frame 13
Set("/Variables:MechantFrappe", true);
Symbol 2784 MovieClip Frame 14
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2784 MovieClip Frame 24
Set("/Variables:MechantFrappe", false);
gotoAndPlay (1);
Symbol 2787 MovieClip Frame 1
gotoAndPlay(/Variables:FrameMechantIdle);
Instance of Symbol 2475 MovieClip in Symbol 2787 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:FrameMechantIdle != 1) {
Set("/Variables:FrameMechantIdle", 1);
}
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2787 MovieClip Frame 87
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 88
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 89
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 90
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 91
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 92
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 93
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 94
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 95
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 96
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 97
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 98
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 99
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 100
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 101
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 102
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 103
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 104
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 105
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 106
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 107
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 108
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 109
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 110
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 111
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 112
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 113
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 114
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 115
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 116
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 117
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 118
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 119
Set("/Variables:IdleCorde", true);
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 120
setProperty("../", _x , getProperty("../", _x) - 4.3);
setProperty("../", _y , getProperty("../", _y) - 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) - 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) - 0.12);
Symbol 2787 MovieClip Frame 204
Set("/Variables:IdleCorde", false);
Symbol 2787 MovieClip Frame 205
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 206
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 207
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 208
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 209
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 210
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 211
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 212
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 213
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 214
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 215
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 216
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 217
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 218
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 219
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 220
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 221
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 222
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 223
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 224
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 225
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 226
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 227
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 228
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 229
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 230
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 231
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 232
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 233
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 234
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 235
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 236
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 237
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2787 MovieClip Frame 238
setProperty("../", _x , getProperty("../", _x) + 4.3);
setProperty("../", _y , getProperty("../", _y) + 4);
setProperty("_root.Mechant", _xscale , getProperty("_root.Mechant", _xscale) + 0.12);
setProperty("_root.Mechant", _yscale , getProperty("_root.Mechant", _yscale) + 0.12);
Symbol 2788 MovieClip Frame 1
if ((((((/Variables:Tab3MechantPendu == true) or (/Variables:PositionMechant eq "FrappeMeg")) or (((/Variables:EtatActif eq "Tab1") and (/Variables:PositionMechant ne "Tab1")) and (/Variables:PositionMechant ne "VersMeg"))) or ((/Variables:EtatActif eq "Tab2") and (/Variables:PositionMechant ne "Tab2"))) or ((/Variables:EtatActif eq "Tab2Eau") and (/Variables:PositionMechant ne "Tab2"))) or (((/Variables:EtatActif eq "Tab1Grimpe") and (/Variables:PositionMechant ne "Tab1")) and (/Variables:PositionMechant ne "VersMeg"))) {
gotoAndStop (12);
} else if ((/Variables:MechantVoit == false) and (/Variables:PositionMechant == "Tab3")) {
gotoAndStop (11);
} else {
stop();
}
Symbol 2788 MovieClip Frame 2
stop();
Symbol 2788 MovieClip Frame 3
stop();
Symbol 2788 MovieClip Frame 4
stop();
Symbol 2788 MovieClip Frame 5
stop();
Symbol 2788 MovieClip Frame 6
stop();
Symbol 2788 MovieClip Frame 7
stop();
Symbol 2788 MovieClip Frame 8
stop();
Symbol 2788 MovieClip Frame 11
stop();
Symbol 2788 MovieClip Frame 12
stop();
Symbol 2865 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 2946 MovieClip Frame 10
if (random(20) == 10) {
gotoAndPlay (12);
}
Symbol 2946 MovieClip Frame 11
gotoAndPlay (2);
Symbol 2946 MovieClip Frame 50
gotoAndPlay (2);
Symbol 3009 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3009 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 3009 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 3009 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 3009 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 3009 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 3010 MovieClip Frame 1
Set("/Variables:StepPenche", true);
Symbol 3010 MovieClip Frame 3
play();
Symbol 3010 MovieClip Frame 4
if (Key.isDown(32)) {
prevFrame();
}
Symbol 3010 MovieClip Frame 7
Set("/Variables:StepPenche", false);
Symbol 3011 MovieClip Frame 1
stop();
Symbol 3011 MovieClip Frame 9
stop();
Symbol 3011 MovieClip Frame 17
stop();
Symbol 3011 MovieClip Frame 25
stop();
Symbol 3011 MovieClip Frame 33
stop();
Symbol 3011 MovieClip Frame 40
stop();
Symbol 3088 MovieClip Frame 13
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 3088 MovieClip Frame 14
gotoAndPlay (3);
Symbol 3088 MovieClip Frame 52
gotoAndPlay (3);
Symbol 3137 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3137 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 3137 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 3137 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 3137 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 3137 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 3137 MovieClip Frame 12
Set("/Variables:Stoppe", false);
Symbol 3138 MovieClip Frame 1
Set("/Variables:StepPenche", true);
Symbol 3138 MovieClip Frame 3
play();
Symbol 3138 MovieClip Frame 4
if (Key.isDown(32)) {
prevFrame();
}
Symbol 3138 MovieClip Frame 7
Set("/Variables:StepPenche", false);
Symbol 3139 MovieClip Frame 1
stop();
Symbol 3139 MovieClip Frame 9
stop();
Symbol 3139 MovieClip Frame 17
stop();
Symbol 3139 MovieClip Frame 25
stop();
Symbol 3139 MovieClip Frame 33
stop();
Symbol 3139 MovieClip Frame 40
stop();
Symbol 3184 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 3234 MovieClip Frame 4
Set("/Variables:Stoppe", false);
play();
Symbol 3234 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 3234 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3234 MovieClip Frame 48
gotoAndPlay (4);
Symbol 3270 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3270 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 3270 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 3270 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 3270 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 3270 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 3271 MovieClip Frame 1
Set("/Variables:StepPenche", true);
Symbol 3271 MovieClip Frame 4
play();
Symbol 3271 MovieClip Frame 5
if (Key.isDown(32)) {
prevFrame();
}
Symbol 3271 MovieClip Frame 8
Set("/Variables:StepPenche", false);
Symbol 3272 MovieClip Frame 1
stop();
Symbol 3272 MovieClip Frame 10
stop();
Symbol 3272 MovieClip Frame 19
stop();
Symbol 3272 MovieClip Frame 29
stop();
Symbol 3272 MovieClip Frame 38
stop();
Symbol 3272 MovieClip Frame 46
stop();
Symbol 3315 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 3401 MovieClip Frame 12
if (random(20) == 10) {
gotoAndPlay (17);
}
Symbol 3401 MovieClip Frame 13
gotoAndPlay (2);
Symbol 3401 MovieClip Frame 59
gotoAndPlay (2);
Symbol 3489 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3489 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 3489 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 3489 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 3489 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 3489 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 3489 MovieClip Frame 11
Set("/Variables:Stoppe", false);
Symbol 3490 MovieClip Frame 1
Set("/Variables:StepPenche", true);
Symbol 3490 MovieClip Frame 4
play();
Symbol 3490 MovieClip Frame 5
if (Key.isDown(32)) {
prevFrame();
}
Symbol 3490 MovieClip Frame 8
Set("/Variables:StepPenche", false);
Symbol 3491 MovieClip Frame 1
stop();
Symbol 3491 MovieClip Frame 10
stop();
Symbol 3491 MovieClip Frame 20
stop();
Symbol 3491 MovieClip Frame 29
stop();
Symbol 3491 MovieClip Frame 38
stop();
Symbol 3491 MovieClip Frame 48
stop();
Symbol 3493 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 3572 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (21);
}
Symbol 3572 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3572 MovieClip Frame 63
gotoAndPlay (4);
Symbol 3639 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3639 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 3639 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 3639 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 3639 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 3639 MovieClip Frame 13
Set("/Variables:Stoppe", false);
Symbol 3640 MovieClip Frame 1
Set("/Variables:StepPenche", true);
Symbol 3640 MovieClip Frame 4
play();
Symbol 3640 MovieClip Frame 5
if (Key.isDown(32)) {
prevFrame();
}
Symbol 3640 MovieClip Frame 8
Set("/Variables:StepPenche", false);
Symbol 3641 MovieClip Frame 1
stop();
Symbol 3641 MovieClip Frame 10
stop();
Symbol 3641 MovieClip Frame 18
stop();
Symbol 3641 MovieClip Frame 27
stop();
Symbol 3641 MovieClip Frame 36
stop();
Symbol 3641 MovieClip Frame 44
stop();
Symbol 3642 MovieClip Frame 4
tellTarget ("/Animatiques") {
gotoAndStop ("TombeDansEau");
};
setProperty("_root.Meg", _visible , false);
stop();
Symbol 3643 MovieClip Frame 1
stop();
Symbol 3683 MovieClip Frame 12
Set("/Variables:VieMeg", /Variables:VieMeg - 20);
if (/Variables:VieMeg < 1) {
Set("/Variables:VieMeg", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
tellTarget ("_root.Sons") {
gotoAndPlay ("MegBobo");
};
setProperty("/Inventaire/BarreVieMeg/BarreVie3Meg/Gage2Meg", _width , /Variables:GageLargeurMeg * (/Variables:VieMeg / 100));
Symbol 3684 MovieClip Frame 1
if (/Variables:PositionMechant eq "FrappeMeg") {
nextFrame();
}
stop();
Symbol 3684 MovieClip Frame 2
stop();
Symbol 3775 MovieClip Frame 96
tellTarget ("_parent") {
nextFrame();
};
Symbol 3776 MovieClip Frame 1
if (/Variables:PedroLibre == true) {
gotoAndStop (3);
}
stop();
Symbol 3776 MovieClip Frame 2
stop();
Symbol 3776 MovieClip Frame 3
stop();
Instance of Symbol 2475 MovieClip in Symbol 3779 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:ChuppaFilet == true) {
gotoAndStop (97);
} else if ((((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (/Variables:Tab5MechantMort == false)) or (/Variables:StepSifflet == true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3779 MovieClip Frame 28
if ((/Variables:EtatActif eq "Tab5Haut") or (/Variables:EtatActif eq "Tab5Eau")) {
gotoAndPlay (82);
}
Symbol 3779 MovieClip Frame 82
if (((((random(100) < 40) and (/Variables:StepSifflet == false)) or (((((/Variables:EtatActif eq "Tab1Grimpe") or (/Variables:EtatActif eq "Tab2Grimpe")) or (/Variables:EtatActif eq "Tab3Grimpe")) or (/Variables:EtatActif eq "Tab4Grimpe")) or (/Variables:EtatActif eq "Tab5Grimpe"))) or ((/Variables:EtatActif eq "Tab4") and (/Variables:PedroLibre == true))) or ((/Variables:EtatActif eq "Tab4Eau") and (/Variables:PedroLibre == true))) {
gotoAndPlay (1);
} else {
play();
}
Symbol 3779 MovieClip Frame 83
if (/Variables:EtatActif eq "Tab4") {
Set("/Variables:ChupaAttaque", "Meg");
}
if (/Variables:StepSifflet == true) {
Set("/Variables:ChupaAttaque", "Step");
setProperty("_root.Chupa", _xscale , getProperty("_root.Chupa", _xscale) + getProperty("_root.Meg", _xscale));
setProperty("_root.Chupa", _yscale , getProperty("_root.Chupa", _yscale) + getProperty("_root.Meg", _xscale));
if ((/Variables:EtatActif ne "Tab5") and (/Variables:EtatActif ne "Tab5Grimpe")) {
if (50 < random(100)) {
setProperty("_root.Chupa", _xscale , getProperty("_root.Chupa", _xscale) - (2 * getProperty("_root.Chupa", _xscale)));
}
}
setProperty("_root.Chupa", _x , getProperty("_root.Meg", _x));
setProperty("_root.Chupa", _y , getProperty("_root.Meg", _y) - 20);
play();
} else {
if (((/Variables:EtatActif eq "Tab1") and (/Variables:SangVerse == true)) or (/Variables:ChupaArrivePhare == true)) {
Set("/Variables:ChupaAttaque", "Step");
} else if (/Variables:SangVerse == false) {
Set("/Variables:ChupaAttaque", "Meg");
}
if (/Variables:ChupaAttaque eq "Step") {
setProperty("_root.Chupa", _xscale , getProperty("_root.Chupa", _xscale) + getProperty("_root.Meg", _xscale));
setProperty("_root.Chupa", _yscale , getProperty("_root.Chupa", _yscale) + getProperty("_root.Meg", _xscale));
if (50 < random(100)) {
setProperty("_root.Chupa", _xscale , getProperty("_root.Chupa", _xscale) - (2 * getProperty("_root.Chupa", _xscale)));
}
setProperty("_root.Chupa", _x , getProperty("_root.Meg", _x));
setProperty("_root.Chupa", _y , getProperty("_root.Meg", _y) - 20);
play();
} else if (/Variables:PedroLibre == false) {
if (/Variables:EtatActif eq "Tab1") {
setProperty("_root.Chupa", _x , getProperty("_root.MegPedro", _x));
setProperty("_root.Chupa", _y , getProperty("_root.MegPedro", _y) - 20);
} else {
tellTarget ("_root.SonsChuppa") {
play();
};
gotoAndStop (1);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 2475 MovieClip in Symbol 3779 MovieClip Frame 84
onClipEvent (enterFrame) {
if (/Variables:ChuppaFilet == true) {
gotoAndStop (97);
} else if ((((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (/Variables:Tab5MechantMort == false)) or (/Variables:StepSifflet == true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3779 MovieClip Frame 87
if (/Variables:ChupaAttaque eq "Step") {
if (/Variables:StepSifflet == true) {
if (/Variables:StepPenche == false) {
Set("/Variables:Vie", /Variables:Vie - 25);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
} else if (_root.CacheChuppaSifflet.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:ChuppaPlongeFilet", true);
Set("/Variables:FiletPlace", false);
tellTarget ("_root.Filet") {
gotoAndStop (1);
};
tellTarget ("_root.Chupa") {
gotoAndStop ("Mort");
};
tellTarget ("_root.ChuppaPlongeFilet") {
gotoAndPlay ("Plonge");
};
}
} else if (/Variables:StepPenche == false) {
Set("/Variables:Vie", /Variables:Vie - 25);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
} else {
Set("/Variables:VieMeg", /Variables:VieMeg - 25);
if (/Variables:VieMeg < 1) {
Set("/Variables:VieMeg", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
tellTarget ("_root.Sons") {
gotoAndPlay ("MegBobo");
};
setProperty("/Inventaire/BarreVieMeg/BarreVie3Meg/Gage2Meg", _width , /Variables:GageLargeurMeg * (/Variables:VieMeg / 100));
}
Symbol 3779 MovieClip Frame 96
Set("/Variables:StepSifflet", false);
setProperty("_root.Chupa", _x , 318);
setProperty("_root.Chupa", _y , -25);
setProperty("_root.Chupa", _xscale , 100);
setProperty("_root.Chupa", _yscale , 100);
gotoAndPlay (1);
Symbol 3779 MovieClip Frame 97
stop();
Symbol 3780 MovieClip Frame 1
stop();
Symbol 3780 MovieClip Frame 29
Set("/Variables:VieMeg", /Variables:VieMeg - 25);
if (/Variables:VieMeg < 1) {
Set("/Variables:VieMeg", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVieMeg/BarreVie3Meg/Gage2Meg", _width , /Variables:GageLargeurMeg * (/Variables:VieMeg / 100));
Symbol 3833 MovieClip Frame 1
if (/Variables:Arrive eq "LianeBas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "LianeHaut") {
gotoAndPlay (95);
} else {
stop();
}
Symbol 3833 MovieClip Frame 2
play();
Symbol 3833 MovieClip Frame 5
stop();
Instance of Symbol 3803 MovieClip in Symbol 3833 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 3803 MovieClip in Symbol 3833 MovieClip Frame 6
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(188 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3833 MovieClip Frame 74
play();
Symbol 3833 MovieClip Frame 94
setProperty("_root.Meg", _x , 76);
setProperty("_root.Meg", _y , 158);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab1Etage", 2);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3833 MovieClip Frame 95
play();
Symbol 3833 MovieClip Frame 115
stop();
Instance of Symbol 3803 MovieClip in Symbol 3833 MovieClip Frame 115
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3803 MovieClip in Symbol 3833 MovieClip Frame 116
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(188 - int(_currentframe));
};
}
}
}
Symbol 3833 MovieClip Frame 184
play();
Symbol 3833 MovieClip Frame 186
setProperty("_root.Meg", _x , 91);
setProperty("_root.Meg", _y , 365);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab1Etage", 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3842 MovieClip Frame 1
if (/Variables:GourdeRamasse == true) {
nextFrame();
}
stop();
Symbol 3843 MovieClip Frame 1
if (/Variables:ChevreVu == true) {
nextFrame();
}
stop();
Symbol 3844 MovieClip Frame 1
if (/Variables:FiletRamasse == true) {
nextFrame();
}
stop();
Symbol 3849 MovieClip Frame 1
if (/Variables:CordeRamasse == true) {
nextFrame();
}
stop();
Symbol 3864 MovieClip Frame 1
if (/Variables:ToileDechire == true) {
nextFrame();
}
stop();
Symbol 3867 MovieClip Frame 1
if (/Variables:Tab2Eau == true) {
nextFrame();
}
stop();
Symbol 3898 MovieClip Frame 1
if (/Variables:Arrive eq "SauteToile") {
gotoAndPlay (2);
}
stop();
Symbol 3898 MovieClip Frame 2
play();
Symbol 3898 MovieClip Frame 26
Set("/Variables:ToileDechire", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PerdCouteau");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
Symbol 3900 MovieClip Frame 1
if ((/Variables:PositionMechant eq "Tab2Eau") or (/Variables:PositionMechant eq "Tab3Eau")) {
stop();
} else {
nextFrame();
}
Symbol 3909 MovieClip Frame 1
stop();
Symbol 3909 MovieClip Frame 9
stop();
Symbol 3909 MovieClip Frame 17
stop();
Symbol 3911 MovieClip Frame 1
stop();
Symbol 3911 MovieClip Frame 9
stop();
Symbol 3911 MovieClip Frame 17
stop();
Symbol 3913 MovieClip Frame 1
stop();
Symbol 3913 MovieClip Frame 10
stop();
Symbol 3913 MovieClip Frame 20
stop();
Symbol 3914 MovieClip Frame 1
stop();
Symbol 3914 MovieClip Frame 10
stop();
Symbol 3914 MovieClip Frame 18
stop();
Symbol 3916 MovieClip Frame 1
stop();
Symbol 3916 MovieClip Frame 10
stop();
Symbol 3916 MovieClip Frame 19
stop();
Symbol 3917 MovieClip Frame 1
stop();
Symbol 3924 MovieClip Frame 1
if (/Variables:PorteHangarOuverte == true) {
nextFrame();
}
stop();
Symbol 3959 MovieClip Frame 1
if (/Variables:MechantCordeRamasse == true) {
nextFrame();
}
stop();
Symbol 3960 MovieClip Frame 1
if (/Variables:Tab3MechantPendu == true) {
nextFrame();
}
stop();
Symbol 3967 MovieClip Frame 1
if (/Variables:Tab3Eau == true) {
nextFrame();
}
stop();
Symbol 4027 MovieClip Frame 1
if (/Variables:Arrive eq "GrimpePlanches") {
if ((/Variables:CordePlace == true) and (/Variables:Tab3MechantPendu == false)) {
gotoAndStop (5);
} else {
gotoAndStop (2);
}
} else {
stop();
}
Symbol 4027 MovieClip Frame 2
stop();
Instance of Symbol 2475 MovieClip in Symbol 4027 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if ((/Variables:ObjetSelect == 2) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PlaceCorde");
};
} else if (Key.isDown(37) or Key.isDown(40)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendPlanches");
};
}
}
}
Symbol 4027 MovieClip Frame 3
play();
Symbol 4027 MovieClip Frame 5
stop();
Instance of Symbol 2475 MovieClip in Symbol 4027 MovieClip Frame 5
onClipEvent (enterFrame) {
if (/Variables:InventaireOuvert == false) {
if (Key.isDown(32)) {
if (/Variables:IdleCorde == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TireCorde");
};
} else {
tellTarget ("_parent") {
gotoAndPlay ("Saute");
};
}
}
}
}
Symbol 4027 MovieClip Frame 6
play();
Symbol 4027 MovieClip Frame 18
setProperty("_root.Meg", _x , 137);
setProperty("_root.Meg", _y , 205);
setProperty("_root.Meg", _xscale , 29);
setProperty("_root.Meg", _yscale , 29);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
Set("/Variables:CordePlace", false);
Set("/Variables:CordeRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 4027 MovieClip Frame 19
play();
Symbol 4027 MovieClip Frame 50
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TueMechant");
};
stop();
Symbol 4035 MovieClip Frame 1
if (/Variables:PorteHangarOuverte == true) {
nextFrame();
}
stop();
Symbol 4038 MovieClip Frame 1
if (/Variables:BateauBas == true) {
nextFrame();
}
stop();
Symbol 4046 MovieClip Frame 1
if (/Variables:CutterRamasse == true) {
nextFrame();
}
stop();
Symbol 4064 MovieClip Frame 1
if (/Variables:BateauBas == true) {
nextFrame();
}
stop();
Symbol 4065 MovieClip Frame 1
if (/Variables:EtatActif eq "Tab4Eau") {
nextFrame();
}
stop();
Symbol 4081 MovieClip Frame 1
if (/Variables:BateauAccoste == true) {
nextFrame();
}
stop();
Symbol 4101 MovieClip Frame 1
if (/Variables:PontTombe == true) {
nextFrame();
}
stop();
Symbol 4109 MovieClip Frame 1
if (/Variables:FiletPlace == true) {
nextFrame();
}
stop();
Symbol 4123 MovieClip Frame 1
if (/Variables:ChuppaFilet == true) {
gotoAndStop (16);
} else if (/Variables:ChuppaPlongeFilet == true) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4123 MovieClip Frame 2
Set("/Variables:ChuppaPlongeFilet", false);
Set("/Variables:ChuppaFilet", true);
tellTarget ("_root.Chupa") {
gotoAndStop ("Mort");
};
Symbol 4123 MovieClip Frame 16
Set("/Variables:ChuppaPlongeFilet", false);
Set("/Variables:ChuppaFilet", true);
tellTarget ("_root.Chupa") {
gotoAndStop ("Mort");
};
stop();
Symbol 4125 MovieClip Frame 1
if ((/Variables:SiffletRamasse == false) and (/Variables:Tab5MechantMort == true)) {
nextFrame();
}
stop();
Symbol 4126 MovieClip Frame 1
if (/Variables:Tab5MechantMort == true) {
gotoAndStop (85);
}
Symbol 4126 MovieClip Frame 65
gotoAndPlay (1);
Symbol 4126 MovieClip Frame 66
Set("/Variables:MechantFrappe", true);
Symbol 4126 MovieClip Frame 67
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 4126 MovieClip Frame 77
Set("/Variables:MechantFrappe", false);
gotoAndPlay (1);
Symbol 4126 MovieClip Frame 85
stop();
Symbol 4129 MovieClip Frame 1
if ((/Variables:EtatActif eq "Tab5") or (/Variables:EtatActif eq "Tab5Haut")) {
nextFrame();
}
stop();
Symbol 4150 MovieClip Frame 1
if (/Variables:Arrive eq "PoteauBas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "PoteauHaut") {
gotoAndPlay (62);
} else {
stop();
}
Symbol 4150 MovieClip Frame 2
play();
Symbol 4150 MovieClip Frame 6
stop();
Instance of Symbol 3803 MovieClip in Symbol 4150 MovieClip Frame 6
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3803 MovieClip in Symbol 4150 MovieClip Frame 7
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(123 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4150 MovieClip Frame 52
play();
Symbol 4150 MovieClip Frame 61
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteMarches");
};
stop();
Symbol 4150 MovieClip Frame 62
play();
Symbol 4150 MovieClip Frame 72
stop();
Instance of Symbol 3803 MovieClip in Symbol 4150 MovieClip Frame 72
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3803 MovieClip in Symbol 4150 MovieClip Frame 73
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(123 - int(_currentframe));
};
}
}
}
Symbol 4150 MovieClip Frame 118
play();
Symbol 4150 MovieClip Frame 121
Set("/Variables:From", "Poteau");
tellTarget ("_root") {
gotoAndPlay ("Tab5EauIni");
};
Symbol 4166 MovieClip Frame 1
if (/Variables:Arrive eq "Bateau") {
Set("/Variables:BateauAccoste", false);
tellTarget ("_root.BarqueDevant") {
gotoAndStop (1);
};
tellTarget ("_root.BarqueDerriere") {
gotoAndStop (1);
};
gotoAndPlay (2);
} else {
stop();
}
Symbol 4166 MovieClip Frame 42
Set("/Variables:BateauAccoste", true);
tellTarget ("_root.BarqueDevant") {
gotoAndStop (2);
};
tellTarget ("_root.BarqueDerriere") {
gotoAndStop (2);
};
stop();
Instance of Symbol 2475 MovieClip in Symbol 4166 MovieClip Frame 42
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (Key.isDown(32)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendBarque");
};
tellTarget ("_parent") {
nextFrame();
};
}
};
}
Symbol 4166 MovieClip Frame 43
stop();
Symbol 4195 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 4196 MovieClip Frame 1
if (/:Challenge == true) {
stop();
} else {
fscommand ("load");
play();
}
Symbol 4196 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 4196 MovieClip Frame 3
stop();
Symbol 4199 Button
on (release) {
stopAllSounds();
gotoAndPlay (927);
}
Symbol 4717 Button
on (release) {
Set("/:Challenge", true);
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 4719 Button
on (release) {
nextFrame();
}
Symbol 4721 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 4722 MovieClip Frame 1
stop();
Symbol 4722 MovieClip Frame 2
stop();
Symbol 4722 MovieClip Frame 3
stop();