Frame 1
g_episode_name = "steppenwolf_episode_24";
s = new Sound();
ifFrameLoaded (10) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
myArray = new Array();
myArray[0] = "red";
myArray[1] = "yellow";
myArray[2] = 1;
if (myArray[2] == 1) {
gotoAndPlay (5);
}
Frame 4
stop();
Frame 23
ifFrameLoaded (200) {
gotoAndPlay (25);
}
Frame 24
gotoAndPlay (22);
Frame 25
tellTarget ("_root.LogoWb.LogoWb2") {
play();
};
Frame 69
ifFrameLoaded (325) {
gotoAndPlay (71);
}
Frame 70
gotoAndPlay (68);
Instance of Symbol 64 MovieClip "LoadingBar" in Frame 108
onClipEvent (load) {
var totalbytes = 2534212;
}
onClipEvent (enterFrame) {
var bytesloaded = _root.getBytesLoaded();
var percentage = (bytesloaded / totalbytes);
_root.LoadingBar.Loaded.Percent.Loaded = int(percentage * 100);
if ((20 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe20 != true)) {
Passe20 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("20");
};
}
if ((30 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe30 != true)) {
Passe30 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("30");
};
}
if ((40 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe40 != true)) {
Passe40 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("40");
};
}
if ((50 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe50 != true)) {
Passe50 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("50");
};
}
if ((60 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe60 != true)) {
Passe60 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("60");
};
}
if ((70 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe70 != true)) {
Passe70 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("70");
};
}
if ((80 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe80 != true)) {
Passe80 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("80");
};
}
if ((90 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe90 != true)) {
Passe90 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("90");
};
}
if ((99 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe100 != true)) {
Passe100 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("100");
};
}
ifFrameLoaded (484) {
if (/:Instru != true) {
tellTarget ("_root.InstructionButton") {
gotoAndStop (2);
};
}
}
if (99 < _root.LoadingBar.Loaded.Percent.Loaded) {
_root.LoadingBar.Loaded.Percent.Loaded = 100;
}
}
Frame 484
Set("/:Instru", true);
nextFrame();
Frame 485
stop();
Frame 486
stop();
Frame 487
stop();
Frame 488
stop();
Frame 489
stop();
Frame 490
stop();
Frame 491
stop();
Frame 504
stop();
Frame 1065
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=1", 0);
Frame 1066
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 1071
gotoAndPlay (1073);
Frame 1073
_focusrect = false;
Instance of Symbol 2275 MovieClip "Variables" in Frame 1075
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);
};
setProperty("_root.Don", _x , /Variables:XDon);
setProperty("_root.Don", _y , /Variables:YDon);
setProperty("_root.Don", _visible , /Variables:VisDon);
tellTarget ("_root.Don") {
gotoAndStop(/Variables:FrameDon);
};
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("LunetteRamasse");
ArrayNoms.push("ManetteRamasse");
ArrayNoms.push("MachetteRamasse");
ArrayNoms.push("BombonneRamasse");
ArrayNoms.push("Tab1BombeRamasse");
ArrayNoms.push("Tab2BombeRamasse");
ArrayNoms.push("Tab3BombeRamasse");
ArrayNoms.push("Tab4BombeRamasse");
ArrayNoms.push("AttendTour");
ArrayNoms.push("DonElect");
ArrayNoms.push("DonPlateForm");
ArrayNoms.push("DonAzote");
ArrayNoms.push("DonTouche");
ArrayNoms.push("Tab1Niveau");
ArrayNoms.push("Canon1Pet");
ArrayNoms.push("Canon2Pet");
ArrayNoms.push("Canon3Pet");
ArrayNoms.push("Tab1Bambou");
ArrayNoms.push("Tab1PosBombe");
ArrayNoms.push("Tab1BombeVu");
ArrayNoms.push("PontArrache");
ArrayNoms.push("DonPont");
ArrayNoms.push("PosCrochet");
ArrayNoms.push("Tab2Niveau");
ArrayNoms.push("Tab2Tour");
ArrayNoms.push("Tour2Pet");
ArrayNoms.push("Tab2PosBombe");
ArrayNoms.push("Tab2BombeVu");
ArrayNoms.push("Tab2PortePet");
ArrayNoms.push("Canon2Pos");
ArrayNoms.push("Tab3Bambou");
ArrayNoms.push("RadarPet");
ArrayNoms.push("PlateFormPet");
ArrayNoms.push("Canon4Pos");
ArrayNoms.push("Tab4PosBombe");
ArrayNoms.push("Tab4BombeVu");
ArrayNoms.push("Tab4PortePet");
ArrayNoms.push("Tab5PosBombe");
ArrayNoms.push("Canon5Pos");
ArrayNoms.push("Tab5BombeVu");
ArrayNoms.push("Tab5PortePet");
ArrayNoms.push("TubePet");
ArrayNoms.push("PylonParle");
ArrayNoms.push("DestDon");
ArrayNoms.push("EtatDon");
ArrayNoms.push("ZoneActive");
ArrayNoms.push("DonEau");
XDon = getProperty("_root.Don", _x);
YDon = getProperty("_root.Don", _y);
FrameDon = getProperty("_root.Don", _currentframe);
VisDon = getProperty("_root.Don", _visible);
ArrayNoms.push("XDon");
ArrayNoms.push("YDon");
ArrayNoms.push("FrameDon");
ArrayNoms.push("VisDon");
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 = 0;
InvMail2 = 0;
InvMail3 = 0;
InvMail4 = 0;
InvMail5 = 0;
InvMail6 = 0;
Mail1 = "";
MegCri = false;
VarX = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
GtsFrame = 2;
GtsVisible = 1;
TableauStep = 1;
LunetteRamasse = false;
ManetteRamasse = false;
MachetteRamasse = false;
BombonneRamasse = false;
Tab1BombeRamasse = false;
Tab2BombeRamasse = false;
Tab4BombeRamasse = false;
Tab5BombeRamasse = false;
Set("_root:RatioX", 1.5);
Set("_root:RatioY", 2);
Set("_root:Div", 1.7);
TableauDon = 0;
DestDon = "Pt0";
EtatDon = "PasLa";
ZoneActive = "Zone1";
AttendTour = false;
DonEau = false;
DonElect = false;
DonPlateForm = false;
DonAzote = false;
VitEau = 1.5;
DonTouche = 0;
StepTir = false;
StepTouche = false;
MegDessus = false;
Tab1Niveau = 2;
CanonTir = false;
Canon1Pet = false;
Tab1Bambou = true;
Tab1PosBombe = random(4) + 1;
Tab1BombeVu = false;
PontArrache = false;
DonPont = false;
PosCrochet = 1;
Tab2Niveau = 1;
Tab2Tour = true;
Tour2Pet = false;
Tab2PosBombe = random(4) + 1;
Tab2BombeVu = false;
Tab2PortePet = false;
Canon2Pos = 7;
Tab3Bambou = true;
RadarPet = false;
PlateFormPet = 0;
Canon4Pos = 2;
Canon2Pet = false;
Tab4PosBombe = random(4) + 1;
Tab4BombeVu = false;
Tab4PortePet = false;
PylonParle = false;
Canon3Pet = false;
Tab5PosBombe = random(3) + 1;
Canon5Pos = 5;
Tab5BombeVu = false;
Tab5PortePet = false;
TubePet = false;
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
}
Frame 1076
Set("/Variables:From", "Debut");
gotoAndPlay (1078);
Instance of Symbol 2277 MovieClip "Zone1" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2279 MovieClip "Zone3" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2281 MovieClip "Zone2" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2283 MovieClip "Zone4" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt1" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt2" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt3" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt5" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt4" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt6" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt7" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt8" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt9" in Frame 1077
onClipEvent (load) {
_visible = 0;
}
Frame 1078
if (/Variables:From eq "Tab5") {
Set("/Variables:Arrive", "LianeBas");
gotoAndStop (1089);
}
Frame 1079
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:MegDessus", false);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:DonEau", false);
tellTarget ("_root.Gts") {
gotoAndStop (2);
};
if (/Variables:From eq "Tab2") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 580);
setProperty("_root.Meg", _y , 281);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Frame 1080
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:Run", false);
if (((/Variables:PontArrache == true) and (/Variables:EtatDon eq "PasLa")) and (/Variables:DonPont == false)) {
tellTarget ("_root.ControlDon") {
play();
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1080
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (/Variables:DestDon ne "Pt1") {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (/Variables:PontArrache == false) {
Set("/Variables:DestDon", "Pt2");
} else {
Set("/Variables:DestDon", "Pt3");
}
}
if ((/Variables:DestDon eq "Pt3") and _root.Pt3.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt3", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt3", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
}
if ((((/Variables:DestDon eq "Pt2") and _root.Pt2.hitTest(_root.Don.Pieds)) and (/Variables:PontArrache == false)) and (/Variables:DonPont == false)) {
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt2", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt2", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonPont") {
gotoAndPlay (2);
};
}
} else if (_root.Pt1.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt5");
}
}
if ((/Variables:DestDon eq "Pt5") and _root.Pt5.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt5", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt5", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt7");
} else if ((/Variables:DestDon ne "Pt7") and (/Variables:DestDon ne "Pt6")) {
if (random(100) < 40) {
Set("/Variables:DestDon", "Pt7");
} else {
Set("/Variables:DestDon", "Pt6");
}
}
}
if ((/Variables:DestDon eq "Pt6") and _root.Pt6.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt6", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt6", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt7") and _root.Pt7.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt7", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt7", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (7);
};
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt8");
} else if ((/Variables:DestDon ne "Pt8") and (/Variables:DestDon ne "Pt9")) {
if (random(100) < 40) {
Set("/Variables:DestDon", "Pt8");
} else {
Set("/Variables:DestDon", "Pt9");
}
}
}
if ((/Variables:DestDon eq "Pt8") and _root.Pt8.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt8", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt8", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
if ((/Variables:DestDon eq "Pt9") and _root.Pt9.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt9", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt9", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (1);
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (8);
};
}
}
}
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 ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else if ((/Variables:ObjetSelect == 2) and Key.isDown(32)) {
Set("/Variables:StepTir", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tir");
};
} else if (((/Variables:ObjetSelect == 4) and Key.isDown(32)) and (/Variables:PosCrochet == 1)) {
Set("/Variables:PosCrochet", 2);
tellTarget ("_root.Grue.Crochet") {
play();
};
} else {
if ((((/Variables:Tab1BombeRamasse == false) and (/Variables:Tab1BombeVu == true)) and (((((/Variables:Tab1PosBombe == 1) and _root.CacheBombePos1.hitTest(_root.Meg._x, _root.Meg._y, true)) or ((/Variables:Tab1PosBombe == 2) and _root.CacheBombePos2.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab1PosBombe == 3) and _root.CacheBombePos3.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab1PosBombe == 4) and _root.CacheBombePos4.hitTest(_root.Meg._x, _root.Meg._y, true)))) and Key.isDown(32)) {
Set("/Variables:Tab1BombeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 8);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (/Variables:Tab1Niveau == 3) {
if (_root.CacheMarche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(39)) {
Set("/Variables:Arrive", "DescendMarche");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if (((_root.CacheBambou.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ObjetSelect == 1)) and (/Variables:Tab1Bambou == true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Tab1Bambou", false);
tellTarget ("_root.Bambou") {
gotoAndStop (2);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("CoupeBambou");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
} else if ((_root.CacheBambou.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab1Bambou == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=29", 0);
Set("/Variables:Arrive", "EntreGrille1");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if ((_root.CacheManette.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:ManetteRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=28", 0);
Set("/Variables:ManetteRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
tellTarget ("_root.Manette") {
gotoAndStop (2);
};
}
}
if (/Variables:Tab1Niveau == 2) {
if (_root.CacheMarche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(37)) {
Set("/Variables:Arrive", "MonteMarche");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
if (_root.CacheAscHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "AscHaut");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
}
if (/Variables:Tab1Niveau == 1) {
if (_root.CacheVersTab2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=4", 0);
Set("/Variables:PontArrache", true);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
if (_root.CacheAscBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "AscBas");
tellTarget ("_root") {
gotoAndStop ("Tab1Grimpe");
};
}
}
}
if (/Variables:StepTir == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tir");
};
} else {
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");
};
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1085
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1089
Set("/Variables:EtatActif", "Tab1Grimpe");
Set("/Variables:EtatVide", "Tab1Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1089
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (/Variables:DestDon ne "Pt1") {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (/Variables:PontArrache == false) {
Set("/Variables:DestDon", "Pt2");
} else {
Set("/Variables:DestDon", "Pt3");
}
}
if ((/Variables:DestDon eq "Pt3") and _root.Pt3.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt3", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt3", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
}
if ((((/Variables:DestDon eq "Pt2") and _root.Pt2.hitTest(_root.Don.Pieds)) and (/Variables:PontArrache == false)) and (/Variables:DonPont == false)) {
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonPont", true);
setProperty("_root.Don", _x , getProperty("_root.Pt2", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt2", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonPont") {
gotoAndPlay (2);
};
}
} else if (_root.Pt1.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt5");
}
}
if ((/Variables:DestDon eq "Pt5") and _root.Pt5.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt5", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt5", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt7");
} else if ((/Variables:DestDon ne "Pt7") and (/Variables:DestDon ne "Pt6")) {
if (random(100) < 40) {
Set("/Variables:DestDon", "Pt7");
} else {
Set("/Variables:DestDon", "Pt6");
}
}
}
if ((/Variables:DestDon eq "Pt6") and _root.Pt6.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt6", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt6", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt7") and _root.Pt7.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt7", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt7", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (7);
};
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt8");
} else if ((/Variables:DestDon ne "Pt8") and (/Variables:DestDon ne "Pt9")) {
if (random(100) < 40) {
Set("/Variables:DestDon", "Pt8");
} else {
Set("/Variables:DestDon", "Pt9");
}
}
}
if ((/Variables:DestDon eq "Pt8") and _root.Pt8.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt8", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt8", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
if ((/Variables:DestDon eq "Pt9") and _root.Pt9.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt9", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt9", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Idle");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (1);
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (8);
};
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Instance of Symbol 3780 MovieClip "Zone1" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3782 MovieClip "Zone2" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3784 MovieClip "Zone3" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3786 MovieClip "Zone4a" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3788 MovieClip "Zone5" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3790 MovieClip "Zone4b" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3792 MovieClip "Zone4d" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3794 MovieClip "Zone4c" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt10" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt11" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt12" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt13" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt14" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt15" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt16" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt17a" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt18" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt19" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt17b" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt17c" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt17d" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "PtCanon" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 3908 MovieClip "ClotureDon" in Frame 1094
onClipEvent (load) {
_visible = 0;
}
Frame 1095
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.3);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:EtatActif", "Tab2");
Set("/Variables:MegDessus", false);
Set("/Variables:DonPont", false);
Set("/Variables:DonEau", false);
Set("/Variables:AttendTour", false);
tellTarget ("_root.Gts") {
gotoAndStop (4);
};
if (/Variables:From eq "Tab1") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
if (/Variables:From eq "Tab3") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 590);
setProperty("_root.Meg", _y , 218);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
Frame 1096
Set("/Variables:EtatActif", "Tab2");
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:Run", false);
if ((((/Variables:EtatDon eq "PasLa") and (/Variables:DonElect == false)) and (getProperty("_root.DonTour", _currentframe) == 1)) and (/Variables:AttendTour == false)) {
tellTarget ("_root.ControlDon") {
play();
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1096
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4a.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4a");
} else if (_root.Zone4b.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4b");
} else if (_root.Zone4c.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4c");
} else if (_root.Zone4d.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4d");
} else if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone5");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt11");
}
}
if ((/Variables:DestDon eq "Pt11") and _root.Pt11.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt11", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt11", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if ((/Variables:AttendTour == true) and (!_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true))) {
Set("/Variables:AttendTour", false);
Set("/Variables:DestDon", "Pt14");
Set("/Variables:EtatDon", "Marche");
tellTarget ("_root.DonTour") {
gotoAndStop (1);
};
}
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((getProperty("_root.Don", _x) < getProperty("_root.Pt13", _x)) or (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Tour == true))) {
Set("/Variables:DestDon", "Pt13");
} else {
Set("/Variables:DestDon", "Pt14");
}
}
if ((/Variables:DestDon eq "Pt14") and _root.Pt14.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt14", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt14", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
if ((/Variables:DestDon eq "Pt13") and _root.Pt13.hitTest(_root.Don.Pieds)) {
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Tour == true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:AttendTour", true);
setProperty("_root.Don", _x , getProperty("_root.Pt13", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt13", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
tellTarget ("_root.DonTour") {
gotoAndStop (2);
};
} else {
Set("/Variables:DestDon", "Pt14");
}
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((((_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17b");
} else {
Set("/Variables:DestDon", "Pt15");
}
}
if ((/Variables:DestDon eq "Pt15") and _root.Pt15.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt15", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt156", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (7);
};
}
}
if (_root.Zone4a.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4a")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17b");
} else if ((_root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17d");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt15");
} else {
Set("/Variables:DestDon", "Pt15");
}
}
}
if (_root.Zone4b.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4b")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17a");
} else if ((_root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17c");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17a");
} else {
Set("/Variables:DestDon", "Pt17a");
}
}
}
if (_root.Zone4c.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4c")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17b");
} else if ((_root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17d");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17b");
} else {
Set("/Variables:DestDon", "Pt17b");
}
}
}
if (_root.Zone4d.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4d")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17a");
} else if ((_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17c");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt17a");
} else {
Set("/Variables:DestDon", "Pt17a");
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
}
if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone5")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt19");
}
}
if ((/Variables:DestDon eq "Pt19") and _root.Pt19.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt19", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt19", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if ((/Variables:Tour2Pet == true) and _root.CacheElect.hitTest(_root.Don._x, _root.Don._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=39", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonElect");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (1);
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (8);
};
}
}
}
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 (/Variables:Tab2Tour == true) {
setProperty("_root.TiteTourDevant", _visible , 1);
} else {
setProperty("_root.TiteTourDevant", _visible , 0);
}
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else if ((/Variables:ObjetSelect == 2) and Key.isDown(32)) {
Set("/Variables:StepTir", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tir");
};
} else {
if ((((/Variables:Tab2BombeRamasse == false) and (/Variables:Tab2BombeVu == true)) and (((((/Variables:Tab2PosBombe == 1) and _root.CacheBombePos1.hitTest(_root.Meg._x, _root.Meg._y, true)) or ((/Variables:Tab2PosBombe == 2) and _root.CacheBombePos2.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab2PosBombe == 3) and _root.CacheBombePos3.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab2PosBombe == 4) and _root.CacheBombePos4.hitTest(_root.Meg._x, _root.Meg._y, true)))) and Key.isDown(32)) {
Set("/Variables:Tab2BombeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (/Variables:Tab2Niveau == 1) {
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=26", 0);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonElect", false);
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=9", 0);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonElect", false);
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and ((((/Variables:ObjetSelect == 3) or (/Variables:ObjetSelect == 6)) or (/Variables:ObjetSelect == 7)) or (/Variables:ObjetSelect == 8))) and (/Variables:Tab2PortePet == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=8", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:Tab2PortePet", true);
Set("/Variables:ObjetRemove", /Variables:ObjetSelect);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("PoseBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((_root.CacheTourTouche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:AttendTour == true)) and (/Variables:Tab2Tour == true)) {
tellTarget ("_root.DonTour") {
play();
};
}
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab2PortePet == true)) and (getProperty("_root.Porte", _currentframe) == 47)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=23", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BunkerDroite");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CachePoteauBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PoteauBas");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheEchelle1Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle1Bas");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheEchelle3Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle3Bas");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheEchelle2Bas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle2Bas");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheEchelle2Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle2Haut");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
}
if (/Variables:Tab2Niveau == 2) {
if (getProperty("_root.Meg", _y) < 112) {
setProperty("_root.TourDevant", _visible , 1);
} else {
setProperty("_root.TourDevant", _visible , 0);
}
if ((_root.CacheLunette.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:LunetteRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=6", 0);
Set("/Variables:LunetteRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Lunette") {
gotoAndStop (2);
};
}
if (_root.CacheAntenne.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "SauteAntenne");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheEchelle3Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle3Haut");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CachePoteauHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "PoteauHaut");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (_root.CacheEchelle1Haut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "Echelle1Haut");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
}
}
if (/Variables:StepTir == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tir");
};
} else {
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");
};
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1101
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1105
Set("/Variables:EtatActif", "Tab2Grimpe");
Set("/Variables:EtatVide", "Tab2Grimpe");
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1105
onClipEvent (load) {
if (/Variables:Arrive eq "Canon") {
tellTarget ("_root.Control") {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4a.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4a");
} else if (_root.Zone4b.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4b");
} else if (_root.Zone4c.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4c");
} else if (_root.Zone4d.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4d");
} else if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone5");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt11");
}
}
if ((/Variables:DestDon eq "Pt11") and _root.Pt11.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt11", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt11", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if ((/Variables:AttendTour == true) and (!_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true))) {
Set("/Variables:AttendTour", false);
Set("/Variables:DestDon", "Pt14");
Set("/Variables:EtatDon", "Marche");
tellTarget ("_root.DonTour") {
gotoAndStop (1);
};
}
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((getProperty("_root.Don", _x) < getProperty("_root.Pt13", _x)) or (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Tour == true))) {
Set("/Variables:DestDon", "Pt13");
} else {
Set("/Variables:DestDon", "Pt14");
}
}
if ((/Variables:DestDon eq "Pt14") and _root.Pt14.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt14", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt14", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
if ((/Variables:DestDon eq "Pt13") and _root.Pt13.hitTest(_root.Don.Pieds)) {
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Tour == true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:AttendTour", true);
setProperty("_root.Don", _x , getProperty("_root.Pt13", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt13", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
tellTarget ("_root.DonTour") {
gotoAndStop (2);
};
} else {
Set("/Variables:DestDon", "Pt14");
}
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (((_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17b");
} else {
Set("/Variables:DestDon", "Pt15");
}
}
if ((/Variables:DestDon eq "Pt15") and _root.Pt15.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt15", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt156", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (7);
};
}
}
if (_root.Zone4a.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4a")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17b");
} else if (_root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17d");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt15");
} else {
Set("/Variables:DestDon", "Pt15");
}
}
}
if (_root.Zone4b.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4b")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17a");
} else if (_root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17c");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17a");
} else {
Set("/Variables:DestDon", "Pt17a");
}
}
}
if (_root.Zone4c.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4c")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17b");
} else if (_root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17d");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17b");
} else {
Set("/Variables:DestDon", "Pt17b");
}
}
}
if (_root.Zone4d.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4d")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17a");
} else if (_root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17c");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt17a");
} else {
Set("/Variables:DestDon", "Pt17a");
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
}
if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone5")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt19");
}
}
if ((/Variables:DestDon eq "Pt19") and _root.Pt19.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt19", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt19", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Idle");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if ((/Variables:Tour2Pet == true) and _root.CacheElect.hitTest(_root.Don._x, _root.Don._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=39", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonElect");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (1);
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (2);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (3);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (4);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (5);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (6);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (7);
};
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don") {
gotoAndStop (8);
};
}
}
}
};
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert == false)) {
if ((/Variables:Arrive eq "Canon") and Key.isDown(17)) {
Set("/Variables:Arrive", "SortCanon");
tellTarget ("_root.Control") {
gotoAndStop (1);
};
tellTarget ("_root.SortCanon") {
gotoAndPlay (2);
};
}
if ((/Variables:Arrive eq "Canon") and (/Variables:CanonTir == false)) {
if (Key.isDown(32)) {
Set("/Variables:CanonTir", true);
tellTarget ("_root.Canon.Canon.CanonTir.Tir1") {
play();
};
tellTarget ("_root.Canon.Canon.CanonTir.Tir2") {
play();
};
tellTarget ("_root.Canon.Canon.CanonTir.Tir3") {
play();
};
} else if (Key.isDown(37)) {
if (1 < /Variables:Canon2Pos) {
Set("/Variables:Canon2Pos", /Variables:Canon2Pos - 1);
}
tellTarget ("_root.Canon.Canon") {
prevFrame();
};
} else if (Key.isDown(39)) {
if (/Variables:Canon2Pos < 12) {
Set("/Variables:Canon2Pos", /Variables:Canon2Pos + 1);
}
tellTarget ("_root.Canon.Canon") {
nextFrame();
};
}
}
}
}
Instance of Symbol 4068 MovieClip "Zone1" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4070 MovieClip "Zone2" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4072 MovieClip "Zone3" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4074 MovieClip "Zone7" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4076 MovieClip "Zone5" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4078 MovieClip "Zone4" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4080 MovieClip "Zone8" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4082 MovieClip "Zone6" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt20" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt21" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt22" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt26" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt25" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt24" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt27" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt28" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt29" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt30" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt23" in Frame 1111
onClipEvent (load) {
_visible = 0;
}
Frame 1112
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
tellTarget ("_root.Gts") {
gotoAndStop (6);
};
if (/Variables:From eq "Tab3Eau") {
setProperty("_root.Meg", _x , int(/Variables:XTemp));
setProperty("_root.Meg", _y , int(/Variables:YTemp));
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
} else {
Set("/Variables:MegDessus", false);
}
Frame 1113
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:Run", false);
if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.ControlDon") {
play();
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1113
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
} else if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone5");
} else if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone6");
} else if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone7");
} else if (_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone8");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt20");
}
}
if ((/Variables:DestDon eq "Pt20") and _root.Pt20.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (((random(100) < 50) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
}
}
if ((_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if (/Variables:DestDon ne "Pt22") {
Set("/Variables:DestDon", "Pt21");
}
}
if ((/Variables:DestDon eq "Pt21") and _root.Pt21.hitTest(_root.Don.Pieds)) {
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else {
Random = random(75);
if (Random < 25) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (Random < 50) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
}
if ((_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt21");
} else if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if ((/Variables:DestDon ne "Pt21") and (/Variables:DestDon ne "Pt22")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt21");
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
if ((/Variables:DestDon eq "Pt22") and _root.Pt22.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt22", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt22", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (13);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (11);
};
}
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt28");
}
}
}
if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone5")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt26");
}
}
if ((/Variables:DestDon eq "Pt26") and _root.Pt26.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt26", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt26", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) or ((/Variables:ZoneActive eq "Zone6") and (/Variables:DonEau == true))) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if ((getProperty("_root.Pt29", _x) < getProperty("_root.Don", _x)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
if (((/Variables:DestDon eq "Pt29") and _root.Pt29.hitTest(_root.Don.Pieds)) and (!_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true))) {
Set("/Variables:DestDon", "Pt23");
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
}
if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone7")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (getProperty("_root.Pt30", _x) < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt30");
} else {
Set("/Variables:DestDon", "Pt29");
}
}
if ((/Variables:DestDon eq "Pt30") and _root.Pt30.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt29");
}
}
if ((_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone8")) and (/Variables:DonEau == true)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if ((/Variables:DestDon ne "Pt27") and (/Variables:DestDon ne "Pt23")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt27");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt27") and _root.Pt27.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt27", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt27", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (12);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
setProperty("_root.RadarDevant", _visible , 0);
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else if ((/Variables:ObjetSelect == 2) and Key.isDown(32)) {
Set("/Variables:StepTir", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tir");
};
} else {
if (_root.CacheVersTab2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=22", 0);
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
if (((_root.CacheBombeRadar.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:RadarPet == false)) and ((((/Variables:ObjetSelect == 3) or (/Variables:ObjetSelect == 6)) or (/Variables:ObjetSelect == 7)) or (/Variables:ObjetSelect == 8))) {
Set("/Variables:Stoppe", true);
Set("/Variables:ObjetRemove", /Variables:ObjetSelect);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("PoseBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((_root.CacheSauteRadar.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(17)) and (((getProperty("_root.Meg", _currentframe) == 1) or (getProperty("_root.Meg", _currentframe) == 2)) or (getProperty("_root.Meg", _currentframe) == 3))) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SauteRadar");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((_root.CacheArbre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(17)) and ((getProperty("_root.Meg", _currentframe) == 1) or (getProperty("_root.Meg", _currentframe) == 8))) {
Set("/Variables:Arrive", "Arbre");
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if (_root.CacheHautMarche.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DescendMarche1");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheBambou.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
if ((/Variables:ObjetSelect == 1) and (/Variables:Tab3Bambou == true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=18", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:Tab3Bambou", false);
tellTarget ("_root.Bambou") {
gotoAndStop (2);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("CoupeBambou");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:Tab3Bambou == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MonteMarche1");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (_root.CacheEntreEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=10", 0);
Set("/Variables:From", "Tab3");
Set("/Variables:Stoppe", true);
Set("/Variables:XTemp", getProperty("_root.Meg", _x) + 40);
Set("/Variables:YTemp", getProperty("_root.Meg", _y) + 20);
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreEau");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (/Variables:StepTir == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tir");
};
} else {
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");
};
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1118
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1122
Set("/Variables:EtatActif", "Tab3Grimpe");
Set("/Variables:EtatVide", "Tab3Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1122
onClipEvent (enterFrame) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
} else if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone5");
} else if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone6");
} else if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone7");
} else if (_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone8");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt20");
}
}
if ((/Variables:DestDon eq "Pt20") and _root.Pt20.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (((random(100) < 50) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
}
}
if ((_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if (/Variables:DestDon ne "Pt22") {
Set("/Variables:DestDon", "Pt21");
}
}
if ((/Variables:DestDon eq "Pt21") and _root.Pt21.hitTest(_root.Don.Pieds)) {
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else {
Random = random(75);
if (Random < 25) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (Random < 50) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
}
if ((_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt21");
} else if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if ((/Variables:DestDon ne "Pt21") and (/Variables:DestDon ne "Pt22")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt21");
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
if ((/Variables:DestDon eq "Pt22") and _root.Pt22.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt22", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt22", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (13);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (11);
};
}
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt28");
}
}
}
if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone5")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt26");
}
}
if ((/Variables:DestDon eq "Pt26") and _root.Pt26.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt26", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt26", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone6")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Don", _x) < getProperty("_root.Pt29", _x))) {
Set("/Variables:DestDon", "Pt29");
} else if (_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt30");
} else if ((getProperty("_root.Pt29", _x) < getProperty("_root.Don", _x)) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
if (((/Variables:DestDon eq "Pt29") and _root.Pt29.hitTest(_root.Don.Pieds)) and (!_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true))) {
Set("/Variables:DestDon", "Pt23");
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
}
if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone7")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (getProperty("_root.Pt30", _x) < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt30");
} else {
Set("/Variables:DestDon", "Pt29");
}
}
if ((/Variables:DestDon eq "Pt30") and _root.Pt30.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt29");
}
}
if ((_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone8")) and (/Variables:DonEau == true)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else if ((/Variables:DestDon ne "Pt27") and (/Variables:DestDon ne "Pt23")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt27");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt27") and _root.Pt27.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt27", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt27", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (12);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Idle");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1126
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab3EauStoppe");
Set("/Variables:EtatActif", "Tab3Eau");
tellTarget ("_root.Gts") {
gotoAndStop (6);
};
if (/Variables:From eq "Tab3") {
setProperty("_root.Meg", _x , int(/Variables:XTemp));
setProperty("_root.Meg", _y , int(/Variables:YTemp));
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
if (/Variables:From eq "Radar") {
setProperty("_root.Meg", _x , 302);
setProperty("_root.Meg", _y , 389);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab4Eau") {
Set("/Variables:MegDessus", false);
setProperty("_root.Meg", _x , 184);
setProperty("_root.Meg", _y , 388);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
Frame 1127
Set("/Variables:EtatActif", "Tab3Eau");
Set("/Variables:EtatVide", "Tab3EauStoppe");
Set("/Variables:Run", false);
if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.ControlDon") {
play();
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1127
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
} else if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone5");
} else if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone6");
} else if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone7");
} else if (_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone8");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt20");
}
}
if ((/Variables:DestDon eq "Pt20") and _root.Pt20.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (((random(100) < 50) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
}
}
if ((_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if (/Variables:DestDon ne "Pt22") {
Set("/Variables:DestDon", "Pt21");
}
}
if ((/Variables:DestDon eq "Pt21") and _root.Pt21.hitTest(_root.Don.Pieds)) {
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else {
Random = random(75);
if (Random < 25) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (Random < 50) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
}
if ((_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt21");
} else if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if ((/Variables:DestDon ne "Pt21") and (/Variables:DestDon ne "Pt22")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt21");
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
if ((/Variables:DestDon eq "Pt22") and _root.Pt22.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt22", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt22", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (13);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (11);
};
}
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt28");
}
}
}
if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone5")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt26");
}
}
if ((/Variables:DestDon eq "Pt26") and _root.Pt26.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt26", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt26", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) or ((/Variables:ZoneActive eq "Zone6") and (/Variables:DonEau == true))) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Don", _x) < getProperty("_root.Pt29", _x))) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else if (_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt30");
} else if (getProperty("_root.Pt29", _x) < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt29");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
if (((/Variables:DestDon eq "Pt29") and _root.Pt29.hitTest(_root.Don.Pieds)) and (!_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true))) {
Set("/Variables:DestDon", "Pt23");
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
}
if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone7")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (getProperty("_root.Pt30", _x) < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt30");
} else {
Set("/Variables:DestDon", "Pt29");
}
}
if ((/Variables:DestDon eq "Pt30") and _root.Pt30.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt29");
}
}
if ((_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone8")) and (/Variables:DonEau == true)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else if ((/Variables:DestDon ne "Pt27") and (/Variables:DestDon ne "Pt23")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt27");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt27") and _root.Pt27.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt27", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt27", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (12);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else {
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=11", 0);
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab4EauIni");
};
}
if (_root.CacheSortEau.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=17", 0);
Set("/Variables:From", "Tab3Eau");
Set("/Variables:Stoppe", true);
Set("/Variables:XTemp", getProperty("_root.Meg", _x) - 40);
Set("/Variables:YTemp", getProperty("_root.Meg", _y) - 20);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SortEau");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (getProperty("_root.Meg", _y) < 288) {
setProperty("_root.RadarDevant", _visible , 1);
} else {
setProperty("_root.RadarDevant", _visible , 0);
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
if (((Key.isDown(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
if (((Key.isDown(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1132
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1136
Set("/Variables:EtatActif", "Tab3EauGrimpe");
Set("/Variables:EtatVide", "Tab3EauGrimpe");
setProperty("_root.Meg", _visible , 0);
setProperty("_root.Meg", _x , -100);
setProperty("_root.Meg", _y , -100);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1136
onClipEvent (enterFrame) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == false)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
} else if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone5");
} else if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone6");
} else if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone7");
} else if (_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) and (/Variables:DonEau == true)) {
Set("/Variables:ZoneActive", "Zone8");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt20");
}
}
if ((/Variables:DestDon eq "Pt20") and _root.Pt20.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (((random(100) < 50) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (8);
};
}
}
}
if ((_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if (/Variables:DestDon ne "Pt22") {
Set("/Variables:DestDon", "Pt21");
}
}
if ((/Variables:DestDon eq "Pt21") and _root.Pt21.hitTest(_root.Don.Pieds)) {
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else {
Random = random(75);
if (Random < 25) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (10);
};
} else if (Random < 50) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
}
if ((_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) and (/Variables:DonEau == false)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt21");
} else if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt22");
} else if ((/Variables:DestDon ne "Pt21") and (/Variables:DestDon ne "Pt22")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt21");
} else {
Set("/Variables:DestDon", "Pt22");
}
}
}
if ((/Variables:DestDon eq "Pt22") and _root.Pt22.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt22", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt22", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
if (_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.AgpDon") {
gotoAndStop (13);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (11);
};
}
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt28");
}
}
}
if (_root.Zone5.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone5")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone5.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:DestDon", "Pt26");
}
}
if ((/Variables:DestDon eq "Pt26") and _root.Pt26.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt26", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt26", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (_root.Zone6.hitTest(_root.Don._x, _root.Don._y, true) or ((/Variables:ZoneActive eq "Zone6") and (/Variables:DonEau == true))) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Don", _x) < getProperty("_root.Pt29", _x))) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else if (_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt30");
} else if (getProperty("_root.Pt29", _x) < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt29");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
if (((/Variables:DestDon eq "Pt29") and _root.Pt29.hitTest(_root.Don.Pieds)) and (!_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true))) {
Set("/Variables:DestDon", "Pt23");
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
}
if (_root.Zone7.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone7")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (getProperty("_root.Pt30", _x) < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt30");
} else {
Set("/Variables:DestDon", "Pt29");
}
}
if ((/Variables:DestDon eq "Pt30") and _root.Pt30.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt29");
}
}
if ((_root.Zone8.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone8")) and (/Variables:DonEau == true)) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone8.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone6.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt29");
} else if ((/Variables:DestDon ne "Pt27") and (/Variables:DestDon ne "Pt23")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt27");
} else {
Set("/Variables:DestDon", "Pt23");
}
}
}
if ((/Variables:DestDon eq "Pt23") and _root.Pt23.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt27") and _root.Pt27.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt27", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt27", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (12);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Instance of Symbol 4178 MovieClip "Zone1" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4180 MovieClip "Zone2" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4182 MovieClip "Zone3" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4184 MovieClip "Zone4" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt31" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt32" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt33" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt34" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt35" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt37" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt38" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt39" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt40" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "PtCanon" in Frame 1142
onClipEvent (load) {
_visible = 0;
}
Frame 1143
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
tellTarget ("_root.Gts") {
gotoAndStop (8);
};
Frame 1144
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:Run", false);
if ((/Variables:EtatDon eq "PasLa") and (/Variables:DonPlateForm == false)) {
tellTarget ("_root.ControlDon") {
play();
};
}
if (/Variables:From eq "Tab4Echelle") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 372);
setProperty("_root.Meg", _y , 117);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
} else if (/Variables:From eq "Tab4Corde") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 210);
setProperty("_root.Meg", _y , 280);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
} else {
Set("/Variables:MegDessus", false);
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1144
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (((/Variables:DestDon ne "Pt31") and (/Variables:DestDon ne "Pt34")) and (/Variables:DestDon ne "Pt35")) {
if (getProperty("_root.Don", _y) < 337) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt31");
}
} else if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt35");
}
}
}
if ((/Variables:DestDon eq "Pt35") and _root.Pt35.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if (((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) and (/Variables:PlateFormPet != 0)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt34", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt34", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if ((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt35");
} else {
Set("/Variables:DestDon", "Pt31");
}
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt34") and (/Variables:DestDon ne "Pt39")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt39");
}
}
}
if ((/Variables:DestDon eq "Pt39") and _root.Pt39.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (40 < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt40");
} else {
Set("/Variables:DestDon", "Pt32");
}
} else if ((((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt40")) and (/Variables:DestDon ne "Pt38")) and (/Variables:DestDon ne "Pt33")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt33");
} else {
Set("/Variables:DestDon", "Pt40");
}
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt33") and _root.Pt33.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt33", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt33", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt40") and _root.Pt40.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt32");
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
if (getProperty("_root.Don", _x) < 32) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt38");
}
} else if ((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt37")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
}
if ((/Variables:DestDon eq "Pt32") and _root.Pt32.hitTest(_root.Don.Pieds)) {
if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Pt38");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
if ((/Variables:DestDon eq "Pt37") and _root.Pt37.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if ((/Variables:PlateFormPet == 1) and (((_root.CachePoutre1.hitTest(_root.Don._x, _root.Don._y, true) or _root.CachePoutre2.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre3.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre4.hitTest(_root.Don._x, _root.Don._y, true))) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=48", 0);
Set("/Variables:DonPlateForm", true);
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonPoutre");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else if ((/Variables:ObjetSelect == 2) and Key.isDown(32)) {
Set("/Variables:StepTir", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tir");
};
} else {
if ((_root.CacheMachette.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:MachetteRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=13", 0);
Set("/Variables:MachetteRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Gazebo.Machette") {
gotoAndStop (2);
};
}
if ((((/Variables:Tab4BombeRamasse == false) and (/Variables:Tab4BombeVu == true)) and (((((/Variables:Tab4PosBombe == 1) and _root.CacheBombePos1.hitTest(_root.Meg._x, _root.Meg._y, true)) or ((/Variables:Tab4PosBombe == 2) and _root.CacheBombePos2.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab4PosBombe == 3) and _root.CacheBombePos3.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab4PosBombe == 4) and _root.CacheBombePos4.hitTest(_root.Meg._x, _root.Meg._y, true)))) and Key.isDown(32)) {
Set("/Variables:Tab4BombeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=53", 0);
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonPlateForm", false);
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheCordeHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "CordeHaut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheEchelleHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "EchelleHaut");
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
}
if (/Variables:StepTir == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tir");
};
} else {
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");
};
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1149
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1153
Set("/Variables:EtatActif", "Tab4Grimpe");
Set("/Variables:EtatVide", "Tab4Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1153
onClipEvent (enterFrame) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (((/Variables:DestDon ne "Pt31") and (/Variables:DestDon ne "Pt34")) and (/Variables:DestDon ne "Pt35")) {
if (getProperty("_root.Don", _y) < 337) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt31");
}
} else if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt35");
}
}
}
if ((/Variables:DestDon eq "Pt35") and _root.Pt35.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if (((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) and (/Variables:PlateFormPet != 0)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt34", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt34", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if ((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt35");
} else {
Set("/Variables:DestDon", "Pt31");
}
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt34") and (/Variables:DestDon ne "Pt39")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt39");
}
}
}
if ((/Variables:DestDon eq "Pt39") and _root.Pt39.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (40 < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt40");
} else {
Set("/Variables:DestDon", "Pt32");
}
} else if ((((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt40")) and (/Variables:DestDon ne "Pt38")) and (/Variables:DestDon ne "Pt33")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt33");
} else {
Set("/Variables:DestDon", "Pt40");
}
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt33") and _root.Pt33.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt33", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt33", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt40") and _root.Pt40.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt32");
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
if (getProperty("_root.Don", _x) < 32) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt38");
}
} else if ((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt37")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
}
if ((/Variables:DestDon eq "Pt32") and _root.Pt32.hitTest(_root.Don.Pieds)) {
if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Pt38");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
if ((/Variables:DestDon eq "Pt37") and _root.Pt37.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Idle");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if ((/Variables:PlateFormPet == 1) and (((_root.CachePoutre1.hitTest(_root.Don._x, _root.Don._y, true) or _root.CachePoutre2.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre3.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre4.hitTest(_root.Don._x, _root.Don._y, true))) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=48", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonPoutre");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1158
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab4EauStoppe");
Set("/Variables:EtatActif", "Tab4Eau");
tellTarget ("_root.Gts") {
gotoAndStop (8);
};
if (/Variables:From eq "Tab3") {
setProperty("_root.Meg", _x , 578);
setProperty("_root.Meg", _y , 213);
Set("/Variables:MegDessus", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Tab5Eau") {
Set("/Variables:MegDessus", false);
setProperty("_root.Meg", _x , 184);
setProperty("_root.Meg", _y , 391);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
}
Frame 1159
Set("/Variables:EtatActif", "Tab4Eau");
Set("/Variables:EtatVide", "Tab4EauStoppe");
Set("/Variables:Run", false);
if ((/Variables:EtatDon eq "PasLa") and (/Variables:DonPlateForm == false)) {
tellTarget ("_root.ControlDon") {
play();
};
}
if (/Variables:From eq "PlateForm") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 257);
setProperty("_root.Meg", _y , 369);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab4Echelle") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 372);
setProperty("_root.Meg", _y , 187);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Tab4Corde") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , 216);
setProperty("_root.Meg", _y , 376);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1159
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (((/Variables:DestDon ne "Pt31") and (/Variables:DestDon ne "Pt34")) and (/Variables:DestDon ne "Pt35")) {
if (getProperty("_root.Don", _y) < 337) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt31");
}
} else if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt35");
}
}
}
if ((/Variables:DestDon eq "Pt35") and _root.Pt35.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if (((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) and (/Variables:PlateFormPet != 0)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt34", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt34", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if ((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt35");
} else {
Set("/Variables:DestDon", "Pt31");
}
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt34") and (/Variables:DestDon ne "Pt39")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt39");
}
}
}
if ((/Variables:DestDon eq "Pt39") and _root.Pt39.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (40 < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt40");
} else {
Set("/Variables:DestDon", "Pt32");
}
} else if ((((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt40")) and (/Variables:DestDon ne "Pt38")) and (/Variables:DestDon ne "Pt33")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt33");
} else {
Set("/Variables:DestDon", "Pt40");
}
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt33") and _root.Pt33.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt33", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt33", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt40") and _root.Pt40.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt32");
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
if (getProperty("_root.Don", _x) < 32) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt38");
}
} else if ((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt37")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
}
if ((/Variables:DestDon eq "Pt32") and _root.Pt32.hitTest(_root.Don.Pieds)) {
if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Pt38");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
if ((/Variables:DestDon eq "Pt37") and _root.Pt37.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if ((/Variables:PlateFormPet == 1) and (((_root.CachePoutre1.hitTest(_root.Don._x, _root.Don._y, true) or _root.CachePoutre2.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre3.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre4.hitTest(_root.Don._x, _root.Don._y, true))) {
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonPoutre");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (getProperty("_root.Meg", _y) < 293) {
setProperty("_root.TouffeDevant", _visible , 1);
} else {
setProperty("_root.TouffeDevant", _visible , 0);
}
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else {
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:From", "Tab4Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab5EauIni");
};
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheVersTab3b.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=16", 0);
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonPlateForm", false);
Set("/Variables:From", "Tab4Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
}
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and ((((/Variables:ObjetSelect == 3) or (/Variables:ObjetSelect == 6)) or (/Variables:ObjetSelect == 7)) or (/Variables:ObjetSelect == 8))) and (/Variables:Tab4PortePet == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=44", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:Tab4PortePet", true);
Set("/Variables:ObjetRemove", /Variables:ObjetSelect);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("PoseBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab4PortePet == true)) and (getProperty("_root.BunkerDevant.Porte", _currentframe) == 47)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=50", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BunkerDroite");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((_root.CacheCordeBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:PlateFormPet != 0)) {
Set("/Variables:Arrive", "CordeBas");
tellTarget ("_root") {
gotoAndStop ("Tab4EauGrimpe");
};
}
if (_root.CacheEchelleBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "EchelleBas");
tellTarget ("_root") {
gotoAndStop ("Tab4EauGrimpe");
};
}
if ((((/Variables:Tab4BombeRamasse == false) and (/Variables:Tab4BombeVu == true)) and (((((/Variables:Tab4PosBombe == 1) and _root.CacheBombePos1.hitTest(_root.Meg._x, _root.Meg._y, true)) or ((/Variables:Tab4PosBombe == 2) and _root.CacheBombePos2.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab4PosBombe == 3) and _root.CacheBombePos3.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab4PosBombe == 4) and _root.CacheBombePos4.hitTest(_root.Meg._x, _root.Meg._y, true)))) and Key.isDown(32)) {
Set("/Variables:Tab4BombeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (getProperty("_root.Meg", _y) < 276) {
setProperty("_root.Poteau1Devant", _visible , 1);
setProperty("_root.Poteau2Devant", _visible , 1);
setProperty("_root.Poteau3Devant", _visible , 1);
setProperty("_root.Poteau4Devant", _visible , 1);
} else if (getProperty("_root.Meg", _y) < 332) {
setProperty("_root.Poteau1Devant", _visible , 0);
setProperty("_root.Poteau2Devant", _visible , 0);
setProperty("_root.Poteau3Devant", _visible , 1);
setProperty("_root.Poteau4Devant", _visible , 1);
} else {
setProperty("_root.Poteau1Devant", _visible , 0);
setProperty("_root.Poteau2Devant", _visible , 0);
setProperty("_root.Poteau3Devant", _visible , 0);
setProperty("_root.Poteau4Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 329) {
setProperty("_root.BunkerDevant", _visible , 1);
} else {
setProperty("_root.BunkerDevant", _visible , 0);
}
if (_root.CacheVersTab3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonPlateForm", false);
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
if (((Key.isDown(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
if (((Key.isDown(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1164
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1168
Set("/Variables:EtatActif", "Tab4EauGrimpe");
Set("/Variables:EtatVide", "Tab4EauGrimpe");
setProperty("_root.Meg", _visible , 0);
setProperty("_root.Meg", _x , -100);
setProperty("_root.Meg", _y , -100);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1168
onClipEvent (load) {
if (/Variables:Arrive eq "Canon") {
tellTarget ("_root.Control") {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (((/Variables:DestDon ne "Pt31") and (/Variables:DestDon ne "Pt34")) and (/Variables:DestDon ne "Pt35")) {
if (getProperty("_root.Don", _y) < 337) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt31");
}
} else if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt35");
}
}
}
if ((/Variables:DestDon eq "Pt35") and _root.Pt35.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if (((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) and (/Variables:PlateFormPet != 0)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt34", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt34", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if ((/Variables:DestDon eq "Pt34") and _root.Pt34.hitTest(_root.Don.Pieds)) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt35");
} else {
Set("/Variables:DestDon", "Pt31");
}
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt34") and (/Variables:DestDon ne "Pt39")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt34");
} else {
Set("/Variables:DestDon", "Pt39");
}
}
}
if ((/Variables:DestDon eq "Pt39") and _root.Pt39.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (40 < getProperty("_root.Don", _x)) {
Set("/Variables:DestDon", "Pt40");
} else {
Set("/Variables:DestDon", "Pt32");
}
} else if ((((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt40")) and (/Variables:DestDon ne "Pt38")) and (/Variables:DestDon ne "Pt33")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt33");
} else {
Set("/Variables:DestDon", "Pt40");
}
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt33") and _root.Pt33.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt33", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt33", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (5);
};
}
if ((/Variables:DestDon eq "Pt40") and _root.Pt40.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt32");
}
}
if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone4")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone4.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
if (getProperty("_root.Don", _x) < 32) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt38");
}
} else if ((/Variables:DestDon ne "Pt32") and (/Variables:DestDon ne "Pt37")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt32");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
}
if ((/Variables:DestDon eq "Pt32") and _root.Pt32.hitTest(_root.Don.Pieds)) {
if ((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) {
Set("/Variables:DestDon", "Pt38");
} else {
Set("/Variables:DestDon", "Pt37");
}
}
if ((/Variables:DestDon eq "Pt37") and _root.Pt37.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if ((/Variables:PlateFormPet == 1) and (((_root.CachePoutre1.hitTest(_root.Don._x, _root.Don._y, true) or _root.CachePoutre2.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre3.hitTest(_root.Don._x, _root.Don._y, true)) or _root.CachePoutre4.hitTest(_root.Don._x, _root.Don._y, true))) {
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonPoutre");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert == false)) {
if ((/Variables:Arrive eq "Canon") and Key.isDown(17)) {
Set("/Variables:Arrive", "SortCanon");
tellTarget ("_root.Control") {
gotoAndStop (1);
};
tellTarget ("_root.SortCanon") {
gotoAndPlay (2);
};
}
if ((/Variables:Arrive eq "Canon") and (/Variables:CanonTir == false)) {
setProperty("_root.BunkerDevant", _visible , 0);
if (Key.isDown(32)) {
Set("/Variables:CanonTir", true);
tellTarget ("_root.Canon.Canon.CanonTir.Tir1") {
play();
};
tellTarget ("_root.Canon.Canon.CanonTir.Tir2") {
play();
};
tellTarget ("_root.Canon.Canon.CanonTir.Tir3") {
play();
};
} else if (Key.isDown(37)) {
if (1 < /Variables:Canon4Pos) {
Set("/Variables:Canon4Pos", /Variables:Canon4Pos - 1);
}
tellTarget ("_root.Canon.Canon") {
prevFrame();
};
} else if (Key.isDown(39)) {
if (/Variables:Canon4Pos < 12) {
Set("/Variables:Canon4Pos", /Variables:Canon4Pos + 1);
}
tellTarget ("_root.Canon.Canon") {
nextFrame();
};
}
}
}
}
Frame 1176
if (/Variables:From eq "Tab1") {
Set("/Variables:Arrive", "LianeHaut");
gotoAndStop (1187);
}
Instance of Symbol 4271 MovieClip "Zone1" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4273 MovieClip "Zone2" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 4275 MovieClip "Zone3" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt42" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt41" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt43" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt44" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt45" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt46" in Frame 1176
onClipEvent (load) {
_visible = 0;
}
Frame 1177
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:DonPont", false);
tellTarget ("_root.Gts") {
gotoAndStop (10);
};
if (/Variables:From eq "Tab4") {
Set("/Variables:MegDessus", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Frame 1178
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:Run", false);
if ((/Variables:EtatDon eq "PasLa") and (/Variables:DonAzote == false)) {
tellTarget ("_root.ControlDon") {
play();
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1178
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt46");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt44");
} else if (/Variables:DestDon ne "Pt44") {
Set("/Variables:DestDon", "Pt45");
}
}
if ((/Variables:DestDon eq "Pt45") and _root.Pt45.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt44") and _root.Pt44.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt44", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt44", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt46") and (/Variables:DestDon ne "Pt45")) {
Set("/Variables:DestDon", "Pt46");
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt46") and _root.Pt46.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt45");
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt43");
} else if ((/Variables:DestDon ne "Pt41") and (/Variables:DestDon ne "Pt43")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt43");
} else {
Set("/Variables:DestDon", "Pt41");
}
}
}
if ((/Variables:DestDon eq "Pt41") and _root.Pt41.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt43") and _root.Pt43.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt43", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt43", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if (_root.CacheDonTombe.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonTombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else if ((/Variables:ObjetSelect == 2) and Key.isDown(32)) {
Set("/Variables:StepTir", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tir");
};
} else if (((/Variables:ObjetSelect == 4) and Key.isDown(32)) and (/Variables:PosCrochet == 1)) {
tellTarget ("_root.Crochet") {
gotoAndStop ("Baisse");
};
} else if (((/Variables:ObjetSelect == 4) and Key.isDown(32)) and (/Variables:PosCrochet == 3)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PetRoche");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else {
if (((/Variables:BombonneRamasse == false) and _root.CacheBombonne.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombonne");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
if ((_root.CacheSauteFalaise.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(17)) and (((getProperty("_root.Meg", _currentframe) == 1) or (getProperty("_root.Meg", _currentframe) == 2)) or (getProperty("_root.Meg", _currentframe) == 3))) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SauteFalaise");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
if (((_root.CacheCrochet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:PosCrochet == 2)) and (getProperty("_root.Crochet", _currentframe) == 2)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PosCrochet");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
}
if (_root.CacheLiane.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) {
Set("/Variables:Arrive", "LianeBas");
tellTarget ("_root") {
gotoAndStop ("Tab5Grimpe");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonAzote", false);
Set("/Variables:From", "Tab5");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if ((((/Variables:Tab5BombeRamasse == false) and (/Variables:Tab5BombeVu == true)) and (((((/Variables:Tab5PosBombe == 1) and _root.CacheBombePos1.hitTest(_root.Meg._x, _root.Meg._y, true)) or ((/Variables:Tab5PosBombe == 2) and _root.CacheBombePos2.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab5PosBombe == 3) and _root.CacheBombePos3.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab5PosBombe == 4) and _root.CacheBombePos4.hitTest(_root.Meg._x, _root.Meg._y, true)))) and Key.isDown(32)) {
Set("/Variables:Tab5BombeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (/Variables:StepTir == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Tir");
};
} else {
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");
};
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1183
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1187
Set("/Variables:EtatActif", "Tab5Grimpe");
Set("/Variables:EtatVide", "Tab5Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1187
onClipEvent (enterFrame) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt46");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt44");
} else if (/Variables:DestDon ne "Pt44") {
Set("/Variables:DestDon", "Pt45");
}
}
if ((/Variables:DestDon eq "Pt45") and _root.Pt45.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt44") and _root.Pt44.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt44", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt44", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt46") and (/Variables:DestDon ne "Pt45")) {
Set("/Variables:DestDon", "Pt46");
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt46") and _root.Pt46.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt45");
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt43");
} else if ((/Variables:DestDon ne "Pt41") and (/Variables:DestDon ne "Pt43")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt43");
} else {
Set("/Variables:DestDon", "Pt41");
}
}
}
if ((/Variables:DestDon eq "Pt41") and _root.Pt41.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt43") and _root.Pt43.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt43", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt43", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Idle");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if (_root.CacheDonTombe.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonTombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1194
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:Run", false);
Set("/Variables:EtatVide", "Tab5EauStoppe");
Set("/Variables:EtatActif", "Tab5Eau");
tellTarget ("_root.Gts") {
gotoAndStop (10);
};
if (/Variables:From eq "Falaise") {
setProperty("_root.Meg", _x , 429);
setProperty("_root.Meg", _y , 370);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Tab4Eau") {
Set("/Variables:MegDessus", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Frame 1195
Set("/Variables:EtatActif", "Tab5Eau");
Set("/Variables:EtatVide", "Tab5EauStoppe");
Set("/Variables:Run", false);
if ((/Variables:EtatDon eq "PasLa") and (/Variables:DonAzote == false)) {
tellTarget ("_root.ControlDon") {
play();
};
}
stop();
Instance of Symbol 2259 MovieClip in Frame 1195
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (((/Variables:MegDessus == false) and _root.Meg.hitTest(_root.Don)) and (getProperty(_root.Don, _y) < getProperty(_root.Meg, _y))) {
Set("/Variables:MegDessus", true);
_root.Swap.swapDepths(_root.Don);
} else if ((/Variables:MegDessus == true) and ((!_root.Meg.hitTest(_root.Don)) or (getProperty(_root.Meg, _y) < getProperty(_root.Don, _y)))) {
Set("/Variables:MegDessus", false);
_root.Swap.swapDepths(_root.Don);
}
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
}
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt46");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt44");
} else if (/Variables:DestDon ne "Pt44") {
Set("/Variables:DestDon", "Pt45");
}
}
if ((/Variables:DestDon eq "Pt45") and _root.Pt45.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt44") and _root.Pt44.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt44", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt44", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt46") and (/Variables:DestDon ne "Pt45")) {
Set("/Variables:DestDon", "Pt46");
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt46") and _root.Pt46.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt45");
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt43");
} else if ((/Variables:DestDon ne "Pt41") and (/Variables:DestDon ne "Pt43")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt43");
} else {
Set("/Variables:DestDon", "Pt41");
}
}
}
if ((/Variables:DestDon eq "Pt41") and _root.Pt41.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt43") and _root.Pt43.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt43", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt43", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if (_root.CacheDonTombe.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonTombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (_root.CacheAzote.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:TubePet == true)) {
Set("/Variables:Vie", /Variables:Vie - 5);
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));
}
setProperty("_root.BucheDevant", _visible , 0);
if (getProperty("_root.Meg", _y) < 325) {
setProperty("_root.BunkerDevant", _visible , 1);
} else {
setProperty("_root.BunkerDevant", _visible , 0);
}
if ((/Variables:ObjetSelect == 5) and Key.isDown(32)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LunetteMovie") {
gotoAndStop (2);
};
} else if (((/Variables:ObjetSelect == 4) and Key.isDown(32)) and (/Variables:PosCrochet == 1)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=63", 0);
tellTarget ("_root.Crochet") {
gotoAndStop ("Baisse");
};
} else if (((/Variables:ObjetSelect == 4) and Key.isDown(32)) and (/Variables:PosCrochet == 3)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PetRoche");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else {
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and ((((/Variables:ObjetSelect == 3) or (/Variables:ObjetSelect == 6)) or (/Variables:ObjetSelect == 7)) or (/Variables:ObjetSelect == 8))) and (/Variables:Tab5PortePet == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=57", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:Tab5PortePet", true);
Set("/Variables:ObjetRemove", /Variables:ObjetSelect);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("PoseBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((_root.CachePorte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(32)) and (/Variables:Tab5PortePet == true)) and (getProperty("_root.BunkerDevant.Porte", _currentframe) == 47)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=58", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BunkerGauche");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((((/Variables:Tab5BombeRamasse == false) and (/Variables:Tab5BombeVu == true)) and (((((/Variables:Tab5PosBombe == 1) and _root.CacheBombePos1.hitTest(_root.Meg._x, _root.Meg._y, true)) or ((/Variables:Tab5PosBombe == 2) and _root.CacheBombePos2.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab5PosBombe == 3) and _root.CacheBombePos3.hitTest(_root.Meg._x, _root.Meg._y, true))) or ((/Variables:Tab5PosBombe == 4) and _root.CacheBombePos4.hitTest(_root.Meg._x, _root.Meg._y, true)))) and Key.isDown(32)) {
Set("/Variables:Tab5BombeRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendBombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=61", 0);
Set("/Variables:DonEau", false);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:DonAzote", false);
Set("/Variables:From", "Tab5Eau");
tellTarget ("_root") {
gotoAndPlay ("Tab4EauIni");
};
}
}
if ((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Idle");
};
}
if (((Key.isDown(39) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
if (((Key.isDown(37) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
if (((Key.isDown(38) and (!Key.isDown(37))) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Up");
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(40) and (!Key.isDown(37))) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Down");
tellTarget ("_root.Meg") {
gotoAndStop ("Down");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(39) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(39) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(37))) {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(37) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale - (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
if (((Key.isDown(37) and Key.isDown(40)) and (!Key.isDown(38))) and (!Key.isDown(39))) {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
gotoAndStop ("Marche");
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + (_root.Meg._xscale * (/Variables:Decale / 100)));
setProperty("_root.Meg", _yscale , _root.Meg._yscale + (_root.Meg._yscale * (/Variables:Decale / 100)));
}
}
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
}
Frame 1200
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Idle");
};
Frame 1204
Set("/Variables:EtatActif", "Tab5EauGrimpe");
Set("/Variables:EtatVide", "Tab5EauGrimpe");
setProperty("_root.Meg", _visible , 0);
setProperty("_root.Meg", _x , -100);
setProperty("_root.Meg", _y , -100);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Arret");
};
Instance of Symbol 2259 MovieClip in Frame 1204
onClipEvent (load) {
if (/Variables:Arrive eq "Canon") {
tellTarget ("_root.Control") {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone1");
} else if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone2");
} else if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone3");
} else if (_root.Zone4.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:ZoneActive", "Zone4");
}
if (_root.Zone1.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone1")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt46");
} else if (_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) {
Set("/Variables:DestDon", "Pt44");
} else if (/Variables:DestDon ne "Pt44") {
Set("/Variables:DestDon", "Pt45");
}
}
if ((/Variables:DestDon eq "Pt45") and _root.Pt45.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt44") and _root.Pt44.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt44", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt44", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
}
}
if (_root.Zone2.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone2")) {
if ((((/Variables:EtatDon ne "PasLa") and (/Variables:DestDon ne "PtCanon")) and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if ((/Variables:DestDon ne "Pt46") and (/Variables:DestDon ne "Pt45")) {
Set("/Variables:DestDon", "Pt46");
}
}
if ((/Variables:DestDon eq "PtCanon") and _root.PtCanon.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.PtCanon", _x));
setProperty("_root.Don", _y , getProperty("_root.PtCanon", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.DonCanon") {
play();
};
}
if ((/Variables:DestDon eq "Pt46") and _root.Pt46.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt45");
}
}
if (_root.Zone3.hitTest(_root.Don._x, _root.Don._y, true) or (/Variables:ZoneActive eq "Zone3")) {
if (((/Variables:EtatDon ne "PasLa") and (/Variables:EtatDon ne "Hit")) and (/Variables:EtatDon ne "Frappe")) {
if (((_root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "Idle2")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:DestDon", "Meg");
Set("/Variables:EtatDon", "Marche");
} else if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:DestDon", "Pt43");
} else if ((/Variables:DestDon ne "Pt41") and (/Variables:DestDon ne "Pt43")) {
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt43");
} else {
Set("/Variables:DestDon", "Pt41");
}
}
}
if ((/Variables:DestDon eq "Pt41") and _root.Pt41.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
}
if ((/Variables:DestDon eq "Pt43") and _root.Pt43.hitTest(_root.Don.Pieds)) {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
setProperty("_root.Don", _x , getProperty("_root.Pt43", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt43", _y));
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
}
if (((/Variables:StepTouche == true) and _root.Meg.Obj.CacheHit.hitTest(_root.Don.Pieds)) and (/Variables:EtatDon ne "PasLa")) {
Set("/Variables:StepTouche", false);
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "Hit");
if (getProperty("_root.Meg", _currentframe) < 5) {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) + 4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop(int(getProperty("_root.Meg", _currentframe)) - 4);
};
}
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
if (((_root.Don.Pieds.hitTest("_root.Meg.Pieds") and (/Variables:EtatDon ne "Sort")) and (/Variables:EtatDon ne "PasLa")) and (/Variables:EtatDon ne "Hit")) {
Set("/Variables:EtatDon", "Frappe");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
}
if ((/Variables:EtatDon eq "Idle") or (/Variables:EtatDon eq "Idle2")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
} else if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
} else if (/Variables:EtatDon eq "Hit") {
if (_root.CacheDonTombe.hitTest(_root.Don._x, _root.Don._y, true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:DestDon", "");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonTombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5Stoppe");
};
} else {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Hit");
};
}
} else if (/Variables:EtatDon eq "Frappe") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Frappe");
};
} else if (/Variables:EtatDon eq "PasLa") {
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
}
if ((/Variables:EtatDon eq "Marche") or (/Variables:EtatDon eq "Sort")) {
XMeg = getProperty("_root." + /Variables:DestDon, _x);
YMeg = getProperty("_root." + /Variables:DestDon, _y);
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P1", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P1", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
}
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P2", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P2", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P3", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P3", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau3");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P4", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P4", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau4");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P5", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P5", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D1", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D5", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau5");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P6", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P6", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D2", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D2", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D6", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau6");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P7", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P7", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D3", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D3", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D7", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (7);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
}
}
XCentre = getProperty("_root.Don", _x) + getProperty("_root.Don.P8", _x);
YCentre = getProperty("_root.Don", _y) + getProperty("_root.Don.P8", _y);
Droite1 = false;
Droite2 = false;
X1 = getProperty("_root.Don", _x) + getProperty("_root.Don.D4", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D4", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D8", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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.Don", _x) + getProperty("_root.Don.D5", _x);
Y1 = getProperty("_root.Don", _y) + getProperty("_root.Don.D5", _y);
X2 = getProperty("_root.Don", _x) + getProperty("_root.Don.D1", _x);
Y2 = getProperty("_root.Don", _y) + getProperty("_root.Don.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)) {
if (/Variables:DonEau == false) {
tellTarget ("_root.Don") {
gotoAndStop (8);
};
} else {
tellTarget ("_root.Don") {
gotoAndStop ("Eau8");
};
}
}
}
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (/Variables:EtatDon ne "PasLa") {
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
}
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert == false)) {
if ((/Variables:Arrive eq "Canon") and Key.isDown(17)) {
Set("/Variables:Arrive", "SortCanon");
tellTarget ("_root.Control") {
gotoAndStop (1);
};
tellTarget ("_root.SortCanon") {
gotoAndPlay (2);
};
}
if ((/Variables:Arrive eq "Canon") and (/Variables:CanonTir == false)) {
setProperty("_root.BunkerDevant", _visible , 0);
setProperty("_root.BucheDevant", _visible , 0);
if (Key.isDown(32)) {
Set("/Variables:CanonTir", true);
tellTarget ("_root.Canon.Canon.CanonTir.Tir1") {
play();
};
tellTarget ("_root.Canon.Canon.CanonTir.Tir2") {
play();
};
tellTarget ("_root.Canon.Canon.CanonTir.Tir3") {
play();
};
} else if (Key.isDown(37)) {
if (1 < /Variables:Canon5Pos) {
Set("/Variables:Canon5Pos", /Variables:Canon5Pos - 1);
}
tellTarget ("_root.Canon.Canon") {
prevFrame();
};
} else if (Key.isDown(39)) {
if (/Variables:Canon5Pos < 12) {
Set("/Variables:Canon5Pos", /Variables:Canon5Pos + 1);
}
tellTarget ("_root.Canon.Canon") {
nextFrame();
};
}
}
}
}
Frame 1216
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 1217
prevFrame();
Frame 1218
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 4346 MovieClip in Frame 1218
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 1221
if (/Save:Fichier ne "") {
gotoAndStop (1217);
} else {
gotoAndPlay (1073);
}
Frame 1222
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
gotoAndPlay (1245);
Frame 1229
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
gotoAndPlay (1245);
Frame 1240
tellTarget ("_root.SonsChute") {
gotoAndStop ("Stop");
};
stopAllSounds();
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Save:TempsDepart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (1315);
Frame 1245
stopAllSounds();
Frame 1314
stop();
Frame 2092
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=70", 0);
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 404 Button
on (release) {
stopAllSounds();
gotoAndPlay (1066);
}
Symbol 904 MovieClip Frame 1
if (/Variables:PlateFormPet == 2) {
gotoAndStop (2);
}
stop();
Symbol 907 MovieClip Frame 1
if (/Variables:Tab2Tour == false) {
gotoAndStop (2);
}
stop();
Symbol 910 MovieClip Frame 1
if (/Variables:PontArrache == true) {
nextFrame();
}
stop();
Symbol 914 MovieClip Frame 7
stop();
Symbol 915 MovieClip Frame 46
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 916 MovieClip Frame 37
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 917 MovieClip Frame 37
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 918 MovieClip Frame 44
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 919 MovieClip Frame 50
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 920 MovieClip Frame 50
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 921 MovieClip Frame 44
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 922 MovieClip Frame 44
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 923 MovieClip Frame 54
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 924 MovieClip Frame 47
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 925 MovieClip Frame 48
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 926 MovieClip Frame 53
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 927 MovieClip Frame 51
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 928 MovieClip Frame 58
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 929 MovieClip Frame 45
tellTarget ("_root.ControlDon") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 930 MovieClip Frame 1
stop();
Symbol 934 MovieClip Frame 1
_xscale = ((100 / getProperty("../", _xscale)) * 30);
_yscale = ((100 / getProperty("../", _yscale)) * 30);
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
play();
Symbol 935 MovieClip Frame 7
stop();
Symbol 935 MovieClip Frame 8
play();
Symbol 935 MovieClip Frame 12
tellTarget ("_root.ControlDon") {
play();
};
Symbol 937 MovieClip Frame 2
Set("/Variables:TableauStep", 1);
nextFrame();
Symbol 937 MovieClip Frame 3
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , 130);
stop();
Symbol 937 MovieClip Frame 4
Set("/Variables:TableauStep", 2);
nextFrame();
Symbol 937 MovieClip Frame 5
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , 130);
stop();
Symbol 937 MovieClip Frame 6
Set("/Variables:TableauStep", 3);
nextFrame();
Symbol 937 MovieClip Frame 7
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
stop();
Symbol 937 MovieClip Frame 8
Set("/Variables:TableauStep", 4);
nextFrame();
Symbol 937 MovieClip Frame 9
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , 130);
stop();
Symbol 937 MovieClip Frame 10
Set("/Variables:TableauStep", 5);
nextFrame();
Symbol 937 MovieClip Frame 11
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
stop();
Symbol 988 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 988 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 988 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 988 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 988 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 988 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 988 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 988 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 988 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 990 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 990 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 996 Button
on (release) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
}
Symbol 998 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", 0);
Set("/Variables:ObjetSelect", 0);
tellTarget ("ObjetAffiche") {
gotoAndStop (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", 0);
Set("/Variables:ObjetSelect", 0);
tellTarget ("ObjetAffiche") {
gotoAndStop (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 999 MovieClip Frame 1
stop();
Symbol 999 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 1009 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 1020 Button
on (release) {
Set("/Variables:Stoppe", false);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 1029 Button
on (release) {
nextFrame();
}
Symbol 1038 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 1039 Button
on (release) {
gotoAndStop (1);
}
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1047 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 1058 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 1060 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 1061 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 1063 MovieClip Frame 1
stop();
Symbol 1063 MovieClip Frame 2
stop();
Symbol 1063 MovieClip Frame 3
stop();
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 4
gotoAndPlay (2);
Symbol 1073 MovieClip Frame 1
stop();
Symbol 1073 MovieClip Frame 2
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 1);
Symbol 1073 MovieClip Frame 3
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 2);
Symbol 1073 MovieClip Frame 4
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 3);
Symbol 1073 MovieClip Frame 5
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 4);
Symbol 1073 MovieClip Frame 6
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 5);
Symbol 1073 MovieClip Frame 7
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 6);
Symbol 1073 MovieClip Frame 8
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 7);
Symbol 1073 MovieClip Frame 9
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 8);
Symbol 1075 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 1076 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1077 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 1077 MovieClip Frame 2
stop();
Symbol 1078 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 1078 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1078 MovieClip Frame 3
stop();
Symbol 1081 MovieClip Frame 1
stop();
Symbol 1081 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 1082 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 1082 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1082 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 1082 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1082 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 1082 MovieClip Frame 6
gotoAndStop (1);
Symbol 1096 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 1097 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 1102 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 1102 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 1103 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 1103 MovieClip Frame 2
stop();
Symbol 1104 Button
on (release) {
gotoAndStop (2);
}
Symbol 1105 Button
on (release) {
gotoAndStop (3);
}
Symbol 1107 Button
on (release) {
gotoAndStop (4);
}
Symbol 1108 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 1108 MovieClip Frame 2
_quality = "LOW";
Symbol 1108 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 1108 MovieClip Frame 4
_quality = "HIGH";
Symbol 1109 Button
on (keyPress "o") {
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 1117 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 1119 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 1121 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1124 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 1125 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 1126 MovieClip Frame 1
stop();
Symbol 1126 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 1132 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 1133 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 1136 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 1137 MovieClip Frame 1
stop();
Symbol 1137 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 1139 MovieClip Frame 1
stop();
Symbol 1140 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 1141 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 1142 MovieClip Frame 1
stop();
Symbol 1142 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 1143 MovieClip Frame 1
stop();
Symbol 1143 MovieClip Frame 2
stop();
Symbol 1143 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 1143 MovieClip Frame 6
stop();
Symbol 1144 MovieClip Frame 1
stop();
Symbol 1146 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 1147 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 1152 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 1154 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 1155 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 1157 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 1159 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 1159 MovieClip Frame 2
stop();
Symbol 1160 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
Set("/Variables:From", "");
stop();
Symbol 1160 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
stop();
Instance of Symbol 1010 MovieClip "BoutonVolume" in Symbol 1160 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 1160 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 1010 MovieClip "BoutonVolume" in Symbol 1160 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 1167 MovieClip Frame 1
stop();
Symbol 1167 MovieClip Frame 2
gotoAndStop (1);
Symbol 1167 MovieClip Frame 6
gotoAndStop (1);
Symbol 1167 MovieClip Frame 7
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (9);
}
Symbol 1167 MovieClip Frame 8
gotoAndPlay (10);
Symbol 1167 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1167 MovieClip Frame 32
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1167 MovieClip Frame 80
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 1194 MovieClip Frame 51
if ((/Variables:EtatActif eq "Tab5") or (/Variables:EtatActif eq "Tab5Eau")) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=56", 0);
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1196 MovieClip Frame 83
if (/Variables:EtatActif eq "Tab2") {
tellTarget ("_root.Porte") {
play();
};
}
if (/Variables:EtatActif eq "Tab3") {
Set("/Variables:RadarPet", true);
tellTarget ("_parent") {
gotoAndStop ("SauteRadarPet");
};
}
if (/Variables:EtatActif eq "Tab4Eau") {
tellTarget ("_root.BunkerDevant.Porte") {
play();
};
tellTarget ("_root.BunkerBack.Porte") {
play();
};
}
if (/Variables:EtatActif eq "Tab5Eau") {
tellTarget ("_root.BunkerDevant.Porte") {
play();
};
tellTarget ("_root.BunkerBack.Porte") {
play();
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1262 MovieClip Frame 15
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1327 MovieClip Frame 31
if (/Variables:EtatActif eq "Tab3") {
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1331 MovieClip Frame 31
if (/Variables:EtatActif eq "Tab3Eau") {
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1380 MovieClip Frame 51
if ((/Variables:EtatActif eq "Tab5Eau") or (/Variables:EtatActif eq "Tab5EauGrimpe")) {
tellTarget ("_root.DonCanon") {
play();
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1476 MovieClip Frame 17
if (/Variables:RadarPet == false) {
tellTarget ("_parent") {
gotoAndStop ("RadarAuto");
};
} else {
if (/Variables:EtatActif eq "Tab2") {
Set("/Variables:Arrive", "Canon");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (/Variables:EtatActif eq "Tab4Eau") {
Set("/Variables:Arrive", "Canon");
tellTarget ("_root") {
gotoAndStop ("Tab4EauGrimpe");
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 1485 MovieClip Frame 17
if (/Variables:RadarPet == false) {
tellTarget ("_parent") {
gotoAndStop ("RadarAuto");
};
} else {
if (/Variables:EtatActif eq "Tab5Eau") {
Set("/Variables:Arrive", "Canon");
tellTarget ("_root") {
gotoAndStop ("Tab5EauGrimpe");
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 1525 MovieClip Frame 73
if (/Variables:EtatActif eq "Tab2") {
Set("/Variables:Arrive", "SortCanon");
tellTarget ("_root") {
gotoAndStop ("Tab2Grimpe");
};
}
if (/Variables:EtatActif eq "Tab4Eau") {
Set("/Variables:Arrive", "SortCanon");
tellTarget ("_root") {
gotoAndStop ("Tab4EauGrimpe");
};
}
if (/Variables:EtatActif eq "Tab5Eau") {
Set("/Variables:Arrive", "SortCanon");
tellTarget ("_root") {
gotoAndStop ("Tab5EauGrimpe");
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1551 MovieClip Frame 17
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:DonEau", false);
Set("/Variables:CanonTir", false);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
tellTarget ("_root.Canon") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1612 MovieClip Frame 123
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1679 MovieClip Frame 100
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1684 MovieClip Frame 121
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1734 MovieClip Frame 15
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1787 MovieClip Frame 36
Set("/Variables:DonElect", true);
Set("/Variables:StepTouche", false);
Set("/Variables:StepTir", false);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
setProperty("_root.Don", _x , 383);
setProperty("_root.Don", _y , 111);
tellTarget ("_root.TourBack.DonElect") {
gotoAndStop (2);
};
tellTarget ("_root.TourDevant.DonElect") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1799 MovieClip Frame 1
if (/Variables:RadarPet == true) {
nextFrame();
}
stop();
Symbol 1898 MovieClip Frame 8
stop();
Symbol 1900 MovieClip Frame 21
Set("/Variables:From", "Radar");
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1919 MovieClip Frame 29
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=20", 0);
Set("/Variables:From", "Radar");
Set("/Variables:RadarPet", true);
tellTarget ("_root.RadarDevant") {
gotoAndStop (2);
};
tellTarget ("_root.RadarBack") {
gotoAndStop (2);
};
tellTarget ("_root.Antenne") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndPlay ("Tab3EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1944 MovieClip Frame 18
setProperty("_root.Meg", _x , 274);
setProperty("_root.Meg", _y , 58);
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
tellTarget ("_root") {
gotoAndPlay ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1956 MovieClip Frame 18
setProperty("_root.Meg", _x , 198);
setProperty("_root.Meg", _y , 170);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndPlay ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1991 MovieClip Frame 14
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
tellTarget ("_parent") {
gotoAndStop ("SautePlateForm");
};
Symbol 2011 MovieClip Frame 27
Set("/Variables:BombonneRamasse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=33", 0);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Bombonne") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndPlay ("Tab5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2065 MovieClip Frame 13
Set("/Variables:PosCrochet", 3);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=64", 0);
tellTarget ("_root.Crochet") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndPlay ("Tab5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2100 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=65", 0);
Set("/Variables:PosCrochet", 4);
tellTarget ("_root.Crochet") {
gotoAndStop (4);
};
tellTarget ("_root.BucheBack") {
gotoAndStop (2);
};
tellTarget ("_root.RocheDevant") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2127 MovieClip Frame 30
Set("/Variables:DonPlateForm", false);
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt33");
setProperty("_root.Don", _x , 219);
setProperty("_root.Don", _y , 248);
tellTarget ("_root.PlateForm") {
gotoAndStop ("Pet");
};
tellTarget ("_root.PlateForm2") {
gotoAndStop ("Pet");
};
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2131 MovieClip Frame 20
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=55", 0);
Set("/Variables:From", "Falaise");
tellTarget ("_root") {
gotoAndPlay ("Tab5EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2144 MovieClip Frame 21
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=49", 0);
Set("/Variables:DonPlateForm", true);
Set("/Variables:StepTouche", false);
Set("/Variables:StepTir", false);
setProperty("_root.Don", _x , 219);
setProperty("_root.Don", _y , 248);
tellTarget ("_root.PlateForm") {
gotoAndPlay ("DonDessous");
};
tellTarget ("_root.PlateForm2") {
gotoAndPlay ("DonDessous");
};
Set("/Variables:From", "PlateForm");
tellTarget ("_root") {
gotoAndPlay ("Tab4EauIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2178 MovieClip Frame 5
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2178 MovieClip Frame 10
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
} else {
if (/Variables:DonEau == true) {
Set("/Variables:EtatDon", "Sort");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Marche");
};
} else {
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Idle");
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 2222 MovieClip Frame 16
Set("/Variables:ObjetSelect", 0);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=66", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
if (/Variables:TubePet == false) {
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DonEau", true);
setProperty("_root.Don", _x , 315);
setProperty("_root.Don", _y , 327);
tellTarget ("_root.Don") {
gotoAndStop ("Eau7");
};
} else {
Set("/Variables:DonAzote", true);
Set("/Variables:StepTouche", false);
Set("/Variables:StepTir", false);
setProperty("_root.Don", _x , 315);
setProperty("_root.Don", _y , 327);
tellTarget ("_root.Azote.Azote.DonAzote") {
gotoAndStop (2);
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2223 MovieClip Frame 1
setProperty("_root.AgpDon", _visible , 1);
Set("/Variables:Stoppe", false);
Set("/Variables:AnimJoue", false);
Set("/Variables:Run", false);
stop();
Symbol 2223 MovieClip Frame 2
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 3
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 4
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 5
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 6
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 7
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 8
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 9
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 10
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 11
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 12
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 13
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 14
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 15
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 16
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 17
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 18
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 19
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 20
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 21
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 22
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 23
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 24
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 25
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 26
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 27
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 28
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2223 MovieClip Frame 29
setProperty("_root.AgpDon", _visible , 0);
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 2227 MovieClip Frame 1
stop();
Symbol 2227 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=99", 0);
gotoAndStop (1);
Symbol 2228 MovieClip Frame 1
stop();
Symbol 2228 MovieClip Frame 37
if (((((((((/Variables:DonElect == false) and (/Variables:DonPlateForm == false)) and (/Variables:DonAzote == false)) and (/Variables:InventaireOuvert == false)) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) and (/Variables:DonPont == false)) and (getProperty("_root.AgpDon", _currentframe) == 1)) and (/Variables:EtatDon eq "PasLa")) {
if ((/Variables:EtatActif eq "Tab1") or (/Variables:EtatActif eq "Tab1Grimpe")) {
if (50 < random(100)) {
Random = random(75);
if (Random < 25) {
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
} else if (Random < 50) {
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
}
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(12) + 5);
};
}
}
if ((/Variables:EtatActif eq "Tab2") or (/Variables:EtatActif eq "Tab2Grimpe")) {
if (_root.Zone1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2Tour == true)) {
if (30 < random(100)) {
Random = random(100);
if (Random < 15) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else if (Random < 30) {
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if (Random < 45) {
if (/Variables:Tour2Pet == true) {
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
}
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
}
} else if (random(100) < 50) {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(3) + 2);
};
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(8) + 9);
};
}
} else if ((((_root.Zone4a.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.Zone4b.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone4c.hitTest(_root.Meg._x, _root.Meg._y, true)) or _root.Zone4d.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:Tour2Pet == true)) {
if (30 < random(100)) {
Random = random(100);
if (Random < 15) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else if (Random < 30) {
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if (Random < 45) {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
}
} else if (random(100) < 50) {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(3) + 2);
};
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(8) + 9);
};
}
} else if (50 < random(100)) {
Random = random(100);
if (Random < 25) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else if (Random < 50) {
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else if (Random < 75) {
if (/Variables:Tour2Pet == true) {
tellTarget ("_root.AgpDon") {
gotoAndStop (6);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
}
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (9);
};
}
} else if (random(100) < 50) {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(3) + 2);
};
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(8) + 9);
};
}
}
if ((((/Variables:EtatActif eq "Tab3") or (/Variables:EtatActif eq "Tab3Grimpe")) or (/Variables:EtatActif eq "Tab3Eau")) or (/Variables:EtatActif eq "Tab3EauGrimpe")) {
if (50 < random(100)) {
Random = random(75);
if (Random < 25) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else if (Random < 50) {
tellTarget ("_root.AgpDon") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (7);
};
}
} else if (random(100) < 50) {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(7) + 2);
};
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(5) + 12);
};
}
}
if ((((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab4Grimpe")) or (/Variables:EtatActif eq "Tab4Eau")) or (/Variables:EtatActif eq "Tab4EauGrimpe")) {
if (50 < random(100)) {
Random = random(50);
if (Random < 25) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.AgpDon") {
gotoAndStop (3);
};
}
} else if (random(100) < 50) {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(10) + 2);
};
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop (16);
};
}
}
if ((((/Variables:EtatActif eq "Tab5") or (/Variables:EtatActif eq "Tab5Grimpe")) or (/Variables:EtatActif eq "Tab5Eau")) or (/Variables:EtatActif eq "Tab5EauGrimpe")) {
if ((/Variables:TubePet == true) and _root.Zone3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (50 < random(100)) {
if (random(100) < 25) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else {
setProperty("_root.Don", _x , 619);
setProperty("_root.Don", _y , 375);
Set("/Variables:DonEau", true);
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt44");
tellTarget ("root.Don") {
gotoAndStop ("Eau4");
};
tellTarget ("root.Don.Obj") {
gotoAndStop ("Court");
};
}
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(14) + 2);
};
}
} else if (50 < random(100)) {
if (random(100) < 50) {
tellTarget ("_root.AgpDon") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
setProperty("_root.Don", _x , 619);
setProperty("_root.Don", _y , 375);
Set("/Variables:DonEau", true);
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt44");
tellTarget ("root.Don") {
gotoAndStop ("Eau4");
};
tellTarget ("root.Don.Obj") {
gotoAndStop ("Court");
};
}
} else {
tellTarget ("_root.Gts.DonMove") {
gotoAndStop(random(14) + 2);
};
}
}
}
Symbol 2229 MovieClip Frame 1
stop();
Symbol 2230 MovieClip Frame 1
stop();
Symbol 2232 MovieClip Frame 1
stop();
Symbol 2234 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 2
if (getProperty("_parent", _name) eq "Chiffresb") {
if (/Variables:SensY eq "U") {
Chiffre = int(substring(_name, 2, 1)) + 1;
tellTarget ("../C" + Chiffre) {
nextFrame();
};
}
} else if (/Variables:SensX eq "G") {
Chiffre = int(substring(_name, 2, 1)) + 1;
tellTarget ("../C" + Chiffre) {
nextFrame();
};
}
nextFrame();
Symbol 2239 MovieClip Frame 3
stop();
Symbol 2239 MovieClip Frame 4
if (getProperty("_parent", _name) eq "Chiffresb") {
if (/Variables:SensY eq "D") {
Chiffre = int(substring(_name, 2, 1)) + 1;
tellTarget ("../C" + Chiffre) {
nextFrame();
};
}
} else if (/Variables:SensX eq "D") {
Chiffre = int(substring(_name, 2, 1)) + 1;
tellTarget ("../C" + Chiffre) {
nextFrame();
};
}
gotoAndStop (1);
Symbol 2246 MovieClip Frame 9
stop();
Symbol 2247 MovieClip Frame 1
tellTarget ("_root.LunetteMovie.Detect") {
gotoAndStop (1);
};
stop();
Symbol 2247 MovieClip Frame 2
tellTarget ("_root.LunetteMovie.Detect") {
gotoAndStop (2);
};
stop();
Symbol 2248 MovieClip Frame 1
if (/Variables:Tab1BombeRamasse == false) {
gotoAndStop(/Variables:Tab1PosBombe + 1);
} else {
stop();
}
Symbol 2249 MovieClip Frame 1
if (/Variables:Tab2BombeRamasse == false) {
gotoAndStop(/Variables:Tab2PosBombe + 1);
} else {
stop();
}
Symbol 2250 MovieClip Frame 1
if (/Variables:Tab4BombeRamasse == false) {
gotoAndStop(/Variables:Tab4PosBombe + 1);
} else {
stop();
}
Symbol 2251 MovieClip Frame 1
if (/Variables:Tab5BombeRamasse == false) {
gotoAndStop(/Variables:Tab5PosBombe + 1);
} else {
stop();
}
Symbol 2252 MovieClip Frame 1
if (/Variables:EtatActif eq "Tab1") {
gotoAndStop (2);
} else if (/Variables:EtatActif eq "Tab2") {
gotoAndStop (3);
} else if ((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab4Eau")) {
gotoAndStop (4);
} else if ((/Variables:EtatActif eq "Tab5") or (/Variables:EtatActif eq "Tab5Eau")) {
gotoAndStop (5);
} else {
stop();
}
Symbol 2252 MovieClip Frame 2
stop();
Symbol 2252 MovieClip Frame 3
stop();
Symbol 2252 MovieClip Frame 4
stop();
Symbol 2252 MovieClip Frame 5
stop();
Symbol 2260 MovieClip Frame 1
Vitesse = 0;
VitesseMax = 10;
Move = 0;
Instance of Symbol 2259 MovieClip in Symbol 2260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
tellTarget ("_root.LunetteMovie") {
play();
};
} else {
if (Key.isDown(39) and Key.isDown(38)) {
if (getProperty("../Mire", _x) < 280) {
Set("/Variables:SensX", "D");
tellTarget ("../../Chiffres/C1") {
nextFrame();
};
setProperty("../Mire", _x , getProperty("../Mire", _x) + ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
if (-185 < getProperty("../Mire", _y)) {
Set("/Variables:SensY", "U");
tellTarget ("../../Chiffresb/C1") {
nextFrame();
};
setProperty("../Mire", _y , getProperty("../Mire", _y) - ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(39) and Key.isDown(40)) {
if (getProperty("../Mire", _x) < 280) {
Set("/Variables:SensX", "D");
tellTarget ("../../Chiffres/C1") {
nextFrame();
};
setProperty("../Mire", _x , getProperty("../Mire", _x) + ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
if (getProperty("../Mire", _y) < 185) {
Set("/Variables:SensY", "D");
tellTarget ("../../Chiffresb/C1") {
nextFrame();
};
setProperty("../Mire", _y , getProperty("../Mire", _y) + ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(37) and Key.isDown(38)) {
if (-280 < getProperty("../Mire", _x)) {
Set("/Variables:SensX", "G");
tellTarget ("../../Chiffres/C1") {
nextFrame();
};
setProperty("../Mire", _x , getProperty("../Mire", _x) - ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
if (-185 < getProperty("../Mire", _y)) {
Set("/Variables:SensY", "U");
tellTarget ("../../Chiffresb/C1") {
nextFrame();
};
setProperty("../Mire", _y , getProperty("../Mire", _y) - ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(37) and Key.isDown(40)) {
if (-280 < getProperty("../Mire", _x)) {
Set("/Variables:SensX", "G");
tellTarget ("../../Chiffres/C1") {
nextFrame();
};
setProperty("../Mire", _x , getProperty("../Mire", _x) - ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
if (getProperty("../Mire", _y) < 185) {
Set("/Variables:SensY", "D");
tellTarget ("../../Chiffresb/C1") {
nextFrame();
};
setProperty("../Mire", _y , getProperty("../Mire", _y) + ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(39)) {
if (getProperty("../Mire", _x) < 280) {
Set("/Variables:SensX", "D");
tellTarget ("../../Chiffres/C1") {
nextFrame();
};
setProperty("../Mire", _x , getProperty("../Mire", _x) + ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(37)) {
if (-280 < getProperty("../Mire", _x)) {
Set("/Variables:SensX", "G");
tellTarget ("../../Chiffres/C1") {
nextFrame();
};
setProperty("../Mire", _x , getProperty("../Mire", _x) - ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(38)) {
if (-185 < getProperty("../Mire", _y)) {
Set("/Variables:SensY", "U");
tellTarget ("../../Chiffresb/C1") {
nextFrame();
};
setProperty("../Mire", _y , getProperty("../Mire", _y) - ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else if (Key.isDown(40)) {
if (getProperty("../Mire", _y) < 185) {
Set("/Variables:SensY", "D");
tellTarget ("../../Chiffresb/C1") {
nextFrame();
};
setProperty("../Mire", _y , getProperty("../Mire", _y) + ../:Move);
if (../:Move < ../:VitesseMax) {
Set("../:Move", ../:Move + 1);
}
}
} else {
Set("../:Move", 0);
}
if (_parent.Mire.Touche.hitTest(_root.LunetteMovie.Bombes.Bombe.BombePos.Touche)) {
if ((/Variables:EtatActif eq "Tab1") and (/Variables:Tab1BombeRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=36", 0);
Set("/Variables:Tab1BombeVu", true);
}
if ((/Variables:EtatActif eq "Tab2") and (/Variables:Tab2BombeRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=7", 0);
Set("/Variables:Tab2BombeVu", true);
}
if (((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab4Eau")) and (/Variables:Tab4BombeRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=14", 0);
Set("/Variables:Tab4BombeVu", true);
}
if (((/Variables:EtatActif eq "Tab5") or (/Variables:EtatActif eq "Tab5Eau")) and (/Variables:Tab5BombeRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=54", 0);
Set("/Variables:Tab5BombeVu", true);
}
tellTarget ("_root.LunetteMovie.Bombes.Bombe.BombePos") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.LunetteMovie.Bombes.Bombe.BombePos") {
gotoAndStop (1);
};
}
}
}
Symbol 2267 MovieClip Frame 1
stop();
Symbol 2267 MovieClip Frame 2
stop();
Symbol 2273 MovieClip Frame 1
stop();
Symbol 2273 MovieClip Frame 2
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
setProperty("_root.AgpDon", _visible , 0);
setProperty("_root.Meg", _visible , 0);
setProperty("_root.Inventaire", _visible , 0);
tellTarget ("Chiffres.C1") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C2") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C3") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C4") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C5") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C6") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C7") {
gotoAndStop (3);
};
tellTarget ("Chiffres.C8") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C1") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C2") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C3") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C4") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C5") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C6") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C7") {
gotoAndStop (3);
};
tellTarget ("Chiffresb.C8") {
gotoAndStop (3);
};
stop();
Symbol 2273 MovieClip Frame 3
setProperty("_root.Inventaire", _visible , 1);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Don", _visible , 1);
setProperty("_root.AgpDon", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
tellTarget ("_root.LunetteMovie") {
gotoAndStop (1);
};
Symbol 2299 MovieClip Frame 1
if (/Variables:Tab1Niveau == 1) {
nextFrame();
} else {
stop();
}
Symbol 2359 MovieClip Frame 1
setProperty("_root.Pont2Devant", _visible , 0);
setProperty("_root.Pont2Back", _visible , 1);
if (/Variables:PontArrache == true) {
gotoAndStop (52);
}
stop();
Symbol 2359 MovieClip Frame 2
play();
Symbol 2359 MovieClip Frame 5
tellTarget ("_root.Collider.Pont") {
gotoAndStop (2);
};
Instance of Symbol 2353 MovieClip "Trou" in Symbol 2359 MovieClip Frame 25
onClipEvent (load) {
_visible = 0;
}
Symbol 2359 MovieClip Frame 26
setProperty("_root.Pont2Devant", _visible , 1);
setProperty("_root.Pont2Back", _visible , 0);
tellTarget ("_root.Collider.Pont") {
gotoAndStop (3);
};
Symbol 2359 MovieClip Frame 27
if (Trou.hitTest(_root.Meg.Pieds) and (/Variables:Tab1Niveau == 2)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("StepTombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
stop();
} else {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=2", 0);
}
Symbol 2359 MovieClip Frame 52
tellTarget ("_root.Gts.GtsMap.Pont") {
gotoAndStop (2);
};
stop();
Symbol 2385 MovieClip Frame 1
if (/Variables:Tab1Bambou == false) {
nextFrame();
} else {
stop();
}
Symbol 2409 MovieClip Frame 1
stop();
Symbol 2409 MovieClip Frame 2
play();
Symbol 2409 MovieClip Frame 43
stop();
Symbol 2412 MovieClip Frame 1
if (/Variables:PosCrochet != 1) {
nextFrame();
}
stop();
Symbol 2469 MovieClip Frame 1
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2469 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2469 MovieClip Frame 9
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 2496 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt4", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt4", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2496 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2496 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 2496 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
Symbol 2496 MovieClip Frame 7
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt4", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt4", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone2");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
setProperty("_root.Meg", _x , 533);
setProperty("_root.Meg", _y , 269);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2496 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2496 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Pt4", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt4", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone2");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 2500 MovieClip Frame 1
if (274 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2500 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2500 MovieClip Frame 11
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 2503 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2503 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2503 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
Symbol 2504 MovieClip Frame 1
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2504 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2504 MovieClip Frame 10
tellTarget ("../") {
gotoAndStop (1);
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2506 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2506 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 2506 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
Symbol 2506 MovieClip Frame 9
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt6", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt6", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone3");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 404);
setProperty("_root.Meg", _y , 125);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Symbol 2507 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt6", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt6", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2507 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2507 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt6", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt6", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone3");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2508 MovieClip Frame 1
if (137 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2508 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2508 MovieClip Frame 10
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt8", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt8", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 2510 MovieClip Frame 1
if (119 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2510 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2510 MovieClip Frame 10
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt7", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt7", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:ZoneActive", "Zone3");
tellTarget ("_root.Don") {
gotoAndStop (7);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 2513 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2513 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2513 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 2513 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 2513 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt9", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt9", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 317);
setProperty("_root.Meg", _y , 113);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2513 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2513 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
Symbol 2514 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt9", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt9", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2514 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2514 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2514 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Pt9", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt9", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2518 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2518 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2518 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 2520 MovieClip Frame 1
stop();
Symbol 2520 MovieClip Frame 2
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2522 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2522 MovieClip Frame 20
if (/Variables:EtatDon ne "Idle2") {
if (20 < random(100)) {
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
}
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2522 MovieClip Frame 21
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2522 MovieClip Frame 40
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
Symbol 2533 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2533 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2533 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2533 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2564 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2564 MovieClip Frame 7
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2564 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2564 MovieClip Frame 11
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2573 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2573 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2573 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2573 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2573 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2573 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2573 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2574 MovieClip Frame 1
stop();
Symbol 2574 MovieClip Frame 11
stop();
Symbol 2574 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2574 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2574 MovieClip Frame 33
stop();
Symbol 2574 MovieClip Frame 43
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2596 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2596 MovieClip Frame 20
if (/Variables:EtatDon ne "Idle2") {
if (20 < random(100)) {
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
}
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2596 MovieClip Frame 21
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2596 MovieClip Frame 40
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
Symbol 2600 MovieClip Frame 1
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2600 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2600 MovieClip Frame 2
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 3
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 4
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 5
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 6
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 7
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 8
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 9
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2600 MovieClip Frame 10
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2604 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2604 MovieClip Frame 7
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2604 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2604 MovieClip Frame 11
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2611 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2611 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2611 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2611 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2611 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2611 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2611 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2612 MovieClip Frame 1
stop();
Symbol 2612 MovieClip Frame 11
stop();
Symbol 2612 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2612 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2612 MovieClip Frame 33
stop();
Symbol 2612 MovieClip Frame 43
stop();
Symbol 2613 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2613 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2613 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2613 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2614 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2614 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2614 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2614 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2614 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2614 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2614 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2615 MovieClip Frame 1
stop();
Symbol 2615 MovieClip Frame 11
stop();
Symbol 2615 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2615 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2615 MovieClip Frame 33
stop();
Symbol 2615 MovieClip Frame 43
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2626 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2626 MovieClip Frame 20
if (/Variables:EtatDon ne "Idle2") {
if (20 < random(100)) {
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
}
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2626 MovieClip Frame 21
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2626 MovieClip Frame 40
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
Symbol 2629 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2629 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2629 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2629 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2639 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2639 MovieClip Frame 7
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2639 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2639 MovieClip Frame 11
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2648 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2648 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2648 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2648 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2648 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2648 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2648 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2649 MovieClip Frame 1
stop();
Symbol 2649 MovieClip Frame 11
stop();
Symbol 2649 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2649 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2649 MovieClip Frame 33
stop();
Symbol 2649 MovieClip Frame 43
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2653 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2653 MovieClip Frame 20
if (/Variables:EtatDon ne "Idle2") {
if (20 < random(100)) {
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
}
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2653 MovieClip Frame 21
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2653 MovieClip Frame 40
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
Symbol 2654 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2654 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2654 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2654 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2667 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2667 MovieClip Frame 7
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2667 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2667 MovieClip Frame 11
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2676 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2676 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2676 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2676 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2676 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2676 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2676 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2677 MovieClip Frame 1
stop();
Symbol 2677 MovieClip Frame 11
stop();
Symbol 2677 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2677 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2677 MovieClip Frame 33
stop();
Symbol 2677 MovieClip Frame 43
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2685 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2685 MovieClip Frame 20
if (/Variables:EtatDon ne "Idle2") {
if (20 < random(100)) {
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
}
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2685 MovieClip Frame 21
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2685 MovieClip Frame 40
Set("/Variables:EtatDon", "Marche");
tellTarget ("_parent") {
gotoAndStop ("Court");
};
Symbol 2688 MovieClip Frame 1
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2688 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2688 MovieClip Frame 2
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 3
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 4
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 5
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 6
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 7
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 8
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 9
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2688 MovieClip Frame 10
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2695 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2695 MovieClip Frame 7
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2695 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2695 MovieClip Frame 11
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2702 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2702 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2702 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2702 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2702 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2702 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2702 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2703 MovieClip Frame 1
stop();
Symbol 2703 MovieClip Frame 11
stop();
Symbol 2703 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2703 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2703 MovieClip Frame 33
stop();
Symbol 2703 MovieClip Frame 43
stop();
Symbol 2704 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2704 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2704 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Symbol 2704 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - (((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2705 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2705 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2705 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2705 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2705 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2705 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + (((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY));
}
Symbol 2705 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2706 MovieClip Frame 1
stop();
Symbol 2706 MovieClip Frame 11
stop();
Symbol 2706 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2706 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2706 MovieClip Frame 33
stop();
Symbol 2706 MovieClip Frame 43
stop();
Symbol 2707 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2707 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2707 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Symbol 2707 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + (((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2708 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2708 MovieClip Frame 5
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2708 MovieClip Frame 6
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2708 MovieClip Frame 7
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2708 MovieClip Frame 8
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2708 MovieClip Frame 9
if (!_root.Collider.hitTest(_root.Don._x, _root.Don._y, true)) {
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - (((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX));
}
Symbol 2708 MovieClip Frame 10
Set("/Variables:DestDon", "P0");
Set("/Variables:EtatDon", "Idle2");
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 2709 MovieClip Frame 1
stop();
Symbol 2709 MovieClip Frame 11
stop();
Symbol 2709 MovieClip Frame 22
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2709 MovieClip Frame 22
onClipEvent (load) {
_visible = 0;
}
Symbol 2709 MovieClip Frame 33
stop();
Symbol 2709 MovieClip Frame 43
stop();
Symbol 2720 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2720 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2720 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2720 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2721 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2721 MovieClip Frame 6
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2721 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2721 MovieClip Frame 9
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Symbol 2722 MovieClip Frame 1
stop();
Symbol 2722 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2722 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2722 MovieClip Frame 20
stop();
Symbol 2723 MovieClip Frame 1
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2723 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2723 MovieClip Frame 2
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 3
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 4
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 5
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 6
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 7
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 8
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 9
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2723 MovieClip Frame 10
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2724 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2724 MovieClip Frame 6
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2724 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2724 MovieClip Frame 9
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Symbol 2725 MovieClip Frame 1
stop();
Symbol 2725 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2725 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2725 MovieClip Frame 20
stop();
Symbol 2726 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2726 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2726 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2726 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) + ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2727 MovieClip Frame 1
stop();
Symbol 2727 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2727 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2727 MovieClip Frame 20
stop();
Symbol 2732 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2732 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2732 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2732 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2733 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2733 MovieClip Frame 6
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2733 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2733 MovieClip Frame 9
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Symbol 2734 MovieClip Frame 1
stop();
Symbol 2734 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2734 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2734 MovieClip Frame 20
stop();
Symbol 2735 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2735 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2735 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) - ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2736 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2736 MovieClip Frame 6
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2736 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2736 MovieClip Frame 9
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Symbol 2737 MovieClip Frame 1
stop();
Symbol 2737 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2737 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2737 MovieClip Frame 20
stop();
Symbol 2739 MovieClip Frame 1
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2739 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2739 MovieClip Frame 2
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 3
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 4
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 5
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 6
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 7
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 8
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 9
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2739 MovieClip Frame 10
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2740 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2740 MovieClip Frame 6
if (_root.Don.Obj.CacheHit.hitTest("_root.Meg.Pieds")) {
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));
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2740 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2740 MovieClip Frame 9
if ((/Variables:EtatActif eq "Tab1") and (/Variables:PontArrache == false)) {
Set("/Variables:EtatDon", "Marche");
} else {
Set("/Variables:EtatDon", "Sort");
}
Symbol 2741 MovieClip Frame 1
stop();
Symbol 2741 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2741 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2741 MovieClip Frame 20
stop();
Symbol 2742 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2742 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2742 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.15 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.2 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((1.12 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2742 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
setProperty("_root.Don", _y , getProperty("_root.Don", _y) - ((((0.88 / /:Div) * getProperty("_root.Don", _yscale)) / /:RatioY) / /Variables:VitEau));
Symbol 2743 MovieClip Frame 1
stop();
Symbol 2743 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2743 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2743 MovieClip Frame 20
stop();
Symbol 2744 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 2744 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
if (getProperty("_root.LunetteMovie", _currentframe) != 1) {
setProperty("_root.Don", _visible , 0);
}
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2744 MovieClip Frame 2
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 3
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 4
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 5
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 6
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.15 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 7
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.2 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 8
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((1.12 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 9
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2744 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Don", _x) + ((((0.88 / /:Div) * getProperty("_root.Don", _xscale)) / /:RatioX) / /Variables:VitEau));
Symbol 2745 MovieClip Frame 1
stop();
Symbol 2745 MovieClip Frame 11
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 2745 MovieClip Frame 11
onClipEvent (load) {
_visible = 0;
}
Symbol 2745 MovieClip Frame 20
stop();
Symbol 2746 MovieClip Frame 1
stop();
Instance of Symbol 2521 MovieClip "Pieds" in Symbol 2746 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 2746 MovieClip Frame 2
stop();
Symbol 2746 MovieClip Frame 3
stop();
Symbol 2746 MovieClip Frame 4
stop();
Symbol 2746 MovieClip Frame 5
stop();
Symbol 2746 MovieClip Frame 6
stop();
Symbol 2746 MovieClip Frame 7
stop();
Symbol 2746 MovieClip Frame 8
stop();
Symbol 2746 MovieClip Frame 9
stop();
Symbol 2746 MovieClip Frame 10
stop();
Symbol 2746 MovieClip Frame 11
stop();
Symbol 2746 MovieClip Frame 12
stop();
Symbol 2746 MovieClip Frame 13
stop();
Symbol 2746 MovieClip Frame 14
stop();
Symbol 2746 MovieClip Frame 15
stop();
Symbol 2746 MovieClip Frame 16
stop();
Symbol 2765 MovieClip Frame 1
if (/Variables:DonPont == true) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 2765 MovieClip Frame 2
Set("/Variables:DonPont", true);
tellTarget ("_root.Collider.Pont") {
gotoAndStop (2);
};
tellTarget ("_root.Pont2Devant") {
play();
};
tellTarget ("_root.Pont2Back") {
play();
};
play();
Symbol 2765 MovieClip Frame 67
Set("/Variables:DestDon", "Pt3");
Set("/Variables:EtatDon", "Idle");
Set("/Variables:PontArrache", true);
Set("/Variables:DonPont", false);
tellTarget ("_root.Don") {
gotoAndStop (7);
};
gotoAndStop (1);
Symbol 2766 MovieClip Frame 1
if (/Variables:From ne "Debut") {
stop();
} else {
play();
}
Symbol 2766 MovieClip Frame 6
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Symbol 2766 MovieClip Frame 12
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt1");
tellTarget ("_root.Don.Obj") {
gotoAndPlay ("Court");
};
stop();
Symbol 2771 MovieClip Frame 1
if (/Variables:ManetteRamasse == true) {
nextFrame();
} else {
stop();
}
Symbol 2892 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 2939 MovieClip Frame 10
if (random(20) == 10) {
gotoAndPlay (12);
}
Symbol 2939 MovieClip Frame 11
gotoAndPlay (2);
Symbol 2939 MovieClip Frame 50
gotoAndPlay (2);
Symbol 2944 MovieClip Frame 5
Set("/Variables:StepTouche", true);
Symbol 2944 MovieClip Frame 15
Set("/Variables:StepTouche", false);
Symbol 2944 MovieClip Frame 17
Set("/Variables:StepTir", false);
Set("/Variables:Stoppe", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3007 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3007 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 3007 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 3007 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 3007 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 3007 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 3008 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3008 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 3008 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 3009 MovieClip Frame 1
stop();
Symbol 3009 MovieClip Frame 9
stop();
Symbol 3009 MovieClip Frame 17
stop();
Symbol 3009 MovieClip Frame 24
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 3009 MovieClip Frame 24
onClipEvent (load) {
_visible = 0;
}
Symbol 3009 MovieClip Frame 30
stop();
Symbol 3009 MovieClip Frame 38
stop();
Symbol 3009 MovieClip Frame 45
stop();
Symbol 3080 MovieClip Frame 13
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 3080 MovieClip Frame 14
gotoAndPlay (3);
Symbol 3080 MovieClip Frame 52
gotoAndPlay (3);
Symbol 3084 MovieClip Frame 5
Set("/Variables:StepTouche", true);
Symbol 3084 MovieClip Frame 15
Set("/Variables:StepTouche", false);
Symbol 3084 MovieClip Frame 17
Set("/Variables:StepTir", false);
Set("/Variables:Stoppe", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3133 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3133 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 3133 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 3133 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 3133 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 3133 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 3133 MovieClip Frame 12
Set("/Variables:Stoppe", false);
Symbol 3134 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3134 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 3134 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 3135 MovieClip Frame 1
stop();
Symbol 3135 MovieClip Frame 9
stop();
Symbol 3135 MovieClip Frame 17
stop();
Symbol 3135 MovieClip Frame 24
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 3135 MovieClip Frame 24
onClipEvent (load) {
_visible = 0;
}
Symbol 3135 MovieClip Frame 31
stop();
Symbol 3135 MovieClip Frame 39
stop();
Symbol 3135 MovieClip Frame 46
stop();
Symbol 3214 MovieClip Frame 1
if (/Variables:SangVerse == true) {
nextFrame();
}
stop();
Symbol 3248 MovieClip Frame 4
Set("/Variables:Stoppe", false);
play();
Symbol 3248 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (19);
}
Symbol 3248 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3248 MovieClip Frame 48
gotoAndPlay (4);
Symbol 3256 MovieClip Frame 5
Set("/Variables:StepTouche", true);
Symbol 3256 MovieClip Frame 15
Set("/Variables:StepTouche", false);
Symbol 3256 MovieClip Frame 17
Set("/Variables:StepTir", false);
Set("/Variables:Stoppe", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3292 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3292 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 3292 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 3292 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 3292 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 3292 MovieClip Frame 10
Set("/Variables:Stoppe", false);
Symbol 3293 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3293 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 3293 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 3294 MovieClip Frame 1
stop();
Symbol 3294 MovieClip Frame 10
stop();
Symbol 3294 MovieClip Frame 19
stop();
Symbol 3294 MovieClip Frame 26
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 3294 MovieClip Frame 26
onClipEvent (load) {
_visible = 0;
}
Symbol 3294 MovieClip Frame 32
stop();
Symbol 3294 MovieClip Frame 41
stop();
Symbol 3294 MovieClip Frame 49
stop();
Symbol 3423 MovieClip Frame 12
if (random(20) == 10) {
gotoAndPlay (17);
}
Symbol 3423 MovieClip Frame 13
gotoAndPlay (2);
Symbol 3423 MovieClip Frame 59
gotoAndPlay (2);
Symbol 3428 MovieClip Frame 5
Set("/Variables:StepTouche", true);
Symbol 3428 MovieClip Frame 15
Set("/Variables:StepTouche", false);
Symbol 3428 MovieClip Frame 17
Set("/Variables:StepTir", false);
Set("/Variables:Stoppe", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3518 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3518 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 3518 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 3518 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 3518 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 3518 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 3518 MovieClip Frame 11
Set("/Variables:Stoppe", false);
Symbol 3519 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3519 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 3519 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 3520 MovieClip Frame 1
stop();
Symbol 3520 MovieClip Frame 10
stop();
Symbol 3520 MovieClip Frame 20
stop();
Symbol 3520 MovieClip Frame 27
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 3520 MovieClip Frame 27
onClipEvent (load) {
_visible = 0;
}
Symbol 3520 MovieClip Frame 33
stop();
Symbol 3520 MovieClip Frame 42
stop();
Symbol 3520 MovieClip Frame 52
stop();
Symbol 3563 MovieClip Frame 1
if (/Variables:CouvertUse == true) {
nextFrame();
}
stop();
Symbol 3601 MovieClip Frame 15
if (random(20) == 10) {
gotoAndPlay (21);
}
Symbol 3601 MovieClip Frame 16
gotoAndPlay (4);
Symbol 3601 MovieClip Frame 63
gotoAndPlay (4);
Symbol 3605 MovieClip Frame 5
Set("/Variables:StepTouche", true);
Symbol 3605 MovieClip Frame 15
Set("/Variables:StepTouche", false);
Symbol 3605 MovieClip Frame 17
Set("/Variables:StepTir", false);
Set("/Variables:Stoppe", false);
tellTarget ("_parent") {
gotoAndStop ("Idle");
};
Symbol 3671 MovieClip Frame 1
Set("/Variables:Stoppe", true);
Symbol 3671 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 3671 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 3671 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 3671 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 3671 MovieClip Frame 13
Set("/Variables:Stoppe", false);
Symbol 3672 MovieClip Frame 1
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + /Variables:VitesseTombe);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
Symbol 3672 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 3672 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 3673 MovieClip Frame 1
stop();
Symbol 3673 MovieClip Frame 10
stop();
Symbol 3673 MovieClip Frame 18
stop();
Symbol 3673 MovieClip Frame 25
stop();
Instance of Symbol 2566 MovieClip "CacheHit" in Symbol 3673 MovieClip Frame 25
onClipEvent (load) {
_visible = 0;
}
Symbol 3673 MovieClip Frame 31
stop();
Symbol 3673 MovieClip Frame 40
stop();
Symbol 3673 MovieClip Frame 48
stop();
Symbol 3674 MovieClip Frame 1
stop();
Instance of Symbol 2521 MovieClip "Pieds" in Symbol 3674 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 3678 MovieClip Frame 1
if (/Variables:PontArrache == true) {
gotoAndStop (3);
}
stop();
Symbol 3678 MovieClip Frame 2
stop();
Symbol 3678 MovieClip Frame 3
stop();
Symbol 3681 MovieClip Frame 1
if (/Variables:Tab1Niveau == 1) {
nextFrame();
} else if (/Variables:Tab1Niveau == 3) {
gotoAndStop (3);
} else {
stop();
}
Symbol 3681 MovieClip Frame 2
stop();
Symbol 3681 MovieClip Frame 3
stop();
Symbol 3690 MovieClip Frame 1
if (/Variables:Arrive eq "AscHaut") {
Set("/Variables:Tab1Niveau", 1);
setProperty("_root.Asc", _visible , 0);
gotoAndPlay (2);
} else if (/Variables:Arrive eq "AscBas") {
Set("/Variables:Tab1Niveau", 2);
setProperty("_root.Asc", _visible , 0);
gotoAndPlay (37);
} else {
stop();
}
Symbol 3690 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=3", 0);
play();
Symbol 3690 MovieClip Frame 36
setProperty("_root.Meg", _x , 492);
setProperty("_root.Meg", _y , 256);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Asc", _visible , 1);
tellTarget ("_root.Asc") {
gotoAndStop (2);
};
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3690 MovieClip Frame 37
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=27", 0);
play();
Symbol 3690 MovieClip Frame 72
setProperty("_root.Meg", _x , 492);
setProperty("_root.Meg", _y , 123);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Asc", _visible , 1);
tellTarget ("_root.Asc") {
gotoAndStop (1);
};
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3708 MovieClip Frame 1
if (/Variables:Arrive eq "EntreGrille1") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "SortGrille1") {
gotoAndPlay (42);
} else {
stop();
}
Symbol 3708 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=30", 0);
play();
Symbol 3708 MovieClip Frame 41
tellTarget ("_root.StepGrille2") {
gotoAndPlay ("Sort");
};
stop();
Symbol 3708 MovieClip Frame 42
play();
Symbol 3708 MovieClip Frame 58
setProperty("_root.Meg", _x , 240);
setProperty("_root.Meg", _y , 140);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3777 MovieClip Frame 1
if (/Variables:Arrive eq "LianeBas") {
gotoAndStop (66);
}
stop();
Symbol 3777 MovieClip Frame 2
play();
Symbol 3777 MovieClip Frame 33
stop();
Instance of Symbol 3766 MovieClip in Symbol 3777 MovieClip Frame 33
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 3777 MovieClip Frame 34
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(131 - int(_currentframe));
};
}
}
}
Symbol 3777 MovieClip Frame 65
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=31", 0);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
Symbol 3777 MovieClip Frame 66
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=35", 0);
stop();
Instance of Symbol 3766 MovieClip in Symbol 3777 MovieClip Frame 66
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
prevFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 3777 MovieClip Frame 67
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(131 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3777 MovieClip Frame 99
play();
Symbol 3777 MovieClip Frame 136
tellTarget ("_root.StepGrille1") {
gotoAndPlay ("Sort");
};
stop();
Symbol 3778 MovieClip Frame 1
if (/Variables:Arrive eq "MonteMarche") {
_x = getProperty("_root.Meg", _x);
_y = getProperty("_root.Meg", _y);
gotoAndPlay (2);
} else if (/Variables:Arrive eq "DescendMarche") {
_x = (getProperty("_root.Meg", _x) + 26);
_y = (getProperty("_root.Meg", _y) + 11);
gotoAndPlay (11);
} else {
stop();
}
Symbol 3778 MovieClip Frame 10
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) - 26);
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - 11);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab1Niveau", 3);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3778 MovieClip Frame 19
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 26);
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 11);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab1Niveau", 2);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 3816 MovieClip Frame 1
if (/Variables:Tour2Pet == true) {
gotoAndStop (8);
}
stop();
Symbol 3816 MovieClip Frame 8
stop();
Symbol 3818 MovieClip Frame 1
if (/Variables:Tab2Tour == false) {
nextFrame();
} else {
stop();
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3827 MovieClip Frame 18
onClipEvent (load) {
_visible = 0;
if (this.hitTest(_root.Meg.Pieds)) {
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 3828 MovieClip Frame 1
if (/Variables:Tab2Tour == false) {
gotoAndStop (31);
}
stop();
Symbol 3828 MovieClip Frame 2
play();
Symbol 3828 MovieClip Frame 22
Set("/Variables:Tab2Tour", false);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=5", 0);
if (_root.CacheTourTouche.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Vie", /Variables:Vie - 30);
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));
}
tellTarget ("_root.Rampe") {
gotoAndStop (2);
};
Symbol 3828 MovieClip Frame 31
tellTarget ("_root.Collider.BlocTour") {
gotoAndStop (2);
};
tellTarget ("_root.Gts.GtsMap.Tourelle") {
gotoAndStop (2);
};
stop();
Symbol 3849 MovieClip Frame 38
if (_root.CacheExplose.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Meg", _visible) == true)) {
Set("/Variables:Vie", /Variables:Vie - 40);
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 3850 MovieClip Frame 1
if (/Variables:Tab2PortePet == true) {
gotoAndStop (47);
}
stop();
Symbol 3850 MovieClip Frame 47
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3852 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3852 MovieClip Frame 177
Set("/Variables:DonElect", false);
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt15");
setProperty("_root.Don", _x , 387);
setProperty("_root.Don", _y , 116);
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 3853 MovieClip Frame 1
if (/Variables:DonElect == true) {
nextFrame();
}
stop();
Symbol 3853 MovieClip Frame 2
stop();
Symbol 3854 MovieClip Frame 1
if (/Variables:Tour2Pet == true) {
gotoAndStop (12);
}
stop();
Symbol 3854 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=24", 0);
Symbol 3854 MovieClip Frame 12
stop();
Symbol 3854 MovieClip Frame 13
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=41", 0);
play();
Symbol 3854 MovieClip Frame 16
if (/Variables:DonTouche == 2) {
setProperty("DonElect", _visible , 0);
tellTarget ("_root.DonMeurt") {
play();
};
}
Symbol 3854 MovieClip Frame 23
if (_name eq "TourDevant") {
Set("/Variables:DonTouche", /Variables:DonTouche + 1);
}
Set("/Variables:ZoneActive", "Zone4d");
Set("/Variables:DestDon", "PtCanon");
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DonElect", false);
Set("/Variables:Stoppe", true);
if (/Variables:DonTouche < 3) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonFumee");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonMort1");
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("DonElect") {
gotoAndStop (1);
};
gotoAndStop (12);
Symbol 3860 MovieClip Frame 1
if (/Variables:LunetteRamasse == true) {
nextFrame();
}
stop();
Symbol 3867 MovieClip Frame 1
stop();
Symbol 3867 MovieClip Frame 2
stop();
Symbol 3871 MovieClip Frame 1
if (/Variables:AttendTour == true) {
nextFrame();
} else {
stop();
}
Symbol 3871 MovieClip Frame 2
Set("/Variables:AttendTour", true);
stop();
Symbol 3871 MovieClip Frame 3
play();
Symbol 3871 MovieClip Frame 12
tellTarget ("_root.Tour") {
play();
};
tellTarget ("_root.TiteTourDevant") {
play();
};
Symbol 3871 MovieClip Frame 32
Set("/Variables:DestDon", "Pt5");
Set("/Variables:EtatDon", "Marche");
Set("/Variables:AttendTour", false);
Set("/Variables:Tab2Tour", false);
tellTarget ("_root.Don") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 3872 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt18", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt18", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3872 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3872 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 3872 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 3872 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt18", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt18", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone5");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 496);
setProperty("_root.Meg", _y , 232);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3872 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3872 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt18", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt18", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone5");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3877 MovieClip Frame 1
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3877 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3877 MovieClip Frame 12
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3879 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt10", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt10", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3879 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3879 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 3879 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 3879 MovieClip Frame 8
setProperty("_root.ClotureDon", _visible , 1);
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt10", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt10", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 131);
setProperty("_root.Meg", _y , 334);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3879 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3879 MovieClip Frame 14
setProperty("_root.Don", _x , getProperty("_root.Pt10", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt10", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3881 MovieClip Frame 1
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3881 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3881 MovieClip Frame 3
setProperty("_root.ClotureDon", _visible , 0);
Symbol 3881 MovieClip Frame 12
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3886 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt16", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt16", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3886 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 3886 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
Symbol 3886 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt16", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt16", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone3");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 327);
setProperty("_root.Meg", _y , 74);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Symbol 3886 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt16", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt16", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone3");
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3887 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3887 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Symbol 3897 MovieClip Frame 1
if (63 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3897 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3897 MovieClip Frame 13
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3900 MovieClip Frame 1
setProperty("_root.TiteTourDevant", _visible , 0);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3900 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3900 MovieClip Frame 7
if (Tab2Tour == true) {
setProperty("_root.TiteTourDevant", _visible , 1);
}
Symbol 3900 MovieClip Frame 10
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3903 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt12", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt12", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3903 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3903 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 3903 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 3903 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt12", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt12", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone2");
tellTarget ("_root.Don") {
gotoAndStop (7);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 216);
setProperty("_root.Meg", _y , 127);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 3903 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 3903 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Pt12", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt12", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone2");
tellTarget ("_root.Don") {
gotoAndStop (7);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 3905 MovieClip Frame 1
stop();
Symbol 3906 MovieClip Frame 1
stop();
Symbol 3906 MovieClip Frame 2
Set("/Variables:Canon1Pet", true);
Symbol 3906 MovieClip Frame 24
Set("/Variables:Canon1Pet", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CasseCanon");
};
Symbol 3917 MovieClip Frame 1
Set("/Variables:CanonTir", false);
stop();
Symbol 3917 MovieClip Frame 2
tellTarget ("_root.SonCanonTir") {
play();
};
Symbol 3917 MovieClip Frame 8
if (((/Variables:EtatActif eq "Tab2Grimpe") and (/Variables:Tour2Pet == false)) and (getProperty("../../", _currentframe) == 1)) {
Set("/Variables:Tour2Pet", true);
tellTarget ("_root.TourOmbre") {
gotoAndPlay (2);
};
tellTarget ("_root.TourDevant") {
gotoAndPlay (2);
};
tellTarget ("_root.TourBack") {
gotoAndPlay (2);
};
}
if (((/Variables:EtatActif eq "Tab2Grimpe") and (/Variables:DonElect == true)) and (getProperty("../../", _currentframe) == 1)) {
tellTarget ("_root.TourDevant") {
gotoAndPlay ("ToucheDon");
};
tellTarget ("_root.TourBack") {
gotoAndPlay ("ToucheDon");
};
}
if ((((/Variables:EtatActif eq "Tab4EauGrimpe") and (/Variables:PlateFormPet == 0)) and (getProperty("../../", _currentframe) == 11)) and (/Variables:TouchePlateForm != true)) {
Set("/Variables:TouchePlateForm", true);
tellTarget ("_root.PlateForm") {
gotoAndPlay (2);
};
tellTarget ("_root.PlateForm2") {
gotoAndPlay (2);
};
}
if (((((/Variables:EtatActif eq "Tab4EauGrimpe") and (/Variables:PlateFormPet == 1)) and (/Variables:DonPlateForm == true)) and (getProperty("../../", _currentframe) == 11)) and (/Variables:TouchePlateForm != true)) {
Set("/Variables:TouchePlateForm", true);
tellTarget ("_root.PlateForm") {
gotoAndPlay ("TirDon");
};
tellTarget ("_root.PlateForm2") {
gotoAndPlay ("TirDon");
};
}
Symbol 3923 MovieClip Frame 1
Set("/Variables:CanonTir", false);
stop();
Symbol 3923 MovieClip Frame 2
tellTarget ("_root.SonCanonTir") {
play();
};
Symbol 3923 MovieClip Frame 7
if (((/Variables:EtatActif eq "Tab5EauGrimpe") and (/Variables:TubePet == false)) and (getProperty("../../", _currentframe) == 2)) {
Set("/Variables:TubePet", true);
tellTarget ("_root.Azote") {
play();
};
}
if (((/Variables:EtatActif eq "Tab5EauGrimpe") and (/Variables:DonAzote == true)) and (getProperty("../../", _currentframe) == 2)) {
tellTarget ("_root.Azote") {
gotoAndPlay ("ToucheDon");
};
}
Symbol 3929 MovieClip Frame 1
Set("/Variables:CanonTir", false);
stop();
Symbol 3929 MovieClip Frame 2
tellTarget ("_root.SonCanonTir") {
play();
};
Symbol 3935 MovieClip Frame 1
Set("/Variables:CanonTir", false);
stop();
Symbol 3935 MovieClip Frame 2
tellTarget ("_root.SonCanonTir") {
play();
};
Symbol 3941 MovieClip Frame 1
Set("/Variables:CanonTir", false);
stop();
Symbol 3941 MovieClip Frame 2
tellTarget ("_root.SonCanonTir") {
play();
};
Symbol 3947 MovieClip Frame 1
Set("/Variables:CanonTir", false);
stop();
Symbol 3947 MovieClip Frame 2
tellTarget ("_root.SonCanonTir") {
play();
};
Symbol 3949 MovieClip Frame 1
gotoAndStop(/Variables:Canon2Pos);
Symbol 3949 MovieClip Frame 12
prevFrame();
Symbol 3956 MovieClip Frame 1
if (/Variables:Canon1Pet == true) {
nextFrame();
}
stop();
Symbol 3961 MovieClip Frame 1
if (/Variables:Tab2Tour == false) {
nextFrame();
} else {
stop();
}
Symbol 3963 MovieClip Frame 1
if (/Variables:Tab2Niveau == 2) {
nextFrame();
} else {
stop();
}
Symbol 3988 MovieClip Frame 1
if (/Variables:Arrive eq "SauteAntenne") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 3988 MovieClip Frame 2
setProperty("_root.Antenne", _visible , 0);
setProperty("_root.TiteTourDevant", _visible , 0);
Symbol 3988 MovieClip Frame 50
Set("/Variables:Tab2Niveau", 1);
setProperty("_root.Meg", _x , 213);
setProperty("_root.Meg", _y , 296);
setProperty("_root.Meg", _xscale , 23);
setProperty("_root.Meg", _yscale , 23);
setProperty("_root.Antenne", _visible , 1);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4026 MovieClip Frame 1
if (/Variables:Arrive eq "Echelle1Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Echelle1Haut") {
gotoAndPlay (84);
} else {
stop();
}
Symbol 4026 MovieClip Frame 2
play();
Symbol 4026 MovieClip Frame 8
stop();
Instance of Symbol 3766 MovieClip in Symbol 4026 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 3766 MovieClip in Symbol 4026 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(167 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4026 MovieClip Frame 65
play();
Symbol 4026 MovieClip Frame 83
setProperty("_root.Meg", _x , 402);
setProperty("_root.Meg", _y , 157);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab2Niveau", 2);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4026 MovieClip Frame 84
play();
Symbol 4026 MovieClip Frame 103
stop();
Instance of Symbol 3766 MovieClip in Symbol 4026 MovieClip Frame 103
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4026 MovieClip Frame 104
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(167 - int(_currentframe));
};
}
}
}
Symbol 4026 MovieClip Frame 160
play();
Symbol 4026 MovieClip Frame 165
setProperty("_root.Meg", _x , 407);
setProperty("_root.Meg", _y , 276);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab2Niveau", 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4027 MovieClip Frame 1
if (/Variables:Arrive eq "Echelle2Haut") {
gotoAndPlay (39);
} else if (/Variables:Arrive eq "Echelle2Bas") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4027 MovieClip Frame 2
play();
Symbol 4027 MovieClip Frame 8
stop();
Instance of Symbol 3766 MovieClip in Symbol 4027 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 3766 MovieClip in Symbol 4027 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(77 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4027 MovieClip Frame 32
play();
Symbol 4027 MovieClip Frame 38
setProperty("_root.Meg", _x , 71);
setProperty("_root.Meg", _y , 284);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4027 MovieClip Frame 39
play();
Symbol 4027 MovieClip Frame 46
stop();
Instance of Symbol 3766 MovieClip in Symbol 4027 MovieClip Frame 46
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4027 MovieClip Frame 47
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(77 - int(_currentframe));
};
}
}
}
Symbol 4027 MovieClip Frame 70
play();
Symbol 4027 MovieClip Frame 75
setProperty("_root.Meg", _x , 99);
setProperty("_root.Meg", _y , 329);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4028 MovieClip Frame 1
if (/Variables:Arrive eq "Echelle3Bas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "Echelle3Haut") {
gotoAndPlay (63);
} else {
stop();
}
Symbol 4028 MovieClip Frame 2
play();
Symbol 4028 MovieClip Frame 11
stop();
Instance of Symbol 3766 MovieClip in Symbol 4028 MovieClip Frame 11
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4028 MovieClip Frame 12
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(125 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4028 MovieClip Frame 55
play();
Symbol 4028 MovieClip Frame 62
setProperty("_root.Meg", _x , 525);
setProperty("_root.Meg", _y , 124);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab2Niveau", 2);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4028 MovieClip Frame 63
play();
Symbol 4028 MovieClip Frame 71
stop();
Instance of Symbol 3766 MovieClip in Symbol 4028 MovieClip Frame 71
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4028 MovieClip Frame 72
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(125 - int(_currentframe));
};
}
}
}
Symbol 4028 MovieClip Frame 115
play();
Symbol 4028 MovieClip Frame 123
setProperty("_root.Meg", _x , 527);
setProperty("_root.Meg", _y , 206);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab2Niveau", 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4063 MovieClip Frame 1
if (/Variables:Arrive eq "PoteauBas") {
gotoAndPlay (2);
} else if (/Variables:Arrive eq "PoteauHaut") {
gotoAndPlay (64);
} else {
stop();
}
Symbol 4063 MovieClip Frame 2
play();
Symbol 4063 MovieClip Frame 11
stop();
Instance of Symbol 3766 MovieClip in Symbol 4063 MovieClip Frame 11
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4063 MovieClip Frame 12
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(126 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4063 MovieClip Frame 51
play();
Symbol 4063 MovieClip Frame 63
setProperty("_root.Meg", _x , 300);
setProperty("_root.Meg", _y , 55);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab2Niveau", 2);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4063 MovieClip Frame 64
play();
Symbol 4063 MovieClip Frame 77
stop();
Instance of Symbol 3766 MovieClip in Symbol 4063 MovieClip Frame 77
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4063 MovieClip Frame 78
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(126 - int(_currentframe));
};
}
}
}
Symbol 4063 MovieClip Frame 116
play();
Symbol 4063 MovieClip Frame 124
setProperty("_root.Meg", _x , 271);
setProperty("_root.Meg", _y , 120);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Tab2Niveau", 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4066 MovieClip Frame 1
if (/Variables:Arrive eq "SortCanon") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4066 MovieClip Frame 13
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=25", 0);
setProperty("_root.Meg", _x , 57);
setProperty("_root.Meg", _y , 263);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 4097 MovieClip Frame 1
if (/Variables:RadarPet == true) {
nextFrame();
}
stop();
Symbol 4097 MovieClip Frame 2
stop();
Symbol 4099 MovieClip Frame 1
if (/Variables:Tab3Bambou == false) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4103 MovieClip Frame 1
if (/Variables:RadarPet == true) {
nextFrame();
}
stop();
Symbol 4104 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt25", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt25", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4104 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4104 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4104 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
Symbol 4104 MovieClip Frame 9
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt25", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt25", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 367);
setProperty("_root.Meg", _y , 32);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Symbol 4104 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Pt25", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt25", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 4111 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4111 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4111 MovieClip Frame 11
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 4120 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonPlonge") {
play();
};
}
Symbol 4121 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt24", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt24", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4121 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4121 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4121 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
Symbol 4121 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt24", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt24", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone7");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 583);
setProperty("_root.Meg", _y , 345);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4121 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4121 MovieClip Frame 16
setProperty("_root.Don", _x , getProperty("_root.Pt24", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt24", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone7");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4124 MovieClip Frame 1
if (265 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4124 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4124 MovieClip Frame 12
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt22");
Set("/Variables:ZoneActive", "Zone2");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4127 MovieClip Frame 1
if (265 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4127 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4127 MovieClip Frame 16
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt23", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt23", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone8");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4128 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4128 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4128 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4128 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 4128 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 37);
setProperty("_root.Meg", _y , 135);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4128 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4128 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 4132 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4132 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4132 MovieClip Frame 12
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 4134 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4134 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4134 MovieClip Frame 7
if (getProperty("_root.Meg", _y) < 265) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4134 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
Symbol 4134 MovieClip Frame 9
if ((Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) and (/Variables:EtatActif ne "Tab3Eau")) {
if (swap != true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone2");
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 174);
setProperty("_root.Meg", _y , 241);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Symbol 4134 MovieClip Frame 10
if (swap != true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt21", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt21", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone2");
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 4136 MovieClip Frame 1
if (265 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4136 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4136 MovieClip Frame 6
if (swap != true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4136 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
Symbol 4136 MovieClip Frame 9
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 13);
setProperty("_root.Meg", _y , 119);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Symbol 4136 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt20", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt20", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Symbol 4138 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Part");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4138 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4138 MovieClip Frame 12
_root.AgpDon.swapDepths(_root.AgpSwap);
tellTarget ("../../") {
gotoAndStop (1);
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4140 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4140 MovieClip Frame 12
setProperty("_root.Don", _x , getProperty("_root.Pt22", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt22", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt21");
Set("/Variables:ZoneActive", "Zone3");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4141 MovieClip Frame 1
if (190 < getProperty("_root.Meg", _y)) {
swap = true;
_root.AgpDon.swapDepths(_root.AgpSwap);
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4141 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4141 MovieClip Frame 16
if (swap == true) {
_root.AgpDon.swapDepths(_root.AgpSwap);
}
setProperty("_root.Don", _x , getProperty("_root.Pt27", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt27", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone8");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4142 MovieClip Frame 1
stop();
Symbol 4145 MovieClip Frame 1
if (/Variables:Tab3Bambou == false) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4155 MovieClip Frame 1
if (/Variables:Arrive eq "Arbre") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4155 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=19", 0);
play();
Symbol 4155 MovieClip Frame 28
stop();
Instance of Symbol 3766 MovieClip in Symbol 4155 MovieClip Frame 28
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(17)) {
tellTarget ("_parent") {
play();
};
}
}
}
Symbol 4155 MovieClip Frame 47
stop();
Instance of Symbol 3766 MovieClip in Symbol 4155 MovieClip Frame 47
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(17)) {
tellTarget ("_parent") {
play();
};
}
}
}
Symbol 4155 MovieClip Frame 65
stop();
Instance of Symbol 3766 MovieClip in Symbol 4155 MovieClip Frame 65
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(17)) {
tellTarget ("_parent") {
play();
};
}
}
}
Symbol 4155 MovieClip Frame 84
setProperty("_root.Meg", _x , 412);
setProperty("_root.Meg", _y , 246);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 4164 MovieClip Frame 1
stop();
Symbol 4164 MovieClip Frame 9
stop();
Symbol 4164 MovieClip Frame 17
stop();
Symbol 4166 MovieClip Frame 1
stop();
Symbol 4166 MovieClip Frame 9
stop();
Symbol 4166 MovieClip Frame 17
stop();
Symbol 4168 MovieClip Frame 1
stop();
Symbol 4168 MovieClip Frame 10
stop();
Symbol 4168 MovieClip Frame 20
stop();
Symbol 4169 MovieClip Frame 1
stop();
Symbol 4169 MovieClip Frame 10
stop();
Symbol 4169 MovieClip Frame 18
stop();
Symbol 4171 MovieClip Frame 1
stop();
Symbol 4171 MovieClip Frame 10
stop();
Symbol 4171 MovieClip Frame 19
stop();
Symbol 4172 MovieClip Frame 1
stop();
Instance of Symbol 2521 MovieClip "Pieds" in Symbol 4172 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4213 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4213 MovieClip Frame 137
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonLeve");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("_parent") {
gotoAndStop ("Pet");
};
Symbol 4215 MovieClip Frame 1
if (/Variables:PlateFormPet == 2) {
gotoAndStop (53);
} else if (/Variables:DonPlateForm == true) {
gotoAndPlay (26);
} else if (/Variables:PlateFormPet == 1) {
gotoAndStop (25);
} else {
stop();
}
Symbol 4215 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=45", 0);
Symbol 4215 MovieClip Frame 11
Set("/Variables:TouchePlateForm", false);
Set("/Variables:PlateFormPet", 1);
Symbol 4215 MovieClip Frame 25
stop();
Symbol 4215 MovieClip Frame 26
stop();
Symbol 4215 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=51", 0);
play();
Symbol 4215 MovieClip Frame 45
if (/Variables:DonTouche == 2) {
tellTarget ("_root.DonMeurt") {
play();
};
}
Symbol 4215 MovieClip Frame 52
Set("/Variables:DonTouche", /Variables:DonTouche + 1);
Set("/Variables:ZoneActive", "Zone3");
Set("/Variables:DestDon", "PtCanon");
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DonPlateForm", false);
Set("/Variables:PlateFormPet", 2);
Set("/Variables:Stoppe", true);
Set("/Variables:TouchePlateForm", false);
if (/Variables:DonTouche < 3) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonFumee");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonMort2");
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 4215 MovieClip Frame 53
tellTarget ("_root.Gts.GtsMap.PlateForm") {
gotoAndStop (2);
};
stop();
Symbol 4218 MovieClip Frame 1
if (/Variables:Tab4PortePet == true) {
gotoAndStop (47);
}
stop();
Symbol 4218 MovieClip Frame 47
stop();
Symbol 4222 MovieClip Frame 1
if (/Variables:MachetteRamasse == true) {
nextFrame();
}
stop();
Symbol 4229 MovieClip Frame 1
gotoAndStop(/Variables:Canon4Pos);
Symbol 4229 MovieClip Frame 12
prevFrame();
Symbol 4230 MovieClip Frame 1
if (/Variables:Canon2Pet == true) {
nextFrame();
}
stop();
Symbol 4235 MovieClip Frame 1
setProperty("_root.Don", _x , getProperty("_root.Pt31", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt31", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4235 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4235 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4235 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 4235 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt31", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt31", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 370);
setProperty("_root.Meg", _y , 257);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4235 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4235 MovieClip Frame 16
setProperty("_root.Don", _x , getProperty("_root.Pt31", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt31", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4236 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt32", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt32", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4236 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4236 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Symbol 4236 MovieClip Frame 6
_root.AgpDon.swapDepths(_root.AgpSwap);
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4236 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
Symbol 4236 MovieClip Frame 9
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt32", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt32", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 139);
setProperty("_root.Meg", _y , 233);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Symbol 4236 MovieClip Frame 10
setProperty("_root.Don", _x , getProperty("_root.Pt32", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt32", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone4");
tellTarget ("_root.Don") {
gotoAndStop (1);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4241 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4241 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
Symbol 4241 MovieClip Frame 9
if (((Atteris.hitTest(_root.Meg) and (/Variables:EtatActif ne "Tab 4Eau")) and (/Variables:EtatActif ne "Tab 4EauGrimpe")) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt33", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt33", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone3");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 210);
setProperty("_root.Meg", _y , 248);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4241 MovieClip Frame 10
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4241 MovieClip Frame 12
setProperty("_root.Don", _x , getProperty("_root.Pt33", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt33", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone3");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../") {
gotoAndStop (1);
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4244 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4244 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
Symbol 4244 MovieClip Frame 7
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt34", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt34", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", true);
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt35");
} else {
Set("/Variables:DestDon", "Pt31");
}
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 320);
setProperty("_root.Meg", _y , 376);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4244 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4244 MovieClip Frame 15
setProperty("_root.Don", _x , getProperty("_root.Pt34", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt34", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", true);
if (random(100) < 50) {
Set("/Variables:DestDon", "Pt35");
} else {
Set("/Variables:DestDon", "Pt31");
}
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4245 MovieClip Frame 1
stop();
Symbol 4246 MovieClip Frame 1
stop();
Symbol 4246 MovieClip Frame 2
Set("/Variables:Canon2Pet", true);
Symbol 4246 MovieClip Frame 26
Set("/Variables:Canon2Pet", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("CasseCanon");
};
Symbol 4247 MovieClip Frame 1
if (/Variables:PlateFormPet == 2) {
gotoAndStop (53);
} else if (/Variables:DonPlateForm == true) {
gotoAndPlay (26);
} else if (/Variables:PlateFormPet == 1) {
gotoAndStop (25);
} else {
stop();
}
Symbol 4247 MovieClip Frame 25
stop();
Symbol 4247 MovieClip Frame 26
stop();
Symbol 4247 MovieClip Frame 42
play();
Symbol 4247 MovieClip Frame 53
stop();
Symbol 4252 MovieClip Frame 1
if (/Variables:Arrive eq "EchelleHaut") {
gotoAndPlay (87);
} else if (/Variables:Arrive eq "EchelleBas") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4252 MovieClip Frame 2
play();
Symbol 4252 MovieClip Frame 8
stop();
Instance of Symbol 3766 MovieClip in Symbol 4252 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 3766 MovieClip in Symbol 4252 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(173 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4252 MovieClip Frame 76
play();
Symbol 4252 MovieClip Frame 86
Set("/Variables:From", "Tab4Echelle");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=12", 0);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4252 MovieClip Frame 87
play();
Symbol 4252 MovieClip Frame 98
stop();
Instance of Symbol 3766 MovieClip in Symbol 4252 MovieClip Frame 98
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4252 MovieClip Frame 99
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(173 - int(_currentframe));
};
}
}
}
Symbol 4252 MovieClip Frame 166
play();
Symbol 4252 MovieClip Frame 171
Set("/Variables:From", "Tab4Echelle");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=15", 0);
tellTarget ("_root") {
gotoAndStop ("Tab4Eau");
};
Symbol 4254 MovieClip Frame 1
if (/Variables:Arrive eq "CordeHaut") {
gotoAndPlay (69);
} else if (/Variables:Arrive eq "CordeBas") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4254 MovieClip Frame 2
play();
Symbol 4254 MovieClip Frame 15
stop();
Instance of Symbol 3766 MovieClip in Symbol 4254 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4254 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(137 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4254 MovieClip Frame 58
play();
Symbol 4254 MovieClip Frame 68
Set("/Variables:From", "Tab4Corde");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=47", 0);
if (/Variables:PylonParle == false) {
Set("/Variables:PylonParle", true);
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("Instable");
};
}
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
Symbol 4254 MovieClip Frame 69
play();
Symbol 4254 MovieClip Frame 80
stop();
Instance of Symbol 3766 MovieClip in Symbol 4254 MovieClip Frame 80
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueHaut");
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4254 MovieClip Frame 81
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(137 - int(_currentframe));
};
}
}
}
Symbol 4254 MovieClip Frame 123
play();
Symbol 4254 MovieClip Frame 139
Set("/Variables:From", "Tab4Corde");
tellTarget ("_root") {
gotoAndStop ("Tab4Eau");
};
Symbol 4269 MovieClip Frame 1
if (/Variables:Arrive eq "SortCanon") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4269 MovieClip Frame 14
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=46", 0);
setProperty("_root.Meg", _x , 432);
setProperty("_root.Meg", _y , 363);
Set("/Variables:From", "");
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab4Eau");
};
Symbol 4284 MovieClip Frame 1
if (/Variables:PosCrochet == 4) {
nextFrame();
}
stop();
Symbol 4286 MovieClip Frame 1
if (/Variables:Tab5PortePet == true) {
gotoAndStop (47);
}
stop();
Symbol 4286 MovieClip Frame 47
stop();
Symbol 4288 MovieClip Frame 1
if (/Variables:BombonneRamasse == true) {
nextFrame();
}
stop();
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4301 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4301 MovieClip Frame 202
Set("/Variables:DonAzote", false);
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "Pt46");
Set("/Variables:DonEau", true);
setProperty("_root.Don", _x , 315);
setProperty("_root.Don", _y , 310);
tellTarget ("_root.Don") {
gotoAndStop ("Eau2");
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("Court");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 4302 MovieClip Frame 1
if (/Variables:DonAzote == true) {
nextFrame();
}
stop();
Symbol 4304 MovieClip Frame 19
stop();
Symbol 4305 MovieClip Frame 1
if (/Variables:TubePet == true) {
gotoAndStop (39);
}
stop();
Symbol 4305 MovieClip Frame 38
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=59", 0);
Symbol 4305 MovieClip Frame 39
stop();
Symbol 4305 MovieClip Frame 40
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=69", 0);
play();
Symbol 4305 MovieClip Frame 42
if (/Variables:DonTouche == 2) {
setProperty("Azote/DonAzote", _visible , 0);
tellTarget ("_root.DonMeurt") {
play();
};
}
Symbol 4305 MovieClip Frame 50
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonAzote", false);
Set("/Variables:DonEau", false);
Set("/Variables:DonTouche", /Variables:DonTouche + 1);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("Azote.DonAzote") {
gotoAndStop (1);
};
Set("/Variables:Stoppe", true);
if (/Variables:DonTouche < 3) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonFumee");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonMort3");
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndStop (39);
Symbol 4314 MovieClip Frame 1
if (/Variables:PosCrochet == 4) {
nextFrame();
}
stop();
Symbol 4317 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt42", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt42", _y));
setProperty("_root.Gts.ZoneDeplace.GtsDon", _x , _root.Don._x);
setProperty("_root.Gts.ZoneDeplace.GtsDon", _y , _root.Don._y);
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndPlay ("Arrive");
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4317 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4317 MovieClip Frame 2
if (((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) and (getProperty("_root.LunetteMovie", _currentframe) == 1)) {
tellTarget ("_root.DonEntre") {
play();
};
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4317 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 4317 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt42", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt42", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 477);
setProperty("_root.Meg", _y , 140);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4317 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4317 MovieClip Frame 10
_root.AgpDon.swapDepths(_root.AgpSwap);
setProperty("_root.Don", _x , getProperty("_root.Pt42", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt42", _y));
Set("/Variables:EtatDon", "Idle");
Set("/Variables:DestDon", "Pt43");
Set("/Variables:ZoneActive", "Zone3");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (3);
};
tellTarget ("../../") {
gotoAndStop (1);
};
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4321 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4321 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 4321 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt44", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt44", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 548);
setProperty("_root.Meg", _y , 382);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4321 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4321 MovieClip Frame 16
setProperty("_root.Don", _x , getProperty("_root.Pt44", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt44", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", true);
tellTarget ("_root.Don") {
gotoAndStop ("Eau1");
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4324 MovieClip Frame 1
_root.AgpDon.swapDepths(_root.AgpSwap);
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4324 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4324 MovieClip Frame 4
_root.AgpDon.swapDepths(_root.AgpSwap);
Instance of Symbol 2463 MovieClip "Atteris" in Symbol 4324 MovieClip Frame 7
onClipEvent (load) {
_visible = 0;
}
Symbol 4324 MovieClip Frame 8
if (Atteris.hitTest(_root.Meg) and (getProperty("_root.Meg", _visible) == 1)) {
setProperty("_root.Don", _x , getProperty("_root.Pt43", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt43", _y));
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _x , 470);
setProperty("_root.Meg", _y , 216);
tellTarget ("_root.Animatiques") {
gotoAndStop ("DonStep");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Instance of Symbol 2463 MovieClip "Pt12" in Symbol 4324 MovieClip Frame 9
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) or (getProperty("_root.LunetteMovie", _currentframe) != 1)) {
tellTarget ("_parent") {
stop();
};
} else {
tellTarget ("_parent") {
play();
};
}
}
Symbol 4324 MovieClip Frame 13
setProperty("_root.Don", _x , getProperty("_root.Pt43", _x));
setProperty("_root.Don", _y , getProperty("_root.Pt43", _y));
Set("/Variables:EtatDon", "Marche");
Set("/Variables:DestDon", "");
Set("/Variables:ZoneActive", "Zone1");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don") {
gotoAndStop (5);
};
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 4325 MovieClip Frame 1
stop();
Symbol 4326 MovieClip Frame 1
stop();
Symbol 4326 MovieClip Frame 2
Set("/Variables:Canon3Pet", true);
Symbol 4326 MovieClip Frame 22
tellTarget ("_root.Animatiques") {
gotoAndStop ("CasseCanon");
};
Symbol 4329 MovieClip Frame 1
gotoAndStop(/Variables:Canon5Pos);
Symbol 4329 MovieClip Frame 12
prevFrame();
Symbol 4330 MovieClip Frame 1
if (/Variables:Canon3Pet == true) {
nextFrame();
}
stop();
Symbol 4335 MovieClip Frame 2
Set("/Variables:PosCrochet", 2);
Symbol 4335 MovieClip Frame 47
Set("/Variables:PosCrochet", 2);
tellTarget ("_parent") {
gotoAndStop (2);
};
Symbol 4336 MovieClip Frame 1
gotoAndStop(/Variables:PosCrochet);
Symbol 4336 MovieClip Frame 5
stop();
Symbol 4339 MovieClip Frame 1
if (/Variables:PosCrochet == 4) {
nextFrame();
}
stop();
Symbol 4341 MovieClip Frame 1
if (/Variables:Arrive eq "LianeHaut") {
gotoAndStop (60);
} else if (/Variables:Arrive eq "LianeBas") {
gotoAndStop (2);
} else {
stop();
}
Symbol 4341 MovieClip Frame 2
play();
Symbol 4341 MovieClip Frame 9
stop();
Instance of Symbol 3766 MovieClip in Symbol 4341 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndPlay ("DebarqueBas");
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4341 MovieClip Frame 10
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
gotoAndStop(119 - int(_currentframe));
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 4341 MovieClip Frame 59
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=34", 0);
tellTarget ("_root.ControlDon") {
gotoAndStop (1);
};
if (/Variables:EtatDon ne "PasLa") {
Set("/Variables:DestDon", "Pt0");
Set("/Variables:EtatDon", "PasLa");
Set("/Variables:DonEau", false);
tellTarget ("_root.Don.Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Gts.ZoneDeplace.GtsDon") {
gotoAndStop (1);
};
}
tellTarget ("_root.ControlDon") {
gotoAndPlay (1);
};
Set("/Variables:From", "Tab5");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
Symbol 4341 MovieClip Frame 60
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=32", 0);
stop();
Instance of Symbol 3766 MovieClip in Symbol 4341 MovieClip Frame 60
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
prevFrame();
};
}
}
}
Instance of Symbol 3766 MovieClip in Symbol 4341 MovieClip Frame 61
onClipEvent (enterFrame) {
if (/Variables:InventaireOuverte != true) {
if (key.isDown(40)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(38)) {
tellTarget ("_parent") {
gotoAndStop(119 - int(_currentframe));
};
}
}
}
Symbol 4341 MovieClip Frame 111
play();
Symbol 4341 MovieClip Frame 117
setProperty("_root.Meg", _x , 169);
setProperty("_root.Meg", _y , 102);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
Symbol 4344 MovieClip Frame 1
if (/Variables:Arrive eq "SortCanon") {
gotoAndPlay (2);
} else {
stop();
}
Symbol 4344 MovieClip Frame 14
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=24&stage=60", 0);
setProperty("_root.Meg", _x , 152);
setProperty("_root.Meg", _y , 367);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
tellTarget ("_root") {
gotoAndStop ("Tab5Eau");
};
Symbol 4374 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 4375 MovieClip Frame 1
if (/:Challenge == true) {
stop();
} else {
fscommand ("load");
play();
}
Symbol 4375 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 4375 MovieClip Frame 3
stop();
Symbol 4378 Button
on (release) {
stopAllSounds();
gotoAndPlay (1066);
}
Symbol 4573 Button
on (release) {
Set("/:Challenge", true);
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 4575 Button
on (release) {
nextFrame();
}
Symbol 4577 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 4578 MovieClip Frame 1
stop();
Symbol 4578 MovieClip Frame 2
stop();
Symbol 4578 MovieClip Frame 3
stop();