Frame 1
g_episode_name = "steppenwolf_episode_21";
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 = 2102211;
}
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 658
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=1", 0);
Frame 659
s = new Sound();
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 664
gotoAndPlay (666);
Instance of Symbol 2659 MovieClip "Variables" in Frame 666
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("NitroRamasse");
ArrayNoms.push("ValveRamasse");
ArrayNoms.push("MedikitRamasse");
ArrayNoms.push("SacRamasse");
ArrayNoms.push("LianeRamasse");
ArrayNoms.push("RocheRamasse");
ArrayNoms.push("DerriereVitre");
ArrayNoms.push("PorteVitre");
ArrayNoms.push("Tab1Alarme");
ArrayNoms.push("Tab1Porte1");
ArrayNoms.push("Tab1Porte2");
ArrayNoms.push("Tab1Grille1");
ArrayNoms.push("Tab1Grille2");
ArrayNoms.push("Chaine1Brise");
ArrayNoms.push("Chaine2Brise");
ArrayNoms.push("PontTombe");
ArrayNoms.push("FenetreAvant");
ArrayNoms.push("Mechant1Mort");
ArrayNoms.push("Mechant1Voit");
ArrayNoms.push("Mechant1Tir");
ArrayNoms.push("Mechant2Mort");
ArrayNoms.push("Mechant2Tir");
ArrayNoms.push("Mechant3Mort");
ArrayNoms.push("Tab2Grille1");
ArrayNoms.push("Tab2Grille2");
ArrayNoms.push("FilArrache");
ArrayNoms.push("FenetreOuvert");
ArrayNoms.push("Etrangle");
ArrayNoms.push("FrameControlEau");
ArrayNoms.push("CordeUse");
ArrayNoms.push("CordeAttache");
ArrayNoms.push("CordeBoucle");
ArrayNoms.push("NiveauEau");
ArrayNoms.push("Tab4AlbinosArrive");
ArrayNoms.push("AlbinosTir");
ArrayNoms.push("PontOuvert");
ArrayNoms.push("DessusTube");
ArrayNoms.push("DessusControl");
ArrayNoms.push("BarriereBaisse");
ArrayNoms.push("Controleur");
ArrayNoms.push("PoseMeg");
ArrayNoms.push("AlbTirBoite");
ArrayNoms.push("BoiteBrule");
ArrayNoms.push("CombatFinal");
ArrayNoms.push("LianePlace");
ArrayNoms.push("SasOuvert");
ArrayNoms.push("AccrocheLiane");
ArrayNoms.push("AlbBarre");
ArrayNoms.push("AlbEntre");
ArrayNoms.push("AlbFrappe");
ArrayNoms.push("AlbMort");
ArrayNoms.push("FeuLanceAlb");
if (/Variables:EtatActif eq "Tab1Grimpe") {
Set("/Variables:FrameTab1Poteau", getProperty("_root.StepPoteau", _currentframe));
ArrayNoms.push("FrameTab1Poteau");
}
if (/Variables:EtatActif eq "Tab2Grimpe") {
Set("/Variables:FrameTab2Poteau1", getProperty("_root.StepPoteau1", _currentframe));
ArrayNoms.push("FrameTab2Poteau1");
}
if (/Variables:EtatActif eq "Tab2Grimpe") {
Set("/Variables:FrameTab2Poteau2", getProperty("_root.StepPoteau2", _currentframe));
ArrayNoms.push("FrameTab2Poteau2");
}
if (((/Variables:EtatActif eq "Tab1") or (/Variables:EtatActif eq "Tab1Grimpe")) or (/Variables:EtatActif eq "Tab1Bas")) {
Set("/Variables:Tab1Mec1Frame", getProperty("_root.Mechant1", _currentframe));
ArrayNoms.push("Tab1Mec1Frame");
if (/Variables:Mechant1Mort == false) {
Set("/Variables:Tab1Mec1ObjFrame", getProperty("_root.Mechant1.Obj", _currentframe));
ArrayNoms.push("Tab1Mec1ObjFrame");
}
}
if ((/Variables:EtatActif eq "Tab2") or (/Variables:EtatActif eq "Tab2Grimpe")) {
if ((/Variables:Mechant1Mort == false) and (/Variables:Mechant1Tir == false)) {
Set("/Variables:Tab2Mec1ObjFrame", getProperty("_root.Mechant1.Obj", _currentframe));
ArrayNoms.push("Tab2Mec1ObjFrame");
}
}
if (/Variables:EtatActif eq "Tab7") {
AlbX = getProperty("_root.Mechant", _x);
AlbY = getProperty("_root.Mechant", _y);
AlbFrame = getProperty("_root.Mechant", _currentframe);
}
Set("/Variables:NomsVariablesSave", ArrayNoms.toString());
ArrayValeur = new array();
ArrayType = new array();
i = 0;
while (i < ArrayNoms.length) {
ArrayValeur.Push(eval ("/Variables:" + ArrayNoms[i]));
ArrayType.Push(typeof(eval ("/Variables:" + ArrayNoms[i])));
i = i + 1;
}
Set("/Variables:ValeursVariablesSave", ArrayValeur.toString());
Set("/Variables:TypeVariablesSave", ArrayType.toString());
}
Vitesse = 6;
VarieDelta = 6;
Fleche = 1;
Set("/:Idle", false);
BaseScaleGts = 16.8;
VitX = 30;
VitY = 30;
MoveX = 18;
MoveY = 8;
VitesseTombe = 25;
InvNbTotal = 8;
InventaireOuvert = false;
LargeurObjet = 60;
InvNb = 0;
InvNbMax = 12;
InvObjetSelect = 0;
Instructions = "RULES\r\nIn Steppenwolf: The X-Creatures Project, you guide Meg Crimson and the Steppenwolf himself through a series of action- and logic-based interactive puzzles. \r\nThere are two major components to this application: the Main Game screen, where all the action takes place, and the Inventory page, where the player can stop to think, access stored information and manipulate a variety of items.\r\n\r\n1. The Main Game Screen\r\nCareful manipulation of the character and of the interactive environment is the key to success in this game. The following keyboard commands are available:\r\nUp, Down, Left and Right Arrows: walk in the appropriate direction\r\nUp/Right, Up/Left, Down/Left, Down/Right Arrow combinations: walk along diagonals\r\nHold SHIFT while pressing on a directional arrow combination: run in the appropriate direction\r\nCTRL: jump in the current direction of movement (not available in episode 1)\r\nSPACE: Context-sensitive \"Action Key\", which depends on the interactive element closest to the character's current position. Examples include opening a door, picking up a statue and storing it in the character's inventory, untying a knot to free a hostage, etc.\r\n\r\nThe game's on-screen interface items are very simple:\r\nThe Life Gauge located in the top-left corner measures the hero's current health level. Don't let it fall to zero, or the game is over. \r\nThe special icon located in the top-right corner gives you access to the Inventory screen. It will look like an electronic bracelet when Steppenwolf is the active character, and like a palmtop computer when Meg is in charge.\r\n\r\nFinally, three short-cut keys give quick access to the inventory: \r\nI: Open the inventory\r\nRight/Left arrows: to scroll the item list while the inventory is opened\r\nO: Close the inventory\r\nT: Store the active object and replace it with its successor.\r\n\r\n2.The Inventory Screen\r\nThis page contains four buttons, a slider which allows you to set the sound volume, and a display window whose contents depend on the state of the MAIL and ITEMS buttons.\r\na) MAIL and ITEMS buttons: Click on these buttons to toggle between MAIL and ITEMS mode. \r\nWhen MAIL is active, the display window shows a list of the recent email messages received by the hero. Click on the (underlined) sender's name to read a message; some messages also come with visual attachments, which can be accessed by clicking on the paper clip icon next to the sender's name. \r\nWhen ITEMS is active, a small area at the bottom of the display window is reserved to a scrolling list of the objects picked up by the characters since the beginning of the episode. Roll over the side edges of this area to scroll the list. Click on one of the objects to make it active; a detailed description will appear in the larger area of the display window. \r\nSome inventory items are components which can be assembled into more elaborate objects. For example, making an antidote potion may require several ingredients. If you drag a different object to the main display window while it's already showing something else, the two will automatically merge into one if appropriate. (Otherwise, the new item simply replaces the old one as active object.)\r\nb) OK button: returns to the main game screen\r\nc) HELP button: read the game's instructions\r\nd) QUIT button: leave the current episode and return to the series' main menu.\r\ne) IMAGE QUALITY buttons: if the animation is choppy or slow on your computer, select a lower image quality.\r\n\r\nMinimum system requirements:\r\nWindows 95/98/NT/2000\r\nMinimum 200MHz processor, Windows compatible sound card, 24 bit display.\r\nMacintosh OS\r\nMinimum 200MHz PowerPC processor, 24 bit display.\r\n";
InvObjet1 = 0;
InvObjet2 = 0;
InvObjet3 = 0;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
InvObjet11 = 0;
InvObjet12 = 0;
InvMail = 0;
InvMailMax = 6;
InvMail1 = 1;
InvMail2 = 0;
InvMail3 = 0;
InvMail4 = 0;
InvMail5 = 0;
InvMail6 = 0;
Mail1 = "Mr. Sanchez,\r\nThose who leave the Brotherhood are no longer welcomed in the presence of the Treasure. If you value your life, you will not ask again. Ever.";
MegCri = false;
VarX = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
GtsVisible = 1;
NitroRamasse = false;
ValveRamasse = false;
MedikitRamasse = false;
SacRamasse = false;
LianeRamasse = false;
RocheRamasse = false;
Tab1Alarme = false;
Tab1Porte1 = false;
Tab1Porte2 = false;
Tab1Grille1 = false;
Tab1Grille2 = false;
Chaine1Brise = false;
Chaine2Brise = false;
PontTombe = false;
DerriereVitre = false;
PorteVitre = false;
Mechant1Mort = false;
Mechant1Voit = false;
Mechant1Tir = false;
Mechant2Mort = false;
Mechant2Tir = false;
Mechant3Mort = false;
Mechant1Devant = false;
Mechant2Devant = false;
Tab1Mec1Frame = 1;
Tab1Mec1ObjFrame = 1;
Tab2Mec1ObjFrame = 1;
FrameTab1Poteau = 1;
Tab2Grille1 = false;
Tab2Grille2 = false;
FilArrache = false;
FenetreOuvert = false;
FrameTab2Poteau2 = 1;
FrameTab2Poteau1 = 1;
FrameControlEau = 1;
CordeUse = false;
CordeAttache = false;
CordeBoucle = false;
NiveauEau = 0;
Tab4AlbinosArrive = false;
AlbinosDevant = false;
AlbinosTir = false;
PontOuvert = true;
DessusTube = false;
AlbEntre = false;
DessusControl = false;
BarriereBaisse = false;
Controleur = "Gauche";
PoseMeg = "Pos1";
BoiteBrule = false;
CombatFinal = false;
LianePlace = false;
AlbTirBoite = false;
SasOuvert = false;
AccrocheLiane = false;
AlbBarre = false;
AlbFrappe = false;
AlbMort = false;
Etrangle = false;
FeuLanceAlb = false;
AlbX = 240;
AlbY = 270;
AlbFrame = 3;
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
}
Frame 667
Set("/Variables:From", "Debut");
gotoAndPlay (668);
Frame 668
if (/Variables:From eq "Tab2Grille2") {
Set("/Variables:Arrive", "Tab1Grille2");
gotoAndStop (693);
}
setProperty("_root.DecoupeTombeTrou", _visible , 0);
Set("/Variables:Mechant1Devant", false);
Set("/Variables:Mechant2Tir", false);
Set("/Variables:Mechant2Voit", false);
Set("/Variables:Mechant1Tir", false);
Set("/Variables:Mechant1Voit", false);
Set("/Variables:Mechant2Tir", false);
Set("/Variables:Mechant2Voit", false);
Set("/Variables:Mechant2Devant", false);
Frame 669
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
setProperty("_root.DecoupeTombeTrou", _visible , 0);
if (/Variables:From eq "Tab2Porte1") {
setProperty("_root.Meg", _x , 100);
setProperty("_root.Meg", _y , 270);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
gotoAndStop (681);
}
if (/Variables:From eq "Tab2Porte2") {
setProperty("_root.Meg", _x , 511);
setProperty("_root.Meg", _y , 147);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Fenetre") {
Set("/Variables:Arrive", "Fenetre");
gotoAndStop (693);
}
Instance of Symbol 2608 MovieClip in Frame 669
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.CacheSortPorte2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Porte2 == true)) {
Set("/Variables:From", "Tab1Porte2");
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
if (_root.CachePorte2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
tellTarget ("_root.Porte2") {
play();
};
}
if (((getProperty("_root.Pont", _currentframe) == 1) or (getProperty("_root.Pont", _currentframe) == 19)) or (getProperty("_root.Pont", _currentframe) == 20)) {
if (197 < getProperty("_root.Meg", _y)) {
setProperty("Poteau1", _visible , 0);
} else {
setProperty("Poteau1", _visible , 1);
}
if (176 < getProperty("_root.Meg", _y)) {
setProperty("Poteau3", _visible , 0);
} else {
setProperty("Poteau3", _visible , 1);
}
} else {
setProperty("Poteau1", _visible , 0);
setProperty("Poteau3", _visible , 0);
}
if (/Variables:FenetreAvant == true) {
setProperty("ChaineDevant", _visible , 1);
} else {
setProperty("ChaineDevant", _visible , 0);
}
if ((_root.CacheSortFenetre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:FenetreAvant == true)) {
Set("/Variables:Arrive", "SortFenetre");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if ((_root.CacheNitro.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:NitroRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=5", 0);
Set("/Variables:NitroRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Nitrogen") {
gotoAndStop (2);
};
}
if ((_root.CacheSortPorteVitre.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DerriereVitre == true)) and (/Variables:PorteVitre == true)) {
Set("/Variables:DerriereVitre", false);
Set("/Variables:PorteVitre", false);
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
tellTarget ("_root.FenetreAvant") {
gotoAndStop (1);
};
tellTarget ("_root.TitePorte") {
play();
};
}
if (((_root.CacheTitePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:DerriereVitre == true)) and (/Variables:PorteVitre == false)) {
tellTarget ("_root.TitePorte") {
play();
};
tellTarget ("_root.FenetreAvant") {
gotoAndStop (3);
};
}
if (((_root.CacheChaine2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Chaine2Brise == false)) and (/Variables:ObjetSelect == 1)) {
Set("/Variables:Stoppe", true);
if (/Variables:Chaine1Brise == true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseChaine2Flip");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseChaine2");
};
}
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (((_root.CacheChaine1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Chaine1Brise == false)) and (/Variables:ObjetSelect == 1)) {
Set("/Variables:Stoppe", true);
if (/Variables:Chaine2Brise == true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseChaine1Flip");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BriseChaine1");
};
}
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CacheTuyauCentre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "TuyauCentre");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if (/Variables:Mechant1Mort == false) {
if ((getProperty("_root.Mechant1", _y) < getProperty("_root.Meg", _y)) and (/Variables:Mechant1Devant == true)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:Mechant1Devant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant1", _y)) and (/Variables:Mechant1Devant == false)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:Mechant1Devant", true);
}
if (/Variables:Mechant1Tir == true) {
tellTarget ("_root.Mechant1") {
gotoAndStop (2);
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
} else if ((/Variables:Mechant1Voit == true) and (/Variables:Mechant1Tir == false)) {
XCentre = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.Centre", _x);
YCentre = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.Centre", _y);
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
Droite1 = false;
Droite2 = false;
Droite3 = false;
Droite4 = false;
X1 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P1", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P1", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P2", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P2", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P2", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P4", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P4", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P1", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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:Mechant1Tir", true);
} else {
Set("/Variables:Mechant1Tir", 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);
Set("/Variables:Tombe", true);
Set("/Variables:Arrive", "Tab1Bas");
setProperty("_root.DecoupeTombeTrou", _visible , 1);
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 670
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:Run", false);
setProperty("_root.DecoupeTombeTrou", _visible , 0);
stop();
Frame 675
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 681
if (getProperty("_root.Mechant1", _currentframe) == 2) {
tellTarget ("_root.Mechant1") {
gotoAndStop ("Alarme");
};
}
Set("/Variables:Tombe", false);
Set("/Variables:EtatActif", "Tab1Bas");
Set("/Variables:EtatVide", "Tab1BasStoppe");
Set("/Variables:Mechant1Tir", false);
Set("/Variables:Run", false);
stop();
Instance of Symbol 2608 MovieClip in Frame 681
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.CacheGrille2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "EntreGrille2");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if (_root.CacheTuyauBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "TuyauBas");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if (_root.CacheVersTab2Porte.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Porte1 == true)) {
Set("/Variables:From", "Tab1Porte1");
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
if ((_root.CacheValve.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ValveRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=7", 0);
Set("/Variables:ValveRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Valve") {
gotoAndStop (2);
};
}
if (_root.CachePorte1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
tellTarget ("_root.Porte1") {
play();
};
}
if (/Variables:Mechant2Mort == false) {
if (/Variables:Mechant2Tir == true) {
tellTarget ("_root.Mechant2") {
gotoAndStop ("Tir");
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P1", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P2", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P3", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P4", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P5", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P6", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P7", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P8", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (8);
};
}
} else if (/Variables:Mechant2Tir == false) {
XCentre = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.Centre", _x);
YCentre = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.Centre", _y);
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
Droite1 = false;
Droite2 = false;
Droite3 = false;
Droite4 = false;
X1 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P1", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P1", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P2", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P2", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P2", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P4", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P4", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P1", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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:Mechant2Tir", true);
} else {
Set("/Variables:Mechant2Tir", 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);
Set("/Variables:Tombe", true);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 690
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 693
Set("/Variables:EtatActif", "Tab1Grimpe");
Set("/Variables:EtatVide", "Tab1Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2608 MovieClip in Frame 693
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (/Variables:Mechant1Mort == false) {
if ((getProperty("_root.Mechant1", _y) < getProperty("_root.Meg", _y)) and (/Variables:Mechant1Devant == true)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:Mechant1Devant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant1", _y)) and (/Variables:Mechant1Devant == false)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:Mechant1Devant", true);
}
if ((/Variables:Mechant1Voit == true) and ((getProperty("_root.StepPoteau", _currentframe) >= 35) and (216 >= getProperty("_root.StepPoteau", _currentframe)))) {
Set("/Variables:Mechant1Tir", true);
tellTarget ("_root.Mechant1") {
gotoAndStop (2);
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
} else if (/Variables:Mechant1Tir == true) {
Set("/Variables:Mechant1Tir", false);
}
}
}
};
}
Frame 703
Set("/Variables:Mechant1Tir", false);
Set("/Variables:Mechant1Voit", false);
Set("/Variables:Mechant2Tir", false);
Set("/Variables:Mechant2Voit", false);
Set("/Variables:Mechant2Devant", false);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=2", 0);
if (/Variables:From eq "Tab1Grille1") {
Set("/Variables:Arrive", "Grille1");
gotoAndStop (714);
}
if (/Variables:From eq "Tab1Grille2") {
Set("/Variables:Arrive", "Grille2");
gotoAndStop (714);
}
Frame 704
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:From eq "SortFenetre") {
Set("/Variables:Arrive", "SortFenetre");
gotoAndStop (714);
}
if (/Variables:From eq "Tab1Porte2") {
setProperty("_root.Meg", _x , 58);
setProperty("_root.Meg", _y , 240);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Instance of Symbol 2608 MovieClip in Frame 704
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) and (/Variables:MedikitRamasse == false)) and _root.CacheMed.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=4", 0);
Set("/Variables:MedikitRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Med") {
gotoAndStop (2);
};
}
if (_root.Meg._y < 316) {
setProperty("_root.HelicoDevant", _visible , 1);
} else {
setProperty("_root.HelicoDevant", _visible , 0);
}
if (_root.Meg._y < 237) {
setProperty("_root.ClotureDevant", _visible , 1);
} else {
setProperty("_root.ClotureDevant", _visible , 0);
}
if (_root.CacheVersTab1Porte.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Porte1 == true)) {
Set("/Variables:From", "Tab2Porte1");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CachePorte1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
tellTarget ("_root.Porte1") {
play();
};
}
if (_root.CacheVersTab1Porte2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1Porte2 == true)) {
Set("/Variables:From", "Tab2Porte2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CachePorte2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
tellTarget ("_root.Porte2") {
play();
};
}
if ((_root.CacheHelico.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Mechant3Mort == true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=8", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendHelico");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
}
if ((_root.CacheLanceValve.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 2)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceValve");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
}
if (_root.CacheSauteTuyau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Toit");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if ((_root.CacheSauteFil.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:FilArrache == true)) {
Set("/Variables:Arrive", "SauteFil");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheGrille.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "EntreGrille2");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheTube1Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Tube1Bas");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheTube2Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Tube2Bas");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheTube2Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Tube2Haut");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (/Variables:Mechant3Mort == false) {
if ((getProperty("_root.Mechant2", _y) < getProperty("_root.Meg", _y)) and (/Variables:Mechant2Devant == true)) {
_root.Swap.swapDepths(_root.Mechant2);
Set("/Variables:Mechant2Devant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant2", _y)) and (/Variables:Mechant2Devant == false)) {
_root.Swap.swapDepths(_root.Mechant2);
Set("/Variables:Mechant2Devant", true);
}
if (/Variables:Mechant2Tir == true) {
tellTarget ("_root.Mechant2") {
gotoAndStop ("Tir");
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P1", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P2", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P3", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P4", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P5", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P6", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D2", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D2", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D6", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P7", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D3", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D3", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D7", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.P8", _x);
YCentre = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D4", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D4", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D8", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D5", _x);
Y1 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D5", _y);
X2 = getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.D1", _x);
Y2 = getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant2.Obj") {
gotoAndStop (8);
};
}
} else if (/Variables:Mechant2Tir == false) {
XCentre = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.Centre", _x);
YCentre = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.Centre", _y);
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
Droite1 = false;
Droite2 = false;
Droite3 = false;
Droite4 = false;
X1 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P1", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P1", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P2", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P2", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P2", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P4", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.Obj.P4", _y);
X2 = (getProperty("_root.Mechant2", _x) + getProperty("_root.Mechant2.Obj", _x)) + getProperty("_root.Mechant2.Obj.P1", _x);
Y2 = (getProperty("_root.Mechant2", _y) + getProperty("_root.Mechant2.Obj", _y)) + getProperty("_root.Mechant2.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:Mechant2Tir", true);
} else {
Set("/Variables:Mechant2Tir", false);
}
}
}
if (/Variables:Mechant1Mort == false) {
if ((getProperty("_root.Mechant1", _y) < getProperty("_root.Meg", _y)) and (/Variables:Mechant1Devant == true)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:Mechant1Devant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant1", _y)) and (/Variables:Mechant1Devant == false)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:Mechant1Devant", true);
}
if (/Variables:Mechant1Tir == true) {
tellTarget ("_root.Mechant1") {
gotoAndStop (2);
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
} else if ((/Variables:Mechant1Voit == true) and (/Variables:Mechant1Tir == false)) {
XCentre = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.Centre", _x);
YCentre = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.Centre", _y);
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
Droite1 = false;
Droite2 = false;
Droite3 = false;
Droite4 = false;
X1 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P1", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P1", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P2", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P2", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P2", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P4", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P3", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P4", _x);
Y1 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.Obj.P4", _y);
X2 = (getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.Obj", _x)) + getProperty("_root.Mechant1.Obj.P1", _x);
Y2 = (getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.Obj", _y)) + getProperty("_root.Mechant1.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:Mechant1Tir", true);
} else {
Set("/Variables:Mechant1Tir", false);
}
}
}
if ((getProperty("_root.Meg", _y) < 228) and (/Variables:Mechant1Tir == true)) {
Set("/Variables:Mechant1Tir", 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);
Set("/Variables:Tombe", true);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 705
Set("/Variables:EtatActif", "Tab2");
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:Run", false);
stop();
Frame 710
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 714
Set("/Variables:EtatActif", "Tab2Grimpe");
Set("/Variables:EtatVide", "Tab2Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 721
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
Instance of Symbol 2608 MovieClip in Frame 721
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:BarriereBaisse == true) {
setProperty("_root.BarriereDevant", _visible , 0);
setProperty("_root.BarriereDerriere", _visible , 1);
} else {
setProperty("_root.BarriereDevant", _visible , 1);
setProperty("_root.BarriereDerriere", _visible , 0);
}
if (119 < getProperty("_root.Meg", _y)) {
setProperty("_root.TuyauDevant", _visible , 0);
} else {
setProperty("_root.TuyauDevant", _visible , 1);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Meg", _y) < 143) {
setProperty("_root.Cloture2Devant", _visible , 1);
} else {
setProperty("_root.Cloture2Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 173) {
setProperty("_root.Cloture1Devant", _visible , 1);
} else {
setProperty("_root.Cloture1Devant", _visible , 0);
}
if (((getProperty("_root.Meg", _y) < 228) and (/Variables:DessusTube == false)) and (!_root.Dessus.hitTest(_root.Meg._x, _root.Meg._y, true))) {
setProperty("_root.Turbine2Devant", _visible , 1);
} else {
setProperty("_root.Turbine2Devant", _visible , 0);
}
if (((getProperty("_root.Meg", _y) < 212) and (/Variables:DessusTube == false)) and (!_root.Dessus.hitTest(_root.Meg._x, _root.Meg._y, true))) {
setProperty("_root.Turbine1Devant", _visible , 1);
} else {
setProperty("_root.Turbine1Devant", _visible , 0);
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (_root.Dessus.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DessusTube", true);
Set("/Variables:DessusControl", false);
setProperty("_root.ConsoleDevant", _visible , 0);
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
} else if (_root.Control.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DessusTube", false);
Set("/Variables:DessusControl", true);
setProperty("_root.ConsoleDevant", _visible , 1);
tellTarget ("_root.Collider") {
gotoAndStop (3);
};
} else {
Set("/Variables:DessusTube", false);
Set("/Variables:DessusControl", false);
setProperty("_root.ConsoleDevant", _visible , 0);
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
}
if (((key.isDown(32) and (/Variables:SacRamasse == false)) and _root.CacheSac.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:DessusTube == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=9", 0);
Set("/Variables:SacRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Sac") {
gotoAndStop (2);
};
}
if (((_root.CacheBoutonPasserelle.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PontOuvert == true)) and Key.isDown(32)) and (/Variables:Controleur eq "Mort")) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=10", 0);
tellTarget ("_root.Pont") {
play();
};
}
if ((_root.CacheCasseGeule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DessusControl == true)) and (/Variables:Controleur eq "Feu")) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CasseGeule");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (((_root.CacheLanceFlair.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DessusTube == false)) and Key.isDown(32)) and (/Variables:ObjetSelect == 6)) {
if ((/Variables:Controleur eq "Gauche") or (/Variables:Controleur eq "Arret")) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceFlair");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("NotNow");
};
}
}
if ((_root.CacheEchelle1Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DessusTube == true)) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle1Haut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if ((_root.CacheEchelle1Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DessusTube == false)) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle1Bas");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if ((_root.CacheEchelle2Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DessusTube == true)) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle2Haut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if ((_root.CacheEchelle2Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DessusTube == false)) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle2Bas");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheEchelle3Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle3Haut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if ((_root.CacheVoit2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:BarriereBaisse == true)) and (/Variables:Tab4AlbinosArrive == false)) {
Set("/Variables:Tab4AlbinosArrive", true);
tellTarget ("_root.PorteAlbinos") {
play();
};
}
if ((getProperty("_root.Mechant1", _y) < getProperty("_root.Meg", _y)) and (/Variables:AlbinosDevant == true)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:AlbinosDevant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant1", _y)) and (/Variables:AlbinosDevant == false)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:AlbinosDevant", true);
}
if (/Variables:AlbinosTir == true) {
tellTarget ("_root.Mechant1") {
gotoAndStop (2);
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if (((Key.isDown(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if (((Key.isDown(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Tombe");
};
}
}
};
}
Frame 722
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:Run", false);
stop();
Frame 727
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 731
Set("/Variables:EtatActif", "Tab4Grimpe");
Set("/Variables:EtatVide", "Tab4Grimpe");
Set("/Variables:AlbinosTir", "false");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 736
if (212 < getProperty("_root.Meg", _y)) {
setProperty("_root.DecoupeTubes", _visible , 0);
}
stop();
Frame 744
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
Set("/Variables:AlbinosTir", false);
Set("/Variables:AlbinosDevant", false);
if (/Variables:From eq "Tab4") {
Set("/Variables:Arrive", "GlissePoteau");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
Frame 745
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:EtatActif", "Tab5");
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
if (/Variables:From eq "Tab6") {
Set("/Variables:From", "");
Set("/Variables:AlbTirBoite", true);
setProperty("_root.Sas", _visible , 0);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Instance of Symbol 2608 MovieClip in Frame 745
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.CacheSas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(17)) {
Set("/Variables:Arrive", "SauteSas");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
if ((_root.CacheSas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 9)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceRoche");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
if ((_root.CacheSauteChute.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:CombatFinal == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SauteChute");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
if ((getProperty("_root.Mechant1", _y) < getProperty("_root.Meg", _y)) and (/Variables:AlbinosDevant == true)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:AlbinosDevant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant1", _y)) and (/Variables:AlbinosDevant == false)) {
_root.Swap.swapDepths(_root.Mechant1);
Set("/Variables:AlbinosDevant", true);
}
if (/Variables:AlbinosTir == true) {
tellTarget ("_root.Mechant1") {
gotoAndStop (2);
};
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P1", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (1);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P2", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P3", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P4", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P5", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P6", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D2", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D2", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D6", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D6", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P7", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D3", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D3", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D7", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D7", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.P8", _x);
YCentre = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D4", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D4", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D8", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D8", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite1 = true;
} else {
Droite1 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite1 = true;
} else {
Droite1 = false;
}
X1 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D5", _x);
Y1 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D5", _y);
X2 = getProperty("_root.Mechant1", _x) + getProperty("_root.Mechant1.D1", _x);
Y2 = getProperty("_root.Mechant1", _y) + getProperty("_root.Mechant1.D1", _y);
M1 = (Y2 - Y1) / (X2 - X1);
B1 = Y1 - (M1 * X1);
if (B1 < (YCentre - (M1 * XCentre))) {
if ((YMeg - (M1 * XMeg)) >= B1) {
Droite2 = true;
} else {
Droite2 = false;
}
} else if (B1 >= (YMeg - (M1 * XMeg))) {
Droite2 = true;
} else {
Droite2 = false;
}
if ((Droite1 == true) and (Droite2 == true)) {
tellTarget ("_root.Mechant1.Obj") {
gotoAndStop (8);
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if (((Key.isDown(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if (((Key.isDown(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 746
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:Run", false);
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
stop();
Frame 752
Set("/Variables:EtatActif", "Tab5Grimpe");
Set("/Variables:EtatVide", "Tab5Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 755
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 761
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
if (/Variables:From eq "Tab5") {
Set("/Variables:Arrive", "GlisseChute");
gotoAndStop (770);
}
Frame 762
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab6Stoppe");
Set("/Variables:EtatActif", "Tab6");
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
if (/Variables:From eq "SasOuvert") {
setProperty("_root.Meg", _x , 473);
setProperty("_root.Meg", _y , 140);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2608 MovieClip in Frame 762
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 (426 < getProperty("_root.Meg", _x)) {
setProperty("_root.PalmierDevant", _visible , 1);
} else {
setProperty("_root.PalmierDevant", _visible , 0);
}
if ((_root.CacheRoche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RocheRamasse == false)) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=13", 0);
Set("/Variables:RocheRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 8);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Roche") {
gotoAndStop (2);
};
tellTarget ("_root.OmbreRoche") {
gotoAndStop (2);
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab6");
Set("/Variables:CombatFinal", true);
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
gotoAndStop ("Tab6Grimpe");
}
if (_root.CacheEmbarquePalmier.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Palmier");
gotoAndStop ("Tab6Grimpe");
}
if (_root.CacheSautePalmier.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "SautePalmier");
gotoAndStop ("Tab6Grimpe");
}
if ((_root.CacheLianeHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:LianeRamasse == false)) {
Set("/Variables:LianeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Liane") {
gotoAndStop (2);
};
}
if (_root.CacheFalaiseBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "FalaiseBas");
gotoAndStop ("Tab6Grimpe");
}
if (_root.CacheFalaiseHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "FalaiseHaut");
gotoAndStop ("Tab6Grimpe");
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (Key.isDown(16)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if (((Key.isDown(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if (((Key.isDown(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
if (Key.isDown(17)) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Saute");
};
} else {
if (/Variables:Run == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Cours");
};
} else {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
}
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if ((((Key.isDown(17) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
Set("/Variables:Stoppe", true);
Set("/Variables:Tombe", true);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 763
Set("/Variables:EtatActif", "Tab6");
Set("/Variables:EtatVide", "Tab6Stoppe");
Set("/Variables:Run", false);
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
stop();
Frame 770
Set("/Variables:EtatActif", "Tab6Grimpe");
Set("/Variables:EtatVide", "Tab6Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Frame 774
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 782
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
if (/Variables:From eq "Tab5") {
gotoAndStop (798);
}
Frame 783
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab7Stoppe");
Set("/Variables:EtatActif", "Tab7");
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
setProperty("_root.Mechant", _x , /Variables:AlbX);
setProperty("_root.Mechant", _y , /Variables:AlbY);
tellTarget ("_root.Mechant") {
gotoAndStop(/Variables:AlbFrame);
};
Instance of Symbol 2608 MovieClip in Frame 783
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.Mechant", _currentframe) == 1) or (getProperty("_root.Mechant", _currentframe) == 7)) or (getProperty("_root.Mechant", _currentframe) == 8)) and _root.CacheBoiteElec.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:AlbFrappe == true)) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
Set("/Variables:StepPenche", true);
tellTarget ("_root.Meg") {
gotoAndPlay ("Penche");
};
}
if ((getProperty("_root.Mechant", _y) < getProperty("_root.Meg", _y)) and (/Variables:AlbinosDevant == true)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:AlbinosDevant", false);
} else if ((getProperty("_root.Meg", _y) < getProperty("_root.Mechant", _y)) and (/Variables:AlbinosDevant == false)) {
_root.Swap.swapDepths(_root.Mechant);
Set("/Variables:AlbinosDevant", true);
}
if (/Variables:AlbBarre == true) {
if (/Variables:AlbFrappe == false) {
if (/Variables:EtatActif eq "Tab7") {
XMeg = getProperty("_root.Meg", _x);
YMeg = getProperty("_root.Meg", _y);
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 ((((getProperty("_root.Mechant", _x) < (getProperty("_root.Meg", _x) + 60)) and ((getProperty("_root.Meg", _x) - 60) < getProperty("_root.Mechant", _x))) and (getProperty("_root.Mechant", _y) < (getProperty("_root.Meg", _y) + 40))) and ((getProperty("_root.Meg", _y) - 40) < getProperty("_root.Mechant", _y))) {
Set("/Variables:AlbFrappe", true);
tellTarget ("_root.Mechant.Obj") {
gotoAndPlay ("Attaque");
};
}
}
}
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.Obj") {
gotoAndStop ("Tombe");
};
}
}
};
}
Frame 784
Set("/Variables:EtatActif", "Tab7");
Set("/Variables:EtatVide", "Tab7Stoppe");
Set("/Variables:Run", false);
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
stop();
Frame 795
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 798
Set("/Variables:EtatActif", "Tab7Grimpe");
Set("/Variables:EtatVide", "Tab7Grimpe");
if (/Variables:Arrive ne "AlbMeurt") {
setProperty("_root.Meg", _visible , 0);
}
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2608 MovieClip in Frame 798
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if ((Key.isDown(32) and (/Variables:ObjetSelect == 6)) and (/Variables:FeuLanceAlb == false)) {
tellTarget ("_root.StepAlb") {
gotoAndPlay ("Feu");
};
}
}
};
}
Frame 806
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 807
prevFrame();
Frame 808
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 4518 MovieClip in Frame 808
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 811
if (/Save:Fichier ne "") {
gotoAndStop (807);
} else {
gotoAndPlay (665);
}
Frame 812
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
gotoAndPlay (835);
Frame 819
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
gotoAndPlay (835);
Frame 830
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Save:TempsDepart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (905);
Frame 835
stopAllSounds();
Frame 904
stop();
Frame 1394
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=19", 0);
Frame 1461
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 280 Button
on (release) {
stopAllSounds();
gotoAndPlay (659);
}
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 2
gotoAndStop (1);
Symbol 614 MovieClip Frame 6
gotoAndStop (1);
Symbol 614 MovieClip Frame 7
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (9);
}
Symbol 614 MovieClip Frame 8
gotoAndPlay (10);
Symbol 614 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 614 MovieClip Frame 35
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 656 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 656 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 656 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 656 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 656 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 656 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 656 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 656 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 656 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 656 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 663 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 663 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 669 Button
on (release) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
}
Symbol 671 Button
on (keyPress "t") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "T") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "i") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
on (keyPress "I") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root.GameSaved") {
play();
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 672 MovieClip Frame 1
stop();
Symbol 672 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 685 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 697 Button
on (release) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 707 Button
on (release) {
nextFrame();
}
Symbol 716 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 717 Button
on (release) {
gotoAndStop (1);
}
Symbol 718 MovieClip Frame 1
stop();
Symbol 726 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 737 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 739 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 740 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 742 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 2
stop();
Symbol 742 MovieClip Frame 3
stop();
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 4
gotoAndPlay (2);
Symbol 752 Button
on (release) {
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
Set("/Variables:ObjetRemove", 3);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (8);
};
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("/Inventaire") {
gotoAndStop (1);
};
}
Symbol 753 MovieClip Frame 1
stop();
Symbol 757 Button
on (release) {
Set("/Variables:ObjetRemove", 5);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:Vie", /Variables:Vie + 50);
if (100 < /Variables:Vie) {
Set("/Variables:Vie", 100);
}
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("/Inventaire") {
gotoAndStop (1);
};
}
Symbol 758 Button
on (release) {
gotoAndStop (2);
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 2
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 1);
Symbol 764 MovieClip Frame 3
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 2);
Symbol 764 MovieClip Frame 4
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 3);
Symbol 764 MovieClip Frame 5
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 4);
Symbol 764 MovieClip Frame 6
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 5);
Symbol 764 MovieClip Frame 7
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 6);
Symbol 764 MovieClip Frame 8
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 7);
Symbol 764 MovieClip Frame 9
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 8);
Symbol 764 MovieClip Frame 10
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 9);
Symbol 767 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 768 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 769 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 8)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=15", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 8);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 770 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 7)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=15", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 7);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 771 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 772 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 772 MovieClip Frame 2
stop();
Symbol 773 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 773 MovieClip Frame 2
gotoAndPlay (1);
Symbol 773 MovieClip Frame 3
stop();
Symbol 776 MovieClip Frame 1
stop();
Symbol 776 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 777 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 777 MovieClip Frame 2
gotoAndPlay (1);
Symbol 777 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 777 MovieClip Frame 4
gotoAndPlay (1);
Symbol 777 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 777 MovieClip Frame 6
gotoAndStop (1);
Symbol 791 Button
on (release) {
if (/Variables:Tombe != true) {
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
}
Symbol 792 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 797 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 797 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 798 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 798 MovieClip Frame 2
stop();
Symbol 799 Button
on (release) {
gotoAndStop (2);
}
Symbol 800 Button
on (release) {
gotoAndStop (3);
}
Symbol 802 Button
on (release) {
gotoAndStop (4);
}
Symbol 803 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 803 MovieClip Frame 2
_quality = "LOW";
Symbol 803 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 803 MovieClip Frame 4
_quality = "HIGH";
Symbol 804 Button
on (keyPress "o") {
trace("mange d'l'ostie d'marde !!!");
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 812 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 814 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 816 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 819 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 820 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 821 MovieClip Frame 1
stop();
Symbol 821 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 827 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 828 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 831 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 832 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 834 MovieClip Frame 1
stop();
Symbol 835 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 836 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 837 MovieClip Frame 1
stop();
Symbol 837 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 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 2
stop();
Symbol 838 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 838 MovieClip Frame 6
stop();
Symbol 839 MovieClip Frame 1
stop();
Symbol 841 Button
on (release) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 842 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 847 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 849 Button
on (keyPress "o") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Tombe != true)) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 850 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 852 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 854 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 854 MovieClip Frame 2
stop();
Symbol 855 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
stop();
Symbol 855 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
stop();
Instance of Symbol 686 MovieClip "BoutonVolume" in Symbol 855 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 855 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 686 MovieClip "BoutonVolume" in Symbol 855 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 914 MovieClip Frame 35
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 915 MovieClip Frame 50
tellTarget ("_root.Pont") {
play();
};
Set("/Variables:ObjetRemove", 1);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 948 MovieClip Frame 20
Set("/Variables:FilArrache", true);
tellTarget ("_root.Fil") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1110 MovieClip Frame 20
Set("/Variables:Mechant1Mort", true);
Set("/Variables:Mechant1Voit", false);
Set("/Variables:Mechant1Tir", false);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=3", 0);
tellTarget ("_root.Mechant1") {
gotoAndStop ("Mort");
};
tellTarget ("_root.BalanceCorde") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1267 MovieClip Frame 27
Set("/Variables:ObjetRemove", 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:Mechant3Mort", true);
tellTarget ("_root.Mechant2") {
gotoAndStop ("Mort");
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1677 MovieClip Frame 269
tellTarget ("_parent") {
gotoAndStop ("LibereMeg");
};
Symbol 1722 MovieClip Frame 12
tellTarget ("_parent") {
gotoAndStop ("EntreBarrage");
};
Symbol 1896 MovieClip Frame 105
Set("/Variables:From", "Helico");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1994 MovieClip Frame 28
Set("/Variables:Arrive", "AllumeFeu");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2073 MovieClip Frame 21
tellTarget ("_root.Controleur") {
gotoAndStop ("Mort");
};
Symbol 2073 MovieClip Frame 22
Set("/Variables:Controleur", "Mort");
Set("/Variables:PoseMeg", "Pos2");
tellTarget ("_root.MegMovie") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2138 MovieClip Frame 9
Set("/Variables:From", "Tab5");
Set("/Variables:AlbinosTir", false);
tellTarget ("_root") {
gotoAndPlay ("Tab6Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2181 MovieClip Frame 20
Set("/Variables:LianePlace", true);
Set("/Variables:ObjetRemove", 9);
Set("/Variables:ObjetSelect", 0);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=16", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Liane") {
gotoAndStop (2);
};
tellTarget ("_parent") {
gotoAndStop ("FrappeAlbinos");
};
Symbol 2225 MovieClip Frame 27
Set("/Variables:From", "Tab5");
Set("/Variables:LianePlace", true);
tellTarget ("_root.Liane") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndPlay ("Tab7Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2343 MovieClip Frame 30
Set("/Variables:Arrive", "AlbMeurt");
Set("/Variables:AlbMort", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=18", 0);
tellTarget ("_root") {
gotoAndStop ("Tab7Grimpe");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2389 MovieClip Frame 2
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
Symbol 2389 MovieClip Frame 59
tellTarget ("_root.SonsChute") {
gotoAndStop ("Play");
};
Symbol 2389 MovieClip Frame 84
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
tellTarget ("_parent") {
gotoAndStop ("Puzzle");
};
Symbol 2525 MovieClip Frame 100
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2558 MovieClip Frame 54
setProperty("_root.Meg", _x , 204);
setProperty("_root.Meg", _y , 108);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2591 MovieClip Frame 1
stop();
Symbol 2604 MovieClip Frame 1
Set("../:Pos" + _name, 1);
stop();
Symbol 2604 MovieClip Frame 3
Set("../:Pos" + _name, 2);
Set("../:NbImpuls", ../:NbImpuls - 1);
stop();
Symbol 2604 MovieClip Frame 5
Set("../:Pos" + _name, 3);
stop();
Symbol 2604 MovieClip Frame 7
stop();
Set("../:Pos" + _name, 4);
Symbol 2604 MovieClip Frame 9
Set("../:Pos" + _name, 5);
stop();
Symbol 2604 MovieClip Frame 10
Set("../:NbImpuls", ../:NbImpuls + 1);
Symbol 2609 Button
on (keyPress "a") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=14", 0);
if ((((((((((((((../:PosTuile11 == 4) and (../:PosTuile13 == 3)) and (../:PosTuile15 == 4)) and (../:PosTuile26 == 2)) and (../:PosTuile36 == 5)) and (../:PosTuile42 == 2)) and (../:PosTuile44 == 2)) and (../:PosTuile49 == 3)) and (../:PosTuile56 == 2)) and (../:PosTuile65 == 4)) and (../:PosTuile68 == 5)) and (../:PosTuile69 == 4)) and (../:PosTuile76 == 2)) and (../:PosTuile80 == 2)) {
tellTarget ("../") {
gotoAndStop ("Gagne");
};
} else {
tellTarget ("../") {
gotoAndPlay ("Perd");
};
}
}
on (keyPress "A") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=14", 0);
if ((((((((((((((../:PosTuile11 == 4) and (../:PosTuile13 == 3)) and (../:PosTuile15 == 4)) and (../:PosTuile26 == 2)) and (../:PosTuile36 == 5)) and (../:PosTuile42 == 2)) and (../:PosTuile44 == 2)) and (../:PosTuile49 == 3)) and (../:PosTuile56 == 2)) and (../:PosTuile65 == 4)) and (../:PosTuile68 == 5)) and (../:PosTuile69 == 4)) and (../:PosTuile76 == 2)) and (../:PosTuile80 == 2)) {
tellTarget ("../") {
gotoAndStop ("Gagne");
};
} else {
tellTarget ("../") {
gotoAndPlay ("Perd");
};
}
}
Symbol 2648 MovieClip Frame 155
tellTarget ("_parent") {
play();
};
Symbol 2649 MovieClip Frame 1
CActif = 2;
NbImpuls = 14;
i = 1;
while (i < 82) {
Set("PosTuile" + i, 1);
i = i + 1;
}
if (Second == true) {
gotoAndStop (4);
}
Symbol 2649 MovieClip Frame 4
stop();
Instance of Symbol 2608 MovieClip in Symbol 2649 MovieClip Frame 4
onClipEvent (enterFrame) {
if (../:NbImpuls < 10) {
Set("../:Impuls", "0" + ../:NbImpuls);
} else {
Set("../:Impuls", ../:NbImpuls);
}
tellTarget (("_parent.C" + ../:CActif) + ".Obj") {
play();
};
if (Key.isDown(39) and (../:CActif < 81)) {
Set("../:CActif", ../:CActif + 1);
tellTarget ("_parent") {
play();
};
}
if (Key.isDown(37) and (1 < ../:CActif)) {
Set("../:CActif", ../:CActif - 1);
tellTarget ("_parent") {
play();
};
}
if (Key.isDown(38) and (9 < ../:CActif)) {
Set("../:CActif", ../:CActif - 9);
tellTarget ("_parent") {
play();
};
}
if (Key.isDown(40) and (../:CActif < 73)) {
Set("../:CActif", ../:CActif + 9);
tellTarget ("_parent") {
play();
};
}
if (Key.isDown(17)) {
tellTarget ("../../") {
gotoAndStop (1);
};
}
if (Key.isDown(32)) {
if ((0 < ../:NbImpuls) or (eval ("../:PosTuile" + ../:CActif) != 1)) {
tellTarget ("_parent.Tuile" + ../:CActif) {
play();
};
}
}
}
Symbol 2649 MovieClip Frame 5
gotoAndStop (4);
Symbol 2649 MovieClip Frame 21
Second = true;
gotoAndPlay (1);
Symbol 2649 MovieClip Frame 22
stop();
Symbol 2649 MovieClip Frame 23
Set("/Variables:SasOuvert", true);
Set("/Variables:From", "SasOuvert");
tellTarget ("_root.Sas") {
gotoAndStop ("Ouvert");
};
tellTarget ("_root") {
gotoAndPlay ("Tab6Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2650 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 2650 MovieClip Frame 2
Set("/Variables:AnimJoue", true);
Set("/Variables:Chaine2Brise", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 3
Set("/Variables:AnimJoue", true);
Set("/Variables:Chaine1Brise", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 4
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:AnimJoue", true);
Set("/Variables:Chaine1Brise", true);
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 5
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:AnimJoue", true);
Set("/Variables:Chaine2Brise", true);
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 6
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 7
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 8
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 9
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 10
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 11
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 12
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 13
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 14
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 15
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 16
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 17
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 18
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 19
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 20
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2650 MovieClip Frame 21
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2654 MovieClip Frame 1
stop();
Symbol 2654 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=99", 0);
gotoAndStop (1);
Symbol 2657 MovieClip Frame 2
stop();
Symbol 2657 MovieClip Frame 3
stop();
Symbol 2666 MovieClip Frame 1
if (/Variables:FenetreOuvert == true) {
nextFrame();
}
stop();
Symbol 2672 MovieClip Frame 1
if (/Variables:Tab1Grille1 == true) {
gotoAndStop (7);
}
stop();
Symbol 2672 MovieClip Frame 2
Set("/Variables:Tab1Grille1", true);
Symbol 2672 MovieClip Frame 7
stop();
Symbol 2679 MovieClip Frame 1
if (/Variables:Tab1Porte1 == true) {
gotoAndStop (3);
} else {
tellTarget ("_root.Collider.Porte1") {
gotoAndStop (1);
};
stop();
}
Symbol 2679 MovieClip Frame 2
Set("/Variables:Tab1Porte1", true);
Symbol 2679 MovieClip Frame 3
tellTarget ("_root.Collider.Porte1") {
gotoAndStop (2);
};
stop();
Symbol 2679 MovieClip Frame 4
Set("/Variables:Tab1Porte1", false);
Symbol 2686 MovieClip Frame 1
if (/Variables:ValveRamasse == true) {
nextFrame();
}
stop();
Symbol 2688 MovieClip Frame 1
if (/Variables:PorteVitre == true) {
gotoAndStop (8);
}
stop();
Symbol 2688 MovieClip Frame 8
Set("/Variables:PorteVitre", true);
tellTarget ("_root.Collider.PorteVitre") {
gotoAndStop (2);
};
stop();
Symbol 2688 MovieClip Frame 13
Set("/Variables:PorteVitre", false);
tellTarget ("_root.Collider.PorteVitre") {
gotoAndStop (1);
};
Symbol 2688 MovieClip Frame 16
tellTarget ("_root.FenetreAvant") {
gotoAndStop (1);
};
Symbol 2691 MovieClip Frame 1
if (/Variables:Tab1Porte2 == true) {
gotoAndStop (3);
} else {
tellTarget ("_root.Collider.Porte2") {
gotoAndStop (1);
};
stop();
}
Symbol 2691 MovieClip Frame 2
Set("/Variables:Tab1Porte2", true);
Symbol 2691 MovieClip Frame 3
tellTarget ("_root.Collider.Porte2") {
gotoAndStop (2);
};
stop();
Symbol 2691 MovieClip Frame 4
Set("/Variables:Tab1Porte2", false);
Symbol 2692 MovieClip Frame 1
if (/Variables:Tab1Grille2 == true) {
nextFrame();
}
stop();
Symbol 2711 MovieClip Frame 1
if (/Variables:PontTombe == true) {
gotoAndStop (20);
} else {
stop();
}
Symbol 2711 MovieClip Frame 2
setProperty("_root.Poteau1", _visible , 0);
setProperty("_root.Poteau2", _visible , 0);
setProperty("_root.Poteau3", _visible , 0);
setProperty("_root.Poteau4", _visible , 0);
Set("/Variables:Mechant2Tir", false);
Set("/Variables:Mechant2Mort", true);
Symbol 2711 MovieClip Frame 4
Set("/Variables:Mechant2Tir", false);
Set("/Variables:Mechant2Mort", true);
Set("/Variables:PontTombe", true);
tellTarget ("_root.Mechant2") {
gotoAndStop ("Meurt");
};
Symbol 2711 MovieClip Frame 19
setProperty("_root.Poteau1", _visible , 1);
setProperty("_root.Poteau2", _visible , 1);
setProperty("_root.Poteau3", _visible , 1);
setProperty("_root.Poteau4", _visible , 1);
Symbol 2711 MovieClip Frame 20
tellTarget ("_root.Mechant2") {
gotoAndStop ("Mort");
};
stop();
Symbol 2716 MovieClip Frame 1
if (/Variables:PorteVitre == true) {
gotoAndStop (3);
} else if (/Variables:DerriereVitre == true) {
nextFrame();
}
stop();
Symbol 2716 MovieClip Frame 2
stop();
Symbol 2716 MovieClip Frame 3
stop();
Symbol 2747 MovieClip Frame 1
if (/Variables:NitroRamasse == true) {
nextFrame();
}
stop();
Symbol 2747 MovieClip Frame 2
stop();
Symbol 2749 MovieClip Frame 1
Niveau = 3;
Symbol 2752 MovieClip Frame 1
if (/Variables:Tab1Porte2 == true) {
nextFrame();
}
stop();
Symbol 2754 MovieClip Frame 1
if (/Variables:PontTombe == true) {
nextFrame();
}
stop();
Symbol 2757 MovieClip Frame 1
if (/Variables:PorteVitre == true) {
nextFrame();
}
stop();
Symbol 2758 MovieClip Frame 1
if (/Variables:DerriereVitre == true) {
nextFrame();
}
stop();
Symbol 2781 MovieClip Frame 1
if (/Variables:Tab1Mec1ObjFrame != 1) {
temp = /Variables:Tab1Mec1ObjFrame;
Set("/Variables:Tab1Mec1ObjFrame", 1);
gotoAndPlay(temp);
}
Instance of Symbol 2608 MovieClip in Symbol 2781 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2781 MovieClip Frame 108
if (/Variables:Tab1Porte2 == false) {
tellTarget ("_root.Porte2") {
play();
};
}
Symbol 2781 MovieClip Frame 135
Set("/Variables:Mechant1Voit", true);
Symbol 2781 MovieClip Frame 185
Set("/Variables:Mechant1Voit", false);
Symbol 2781 MovieClip Frame 194
if (/Variables:Tab1Porte2 == false) {
tellTarget ("_root.Porte2") {
play();
};
}
Symbol 2781 MovieClip Frame 209
if (/Variables:Tab1Porte2 == true) {
tellTarget ("_root.Porte2") {
play();
};
}
Symbol 2809 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2809 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2809 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2809 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2818 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2818 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2818 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2818 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2824 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2824 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2824 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2824 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2825 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2825 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2825 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2825 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2826 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2826 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2826 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2826 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2832 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2832 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2832 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2832 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2847 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2847 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2847 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2847 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2848 MovieClip Frame 2
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == false) {
gotoAndPlay (1);
}
Symbol 2848 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 2848 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2848 MovieClip Frame 18
if (eval (("/Variables:" + getProperty("../../", _name)) + "Tir") == true) {
gotoAndPlay (8);
}
Symbol 2849 MovieClip Frame 1
stop();
Symbol 2849 MovieClip Frame 2
stop();
Symbol 2849 MovieClip Frame 3
stop();
Symbol 2849 MovieClip Frame 4
stop();
Symbol 2849 MovieClip Frame 5
stop();
Symbol 2849 MovieClip Frame 6
stop();
Symbol 2849 MovieClip Frame 7
stop();
Symbol 2849 MovieClip Frame 8
stop();
Symbol 2856 MovieClip Frame 1
Set("/Variables:Mechant1Voit", false);
Set("/Variables:Mechant1Tir", false);
if (/Variables:Tab1Mec1ObjFrame != 1) {
temp = /Variables:Tab1Mec1ObjFrame;
Set("/Variables:Tab1Mec1ObjFrame", 1);
gotoAndPlay(temp);
}
Instance of Symbol 2608 MovieClip in Symbol 2856 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert != false)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2856 MovieClip Frame 22
Set("/Variables:Tab1Alarme", true);
Symbol 2856 MovieClip Frame 48
tellTarget ("_root.Mechant1") {
gotoAndStop ("Routine");
};
Symbol 2857 MovieClip Frame 1
if (/Variables:Mechant1Mort == true) {
gotoAndStop (4);
} else if ((/Variables:Mechant1Tir == true) and (/Variables:Mechant1Voit == true)) {
gotoAndStop (2);
} else if (/Variables:Tab1Mec1Frame != 1) {
temp = /Variables:Tab1Mec1Frame;
Set("/Variables:Tab1Mec1Frame", 1);
gotoAndStop(temp);
} else {
stop();
}
Symbol 2857 MovieClip Frame 2
stop();
Symbol 2857 MovieClip Frame 3
stop();
Symbol 2857 MovieClip Frame 4
stop();
Symbol 2861 MovieClip Frame 16
Set("/Variables:Mechant2Tir", false);
Set("/Variables:Mechant2Mort", true);
tellTarget ("_root.Mechant2") {
gotoAndStop ("Mort");
};
Symbol 2862 MovieClip Frame 1
if (/Variables:Mechant2Mort == true) {
gotoAndStop (4);
} else {
stop();
}
Symbol 2862 MovieClip Frame 2
stop();
Symbol 2862 MovieClip Frame 3
stop();
Symbol 2862 MovieClip Frame 4
stop();
Symbol 2958 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 3005 MovieClip Frame 10
if (random(20) == 10) {
gotoAndPlay (12);
}
Symbol 3005 MovieClip Frame 11
gotoAndPlay (2);
Symbol 3005 MovieClip Frame 50
gotoAndPlay (2);
Symbol 3065 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3065 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 3065 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 3065 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 3065 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 3065 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 3066 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3066 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3066 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3067 MovieClip Frame 1
stop();
Symbol 3067 MovieClip Frame 9
stop();
Symbol 3067 MovieClip Frame 17
stop();
Symbol 3067 MovieClip Frame 25
stop();
Symbol 3067 MovieClip Frame 33
stop();
Symbol 3067 MovieClip Frame 40
stop();
Symbol 3075 MovieClip Frame 1
stop();
Symbol 3075 MovieClip Frame 2
Set("/Variables:Vie", /Variables:Vie - 25);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 3075 MovieClip Frame 3
gotoAndStop (1);
Symbol 3079 MovieClip Frame 1
stop();
Symbol 3079 MovieClip Frame 2
if ((((/Variables:EtatActif eq "Tab5") and (/Variables:BarilsExplose == false)) and _root.CacheBarils.hitTest(_root.Meg._x, _root.Meg._y, true)) and (50 < random(100))) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BarilsExplose");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
Symbol 3079 MovieClip Frame 3
gotoAndStop (1);
Symbol 3163 MovieClip Frame 13
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 3163 MovieClip Frame 14
gotoAndPlay (3);
Symbol 3163 MovieClip Frame 52
gotoAndPlay (3);
Symbol 3209 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3209 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 3209 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 3209 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 3209 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 3209 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 3209 MovieClip Frame 12
Set("/Variables:Stoppe", false);
Symbol 3210 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3210 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3210 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3211 MovieClip Frame 1
stop();
Symbol 3211 MovieClip Frame 9
stop();
Symbol 3211 MovieClip Frame 17
stop();
Symbol 3211 MovieClip Frame 25
stop();
Symbol 3211 MovieClip Frame 33
stop();
Symbol 3211 MovieClip Frame 40
stop();
Symbol 3265 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 3297 MovieClip Frame 4
Set("/Variables:Stoppe", false);
play();
Symbol 3297 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 3297 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3297 MovieClip Frame 48
gotoAndPlay (4);
Symbol 3334 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3334 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 3334 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 3334 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 3334 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 3334 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 3335 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3335 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3335 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3336 MovieClip Frame 1
stop();
Symbol 3336 MovieClip Frame 10
stop();
Symbol 3336 MovieClip Frame 19
stop();
Symbol 3336 MovieClip Frame 29
stop();
Symbol 3336 MovieClip Frame 38
stop();
Symbol 3336 MovieClip Frame 46
stop();
Symbol 3365 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 3447 MovieClip Frame 12
if (random(20) == 10) {
gotoAndPlay (17);
}
Symbol 3447 MovieClip Frame 13
gotoAndPlay (2);
Symbol 3447 MovieClip Frame 59
gotoAndPlay (2);
Symbol 3535 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3535 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 3535 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 3535 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 3535 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 3535 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 3535 MovieClip Frame 11
Set("/Variables:Stoppe", false);
Symbol 3536 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3536 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3536 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3537 MovieClip Frame 1
stop();
Symbol 3537 MovieClip Frame 10
stop();
Symbol 3537 MovieClip Frame 20
stop();
Symbol 3537 MovieClip Frame 29
stop();
Symbol 3537 MovieClip Frame 38
stop();
Symbol 3537 MovieClip Frame 48
stop();
Symbol 3564 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 3599 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (21);
}
Symbol 3599 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3599 MovieClip Frame 63
gotoAndPlay (4);
Symbol 3666 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3666 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 3666 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 3666 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 3666 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 3666 MovieClip Frame 13
Set("/Variables:Stoppe", false);
Symbol 3667 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3667 MovieClip Frame 2
if (0 >= /Variables:DeltaTombe) {
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab5")) or (/Variables:EtatActif eq "Tab7")) {
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (1);
}
Symbol 3667 MovieClip Frame 9
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:Arrive);
};
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3668 MovieClip Frame 1
stop();
Symbol 3668 MovieClip Frame 10
stop();
Symbol 3668 MovieClip Frame 18
stop();
Symbol 3668 MovieClip Frame 27
stop();
Symbol 3668 MovieClip Frame 36
stop();
Symbol 3668 MovieClip Frame 44
stop();
Symbol 3669 MovieClip Frame 4
stop();
Symbol 3670 MovieClip Frame 1
stop();
Symbol 3670 MovieClip Frame 9
play();
Symbol 3670 MovieClip Frame 12
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AlbElec");
};
tellTarget ("_root") {
gotoAndStop ("Tab7Stoppe");
};
stop();
Symbol 3674 MovieClip Frame 1
if (/Variables:Tab1Porte1 == true) {
nextFrame();
}
stop();
Symbol 3674 MovieClip Frame 2
stop();
Symbol 3690 MovieClip Frame 1
if (/Variables:Arrive eq "Tab1Grille2") {
if (/Variables:Tab1Grille2 == true) {
gotoAndPlay (10);
} else {
gotoAndPlay (2);
}
} else if (/Variables:Arrive eq "EntreGrille2") {
gotoAndPlay (21);
} else {
stop();
}
Symbol 3690 MovieClip Frame 2
setProperty("_root.Grille2", _visible , 0);
Symbol 3690 MovieClip Frame 9
Set("/Variables:Tab1Grille2", true);
Symbol 3690 MovieClip Frame 20
setProperty("_root.Meg", _x , 393);
setProperty("_root.Meg", _y , 262);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Grille2", _visible , 1);
tellTarget ("_root.Grille2") {
gotoAndStop (2);
};
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab1Bas");
};
Symbol 3690 MovieClip Frame 33
Set("/Variables:From", "Tab1Grille2");
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
Symbol 3700 MovieClip Frame 1
if (/Variables:Arrive eq "Fenetre") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "SortFenetre") {
gotoAndPlay (14);
} else {
stop();
}
Symbol 3700 MovieClip Frame 2
play();
Symbol 3700 MovieClip Frame 13
setProperty("_root.Meg", _x , 293);
setProperty("_root.Meg", _y , 123);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:FenetreAvant", true);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3700 MovieClip Frame 14
play();
Symbol 3700 MovieClip Frame 20
Set("/Variables:From", "SortFenetre");
Set("/Variables:FenetreAvant", false);
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
Symbol 3748 MovieClip Frame 1
if (/Variables:FrameTab1Poteau != 1) {
gotoAndStop(/Variables:FrameTab1Poteau);
} else if (/Variables:Arrive eq "TuyauBas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "TuyauCentre") {
gotoAndPlay (266);
} else {
stop();
}
Symbol 3748 MovieClip Frame 2
play();
Symbol 3748 MovieClip Frame 3
play();
Symbol 3748 MovieClip Frame 4
play();
Symbol 3748 MovieClip Frame 5
play();
Symbol 3748 MovieClip Frame 6
stop();
Instance of Symbol 3740 MovieClip in Symbol 3748 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 3740 MovieClip in Symbol 3748 MovieClip Frame 7
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 56
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueCentre");
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 74
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 116
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == false)) {
tellTarget ("_parent") {
gotoAndPlay ("Ouvre");
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == true)) {
tellTarget ("_parent") {
gotoAndPlay ("Sort");
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 125
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == false)) {
tellTarget ("_parent") {
gotoAndPlay ("Ouvre");
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == true)) {
tellTarget ("_parent") {
gotoAndPlay ("Sort");
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 126
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == false)) {
tellTarget ("_parent") {
gotoAndPlay ("Ouvre");
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == true)) {
tellTarget ("_parent") {
gotoAndPlay ("Sort");
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 127
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == false)) {
tellTarget ("_parent") {
gotoAndPlay ("Ouvre");
};
}
if (key.isDown(32) and (/Variables:Tab1Grille1 == true)) {
tellTarget ("_parent") {
gotoAndPlay ("Sort");
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 135
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 174
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
if (key.isDown(32)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueCentre");
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 3748 MovieClip Frame 194
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(251 - int(_currentframe));
};
}
}
}
Symbol 3748 MovieClip Frame 246
play();
Symbol 3748 MovieClip Frame 247
play();
Symbol 3748 MovieClip Frame 248
play();
Symbol 3748 MovieClip Frame 249
play();
Symbol 3748 MovieClip Frame 250
setProperty("_root.Meg", _x , 190);
setProperty("_root.Meg", _y , 310);
Set("/Variables:FrameTab1Poteau", 1);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
play();
Symbol 3748 MovieClip Frame 251
Set("/Variables:FrameTab1Poteau", 1);
tellTarget ("_root") {
gotoAndStop ("Tab1Bas");
};
Symbol 3748 MovieClip Frame 252
play();
Symbol 3748 MovieClip Frame 253
play();
Symbol 3748 MovieClip Frame 254
play();
Symbol 3748 MovieClip Frame 255
tellTarget ("_root.Grille1") {
play();
};
play();
Symbol 3748 MovieClip Frame 256
play();
Symbol 3748 MovieClip Frame 257
Set("/Variables:FrameTab1Poteau", 1);
play();
Symbol 3748 MovieClip Frame 258
Set("/Variables:Tab1Grille1", true);
Set("/Variables:FrameTab1Poteau", 1);
gotoAndStop (126);
Symbol 3748 MovieClip Frame 259
play();
Symbol 3748 MovieClip Frame 260
play();
Symbol 3748 MovieClip Frame 261
play();
Symbol 3748 MovieClip Frame 262
play();
Symbol 3748 MovieClip Frame 263
play();
Symbol 3748 MovieClip Frame 264
Set("/Variables:FrameTab1Poteau", 1);
play();
Symbol 3748 MovieClip Frame 265
setProperty("_root.Meg", _x , 188);
setProperty("_root.Meg", _y , 204);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:FrameTab1Poteau", 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3748 MovieClip Frame 266
Set("/Variables:Mechant1Tir", true);
play();
Symbol 3748 MovieClip Frame 267
play();
Symbol 3748 MovieClip Frame 268
play();
Symbol 3748 MovieClip Frame 269
play();
Symbol 3748 MovieClip Frame 270
Set("/Variables:FrameTab1Poteau", 1);
play();
Symbol 3748 MovieClip Frame 271
Set("/Variables:FrameTab1Poteau", 1);
gotoAndStop (187);
Symbol 3748 MovieClip Frame 272
play();
Symbol 3748 MovieClip Frame 273
play();
Symbol 3748 MovieClip Frame 274
play();
Symbol 3748 MovieClip Frame 275
play();
Symbol 3748 MovieClip Frame 276
play();
Symbol 3748 MovieClip Frame 277
play();
Symbol 3748 MovieClip Frame 278
play();
Symbol 3748 MovieClip Frame 279
play();
Symbol 3748 MovieClip Frame 280
play();
Symbol 3748 MovieClip Frame 281
play();
Symbol 3748 MovieClip Frame 282
play();
Symbol 3748 MovieClip Frame 283
play();
Symbol 3748 MovieClip Frame 284
play();
Symbol 3748 MovieClip Frame 285
play();
Symbol 3748 MovieClip Frame 286
Set("/Variables:FrameTab1Poteau", 1);
play();
Symbol 3748 MovieClip Frame 287
Set("/Variables:From", "Tab1Grille1");
Set("/Variables:FrameTab1Poteau", 1);
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
Symbol 3753 MovieClip Frame 1
if (/Variables:Tab1Porte2 == true) {
gotoAndStop (3);
} else {
tellTarget ("_root.Collider.Porte2") {
gotoAndStop (1);
};
stop();
}
Symbol 3753 MovieClip Frame 2
Set("/Variables:Tab1Porte2", true);
Symbol 3753 MovieClip Frame 3
tellTarget ("_root.Collider.Porte2") {
gotoAndStop (2);
};
stop();
Symbol 3753 MovieClip Frame 4
Set("/Variables:Tab1Porte2", false);
Symbol 3756 MovieClip Frame 1
if (/Variables:MedikitRamasse == true) {
nextFrame();
}
stop();
Symbol 3758 MovieClip Frame 1
if (/Variables:Tab2Mec1ObjFrame != 1) {
temp = /Variables:Tab2Mec1ObjFrame;
Set("/Variables:Tab2Mec1ObjFrame", 1);
gotoAndPlay(temp);
}
Instance of Symbol 2608 MovieClip in Symbol 3758 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert != false)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3758 MovieClip Frame 71
if (/Variables:Tab1Porte2 == false) {
tellTarget ("_root.Porte2") {
play();
};
}
Symbol 3758 MovieClip Frame 87
Set("/Variables:Mechant1Voit", true);
Symbol 3758 MovieClip Frame 134
Set("/Variables:Mechant1Voit", false);
Symbol 3758 MovieClip Frame 149
tellTarget ("_root.Porte2") {
play();
};
Symbol 3759 MovieClip Frame 1
if (/Variables:Mechant1Mort == true) {
gotoAndStop (3);
} else if (/Variables:Mechant1Tir == true) {
nextFrame();
} else {
stop();
}
Symbol 3759 MovieClip Frame 2
stop();
Symbol 3759 MovieClip Frame 3
stop();
Symbol 3763 MovieClip Frame 1
if (/Variables:FilArrache == true) {
nextFrame();
}
stop();
Symbol 3773 MovieClip Frame 1
if (/Variables:FenetreOuvert == true) {
gotoAndStop (3);
}
stop();
Symbol 3773 MovieClip Frame 3
stop();
Symbol 3776 MovieClip Frame 1
if (/Variables:Tab1Porte1 == true) {
gotoAndStop (3);
} else {
tellTarget ("_root.Collider.Porte1") {
gotoAndStop (1);
};
stop();
}
Symbol 3776 MovieClip Frame 2
Set("/Variables:Tab1Porte1", true);
Symbol 3776 MovieClip Frame 3
tellTarget ("_root.Collider.Porte1") {
gotoAndStop (2);
};
stop();
Symbol 3776 MovieClip Frame 4
Set("/Variables:Tab1Porte1", false);
Symbol 3779 MovieClip Frame 1
if (/Variables:Tab2Grille2 == true) {
nextFrame();
}
stop();
Symbol 3780 MovieClip Frame 1
if (/Variables:Tab2Grille1 == true) {
nextFrame();
}
stop();
Symbol 3792 MovieClip Frame 1
if (/Variables:Tab1Porte2 == true) {
nextFrame();
}
stop();
Symbol 3794 MovieClip Frame 1
if (/Variables:Tab1Porte1 == true) {
nextFrame();
} else {
stop();
}
Symbol 3794 MovieClip Frame 2
stop();
Symbol 3797 MovieClip Frame 1
if (/Variables:Mechant3Mort == true) {
gotoAndStop (3);
} else if (/Variables:Tab1Alarme == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3797 MovieClip Frame 2
Set("/Variables:Tab1Alarme", true);
stop();
Symbol 3797 MovieClip Frame 3
stop();
Symbol 3807 MovieClip Frame 1
if (/Variables:Arrive eq "Grille1") {
if (/Variables:Tab2Grille1 == true) {
gotoAndPlay (45);
} else {
gotoAndPlay (2);
}
} else {
stop();
}
Symbol 3807 MovieClip Frame 2
setProperty("_root.Grille1", _visible , 0);
Symbol 3807 MovieClip Frame 44
Set("/Variables:Tab2Grille1", true);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root.Grille1") {
gotoAndStop (2);
};
setProperty("_root.Meg", _x , 252);
setProperty("_root.Meg", _y , 255);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Grille1", _visible , 1);
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3807 MovieClip Frame 87
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
setProperty("_root.Meg", _x , 252);
setProperty("_root.Meg", _y , 255);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3821 MovieClip Frame 1
if (/Variables:FrameTab2Poteau1 != 1) {
gotoAndStop(/Variables:FrameTab2Poteau1);
} else if (/Variables:Arrive eq "Tube1Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "SortFenetre") {
gotoAndPlay (321);
} else if (/Variables:Arrive eq "Toit") {
gotoAndPlay (337);
} else {
stop();
}
Symbol 3821 MovieClip Frame 2
play();
Symbol 3821 MovieClip Frame 3
play();
Symbol 3821 MovieClip Frame 4
play();
Symbol 3821 MovieClip Frame 5
play();
Symbol 3821 MovieClip Frame 6
stop();
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 35
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32)) {
if (/Variables:FenetreOuvert == false) {
tellTarget ("_parent") {
gotoAndPlay ("OuvreFenetre");
};
} else {
tellTarget ("_parent") {
gotoAndPlay ("EntreFenetre");
};
}
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 55
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 58
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 59
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 104
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32)) {
tellTarget ("_parent") {
gotoAndPlay ("DescendToit");
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 123
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32)) {
tellTarget ("_parent") {
gotoAndPlay ("DescendToit");
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 124
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 136
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32) and (/Variables:FilArrache == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArracheFil");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 150
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(32) and (/Variables:FilArrache == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArracheFil");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 151
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(32) and (/Variables:FilArrache == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArracheFil");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 152
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(32) and (/Variables:FilArrache == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArracheFil");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 165
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 178
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(32)) {
tellTarget ("_parent") {
gotoAndPlay ("DescendToit");
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 179
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(32)) {
tellTarget ("_parent") {
gotoAndPlay ("DescendToit");
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 198
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 243
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 244
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 246
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
if (key.isDown(32)) {
if (/Variables:FenetreOuvert == false) {
tellTarget ("_parent") {
gotoAndPlay ("OuvreFenetre");
};
} else {
tellTarget ("_parent") {
gotoAndPlay ("EntreFenetre");
};
}
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3821 MovieClip Frame 266
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(301 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3821 MovieClip Frame 296
play();
Symbol 3821 MovieClip Frame 297
play();
Symbol 3821 MovieClip Frame 298
play();
Symbol 3821 MovieClip Frame 299
setProperty("_root.Meg", _x , 190);
setProperty("_root.Meg", _y , 238);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:FrameTab2Poteau1", 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
play();
Symbol 3821 MovieClip Frame 300
Set("/Variables:FrameTab2Poteau1", 1);
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3821 MovieClip Frame 301
play();
Symbol 3821 MovieClip Frame 302
play();
Symbol 3821 MovieClip Frame 303
play();
tellTarget ("_root.Fenetre") {
play();
};
Symbol 3821 MovieClip Frame 304
play();
Symbol 3821 MovieClip Frame 305
play();
Symbol 3821 MovieClip Frame 306
play();
Symbol 3821 MovieClip Frame 307
play();
Symbol 3821 MovieClip Frame 308
play();
Symbol 3821 MovieClip Frame 309
Set("/Variables:FrameTab2Poteau1", 1);
play();
Symbol 3821 MovieClip Frame 310
Set("/Variables:FenetreOuvert", true);
Set("/Variables:FrameTab2Poteau1", 1);
gotoAndStop (262);
Symbol 3821 MovieClip Frame 311
play();
Symbol 3821 MovieClip Frame 312
play();
Symbol 3821 MovieClip Frame 313
play();
Symbol 3821 MovieClip Frame 314
play();
Symbol 3821 MovieClip Frame 315
play();
Symbol 3821 MovieClip Frame 316
play();
Symbol 3821 MovieClip Frame 317
play();
Symbol 3821 MovieClip Frame 318
play();
Symbol 3821 MovieClip Frame 319
Set("/Variables:FrameTab2Poteau1", 1);
play();
Symbol 3821 MovieClip Frame 320
Set("/Variables:From", "Fenetre");
Set("/Variables:DerriereVitre", true);
Set("/Variables:PorteVitre", false);
Set("/Variables:FrameTab2Poteau1", 1);
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
Symbol 3821 MovieClip Frame 321
play();
Symbol 3821 MovieClip Frame 322
play();
Symbol 3821 MovieClip Frame 323
play();
Symbol 3821 MovieClip Frame 324
play();
Symbol 3821 MovieClip Frame 325
play();
Symbol 3821 MovieClip Frame 326
play();
Symbol 3821 MovieClip Frame 327
play();
Symbol 3821 MovieClip Frame 328
play();
Symbol 3821 MovieClip Frame 329
Set("/Variables:FrameTab2Poteau1", 1);
play();
Symbol 3821 MovieClip Frame 330
Set("/Variables:FrameTab2Poteau1", 1);
gotoAndStop (262);
Symbol 3821 MovieClip Frame 331
play();
Symbol 3821 MovieClip Frame 332
play();
Symbol 3821 MovieClip Frame 333
play();
Symbol 3821 MovieClip Frame 334
play();
Symbol 3821 MovieClip Frame 335
setProperty("_root.Meg", _x , 84);
setProperty("_root.Meg", _y , 154);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:FrameTab2Poteau1", 1);
play();
Symbol 3821 MovieClip Frame 336
Set("/Variables:FrameTab2Poteau1", 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3821 MovieClip Frame 337
play();
Symbol 3821 MovieClip Frame 338
play();
Symbol 3821 MovieClip Frame 339
play();
Symbol 3821 MovieClip Frame 340
play();
Symbol 3821 MovieClip Frame 341
play();
Symbol 3821 MovieClip Frame 342
Set("/Variables:FrameTab2Poteau1", 1);
play();
Symbol 3821 MovieClip Frame 343
Set("/Variables:FrameTab2Poteau1", 1);
gotoAndStop (189);
Symbol 3822 MovieClip Frame 1
if (/Variables:FrameTab2Poteau2 != 1) {
gotoAndStop(/Variables:FrameTab2Poteau2);
} else if (/Variables:Arrive eq "Tube2Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Tube2Haut") {
gotoAndPlay (345);
} else {
stop();
}
Symbol 3822 MovieClip Frame 2
play();
Symbol 3822 MovieClip Frame 3
play();
Symbol 3822 MovieClip Frame 4
play();
Symbol 3822 MovieClip Frame 5
play();
Symbol 3822 MovieClip Frame 6
play();
Symbol 3822 MovieClip Frame 7
play();
Symbol 3822 MovieClip Frame 8
play();
Symbol 3822 MovieClip Frame 9
stop();
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 9
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 17
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 129
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 130
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 165
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 166
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 167
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 194
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 195
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 315
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Instance of Symbol 3740 MovieClip in Symbol 3822 MovieClip Frame 316
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(331 - int(_currentframe));
};
}
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3822 MovieClip Frame 323
play();
Symbol 3822 MovieClip Frame 324
play();
Symbol 3822 MovieClip Frame 325
play();
Symbol 3822 MovieClip Frame 326
play();
Symbol 3822 MovieClip Frame 327
play();
Symbol 3822 MovieClip Frame 328
play();
Symbol 3822 MovieClip Frame 329
Set("/Variables:FrameTab2Poteau2", 1);
play();
Symbol 3822 MovieClip Frame 330
setProperty("_root.Meg", _x , 400);
setProperty("_root.Meg", _y , 394);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:FrameTab2Poteau2", 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3822 MovieClip Frame 331
play();
Symbol 3822 MovieClip Frame 332
play();
Symbol 3822 MovieClip Frame 333
play();
Symbol 3822 MovieClip Frame 334
play();
Symbol 3822 MovieClip Frame 335
play();
Symbol 3822 MovieClip Frame 336
play();
Symbol 3822 MovieClip Frame 337
play();
Symbol 3822 MovieClip Frame 338
play();
Symbol 3822 MovieClip Frame 339
play();
Symbol 3822 MovieClip Frame 340
play();
Symbol 3822 MovieClip Frame 341
play();
Symbol 3822 MovieClip Frame 342
play();
Symbol 3822 MovieClip Frame 343
Set("/Variables:FrameTab2Poteau2", 1);
play();
Symbol 3822 MovieClip Frame 344
setProperty("_root.Meg", _x , 197);
setProperty("_root.Meg", _y , 257);
Set("/Variables:FrameTab2Poteau2", 1);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3822 MovieClip Frame 345
play();
Symbol 3822 MovieClip Frame 346
play();
Symbol 3822 MovieClip Frame 347
play();
Symbol 3822 MovieClip Frame 348
play();
Symbol 3822 MovieClip Frame 349
play();
Symbol 3822 MovieClip Frame 350
play();
Symbol 3822 MovieClip Frame 351
play();
Symbol 3822 MovieClip Frame 352
play();
Symbol 3822 MovieClip Frame 353
play();
Symbol 3822 MovieClip Frame 354
play();
Symbol 3822 MovieClip Frame 355
play();
Symbol 3822 MovieClip Frame 356
Set("/Variables:FrameTab2Poteau2", 1);
play();
Symbol 3822 MovieClip Frame 357
Set("/Variables:FrameTab2Poteau2", 1);
gotoAndStop (166);
Symbol 3829 MovieClip Frame 1
if (/Variables:Arrive eq "EntreGrille2") {
if (/Variables:Tab2Grille2 == false) {
gotoAndPlay (2);
} else {
gotoAndPlay (35);
}
} else if (/Variables:Arrive eq "Grille2") {
gotoAndPlay (46);
} else {
stop();
}
Symbol 3829 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=6", 0);
setProperty("_root.Grille2", _visible , 0);
Symbol 3829 MovieClip Frame 34
Set("/Variables:Tab2Grille2", true);
tellTarget ("_root.Grille2") {
gotoAndStop (2);
};
setProperty("_root.Grille2", _visible , 1);
Symbol 3829 MovieClip Frame 45
Set("/Variables:From", "Tab2Grille2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
Symbol 3829 MovieClip Frame 59
setProperty("_root.Meg", _x , 405);
setProperty("_root.Meg", _y , 328);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3916 MovieClip Frame 1
if (/Variables:Arrive eq "SauteFil") {
setProperty("_root.Fil", _visible , 0);
gotoAndPlay (2);
} else {
stop();
}
Symbol 3916 MovieClip Frame 32
if (/Variables:Mechant1Voit == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BotteMechant");
};
stop();
}
Symbol 3916 MovieClip Frame 60
setProperty("_root.Meg", _x , 202);
setProperty("_root.Meg", _y , 250);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Fil", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 3932 MovieClip Frame 1
if (/Variables:Tab4AlbinosArrive == true) {
gotoAndStop (16);
} else if (/Vaviables:AlbEntre == true) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 3932 MovieClip Frame 2
Set("/Variables:AlbEntre", true);
Symbol 3932 MovieClip Frame 12
tellTarget ("_root.Mechant1.Obj") {
gotoAndPlay (2);
};
Symbol 3932 MovieClip Frame 16
stop();
Symbol 3943 MovieClip Frame 1
if (/Variables:PontOuvert == false) {
gotoAndStop (6);
} else {
stop();
}
Symbol 3943 MovieClip Frame 3
tellTarget ("_root.BarriereDevant") {
play();
};
tellTarget ("_root.BarriereDerriere") {
play();
};
Symbol 3943 MovieClip Frame 5
Set("/Variables:PoseMeg", "Pos3");
Set("/Variables:PontOuvert", false);
Set("/Variables:BarriereBaisse", true);
tellTarget ("_root.Trou.Pont") {
gotoAndStop (2);
};
tellTarget ("_root.MegMovie") {
gotoAndPlay (3);
};
Symbol 3943 MovieClip Frame 6
stop();
Symbol 3999 MovieClip Frame 1
gotoAndPlay(/Variables:Controleur);
Instance of Symbol 2608 MovieClip in Symbol 3999 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (/Variables:EtatActif ne "Tab4Grimpe")) {
if ((_root.CacheVoit2.hitTest(_root.Meg._x, _root.Meg._y, true) or ((/Variables:DessusTube == true) and (getProperty("_root.Meg", _x) < 330))) or (/Variables:DessusControl == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ControleurVoitMeg");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
tellTarget ("_parent") {
play();
};
} else if (/Variables:EtatActif ne "Tab4Grimpe") {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3999 MovieClip Frame 69
Set("/Variables:Controleur", "VersDroite");
Instance of Symbol 2608 MovieClip in Symbol 3999 MovieClip Frame 84
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (/Variables:EtatActif ne "Tab4Grimpe")) {
if (((_root.CacheVoit2.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheVoit1.hitTest(_root.Meg._x, _root.Meg._y, true)) or (/Variables:DessusTube == true)) or (/Variables:DessusControl == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ControleurVoitMeg");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
tellTarget ("_parent") {
play();
};
} else if (/Variables:EtatActif ne "Tab4Grimpe") {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3999 MovieClip Frame 99
Set("/Variables:Controleur", "Droite");
Symbol 3999 MovieClip Frame 151
Set("/Variables:Controleur", "VersGauche");
Instance of Symbol 2608 MovieClip in Symbol 3999 MovieClip Frame 165
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (/Variables:EtatActif ne "Tab4Grimpe")) {
if ((_root.CacheVoit2.hitTest(_root.Meg._x, _root.Meg._y, true) or ((/Variables:DessusTube == true) and (getProperty("_root.Meg", _x) < 330))) or (/Variables:DessusControl == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ControleurVoitMeg");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
tellTarget ("_parent") {
play();
};
} else if (/Variables:EtatActif ne "Tab4Grimpe") {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3999 MovieClip Frame 179
if (getProperty("_root.Meg", _x) < 303) {
Set("/Variables:Controleur", "Arret");
nextFrame();
} else {
Set("/Variables:Controleur", "Gauche");
gotoAndPlay (1);
}
Symbol 3999 MovieClip Frame 180
Set("/Variables:Controleur", "Arret");
stop();
Instance of Symbol 2608 MovieClip in Symbol 3999 MovieClip Frame 180
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if ((_root.CacheVoit2.hitTest(_root.Meg._x, _root.Meg._y, true) or ((/Variables:DessusTube == true) and (getProperty("_root.Meg", _x) < 330))) or (/Variables:DessusControl == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ControleurVoitMeg");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
}
Symbol 3999 MovieClip Frame 181
Set("/Variables:Controleur", "VersFeu");
Instance of Symbol 2608 MovieClip in Symbol 3999 MovieClip Frame 181
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 3999 MovieClip Frame 218
Set("/Variables:Controleur", "Feu");
Symbol 3999 MovieClip Frame 438
stop();
Instance of Symbol 2608 MovieClip in Symbol 3999 MovieClip Frame 438
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (/Variables:EtatActif ne "Tab4Grimpe")) {
if ((_root.CacheVoit2.hitTest(_root.Meg._x, _root.Meg._y, true) or ((/Variables:DessusTube == true) and (getProperty("_root.Meg", _x) < 330))) or (/Variables:DessusControl == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ControleurVoitMeg");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
}
Symbol 3999 MovieClip Frame 439
stop();
Symbol 4080 MovieClip Frame 1
gotoAndStop(/Variables:PoseMeg);
Symbol 4080 MovieClip Frame 2
Set("/Variables:PoseMeg", "Pos2");
stop();
Symbol 4080 MovieClip Frame 5
Set("/Variables:PoseMeg", "Pos3");
play();
Symbol 4080 MovieClip Frame 37
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegRejointStep");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
Symbol 4080 MovieClip Frame 38
Set("/Variables:PoseMeg", "Pos4");
stop();
Symbol 4089 MovieClip Frame 1
if (/Variables:BarriereBaisse == true) {
gotoAndStop (12);
}
stop();
Symbol 4089 MovieClip Frame 12
tellTarget ("_root.Collider.Barriere") {
gotoAndStop (2);
};
stop();
Symbol 4108 MovieClip Frame 1
stop();
Symbol 4109 MovieClip Frame 1
if (/Variables:SacRamasse == true) {
nextFrame();
}
stop();
Symbol 4112 MovieClip Frame 1
if (/Variables:BarriereBaisse == true) {
nextFrame();
}
stop();
Symbol 4115 MovieClip Frame 1
if (/Variables:DessusTube == true) {
nextFrame();
} else if (/Variables:DessusControl == true) {
gotoAndStop (3);
} else {
stop();
}
Symbol 4115 MovieClip Frame 2
stop();
Symbol 4115 MovieClip Frame 3
stop();
Symbol 4120 MovieClip Frame 1
if (/Variables:PontOuvert == false) {
nextFrame();
}
stop();
Symbol 4121 MovieClip Frame 1
Niveau = 10;
Symbol 4146 MovieClip Frame 1
if (/Variables:Tab4AlbinosArrive == true) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4146 MovieClip Frame 2
Set("/Variables:Tab4AlbinosArrive", true);
Instance of Symbol 2608 MovieClip in Symbol 4146 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4146 MovieClip Frame 23
tellTarget ("_parent") {
gotoAndStop ("Tir");
};
Symbol 4181 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4181 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4181 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4181 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4190 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4190 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4190 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4190 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4191 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4191 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4191 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4191 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4202 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4202 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4202 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4202 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4212 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4212 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4212 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4212 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4227 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4227 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4227 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4227 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4249 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4249 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4249 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4249 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4254 MovieClip Frame 2
if (getProperty("_root.Animatiques", _currentframe) != 1) {
gotoAndPlay (1);
}
Symbol 4254 MovieClip Frame 12
Set("/Variables:Balle", random(8) + 1);
Symbol 4254 MovieClip Frame 13
if (/Variables:InventaireOuvert == false) {
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 4254 MovieClip Frame 18
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AlbinosTir == true) {
gotoAndPlay (8);
}
}
Symbol 4255 MovieClip Frame 1
stop();
Symbol 4255 MovieClip Frame 2
stop();
Symbol 4255 MovieClip Frame 3
stop();
Symbol 4255 MovieClip Frame 4
stop();
Symbol 4255 MovieClip Frame 5
stop();
Symbol 4255 MovieClip Frame 6
stop();
Symbol 4255 MovieClip Frame 7
stop();
Symbol 4255 MovieClip Frame 8
stop();
Symbol 4256 MovieClip Frame 1
if (/Variables:AlbinosTir == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4256 MovieClip Frame 2
stop();
Set("/Variables:AlbinosTir", true);
Symbol 4299 MovieClip Frame 1
if (/Variables:Arrive eq "Echelle1Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Echelle1Haut") {
gotoAndPlay (47);
} else {
stop();
}
Symbol 4299 MovieClip Frame 2
play();
Symbol 4299 MovieClip Frame 8
stop();
Instance of Symbol 3740 MovieClip in Symbol 4299 MovieClip Frame 8
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4299 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(93 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4299 MovieClip Frame 29
play();
Symbol 4299 MovieClip Frame 46
setProperty("_root.Meg", _x , 456);
setProperty("_root.Meg", _y , 166);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4299 MovieClip Frame 47
play();
Symbol 4299 MovieClip Frame 65
stop();
Instance of Symbol 3740 MovieClip in Symbol 4299 MovieClip Frame 65
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(93 - int(_currentframe));
};
}
}
}
Symbol 4299 MovieClip Frame 86
play();
Symbol 4299 MovieClip Frame 91
setProperty("_root.Meg", _x , 456);
setProperty("_root.Meg", _y , 246);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4314 MovieClip Frame 1
if (/Variables:Arrive eq "Echelle3Bas") {
gotoAndStop (2);
} else if (/Variables:Arrive eq "Echelle3Haut") {
gotoAndPlay (41);
} else {
stop();
}
Symbol 4314 MovieClip Frame 2
stop();
Instance of Symbol 3740 MovieClip in Symbol 4314 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4314 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(81 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4314 MovieClip Frame 23
play();
Symbol 4314 MovieClip Frame 40
setProperty("_root.Meg", _x , 155);
setProperty("_root.Meg", _y , 340);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4314 MovieClip Frame 41
play();
Symbol 4314 MovieClip Frame 59
stop();
Instance of Symbol 3740 MovieClip in Symbol 4314 MovieClip Frame 59
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(81 - int(_currentframe));
};
}
}
}
Symbol 4314 MovieClip Frame 79
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
Symbol 4316 MovieClip Frame 1
if (/Variables:Arrive eq "AllumeFeu") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4316 MovieClip Frame 2
Set("/Variables:Controleur", "Arret");
tellTarget ("_root.Controleur") {
gotoAndStop ("Arret");
};
Symbol 4316 MovieClip Frame 71
Set("/Variables:Controleur", "VersFeu");
tellTarget ("_root.Controleur") {
gotoAndPlay ("VersFeu");
};
setProperty("_root.Meg", _x , 275);
setProperty("_root.Meg", _y , 251);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4317 MovieClip Frame 1
if (/Variables:Arrive eq "Echelle2Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Echelle2Haut") {
gotoAndPlay (47);
} else {
stop();
}
Symbol 4317 MovieClip Frame 2
play();
Symbol 4317 MovieClip Frame 8
stop();
Instance of Symbol 3740 MovieClip in Symbol 4317 MovieClip Frame 8
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4317 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(93 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4317 MovieClip Frame 29
play();
Symbol 4317 MovieClip Frame 46
setProperty("_root.Meg", _x , 215);
setProperty("_root.Meg", _y , 177);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4317 MovieClip Frame 47
play();
Symbol 4317 MovieClip Frame 65
stop();
Instance of Symbol 3740 MovieClip in Symbol 4317 MovieClip Frame 65
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(93 - int(_currentframe));
};
}
}
}
Symbol 4317 MovieClip Frame 86
play();
Symbol 4317 MovieClip Frame 91
setProperty("_root.Meg", _x , 215);
setProperty("_root.Meg", _y , 252);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4335 MovieClip Frame 1
if (/Variables:SasOuvert == true) {
nextFrame();
}
stop();
Symbol 4337 MovieClip Frame 1
stop();
Symbol 4337 MovieClip Frame 15
stop();
Symbol 4340 MovieClip Frame 1
if (/Variables:PoteauArrache == true) {
nextFrame();
}
stop();
Symbol 4340 MovieClip Frame 2
stop();
Symbol 4347 MovieClip Frame 1
if (/Variables:LianePlace == true) {
nextFrame();
}
stop();
Symbol 4359 MovieClip Frame 1
if (/Variables:BoiteBrule == true) {
nextFrame();
}
stop();
Symbol 4360 MovieClip Frame 1
stop();
Symbol 4360 MovieClip Frame 2
tellTarget ("_root.Boite") {
gotoAndStop (2);
};
Symbol 4360 MovieClip Frame 5
tellTarget ("_root.SasFerme") {
play();
};
Symbol 4373 MovieClip Frame 1
Niveau = 5;
Symbol 4381 MovieClip Frame 46
Set("/Variables:AlbinosTir", true);
tellTarget ("_parent") {
gotoAndStop ("Tir");
};
Symbol 4383 MovieClip Frame 12
tellTarget ("_root.ElecBoite") {
play();
};
Symbol 4383 MovieClip Frame 37
Set("/Variables:AlbTirBoite", false);
Set("/Variables:SasOuvert", false);
Set("/Variables:BoiteBrule", true);
tellTarget ("_parent") {
gotoAndStop ("Tir");
};
Symbol 4384 MovieClip Frame 1
if (/Variables:AlbTirBoite == true) {
Set("/Variables:From", "");
gotoAndStop (3);
} else {
if (/Variables:AlbinosTir == true) {
nextFrame();
}
stop();
}
Symbol 4384 MovieClip Frame 2
stop();
Set("/Variables:AlbinosTir", true);
Symbol 4384 MovieClip Frame 3
stop();
Symbol 4431 MovieClip Frame 1
if (/Variables:Arrive eq "GlissePoteau") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4431 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=11", 0);
Symbol 4431 MovieClip Frame 17
setProperty("_root.Meg", _x , 225);
setProperty("_root.Meg", _y , 250);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
Symbol 4432 MovieClip Frame 1
if (/Variables:Arrive eq "SauteSas") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4432 MovieClip Frame 13
setProperty("_root.Meg", _x , 376);
setProperty("_root.Meg", _y , 263);
Set("/Variables:Stoppe", false);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
Symbol 4436 MovieClip Frame 1
if (/Variables:LianeRamasse == true) {
nextFrame();
}
stop();
Symbol 4437 MovieClip Frame 1
if (/Variables:RocheRamasse == true) {
nextFrame();
}
stop();
Symbol 4438 MovieClip Frame 1
if (/Variables:SasOuvert == true) {
gotoAndStop (2);
}
stop();
Symbol 4438 MovieClip Frame 2
stop();
Symbol 4461 MovieClip Frame 1
if (/Variables:Arrive eq "FalaiseHaut") {
gotoAndPlay (53);
} else if (/Variables:Arrive eq "FalaiseBas") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4461 MovieClip Frame 6
stop();
Instance of Symbol 3740 MovieClip in Symbol 4461 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4461 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(105 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4461 MovieClip Frame 42
play();
Symbol 4461 MovieClip Frame 52
setProperty("_root.Meg", _x , 342);
setProperty("_root.Meg", _y , 158);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
Symbol 4461 MovieClip Frame 53
play();
Symbol 4461 MovieClip Frame 64
stop();
Instance of Symbol 3740 MovieClip in Symbol 4461 MovieClip Frame 64
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4461 MovieClip Frame 65
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(105 - int(_currentframe));
};
}
}
}
Symbol 4461 MovieClip Frame 100
play();
Symbol 4461 MovieClip Frame 104
setProperty("_root.Meg", _x , 349);
setProperty("_root.Meg", _y , 256);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
Symbol 4463 MovieClip Frame 1
if (/Variables:Arrive eq "Palmier") {
gotoAndPlay (1);
} else if (/Variables:Arrive eq "SautePalmier") {
gotoAndPlay (68);
} else {
stop();
}
Symbol 4463 MovieClip Frame 2
play();
Symbol 4463 MovieClip Frame 16
stop();
Instance of Symbol 3740 MovieClip in Symbol 4463 MovieClip Frame 16
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueGauche");
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4463 MovieClip Frame 17
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(37)) {
tellTarget ("_parent") {
gotoAndStop(133 - int(_currentframe));
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4463 MovieClip Frame 48
play();
Instance of Symbol 3740 MovieClip in Symbol 4463 MovieClip Frame 65
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(37) or key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("EmbarqueDroite");
};
}
if (key.isDown(32) and (/Variables:SasOuvert == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("StepParleMeg");
};
}
}
}
Symbol 4463 MovieClip Frame 67
if (/Variables:SasOuvert == true) {
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 473);
setProperty("_root.Meg", _y , 140);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
} else {
stop();
}
Symbol 4463 MovieClip Frame 68
play();
Symbol 4463 MovieClip Frame 86
stop();
Instance of Symbol 3740 MovieClip in Symbol 4463 MovieClip Frame 86
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueDroite");
};
}
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4463 MovieClip Frame 87
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(37)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(39)) {
tellTarget ("_parent") {
gotoAndStop(133 - int(_currentframe));
};
}
}
}
Symbol 4463 MovieClip Frame 118
play();
Symbol 4463 MovieClip Frame 131
setProperty("_root.Meg", _x , 373);
setProperty("_root.Meg", _y , 132);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Liane", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
Symbol 4471 MovieClip Frame 1
if (/Variables:Arrive eq "GlisseChute") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "BasLiane") {
gotoAndStop (1);
} else if (/Variables:Arrive eq "LianeHaut") {
gotoAndPlay (82);
} else {
stop();
}
Symbol 4471 MovieClip Frame 2
setProperty("_root.Liane", _visible , 0);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=12", 0);
play();
Instance of Symbol 3740 MovieClip in Symbol 4471 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(32) and (/Variables:AccrocheLiane == false)) {
Set("/Variables:AccrocheLiane", true);
}
}
}
Symbol 4471 MovieClip Frame 18
if (/Variables:AccrocheLiane == true) {
gotoAndPlay (27);
}
Symbol 4471 MovieClip Frame 26
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
Symbol 4471 MovieClip Frame 27
play();
Symbol 4471 MovieClip Frame 39
Set("/Variables:Arrive", "BasLiane");
Symbol 4471 MovieClip Frame 40
stop();
Instance of Symbol 3740 MovieClip in Symbol 4471 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4471 MovieClip Frame 41
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(127 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4471 MovieClip Frame 71
play();
Symbol 4471 MovieClip Frame 81
setProperty("_root.Meg", _x , 330);
setProperty("_root.Meg", _y , 301);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Liane", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
Symbol 4471 MovieClip Frame 82
play();
Symbol 4471 MovieClip Frame 93
stop();
Instance of Symbol 3740 MovieClip in Symbol 4471 MovieClip Frame 93
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4471 MovieClip Frame 94
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(127 - int(_currentframe));
};
}
}
}
Instance of Symbol 3740 MovieClip in Symbol 4471 MovieClip Frame 123
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuverte != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(127 - int(_currentframe));
};
}
}
}
Symbol 4478 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 2608 MovieClip in Symbol 4478 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4478 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 4478 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 4478 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 4478 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 4478 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 4478 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 4478 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 4478 MovieClip Frame 9
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 4478 MovieClip Frame 10
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 4478 MovieClip Frame 11
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 4478 MovieClip Frame 12
if (getProperty("../", _currentframe) == 1) {
setProperty("../", _x , getProperty("../", _x) + (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
} else {
setProperty("../", _x , getProperty("../", _x) - (/Variables:MoveX * (getProperty("../", _xscale) / 100)));
}
Symbol 4478 MovieClip Frame 13
gotoAndPlay (1);
Instance of Symbol 2608 MovieClip in Symbol 4478 MovieClip Frame 14
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4478 MovieClip Frame 19
if (getProperty("_parent", _currentframe) == 1) {
if ((((((getProperty("_root.Mechant", _x) - 10) < getProperty("_root.Meg", _x)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 80))) and ((getProperty("_root.Mechant", _y) - 43) < getProperty("_root.Meg", _y))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 43))) and (/Variables:StepPenche != true)) {
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));
}
} else if (((((getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 10)) and ((getProperty("_root.Mechant", _x) - 80) < getProperty("_root.Meg", _x))) and ((getProperty("_root.Mechant", _y) - 43) < getProperty("_root.Meg", _y))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 43))) and (/Variables:StepPenche != true)) {
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 4478 MovieClip Frame 28
Set("/Variables:AlbFrappe", false);
gotoAndPlay (1);
Symbol 4481 MovieClip Frame 1
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 2608 MovieClip in Symbol 4481 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4481 MovieClip Frame 2
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 4481 MovieClip Frame 3
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 4481 MovieClip Frame 4
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 4481 MovieClip Frame 5
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 4481 MovieClip Frame 6
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 4481 MovieClip Frame 7
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 4481 MovieClip Frame 8
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 4481 MovieClip Frame 9
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 4481 MovieClip Frame 10
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 4481 MovieClip Frame 11
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 4481 MovieClip Frame 12
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 4481 MovieClip Frame 13
gotoAndPlay (1);
Instance of Symbol 2608 MovieClip in Symbol 4481 MovieClip Frame 14
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4481 MovieClip Frame 19
if (getProperty("_parent", _currentframe) == 2) {
if ((((((getProperty("_root.Mechant", _x) - 10) < getProperty("_root.Meg", _x)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 80))) and ((getProperty("_root.Mechant", _y) - 10) < getProperty("_root.Meg", _y))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 50))) and (/Variables:StepPenche != true)) {
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));
}
} else if (((((getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 10)) and ((getProperty("_root.Mechant", _x) - 80) < getProperty("_root.Meg", _x))) and ((getProperty("_root.Mechant", _y) - 10) < getProperty("_root.Meg", _y))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 50))) and (/Variables:StepPenche != true)) {
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 4481 MovieClip Frame 28
Set("/Variables:AlbFrappe", false);
gotoAndPlay (1);
Symbol 4490 MovieClip Frame 1
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Instance of Symbol 2608 MovieClip in Symbol 4490 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4490 MovieClip Frame 2
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 3
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 4
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 5
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 6
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 7
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 8
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 9
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 10
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 11
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 12
setProperty("../", _y , getProperty("../", _y) + (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4490 MovieClip Frame 13
gotoAndPlay (1);
Instance of Symbol 2608 MovieClip in Symbol 4490 MovieClip Frame 14
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4490 MovieClip Frame 19
if ((((((getProperty("_root.Mechant", _x) - 20) < getProperty("_root.Meg", _x)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 20))) and ((getProperty("_root.Mechant", _y) - 10) < getProperty("_root.Meg", _y))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 50))) and (/Variables:StepPenche != true)) {
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 4490 MovieClip Frame 30
Set("/Variables:AlbFrappe", false);
gotoAndPlay (1);
Symbol 4495 MovieClip Frame 1
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 2608 MovieClip in Symbol 4495 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4495 MovieClip Frame 2
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 4495 MovieClip Frame 3
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 4495 MovieClip Frame 4
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 4495 MovieClip Frame 5
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 4495 MovieClip Frame 6
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 4495 MovieClip Frame 7
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 4495 MovieClip Frame 8
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 4495 MovieClip Frame 9
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 4495 MovieClip Frame 10
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 4495 MovieClip Frame 11
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 4495 MovieClip Frame 12
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 4495 MovieClip Frame 13
gotoAndPlay (1);
Instance of Symbol 2608 MovieClip in Symbol 4495 MovieClip Frame 14
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4495 MovieClip Frame 19
if (getProperty("_parent", _currentframe) == 8) {
if ((((((getProperty("_root.Mechant", _x) - 10) < getProperty("_root.Meg", _x)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 80))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 10))) and ((getProperty("_root.Mechant", _y) - 50) < getProperty("_root.Meg", _y))) and (/Variables:StepPenche != true)) {
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));
}
} else if (((((getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 10)) and ((getProperty("_root.Mechant", _x) - 50) < getProperty("_root.Meg", _x))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 10))) and ((getProperty("_root.Mechant", _y) - 50) < getProperty("_root.Meg", _y))) and (/Variables:StepPenche != true)) {
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 4495 MovieClip Frame 29
Set("/Variables:AlbFrappe", false);
gotoAndPlay (1);
Symbol 4500 MovieClip Frame 1
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Instance of Symbol 2608 MovieClip in Symbol 4500 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4500 MovieClip Frame 2
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 3
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 4
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 5
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 6
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 7
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 8
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 9
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 10
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 11
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 12
setProperty("../", _y , getProperty("../", _y) - (/Variables:MoveY * (getProperty("../", _xscale) / 100)));
Symbol 4500 MovieClip Frame 13
gotoAndPlay (1);
Instance of Symbol 2608 MovieClip in Symbol 4500 MovieClip Frame 14
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 4500 MovieClip Frame 19
if ((((((getProperty("_root.Mechant", _x) - 20) < getProperty("_root.Meg", _x)) and (getProperty("_root.Meg", _x) < (getProperty("_root.Mechant", _x) + 20))) and (getProperty("_root.Meg", _y) < (getProperty("_root.Mechant", _y) + 10))) and ((getProperty("_root.Mechant", _y) - 50) < getProperty("_root.Meg", _y))) and (/Variables:StepPenche != true)) {
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 4500 MovieClip Frame 28
Set("/Variables:AlbFrappe", false);
gotoAndPlay (1);
Symbol 4501 MovieClip Frame 1
stop();
Symbol 4501 MovieClip Frame 2
stop();
Symbol 4501 MovieClip Frame 3
stop();
Symbol 4501 MovieClip Frame 4
stop();
Symbol 4501 MovieClip Frame 5
stop();
Symbol 4501 MovieClip Frame 6
stop();
Symbol 4501 MovieClip Frame 7
stop();
Symbol 4501 MovieClip Frame 8
stop();
Symbol 4506 MovieClip Frame 6
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 4507 MovieClip Frame 15
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 4513 MovieClip Frame 1
if (/Variables:AlbMort == true) {
gotoAndStop (116);
} else if (/Variables:FeuLanceAlb == true) {
gotoAndPlay (48);
} else if (/Variables:Etrangle == true) {
gotoAndPlay (10);
} else {
play();
}
Symbol 4513 MovieClip Frame 9
Set("/Variables:Etrangle", true);
Symbol 4513 MovieClip Frame 10
play();
Symbol 4513 MovieClip Frame 13
if (50 < random(100)) {
if (50 < random(100)) {
gotoAndPlay (15);
} else {
gotoAndPlay (29);
}
}
Symbol 4513 MovieClip Frame 14
gotoAndPlay (10);
Symbol 4513 MovieClip Frame 15
play();
Symbol 4513 MovieClip Frame 28
gotoAndPlay (10);
Symbol 4513 MovieClip Frame 29
play();
Symbol 4513 MovieClip Frame 47
gotoAndPlay (10);
Symbol 4513 MovieClip Frame 48
Set("/Variables:FeuLanceAlb", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=21&stage=17", 0);
play();
Symbol 4513 MovieClip Frame 102
tellTarget ("_root.Poteau") {
gotoAndStop (2);
};
Symbol 4513 MovieClip Frame 115
Set("/Variables:AlbBarre", true);
Set("/Variables:Etrangle", false);
Set("/Variables:FeuLanceAlb", false);
Set("/Variables:From", "Tab7");
setProperty("_root.Meg", _x , 326);
setProperty("_root.Meg", _y , 287);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Mechant") {
gotoAndStop (3);
};
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab7");
};
Symbol 4513 MovieClip Frame 116
stop();
Symbol 4517 MovieClip Frame 1
if (/Variables:AlbMort == true) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4517 MovieClip Frame 47
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
Symbol 4568 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 4569 MovieClip Frame 1
if (/:Challenge == true) {
stop();
} else {
fscommand ("load");
play();
}
Symbol 4569 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 4569 MovieClip Frame 3
stop();
Symbol 4572 Button
on (release) {
stopAllSounds();
gotoAndPlay (659);
}
Symbol 5244 Button
on (release) {
Set("/:Challenge", true);
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 5246 Button
on (release) {
nextFrame();
}
Symbol 5248 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 5249 MovieClip Frame 1
stop();
Symbol 5249 MovieClip Frame 2
stop();
Symbol 5249 MovieClip Frame 3
stop();