Frame 1
Challenge = false;
_focusrect = false;
ifFrameLoaded (842) {
gotoAndStop (3);
}
Frame 2
stop();
Instance of Symbol 24 MovieClip "LoadBar" in Frame 2
onClipEvent (load) {
var TotalLoad = 1283590;
}
onClipEvent (enterFrame) {
var TempLoad = _root.getBytesLoaded();
var Pourcent = ((TempLoad / TotalLoad) * 100);
Pourcent = Math.round(Pourcent);
if (getProperty("_root.LoadBar", _currentframe) < 100) {
_root.LoadBar.gotoAndStop(Pourcent);
}
ifFrameLoaded (31) {
if (getProperty("_root.InsButton", _currentframe) < 3) {
_root.InsButton.play();
}
}
}
Frame 3
stop();
Frame 9
stop();
Frame 13
stop();
Frame 22
stop();
Frame 32
gotoAndPlay (69);
Frame 38
play();
Frame 68
gotoAndStop (734);
Frame 69
if (g_episode_name == null) {
g_episode_name = "scooby_episode_8";
}
Frame 613
loadVariablesNum (/:TrackingUrl add "?episode=8&stage=1", 0);
Frame 614
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 615
Set("/:Challenge", false);
Instance of Symbol 574 MovieClip "Fonct" in Frame 615
onClipEvent (load) {
Math.roundTo = function (num, dp) {
var d = Math.pow(10, dp);
return(Math.round(num * (d + 1E-8)) / d);
};
UseBad = function (Qui) {
Son = random(5);
if ((Son == 0) or (Son == 1)) {
} else {
if (Son == 2) {
Set("/Vars:Dialog", "NeedSomeElse");
} else if (Son == 3) {
Set("/Vars:Dialog", "NotThatWay");
} else {
Set("/Vars:Dialog", "NoUse");
}
Set("/Vars:FinMove", "Parle");
_root.Fonct.MoveAuto(Qui);
}
};
IniTab = function (PosX, PosY, Dir, Niveau) {
Set("/Vars:PersActif", "Ss");
Set("/Vars:SsX", PosX);
Set("/Vars:SsY", PosY);
Set("/Vars:EtatSs", "Idle");
Set("/Vars:EtatSamy", "PasLa");
Set("/Vars:EtatScooby", "PasLa");
Set("/Vars:DirSs", Dir);
Set("/Vars:NiveauScooby", Niveau);
Set("/Vars:NiveauSamy", Niveau);
Set("/Vars:NiveauSs", Niveau);
Set("/Vars:TabAgpNom", new Array());
Set("/Vars:FinMove", "");
Set("/Vars:Pause", false);
Set("/Vars:LostControl", false);
Set("/Vars:AgpActif", "");
Set("/Vars:Haut", false);
Set("/Vars:Bas", false);
Set("/Vars:Gauche", false);
Set("/Vars:Droite", false);
if (/Vars:KeepInv == false) {
Set("/Vars:ObjSelect", 1);
Set("/Vars:InvArray", "1");
_root.Interface.Inv.ObjSelect.gotoAndStop(1);
Set("/Vars:KeepInv", false);
}
};
PersSplit = function (PersSplit, PersResult1, PersResult2) {
PtPers1 = new object();
PtPers1.x = 0;
PtPers1.y = 0;
Nom = "Feet" + PersResult1;
_root[PersSplit][Nom].localToGlobal(PtPers1);
_root[PersResult1]._x = PtPers1.x;
_root[PersResult1]._y = PtPers1.y;
PtPers2 = new object();
PtPers2.x = 0;
PtPers2.y = 0;
Nom = "Feet" + PersResult2;
_root[PersSplit][Nom].localToGlobal(PtPers2);
_root[PersResult2]._x = PtPers2.x;
_root[PersResult2]._y = PtPers2.y;
Set("/Vars:Niveau" + PersResult1, eval ("/Vars:Niveau" + PersSplit));
Set("/Vars:Niveau" + PersResult2, eval ("/Vars:Niveau" + PersSplit));
Set("/Vars:PersActif", PersResult1);
Set("/Vars:Dir" + PersResult1, eval ("/Vars:Dir" + PersSplit));
Set("/Vars:Dir" + PersResult2, eval ("/Vars:Dir" + PersSplit));
Set("/Vars:Etat" + PersResult1, "Idle");
Set("/Vars:Etat" + PersResult2, "Idle");
Set("/Vars:Etat" + PersSplit, "PasLa");
tellTarget ("_root." + PersResult1) {
gotoAndStop(eval ("/Vars:Dir" + PersSplit));
};
tellTarget ("_root." + PersResult2) {
gotoAndStop(eval ("/Vars:Dir" + PersSplit));
};
Set("/Vars:VoirPrit", true);
};
MoveAuto = function (Perso) {
Set("/Vars:LostControl", true);
Set("/Vars:MoveAuto", true);
StartX = _root[Perso]._x;
StartY = _root[Perso]._y;
a = /Vars:DestX - StartX;
b = StartY - /Vars:DestY;
c = Math.sqrt((a * a) + (b * b));
alpha = Math.acos(a / c);
alpha = (alpha * 180) / Math.PI;
if (b < 0) {
alpha = 360 - alpha;
}
if ((alpha < 10) or (alpha > 350)) {
Set("/Vars:Dir" + Perso, 8);
} else if (alpha < 80) {
Set("/Vars:Dir" + Perso, 7);
} else if (alpha < 100) {
Set("/Vars:Dir" + Perso, 6);
} else if (alpha < 170) {
Set("/Vars:Dir" + Perso, 5);
} else if (alpha < 190) {
Set("/Vars:Dir" + Perso, 4);
} else if (alpha < 260) {
Set("/Vars:Dir" + Perso, 3);
} else if (alpha < 280) {
Set("/Vars:Dir" + Perso, 2);
} else if (alpha <= 350) {
Set("/Vars:Dir" + Perso, 1);
}
Set("/Vars:Etat" + Perso, "Marche");
tellTarget ("_root." + Perso) {
gotoAndStop(eval ("/Vars:Dir" + Perso));
};
tellTarget (("_root." + Perso) + ".Obj") {
gotoAndStop ("Marche");
};
alpha = (alpha * Math.PI) / 180;
Set("/Vars:MoveXAgp", /Vars:MoveDiag * Math.cos(alpha));
Set("/Vars:MoveYAgp", Math.sqrt((/Vars:MoveDiag * /Vars:MoveDiag) - (/Vars:MoveXAgp * /Vars:MoveXAgp)));
if (/Vars:DestY < StartY) {
Set("/Vars:MoveYAgp", /Vars:MoveYAgp * -1);
}
Set("/Vars:MoveXAgp", Math.roundTo(/Vars:MoveXAgp, 2));
Set("/Vars:MoveYAgp", Math.roundTo(/Vars:MoveYAgp, 2));
};
MoveAutoPeur = function (Perso) {
Set("/Vars:LostControl", true);
Set("/Vars:MoveAuto", true);
StartX = _root[Perso]._x;
StartY = _root[Perso]._y;
a = /Vars:DestX - StartX;
b = StartY - /Vars:DestY;
c = Math.sqrt((a * a) + (b * b));
alpha = Math.acos(a / c);
alpha = (alpha * 180) / Math.PI;
if (b < 0) {
alpha = 360 - alpha;
}
Set("/Vars:Dir" + Perso, 1);
tellTarget ("_root." + Perso) {
gotoAndStop (1);
};
Set("/Vars:Etat" + Perso, "Peur");
tellTarget (("_root." + Perso) + ".Obj") {
gotoAndStop ("Peur");
};
alpha = (alpha * Math.PI) / 180;
Set("/Vars:MoveXAgp", /Vars:MoveDiag * Math.cos(alpha));
Set("/Vars:MoveYAgp", Math.sqrt((/Vars:MoveDiag * /Vars:MoveDiag) - (/Vars:MoveXAgp * /Vars:MoveXAgp)));
if (/Vars:DestY < StartY) {
Set("/Vars:MoveYAgp", /Vars:MoveYAgp * -1);
}
Set("/Vars:MoveXAgp", Math.roundTo(/Vars:MoveXAgp, 2));
Set("/Vars:MoveYAgp", Math.roundTo(/Vars:MoveYAgp, 2));
};
SetMoves = function (Ref) {
Ref = Ref * 1.3;
Set("/Vars:ScalePers", Ref / 100);
Set("/Vars:MoveDiag", /Vars:MoveDiagRef * /Vars:ScalePers);
Set("/Vars:MoveXdr", /Vars:DiagX * /Vars:ScalePers);
Set("/Vars:MoveYdr", /Vars:DiagY * /Vars:ScalePers);
Set("/Vars:MoveXd", 0);
Set("/Vars:MoveYd", /Vars:MoveY * /Vars:ScalePers);
Set("/Vars:MoveXdl", (/Vars:DiagX * /Vars:ScalePers) * -1);
Set("/Vars:MoveYdl", /Vars:DiagY * /Vars:ScalePers);
Set("/Vars:MoveXl", (/Vars:MoveX * /Vars:ScalePers) * -1);
Set("/Vars:MoveYl", 0);
Set("/Vars:MoveXul", (/Vars:DiagX * /Vars:ScalePers) * -1);
Set("/Vars:MoveYul", (/Vars:DiagY * /Vars:ScalePers) * -1);
Set("/Vars:MoveXu", 0);
Set("/Vars:MoveYu", (/Vars:MoveY * /Vars:ScalePers) * -1);
Set("/Vars:MoveXur", /Vars:DiagX * /Vars:ScalePers);
Set("/Vars:MoveYur", (/Vars:DiagY * /Vars:ScalePers) * -1);
Set("/Vars:MoveXr", /Vars:MoveX * /Vars:ScalePers);
Set("/Vars:MoveYr", 0);
};
Save = function () {
Set("/Vars:SortTab", false);
Set("/Vars:SsX", _root.Ss._x);
Set("/Vars:SsY", _root.Ss._y);
Set("/Vars:SamyX", _root.Samy._x);
Set("/Vars:SamyY", _root.Samy._y);
Set("/Vars:ScoobyX", _root.Scooby._x);
Set("/Vars:ScoobyY", _root.Scooby._y);
Set("/Vars:ScaleIni", _root.Ss._xscale);
i = 0;
while (i < _root.Vars:TabAgpNom.length) {
Set("/Vars:Fr" + _root.Vars:TabAgpNom[i], getProperty("_root." + _root.Vars:TabAgpNom[i], _currentframe));
i++;
}
ObjSave = SharedObject.getLocal("ScoobEpi8");
ObjSave.data.Valeurs = _root.Vars;
ObjSave.flush();
delete ObjSave;
if (/Vars:Tableau eq "Tab3") {
Set("/Vars:FrT", 1);
Set("/Vars:FrBrasFeu", 1);
}
};
Load = function () {
ObjSave = SharedObject.getLocal("ScoobEpi8");
_root.Vars = ObjSave.data.Valeurs;
delete ObjSave;
Set("/Vars:ObjRemove", new Array());
Set("/Vars:TabAgpNom", new Array());
Set("/Vars:Haut", false);
Set("/Vars:Bas", false);
Set("/Vars:Gauche", false);
Set("/Vars:Droite", false);
tellTarget (_root) {
gotoAndStop(/Vars:Tableau);
};
tellTarget (_root.SaveLoad) {
gotoAndPlay ("FinLoad");
};
};
DeleteObj = function () {
i = 0;
i = 0;
while (i < _root.Vars:ObjRemove.length) {
_root[/Vars:ObjRemove[i]].removeMovieClip();
i++;
}
Set("/Vars:ObjRemove", new Array());
};
AddInv = function (NoObj, NomVar) {
Set("_root.Vars:" + NomVar, true);
Set("/Vars:InvArray", /Vars:InvArray + NoObj);
Set("/Vars:PtInvArray", /Vars:InvArray.length - 1);
Set("/Vars:ObjSelect", /Vars:InvArray.charAt(/Vars:PtInvArray));
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
};
RetourPers = function (PersMove, PersDest, PersMixt) {
Set("/Vars:Dir" + PersMixt, eval ("/Vars:Dir" + PersDest));
tellTarget (_root[PersMixt]) {
gotoAndStop(eval ("/Vars:Dir" + PersMixt));
};
FeetPersDest = "Feet" + PersDest;
_root[PersMixt]._x = _root[PersDest]._x - (_root[PersMixt][FeetPersDest]._x * /Vars:ScalePers);
_root[PersMixt]._y = _root[PersDest]._y - (_root[PersMixt][FeetPersDest]._y * /Vars:ScalePers);
PtPers = new object();
PtPers.x = 0;
PtPers.y = 0;
Nom = "Feet" + PersMove;
_root[PersMixt][Nom].localToGlobal(PtPers);
Set("/Vars:DestX", PtPers.x);
Set("/Vars:DestY", PtPers.y);
Set("/Vars:FinMove", "MergePers");
Set("/Vars:PersActif", PersMove);
_root.Fonct.MoveAuto(PersMove);
};
RemoveObj = function (Item) {
i = 0;
InvTemp = "";
while (i < /Vars:InvArray.length) {
if (i != Item) {
InvTemp = InvTemp + /Vars:InvArray.charAt(i);
}
i = i + 1;
}
Set("/Vars:InvArray", "");
Set("/Vars:InvArray", InvTemp);
Set("/Vars:ObjSelect", 1);
Set("/Vars:PtInvArray", 0);
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop (1);
};
};
SortCollider = function () {
VarieX = 0;
VarieY = 0;
i = 5;
while ((VarieX == 0) and (VarieY == 0)) {
if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y - (i * /Vars:ScalePers), true)) {
VarieX = 0;
VarieY = -10 * /Vars:ScalePers;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x - (i * /Vars:ScalePers), _root[/Vars:PersActif]._y - (i * /Vars:ScalePers), true)) {
VarieX = -10 * /Vars:ScalePers;
VarieY = -10 * /Vars:ScalePers;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x - (i * /Vars:ScalePers), _root[/Vars:PersActif]._y, true)) {
VarieX = -10 * /Vars:ScalePers;
VarieY = 0;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x - (i * /Vars:ScalePers), _root[/Vars:PersActif]._y + (i * /Vars:ScalePers), true)) {
VarieX = -10 * /Vars:ScalePers;
VarieY = 10 * /Vars:ScalePers;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y + (i * /Vars:ScalePers), true)) {
VarieX = 0;
VarieY = 10 * /Vars:ScalePers;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + (i * /Vars:ScalePers), _root[/Vars:PersActif]._y + (i * /Vars:ScalePers), true)) {
VarieX = 10 * /Vars:ScalePers;
VarieY = 10 * /Vars:ScalePers;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + (i * /Vars:ScalePers), _root[/Vars:PersActif]._y, true)) {
VarieX = 10 * /Vars:ScalePers;
VarieY = 0;
} else if (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + (i * /Vars:ScalePers), _root[/Vars:PersActif]._y - (i * /Vars:ScalePers), true)) {
VarieX = 10 * /Vars:ScalePers;
VarieY = -10 * /Vars:ScalePers;
}
i = i + 5;
}
Set("/Vars:DestX", _root[/Vars:PersActif]._x + VarieX);
Set("/Vars:DestY", _root[/Vars:PersActif]._y + VarieY);
Set("/Vars:FinMove", "FinMarche");
MoveAuto(/Vars:PersActif);
};
FinAgp = function () {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
Set("/Vars:AgpActif", "");
Set("/Vars:VoirPrit", true);
Set("/Vars:LostControl", false);
};
GetFrame = function () {
i = 0;
while (i < _root.Vars:TabAgpNom.length) {
Set("/Vars:Fr" + _root.Vars:TabAgpNom[i], getProperty("_root." + _root.Vars:TabAgpNom[i], _currentframe));
i++;
}
};
}
Instance of Symbol 574 MovieClip "Temp" in Frame 616
onClipEvent (load) {
TempStart = getTimer();
}
Instance of Symbol 579 MovieClip "Mus" in Frame 616
onClipEvent (load) {
Mus = new Sound(this);
this.Fade = 10;
this.VolDest = 0;
}
Instance of Symbol 596 MovieClip "Voix" in Frame 616
onClipEvent (load) {
Parle = false;
Dead = false;
Liane = false;
Tuile = false;
MM = false;
}
Instance of Symbol 574 MovieClip "IniVar" in Frame 616
onClipEvent (load) {
ObjVars = function () {
this.Saving = false;
this.Mort = false;
this.ObjRemove = new Array();
this.TabAgpNom = new Array();
this.InvArray = "1";
this.From = "Debut";
this.TempsIdle = 900;
this.WaitFear = 0;
this.Fear = 0;
this.DegreFear = 0;
this.Peur = false;
this.Tableau = "Tab1";
this.Pause = false;
this.SortTab = false;
this.LostControl = false;
this.MoveAuto = false;
this.VoirPrit = false;
this.StartPlay = 1;
this.EtatGen = "Idle";
this.DirGen = "d";
this.Haut = false;
this.Bas = false;
this.Droite = false;
this.Gauche = false;
this.PersActif = "Samy";
this.DestX = 0;
this.DestY = 0;
this.FinAgpX = 0;
this.FinAgpY = 0;
this.DirFin = 1;
this.MoveXAgp = 0;
this.MoveYAgp = 0;
this.FinMove = "Agp";
this.Dialog = "";
this.VDialog = "";
this.PtObjDel = 0;
this.PathPlace = "";
this.FramePlace = 1;
this.VarChange = "";
this.VarValue = false;
this.InvOuvert = false;
this.HelpOuvert = false;
this.PtInvArray = 0;
this.ObjSelect = 1;
this.KeepInv = false;
this.InvFouet = false;
this.InvSac = false;
this.InvPerche = false;
this.InvShield = false;
this.InvShield2 = false;
this.InvTorche = false;
this.InvBeigne = false;
this.InvLiane = false;
this.Tab1Etage = 2;
this.SolPet = false;
this.MarcheOpen = false;
this.LameBloc = false;
this.PercheFix = false;
this.UseMarche1 = false;
this.Marche2Open = false;
this.PicOut = false;
this.Tab2Etage = false;
this.ScorpDead = false;
this.PosPic = "Bas";
this.UseBouclier = false;
this.UseMarche2 = false;
this.MurBloc = false;
this.MurStop = false;
this.PosXFall = 428;
this.PosYFall = 200;
this.Tab3Etage = 2;
this.NezBas = false;
this.EtatTuile = "Wait";
this.MMTuile = 0;
this.MMEntre = false;
this.PlayMM = false;
this.MMSens = "";
this.MMActif = 1;
this.FrMM = 1;
this.FrMMObj = 1;
this.FrLiane = 1;
this.FrT = 1;
this.FrBrasFeu = 1;
this.MMAct = false;
this.Tab4Door = false;
this.LianePlace = false;
this.BeigneFix = false;
this.MMPasLa = false;
this.Pers1 = "Samy";
this.DirSamy = 1;
this.NiveauSamy = 100;
this.EtatSamy = "PasLa";
this.Pers2 = "Scooby";
this.DirScooby = 1;
this.NiveauScooby = 100;
this.EtatScooby = "PasLa";
this.Pers3 = "Ss";
this.DirSs = 1;
this.NiveauSs = 300;
this.EtatSs = "Idle";
this.SsX = 100;
this.SsY = 227;
this.SamyX = -60;
this.SamyY = 220;
this.ScoobyX = -120;
this.ScoobyY = 220;
this.MoveX = 10;
this.MoveY = 8;
this.RatioDiag = 0.666666666666667;
this.MoveDiagRef = Math.sqrt((this.MoveX * this.MoveX) + (this.MoveY * this.MoveY));
this.MoveDiagRef = Math.roundTo(this.MoveDiagRef, 2);
this.MoveDiag = 0;
this.AngDiag = Math.acos(this.MoveX / this.MoveDiagRef);
this.AngDiag = (this.AngDiag * 180) / Math.PI;
this.AngDiag = Math.roundTo(this.AngDiag, 2);
this.DiagX = Math.round(this.MoveX * this.RatioDiag);
this.DiagY = Math.round(this.MoveY * this.RatioDiag);
this.ScalePers = 100;
this.MoveXdr = 0;
this.MoveYdr = 0;
this.MoveXd = 0;
this.MoveYd = 0;
this.MoveXdl = 0;
this.MoveYdl = 0;
this.MoveXl = 0;
this.MoveYl = 0;
this.MoveXul = 0;
this.MoveYul = 0;
this.MoveXu = 0;
this.MoveYu = 0;
this.MoveXur = 0;
this.MoveYur = 0;
this.MoveXr = 0;
this.MoveYr = 0;
};
_root.Vars = new ObjVars();
}
Instance of Symbol 574 MovieClip "Txt" in Frame 616
onClipEvent (load) {
this.NomItem = new Array("Whip", "Blanket", "Metal perch", "Copper shield", "Golden shield", "Torch", "Stone ring", "Liana");
}
Instance of Symbol 600 MovieClip "Pause" in Frame 618
onClipEvent (load) {
this.swapDepths(500100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 668 MovieClip "Interface" in Frame 618
onClipEvent (load) {
this.swapDepths(500000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 694 MovieClip "SaveLoad" in Frame 618
onClipEvent (load) {
this.swapDepths(1000000);
_root.Vars:ObjRemove.push(this._name);
}
Frame 620
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(80, 142, 1, 100);
} else if (/Vars:Sorti eq "Tab2") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab1Etage", 2);
_root.Fonct.IniTab(580, 185, 5, 600);
}
Frame 621
Set("/Vars:Tableau", "Tab1");
_root.Fonct.SetMoves(50.3);
Instance of Symbol 705 MovieClip "AgpLame3" in Frame 621
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 731 MovieClip "Indi" in Frame 621
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 738 MovieClip "Tab1Escalier" in Frame 621
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 876 MovieClip "AgpLame" in Frame 621
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 892 MovieClip "AgpLame2" in Frame 621
onClipEvent (load) {
this.swapDepths(500);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 895 MovieClip "Sac" in Frame 621
onClipEvent (load) {
this.swapDepths(101);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 896 MovieClip "Perche" in Frame 621
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 903 MovieClip "Tab1Mur1" in Frame 621
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 975 MovieClip "AgpUsePerche" in Frame 621
onClipEvent (load) {
this.swapDepths(104);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1089 MovieClip "AgpSolPet" in Frame 621
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1095 MovieClip "AgpFall" in Frame 621
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1124 MovieClip "AgpSsGlisse" in Frame 621
onClipEvent (load) {
this.swapDepths(103);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1219 MovieClip "AgpMarche1" in Frame 621
onClipEvent (load) {
this.swapDepths(102);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1367 MovieClip "AgpFouet" in Frame 621
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1410 MovieClip "AgpFil" in Frame 621
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1690 MovieClip "Ss" in Frame 621
onClipEvent (load) {
this.swapDepths(/Vars:NiveauSS - 30);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SsX;
this._y = /Vars:SsY;
this.gotoAndStop(/Vars:DirSs);
this.Obj.gotoAndStop(/Vars:EtatSs);
}
Instance of Symbol 1696 MovieClip "Samy" in Frame 621
onClipEvent (load) {
this.swapDepths(90);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SamyX;
this._y = /Vars:SamyY;
this.gotoAndStop(/Vars:DirSamy);
this.Obj.gotoAndStop(/Vars:EtatSamy);
}
Instance of Symbol 1702 MovieClip "Scooby" in Frame 621
onClipEvent (load) {
this.swapDepths(80);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:ScoobyX;
this._y = /Vars:ScoobyY;
this.gotoAndStop(/Vars:DirScooby);
this.Obj.gotoAndStop(/Vars:EtatScooby);
}
Frame 622
stop();
Instance of Symbol 1715 MovieClip "Collider" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 574 MovieClip in Frame 622
onClipEvent (keyUp) {
if (/Vars:Bas == true) {
if (!Key.isDown(Key.Down)) {
Set("/Vars:Bas", false);
}
}
if (/Vars:Haut == true) {
if (!Key.isDown(Key.Up)) {
Set("/Vars:Haut", false);
}
}
if (/Vars:Gauche == true) {
if (!Key.isDown(Key.Left)) {
Set("/Vars:Gauche", false);
}
}
if (/Vars:Droite == true) {
if (!Key.isDown(Key.Right)) {
Set("/Vars:Droite", false);
}
}
}
Instance of Symbol 1718 MovieClip "Control" in Frame 622
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (/Vars:Tab1Etage == 1) {
setProperty("_root.Mur12", _visible , 0);
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
}
} else {
setProperty("_root.Mur12", _visible , 1);
if (_root.Hito4.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 400);
} else if (_root.Hito5.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 500);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 600);
}
}
if (/Vars:PersActif ne "Ss") {
if (getProperty("_root.Samy", _y) < getProperty("_root.Scooby", _y)) {
_root.Samy.swapDepths(/Vars:NiveauSamy - 20);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 10);
} else {
_root.Samy.swapDepths(/Vars:NiveauSamy - 10);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 20);
}
} else {
_root.Ss.swapDepths(/Vars:NiveauSs - 30);
}
if (((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) {
if (((/Vars:LostControl == false) and (/Vars:MoveAuto == false)) and (/Vars:VoirPrit == true)) {
if (_root.Collider.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
_root.Fonct.SortCollider();
}
Set("/Vars:VoirPrit", false);
}
if (/Vars:Peur == true) {
if (/Vars:WaitFear > 0) {
Set("/Vars:WaitFear", /Vars:WaitFear - 1);
}
if (/Vars:WaitFear == 0) {
Set("/Vars:WaitFear", -100);
Set("/Vars:DestX", /Vars:PeurDestX);
Set("/Vars:DestY", /Vars:PeurDestY);
Set("/Vars:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (/Vars:Tab1Etage == 1) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitFilBas.hitTest(_root.Ss._x, _root.Ss._y, true) and (getProperty("_root.AgpFil", _currentframe) == 1)) {
Set("/Vars:StartPlay", 16);
Set("/Vars:AgpActif", "AgpFil");
Set("/Vars:DestX", 39.4);
Set("/Vars:DestY", 297.1);
Set("/Vars:FinAgpX", 59);
Set("/Vars:FinAgpY", 156.9);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitUseFouet.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 2)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpFouet");
Set("/Vars:DestX", 126.7);
Set("/Vars:DestY", 350.5);
Set("/Vars:FinAgpX", 234.6);
Set("/Vars:FinAgpY", 342.2);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBouton.hitTest(_root.Ss._x, _root.Ss._y, true) and (getProperty("_root.Tab1Escalier", _currentframe) == 1)) {
if (/Vars:ObjSelect == 4) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpUsePerche");
Set("/Vars:DestX", 354.7);
Set("/Vars:DestY", 326.8);
Set("/Vars:FinAgpX", 354.7);
Set("/Vars:FinAgpY", 326.8);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpSsGlisse");
Set("/Vars:DestX", 306.9);
Set("/Vars:DestY", 301.8);
Set("/Vars:FinAgpX", 96.6);
Set("/Vars:FinAgpY", 133.3);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
if ((_root.HitMarcheBas.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MarcheOpen == true)) and (getProperty("_root.Tab1Escalier", _currentframe) < 87)) {
Set("/Vars:UseMarche1", true);
_root.Tab1Escalier.gotoAndStop("Arret");
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMarche1");
Set("/Vars:DestX", 216.4);
Set("/Vars:DestY", 357.1);
Set("/Vars:FinAgpX", 347.2);
Set("/Vars:FinAgpY", 161.3);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSac.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvSac == false)) {
_root.Fonct.AddInv(3, "InvSac");
_root.SonGet.play();
tellTarget (_root.Sac) {
nextFrame();
};
tellTarget (_root.Collider.CacheSac) {
nextFrame();
};
}
if (_root.HitPerche.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvPerche == false)) {
_root.Fonct.AddInv(4, "InvPerche");
_root.SonGet.play();
tellTarget (_root.Perche) {
nextFrame();
};
tellTarget (_root.Collider.CachePerche) {
nextFrame();
};
}
}
}
if (_root.HitTrou.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpSolPet");
Set("/Vars:DestX", 172.6);
Set("/Vars:DestY", 378.6);
Set("/Vars:FinAgpX", 96.6);
Set("/Vars:FinAgpY", 133.3);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
} else {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitFouet.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvFouet == false)) {
_root.Fonct.AddInv(2, "InvFouet");
_root.SonGet.play();
tellTarget (_root.Fouet) {
nextFrame();
};
}
if (_root.HitIndi.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Indi");
Set("/Vars:DestX", 173);
Set("/Vars:DestY", 169);
Set("/Vars:FinAgpX", 173);
Set("/Vars:FinAgpY", 169);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "MarcheAgp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitFilHaut.hitTest(_root.Ss._x, _root.Ss._y, true) and (getProperty("_root.AgpFil", _currentframe) == 1)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpFil");
Set("/Vars:DestX", 57.4);
Set("/Vars:DestY", 154.1);
Set("/Vars:FinAgpX", 36.6);
Set("/Vars:FinAgpY", 293.7);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBlocLame.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 4)) {
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:StartPlay", 26);
Set("/Vars:AgpActif", "AgpLame");
Set("/Vars:DestX", 432.6);
Set("/Vars:DestY", 101.5);
Set("/Vars:FinAgpX", 432.6);
Set("/Vars:FinAgpY", 101.5);
Set("/Vars:DirFin", 8);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitShield.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvShield == false)) {
_root.Fonct.AddInv(5, "InvShield");
_root.SonGet.play();
tellTarget (_root.Shield) {
nextFrame();
};
}
}
}
if (_root.HitLameFall.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:LameBloc == false)) {
if ((/Vars:PercheFix == true) and (getProperty("_root.Lame2", _currentframe) < 26)) {
_root.AgpLame2.gotoAndStop(26);
} else {
Set("/Vars:LostControl", true);
Set("/Vars:EtatSs", "Idle");
tellTarget ("_root.Ss.Obj") {
gotoAndStop ("Idle");
};
Set("/Vars:DirSs", 1);
tellTarget ("_root.Ss") {
gotoAndStop (1);
};
_root.AgpLame.gotoAndStop(2);
_root.AgpLame2.gotoAndStop(2);
}
}
if (_root.HitTab2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
Set("/Vars:Sorti", "Tab1");
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab1");
}
}
}
if (getProperty(_root.Interface.FearGauge, _currentframe) < (/Vars:Fear + 1)) {
tellTarget (_root.Interface.FearGauge) {
nextFrame();
};
}
if (/Vars:LostControl == false) {
if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 1);
MoveX = /Vars:MoveXdr;
MoveY = /Vars:MoveYdr;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 3);
MoveX = /Vars:MoveXdl;
MoveY = /Vars:MoveYdl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 7);
MoveX = /Vars:MoveXur;
MoveY = /Vars:MoveYur;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 5);
MoveX = /Vars:MoveXul;
MoveY = /Vars:MoveYul;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 2);
MoveX = /Vars:MoveXd;
MoveY = /Vars:MoveYd;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 4);
MoveX = /Vars:MoveXl;
MoveY = /Vars:MoveYl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 6);
MoveX = /Vars:MoveXu;
MoveY = /Vars:MoveYu;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 8);
MoveX = /Vars:MoveXr;
MoveY = /Vars:MoveYr;
}
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
if ((((/Vars:Haut == true) or (/Vars:Bas == true)) or (/Vars:Droite == true)) or (/Vars:Gauche == true)) {
Set("/Vars:Etat" + /Vars:PersActif, "Marche");
} else {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
}
if ((eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") and (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + MoveX, _root[/Vars:PersActif]._y + MoveY, true))) {
if (eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + MoveX);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + MoveY);
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + (MoveX / 2));
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + (MoveY / 2));
}
}
if (/Vars:PersActif eq "Ss") {
setProperty("_root.Collider.CachePers", _x , -100);
setProperty("_root.Collider.CachePers", _y , -100);
} else if (/Vars:PersActif eq "Samy") {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Scooby", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Scooby", _y));
} else {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Samy", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Samy", _y));
}
}
if (/Vars:MoveAuto == true) {
if ((Math.abs(/Vars:MoveXAgp) >= Math.abs(_root[/Vars:PersActif]._x - /Vars:DestX)) or (Math.abs(/Vars:MoveYAgp) >= Math.abs(_root[/Vars:PersActif]._y - /Vars:DestY))) {
if (/Vars:FinMove eq "Agp") {
Set("/Vars:Etat" + /Vars:PersActif, "PasLa");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MarcheAgp") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MergePers") {
Set("/Vars:EtatSamy", "PasLa");
Set("/Vars:EtatScooby", "PasLa");
Set("/Vars:EtatSs", "Idle");
Set("/Vars:PersActif", "Ss");
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "FinMarche") {
_root[/Vars:PersActif]._x = _root[/Vars:PersActif]._x + /Vars:MoveX;
_root[/Vars:PersActif]._y = _root[/Vars:PersActif]._y + /Vars:MoveY;
Set("/Vars:Peur", false);
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Parle") {
Set("/Vars:LostControl", false);
if (/Vars:Dialog ne "") {
_root.Voix.gotoAndPlay(/Vars:Dialog);
}
if (/Vars:VDialog ne "") {
Set("/Voix:" + /Vars:VDialog, true);
}
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Tasse") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:DestX", /Vars:TempDestX);
Set("/Vars:DestY", /Vars:TempDestY);
Set("/Vars:DirFin", /Vars:TempDirFin);
Set("/Vars:FinMove", "Agp");
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", /Vars:TempPers);
_root.Fonct.MoveAuto(/Vars:TempPers);
}
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + /Vars:MoveXAgp);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + /Vars:MoveYAgp);
}
}
}
if (/Vars:SortTab == false) {
tellTarget ("_root.Ss.Obj") {
gotoAndStop(/Vars:EtatSs);
};
tellTarget ("_root.Samy.Obj") {
gotoAndStop(/Vars:EtatSamy);
};
tellTarget ("_root.Scooby.Obj") {
gotoAndStop(/Vars:EtatScooby);
};
if (/Vars:Pause == true) {
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
tellTarget (_root.Samy.Obj.Etat) {
stop();
};
tellTarget (_root.Scooby.Obj.Etat) {
stop();
};
} else {
tellTarget (_root.Ss.Obj.Etat1) {
play();
};
tellTarget (_root.Ss.Obj.Etat2) {
play();
};
tellTarget (_root.Samy.Obj.Etat) {
play();
};
tellTarget (_root.Scooby.Obj.Etat) {
play();
};
}
if (/Vars:Mort == true) {
Set("/Vars:Pause", true);
Set("/Vars:Mort", false);
_root.gotoAndPlay("Mort");
}
if ((/Vars:Saving == true) and (/Vars:Mort == false)) {
Set("/Vars:Pause", true);
Set("/Vars:Saving", false);
_root.SaveLoad.gotoAndPlay("Save");
}
}
}
Instance of Symbol 1720 MovieClip "HitSac" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitFouet" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitPerche" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitShield" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitIndi" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitFilHaut" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitFilBas" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTrou" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitUseFouet" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitBouton" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitMarcheBas" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitLameFall" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitBlocLame" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTab2" in Frame 622
onClipEvent (load) {
_visible = 0;
}
Frame 623
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 632
if (/Vars:Sorti eq "Tab1") {
Set("/Vars:Tab2Etage", 2);
_root.Fonct.IniTab(22, 206, 7, 300);
}
Frame 633
Set("/Vars:Tableau", "Tab2");
_root.Fonct.SetMoves(50);
Instance of Symbol 1729 MovieClip "Mur2" in Frame 633
onClipEvent (load) {
this.swapDepths(305);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1731 MovieClip "Mur1" in Frame 633
onClipEvent (load) {
this.swapDepths(301);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1741 MovieClip "Pics" in Frame 633
onClipEvent (load) {
this.swapDepths(101);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1751 MovieClip "MurBouge" in Frame 633
onClipEvent (load) {
this.swapDepths(304);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1754 MovieClip "Tab2Marche" in Frame 633
onClipEvent (load) {
this.swapDepths(103);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1759 MovieClip "PorteFront1" in Frame 633
onClipEvent (load) {
this.swapDepths(102);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1805 MovieClip "FermeTab" in Frame 633
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1828 MovieClip "AgpSac" in Frame 633
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1836 MovieClip "AgpBouclier" in Frame 633
onClipEvent (load) {
this.swapDepths(307);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1865 MovieClip "AgpRideau" in Frame 633
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1866 MovieClip "AgpBouton" in Frame 633
onClipEvent (load) {
this.swapDepths(103);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1867 MovieClip "AgpMarche2" in Frame 633
onClipEvent (load) {
this.swapDepths(308);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1868 MovieClip "AgpFallMur" in Frame 633
onClipEvent (load) {
this.swapDepths(309);
this._x = /Vars:PosXFall;
this._y = /Vars:PosYFall;
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1690 MovieClip "Ss" in Frame 633
onClipEvent (load) {
this.swapDepths(/Vars:NiveauSS - 30);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SsX;
this._y = /Vars:SsY;
this.gotoAndStop(/Vars:DirSs);
this.Obj.gotoAndStop(/Vars:EtatSs);
}
Instance of Symbol 1696 MovieClip "Samy" in Frame 633
onClipEvent (load) {
this.swapDepths(90);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SamyX;
this._y = /Vars:SamyY;
this.gotoAndStop(/Vars:DirSamy);
this.Obj.gotoAndStop(/Vars:EtatSamy);
}
Instance of Symbol 1702 MovieClip "Scooby" in Frame 633
onClipEvent (load) {
this.swapDepths(80);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:ScoobyX;
this._y = /Vars:ScoobyY;
this.gotoAndStop(/Vars:DirScooby);
this.Obj.gotoAndStop(/Vars:EtatScooby);
}
Frame 634
stop();
Instance of Symbol 1880 MovieClip "Collider" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1718 MovieClip "Control" in Frame 634
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (/Vars:Tab2Etage == 1) {
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
}
} else if (_root.Hito3.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 400);
}
if (/Vars:PersActif ne "Ss") {
if (getProperty("_root.Samy", _y) < getProperty("_root.Scooby", _y)) {
_root.Samy.swapDepths(/Vars:NiveauSamy - 20);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 10);
} else {
_root.Samy.swapDepths(/Vars:NiveauSamy - 10);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 20);
}
} else {
_root.Ss.swapDepths(/Vars:NiveauSs - 30);
}
if (((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) {
if (((/Vars:LostControl == false) and (/Vars:MoveAuto == false)) and (/Vars:VoirPrit == true)) {
if (_root.Collider.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
_root.Fonct.SortCollider();
}
Set("/Vars:VoirPrit", false);
}
if (/Vars:Peur == true) {
if (/Vars:WaitFear > 0) {
Set("/Vars:WaitFear", /Vars:WaitFear - 1);
}
if (/Vars:WaitFear == 0) {
Set("/Vars:WaitFear", -100);
Set("/Vars:DestX", /Vars:PeurDestX);
Set("/Vars:DestY", /Vars:PeurDestY);
Set("/Vars:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (/Vars:Tab2Etage == 1) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitPicBas.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 5)) {
if (/Vars:PosPic eq "Bas") {
Set("/Vars:UseBouclier", true);
_root.Pics.gotoAndStop("WaitBas");
Set("/Vars:StartPlay", 78);
Set("/Vars:AgpActif", "AgpBouclier");
Set("/Vars:DestX", 265.2);
Set("/Vars:DestY", 323.1);
Set("/Vars:FinAgpX", 181.3);
Set("/Vars:FinAgpY", 171.3);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NotNow");
}
}
if ((_root.HitMarcheBas.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Marche2Open == true)) and (getProperty("_root.Tab2Marche", _currentframe) < 227)) {
Set("/Vars:UseMarche2", true);
_root.Tab2Marche.gotoAndStop("Arret");
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMarche2");
Set("/Vars:DestX", 359.2);
Set("/Vars:DestY", 358.9);
Set("/Vars:FinAgpX", 373.6);
Set("/Vars:FinAgpY", 162.8);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitTab3.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:DestX", 458);
Set("/Vars:DestY", 254);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitTrou.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpSolPet");
Set("/Vars:DestX", 172.6);
Set("/Vars:DestY", 378.6);
Set("/Vars:FinAgpX", 96.6);
Set("/Vars:FinAgpY", 133.3);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
} else {
tellTarget (_root.Collider.CacheMur) {
gotoAndStop(getProperty("_root.MurBouge", _currentframe));
};
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitCatchScorp1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 3)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:AgpActif", "AgpSac");
Set("/Vars:DestX", 22.7);
Set("/Vars:DestY", 196.8);
Set("/Vars:FinAgpX", 22.7);
Set("/Vars:FinAgpY", 196.8);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitCatchScorp2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 3)) {
Set("/Vars:StartPlay", 20);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:AgpActif", "AgpSac");
Set("/Vars:DestX", 134.2);
Set("/Vars:DestY", 161.1);
Set("/Vars:FinAgpX", 134.2);
Set("/Vars:FinAgpY", 161.1);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBouton.hitTest(_root.Ss._x, _root.Ss._y, true) and (getProperty("_root.Tab2Marche", _currentframe) == 1)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpBouton");
Set("/Vars:DestX", 254.4);
Set("/Vars:DestY", 118.8);
Set("/Vars:FinAgpX", 254.4);
Set("/Vars:FinAgpY", 118.8);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitTirDrap.hitTest(_root.Ss._x, _root.Ss._y, true) and (getProperty("_root.MurBouge", _currentframe) < 110)) and (/Vars:MurBloc == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpRideau");
Set("/Vars:DestX", 515.9);
Set("/Vars:DestY", 149.3);
Set("/Vars:FinAgpX", 575.6);
Set("/Vars:FinAgpY", 302.8);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitPicHaut.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 5)) {
if (/Vars:PosPic eq "Haut") {
Set("/Vars:UseBouclier", true);
_root.Pics.gotoAndStop("WaitHaut");
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpBouclier");
Set("/Vars:DestX", 186.3);
Set("/Vars:DestY", 176);
Set("/Vars:FinAgpX", 240.4);
Set("/Vars:FinAgpY", 363.5);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NotNow");
}
}
}
}
if (_root.HitScorp1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ScorpDead == false)) {
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 3);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 1);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 154);
Set("/Vars:PeurDestY", 142);
} else if (_root.HitScorp2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ScorpDead == false)) {
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 1);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 18);
Set("/Vars:PeurDestY", 189);
}
if ((_root.HitMurSort.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MurBloc == false)) and (/Vars:MurStop == false)) {
_root.MurBouge.play();
}
if (_root.Collider.CacheMur.hitTest(_root.Ss._x, _root.Ss._y, true)) {
_root.Ss._x = _root.Ss._x + 1;
_root.Ss._y = _root.Ss._y + 1;
}
if (_root.HitTab1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
Set("/Vars:Sorti", "Tab2");
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab2");
}
}
}
if (getProperty(_root.Interface.FearGauge, _currentframe) < (/Vars:Fear + 1)) {
tellTarget (_root.Interface.FearGauge) {
nextFrame();
};
}
if (/Vars:LostControl == false) {
if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 1);
MoveX = /Vars:MoveXdr;
MoveY = /Vars:MoveYdr;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 3);
MoveX = /Vars:MoveXdl;
MoveY = /Vars:MoveYdl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 7);
MoveX = /Vars:MoveXur;
MoveY = /Vars:MoveYur;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 5);
MoveX = /Vars:MoveXul;
MoveY = /Vars:MoveYul;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 2);
MoveX = /Vars:MoveXd;
MoveY = /Vars:MoveYd;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 4);
MoveX = /Vars:MoveXl;
MoveY = /Vars:MoveYl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 6);
MoveX = /Vars:MoveXu;
MoveY = /Vars:MoveYu;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 8);
MoveX = /Vars:MoveXr;
MoveY = /Vars:MoveYr;
}
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
if ((((/Vars:Haut == true) or (/Vars:Bas == true)) or (/Vars:Droite == true)) or (/Vars:Gauche == true)) {
Set("/Vars:Etat" + /Vars:PersActif, "Marche");
} else {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
}
if ((eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") and (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + MoveX, _root[/Vars:PersActif]._y + MoveY, true))) {
if (eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + MoveX);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + MoveY);
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + (MoveX / 2));
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + (MoveY / 2));
}
}
if (/Vars:PersActif eq "Ss") {
setProperty("_root.Collider.CachePers", _x , -100);
setProperty("_root.Collider.CachePers", _y , -100);
} else if (/Vars:PersActif eq "Samy") {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Scooby", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Scooby", _y));
} else {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Samy", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Samy", _y));
}
}
if (/Vars:MoveAuto == true) {
if ((Math.abs(/Vars:MoveXAgp) >= Math.abs(_root[/Vars:PersActif]._x - /Vars:DestX)) or (Math.abs(/Vars:MoveYAgp) >= Math.abs(_root[/Vars:PersActif]._y - /Vars:DestY))) {
if (/Vars:FinMove eq "Agp") {
Set("/Vars:Etat" + /Vars:PersActif, "PasLa");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MarcheAgp") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MergePers") {
Set("/Vars:EtatSamy", "PasLa");
Set("/Vars:EtatScooby", "PasLa");
Set("/Vars:EtatSs", "Idle");
Set("/Vars:PersActif", "Ss");
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "FinMarche") {
_root[/Vars:PersActif]._x = _root[/Vars:PersActif]._x + /Vars:MoveX;
_root[/Vars:PersActif]._y = _root[/Vars:PersActif]._y + /Vars:MoveY;
Set("/Vars:Peur", false);
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Parle") {
Set("/Vars:LostControl", false);
if (/Vars:Dialog ne "") {
_root.Voix.gotoAndPlay(/Vars:Dialog);
}
if (/Vars:VDialog ne "") {
Set("/Voix:" + /Vars:VDialog, true);
}
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Tasse") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:DestX", /Vars:TempDestX);
Set("/Vars:DestY", /Vars:TempDestY);
Set("/Vars:DirFin", /Vars:TempDirFin);
Set("/Vars:FinMove", "Agp");
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", /Vars:TempPers);
_root.Fonct.MoveAuto(/Vars:TempPers);
} else if (/Vars:FinMove eq "SortTab") {
Set("/Vars:KeepInv", false);
Set("/Vars:MoveAuto", false);
Set("/Vars:Sorti", "Tab2b");
_root.gotoAndStop("CloseTab2");
}
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + /Vars:MoveXAgp);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + /Vars:MoveYAgp);
}
}
}
if (/Vars:SortTab == false) {
tellTarget ("_root.Ss.Obj") {
gotoAndStop(/Vars:EtatSs);
};
tellTarget ("_root.Samy.Obj") {
gotoAndStop(/Vars:EtatSamy);
};
tellTarget ("_root.Scooby.Obj") {
gotoAndStop(/Vars:EtatScooby);
};
if (/Vars:Pause == true) {
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
tellTarget (_root.Samy.Obj.Etat) {
stop();
};
tellTarget (_root.Scooby.Obj.Etat) {
stop();
};
} else {
tellTarget (_root.Ss.Obj.Etat1) {
play();
};
tellTarget (_root.Ss.Obj.Etat2) {
play();
};
tellTarget (_root.Samy.Obj.Etat) {
play();
};
tellTarget (_root.Scooby.Obj.Etat) {
play();
};
}
if (/Vars:Mort == true) {
Set("/Vars:Pause", true);
Set("/Vars:Mort", false);
_root.gotoAndPlay("Mort");
}
if ((/Vars:Saving == true) and (/Vars:Mort == false)) {
Set("/Vars:Pause", true);
Set("/Vars:Saving", false);
_root.SaveLoad.gotoAndPlay("Save");
}
}
}
Instance of Symbol 574 MovieClip in Frame 634
onClipEvent (keyUp) {
if (/Vars:Bas == true) {
if (!Key.isDown(Key.Down)) {
Set("/Vars:Bas", false);
}
}
if (/Vars:Haut == true) {
if (!Key.isDown(Key.Up)) {
Set("/Vars:Haut", false);
}
}
if (/Vars:Gauche == true) {
if (!Key.isDown(Key.Left)) {
Set("/Vars:Gauche", false);
}
}
if (/Vars:Droite == true) {
if (!Key.isDown(Key.Right)) {
Set("/Vars:Droite", false);
}
}
}
Instance of Symbol 1720 MovieClip "HitScorp1" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitScorp2" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitCatchScorp1" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitCatchScorp2" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitPicHaut" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitPicBas" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitBouton" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitMarcheBas" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1883 MovieClip "HitPicSort" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1883 MovieClip "HitMurSort" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTirDrap" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTab3" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTab1" in Frame 634
onClipEvent (load) {
_visible = 0;
}
Frame 635
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 644
if (/Vars:Sorti eq "Tab2b") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 2);
_root.Fonct.IniTab(482, 180, 3, 400);
} else if (/Vars:Sorti eq "Tab4a") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 2);
_root.Fonct.IniTab(82, 306, 1, 500);
} else if (/Vars:Sorti eq "Tab4b") {
if (((/Vars:MMEntre == true) and (/Voix:Parle == false)) and (/Voix:MM == false)) {
Set("/Voix:Parle", true);
Set("/Voix:MM", true);
_root.Voix.gotoAndPlay("MM");
}
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 1);
_root.Fonct.IniTab(545, 293, 3, 200);
}
Frame 645
Set("/Vars:Tableau", "Tab3");
_root.Fonct.SetMoves(50);
Instance of Symbol 1893 MovieClip "Tab3Marche" in Frame 645
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2136 MovieClip "AgpTuile" in Frame 645
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2160 MovieClip "Tab3Porte2" in Frame 645
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2164 MovieClip "Entree" in Frame 645
onClipEvent (load) {
this.swapDepths(304);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (/Vars:MMEntre == true) {
this.gotoAndStop("Open");
} else if ((eval ("/Vars:Fr" + _name) != null) and (eval ("/Vars:Fr" + _name) != 1)) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2169 MovieClip "Mur2" in Frame 645
onClipEvent (load) {
this.swapDepths(101);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2171 MovieClip "Mur1" in Frame 645
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2172 MovieClip "Beigne" in Frame 645
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2175 MovieClip "AgpNez" in Frame 645
onClipEvent (load) {
this.swapDepths(302);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2176 MovieClip "AgpMonte3" in Frame 645
onClipEvent (load) {
this.swapDepths(401);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2179 MovieClip "AgpSortTuile" in Frame 645
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1690 MovieClip "Ss" in Frame 645
onClipEvent (load) {
this.swapDepths(/Vars:NiveauSS - 30);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SsX;
this._y = /Vars:SsY;
this.gotoAndStop(/Vars:DirSs);
this.Obj.gotoAndStop(/Vars:EtatSs);
}
Instance of Symbol 1696 MovieClip "Samy" in Frame 645
onClipEvent (load) {
this.swapDepths(90);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SamyX;
this._y = /Vars:SamyY;
this.gotoAndStop(/Vars:DirSamy);
this.Obj.gotoAndStop(/Vars:EtatSamy);
}
Instance of Symbol 1702 MovieClip "Scooby" in Frame 645
onClipEvent (load) {
this.swapDepths(80);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:ScoobyX;
this._y = /Vars:ScoobyY;
this.gotoAndStop(/Vars:DirScooby);
this.Obj.gotoAndStop(/Vars:EtatScooby);
}
Frame 646
stop();
Instance of Symbol 2184 MovieClip "Collider" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1718 MovieClip "Control" in Frame 646
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (/Vars:Tab3Etage == 1) {
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
}
} else if (_root.Hito4.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 400);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 500);
}
if (/Vars:PersActif ne "Ss") {
if (getProperty("_root.Samy", _y) < getProperty("_root.Scooby", _y)) {
_root.Samy.swapDepths(/Vars:NiveauSamy - 20);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 10);
} else {
_root.Samy.swapDepths(/Vars:NiveauSamy - 10);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 20);
}
} else {
_root.Ss.swapDepths(/Vars:NiveauSs - 30);
}
if (((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) {
if (((/Vars:LostControl == false) and (/Vars:MoveAuto == false)) and (/Vars:VoirPrit == true)) {
if (_root.Collider.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
_root.Fonct.SortCollider();
}
Set("/Vars:VoirPrit", false);
}
if (/Vars:Peur == true) {
if (/Vars:WaitFear > 0) {
Set("/Vars:WaitFear", /Vars:WaitFear - 1);
}
if (/Vars:WaitFear == 0) {
Set("/Vars:WaitFear", -100);
Set("/Vars:DestX", /Vars:PeurDestX);
Set("/Vars:DestY", /Vars:PeurDestY);
Set("/Vars:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (/Vars:Tab3Etage == 1) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitTab4b.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:DestX", 622);
Set("/Vars:DestY", 231);
Set("/Vars:FinMove", "SortTab3b");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBeigne.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvBeigne == false)) {
_root.Fonct.AddInv(8, "InvBeigne");
_root.SonGet.play();
tellTarget (_root.Beigne) {
nextFrame();
};
tellTarget (_root.Collider.CacheBeigne) {
nextFrame();
};
}
if (_root.HitTuile.hitTest(_root.Ss._x, _root.Ss._y, true)) {
if (/Vars:ObjSelect == 7) {
Set("/Vars:StartPlay", 5);
Set("/Vars:AgpActif", "AgpTuile");
Set("/Vars:DestX", 373);
Set("/Vars:DestY", 312);
Set("/Vars:FinAgpX", 373);
Set("/Vars:FinAgpY", 312);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("TooDark");
}
}
}
}
} else {
tellTarget (_root.Collider.CacheMur) {
gotoAndStop(getProperty("_root.MurBouge", _currentframe));
};
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitNez.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:NezBas == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpNez");
Set("/Vars:DestX", 384.9);
Set("/Vars:DestY", 144.4);
Set("/Vars:FinAgpX", 384.9);
Set("/Vars:FinAgpY", 144.4);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (((_root.HitLiana.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvLiane == false)) and (/Voix:Parle == false)) and (/Voix:Liane == false)) {
Set("/Voix:Parle", true);
Set("/Voix:Liane", true);
_root.Voix.gotoAndPlay("Liane");
}
if (_root.HitMarche.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMonte3");
Set("/Vars:DestX", 77.3);
Set("/Vars:DestY", 302.8);
Set("/Vars:FinAgpX", 77.3);
Set("/Vars:FinAgpY", 302.8);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitFearMM.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MMTuile > 1)) {
if (/Vars:MMTuile == 12) {
_root.AgpTuile.MM1.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 11) {
_root.AgpTuile.MM2.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 18) {
_root.AgpTuile.MM3.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 25) {
_root.AgpTuile.MM4.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 24) {
_root.AgpTuile.MM5.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 31) {
_root.AgpTuile.MM6.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 30) {
_root.AgpTuile.MM7.gotoAndStop("Fear");
} else if (/Vars:MMTuile == 29) {
_root.AgpTuile.MM8.gotoAndStop("Fear");
}
}
}
}
if (getProperty(_root.Interface.FearGauge, _currentframe) < (/Vars:Fear + 1)) {
tellTarget (_root.Interface.FearGauge) {
nextFrame();
};
}
if (/Vars:LostControl == false) {
if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 1);
MoveX = /Vars:MoveXdr;
MoveY = /Vars:MoveYdr;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 3);
MoveX = /Vars:MoveXdl;
MoveY = /Vars:MoveYdl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 7);
MoveX = /Vars:MoveXur;
MoveY = /Vars:MoveYur;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 5);
MoveX = /Vars:MoveXul;
MoveY = /Vars:MoveYul;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 2);
MoveX = /Vars:MoveXd;
MoveY = /Vars:MoveYd;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 4);
MoveX = /Vars:MoveXl;
MoveY = /Vars:MoveYl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 6);
MoveX = /Vars:MoveXu;
MoveY = /Vars:MoveYu;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 8);
MoveX = /Vars:MoveXr;
MoveY = /Vars:MoveYr;
}
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
if ((((/Vars:Haut == true) or (/Vars:Bas == true)) or (/Vars:Droite == true)) or (/Vars:Gauche == true)) {
Set("/Vars:Etat" + /Vars:PersActif, "Marche");
} else {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
}
if ((eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") and (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + MoveX, _root[/Vars:PersActif]._y + MoveY, true))) {
if (eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + MoveX);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + MoveY);
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + (MoveX / 2));
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + (MoveY / 2));
}
}
if (/Vars:PersActif eq "Ss") {
setProperty("_root.Collider.CachePers", _x , -100);
setProperty("_root.Collider.CachePers", _y , -100);
} else if (/Vars:PersActif eq "Samy") {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Scooby", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Scooby", _y));
} else {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Samy", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Samy", _y));
}
}
if (/Vars:MoveAuto == true) {
if ((Math.abs(/Vars:MoveXAgp) >= Math.abs(_root[/Vars:PersActif]._x - /Vars:DestX)) or (Math.abs(/Vars:MoveYAgp) >= Math.abs(_root[/Vars:PersActif]._y - /Vars:DestY))) {
if (/Vars:FinMove eq "Agp") {
Set("/Vars:Etat" + /Vars:PersActif, "PasLa");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MarcheAgp") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MergePers") {
Set("/Vars:EtatSamy", "PasLa");
Set("/Vars:EtatScooby", "PasLa");
Set("/Vars:EtatSs", "Idle");
Set("/Vars:PersActif", "Ss");
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "FinMarche") {
_root[/Vars:PersActif]._x = _root[/Vars:PersActif]._x + /Vars:MoveX;
_root[/Vars:PersActif]._y = _root[/Vars:PersActif]._y + /Vars:MoveY;
Set("/Vars:Peur", false);
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Parle") {
Set("/Vars:LostControl", false);
if (/Vars:Dialog ne "") {
_root.Voix.gotoAndPlay(/Vars:Dialog);
}
if (/Vars:VDialog ne "") {
Set("/Voix:" + /Vars:VDialog, true);
}
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Tasse") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:DestX", /Vars:TempDestX);
Set("/Vars:DestY", /Vars:TempDestY);
Set("/Vars:DirFin", /Vars:TempDirFin);
Set("/Vars:FinMove", "Agp");
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", /Vars:TempPers);
_root.Fonct.MoveAuto(/Vars:TempPers);
} else if (/Vars:FinMove eq "SortTab3b") {
Set("/Vars:KeepInv", true);
Set("/Vars:FrLiane", getProperty("_root.AgpTuile.Liane", _currentframe));
if (/Vars:MMTuile == 12) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM1", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM1.Obj", _currentframe));
} else if (/Vars:MMTuile == 11) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM2", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM2.Obj", _currentframe));
} else if (/Vars:MMTuile == 18) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM3", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM3.Obj", _currentframe));
} else if (/Vars:MMTuile == 25) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM4", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM4.Obj", _currentframe));
} else if (/Vars:MMTuile == 24) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM5", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM5.Obj", _currentframe));
} else if (/Vars:MMTuile == 31) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM6", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM6.Obj", _currentframe));
} else if (/Vars:MMTuile == 30) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM7", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM7.Obj", _currentframe));
} else if (/Vars:MMTuile == 29) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM8", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM8.Obj", _currentframe));
}
_root.Fonct.GetFrame();
Set("/Vars:Sorti", "Tab3b");
Set("/Vars:MoveAuto", false);
_root.gotoAndPlay("ExitTab3");
}
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + /Vars:MoveXAgp);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + /Vars:MoveYAgp);
}
}
}
if (/Vars:SortTab == false) {
tellTarget ("_root.Ss.Obj") {
gotoAndStop(/Vars:EtatSs);
};
tellTarget ("_root.Samy.Obj") {
gotoAndStop(/Vars:EtatSamy);
};
tellTarget ("_root.Scooby.Obj") {
gotoAndStop(/Vars:EtatScooby);
};
if (/Vars:Pause == true) {
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
tellTarget (_root.Samy.Obj.Etat) {
stop();
};
tellTarget (_root.Scooby.Obj.Etat) {
stop();
};
} else {
tellTarget (_root.Ss.Obj.Etat1) {
play();
};
tellTarget (_root.Ss.Obj.Etat2) {
play();
};
tellTarget (_root.Samy.Obj.Etat) {
play();
};
tellTarget (_root.Scooby.Obj.Etat) {
play();
};
}
if (/Vars:Mort == true) {
Set("/Vars:Pause", true);
Set("/Vars:Mort", false);
_root.gotoAndPlay("Mort");
}
if ((/Vars:Saving == true) and (/Vars:Mort == false)) {
Set("/Vars:Pause", true);
Set("/Vars:Saving", false);
_root.SaveLoad.gotoAndPlay("Save");
}
}
}
Instance of Symbol 574 MovieClip in Frame 646
onClipEvent (keyUp) {
if (/Vars:Bas == true) {
if (!Key.isDown(Key.Down)) {
Set("/Vars:Bas", false);
}
}
if (/Vars:Haut == true) {
if (!Key.isDown(Key.Up)) {
Set("/Vars:Haut", false);
}
}
if (/Vars:Gauche == true) {
if (!Key.isDown(Key.Left)) {
Set("/Vars:Gauche", false);
}
}
if (/Vars:Droite == true) {
if (!Key.isDown(Key.Right)) {
Set("/Vars:Droite", false);
}
}
}
Instance of Symbol 1720 MovieClip "HitNez" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitMarche" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTab4b" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTuile" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitBeigne" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitFearMM" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitLiana" in Frame 646
onClipEvent (load) {
_visible = 0;
}
Frame 647
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 657
if (/Vars:Sorti eq "Tab3a") {
Set("/Vars:Sorti", "");
_root.Fonct.IniTab(488, 180, 5, 300);
} else if (/Vars:Sorti eq "Tab3b") {
Set("/Vars:Sorti", "");
_root.Fonct.IniTab(64, 206, 1, 100);
}
Frame 658
Set("/Vars:Tableau", "Tab4");
_root.Fonct.SetMoves(50);
Instance of Symbol 2193 MovieClip "Tab4Door" in Frame 658
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2204 MovieClip "Mur1" in Frame 658
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2246 MovieClip "FermeTab" in Frame 658
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2246 MovieClip "FermeTab" in Frame 658
onClipEvent (load) {
this.swapDepths(600010);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2276 MovieClip "AgpLanceLiane" in Frame 658
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2278 MovieClip "MMWait" in Frame 658
onClipEvent (load) {
this.swapDepths(202);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2316 MovieClip "AgpPousse" in Frame 658
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2347 MovieClip "AgpFixBeigne" in Frame 658
onClipEvent (load) {
this.swapDepths(201);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2359 MovieClip "AgpLune" in Frame 658
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2361 MovieClip "AgpMarche4" in Frame 658
onClipEvent (load) {
this.swapDepths(203);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1690 MovieClip "Ss" in Frame 658
onClipEvent (load) {
this.swapDepths(/Vars:NiveauSS - 30);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SsX;
this._y = /Vars:SsY;
this.gotoAndStop(/Vars:DirSs);
this.Obj.gotoAndStop(/Vars:EtatSs);
}
Instance of Symbol 1696 MovieClip "Samy" in Frame 658
onClipEvent (load) {
this.swapDepths(90);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:SamyX;
this._y = /Vars:SamyY;
this.gotoAndStop(/Vars:DirSamy);
this.Obj.gotoAndStop(/Vars:EtatSamy);
}
Instance of Symbol 1702 MovieClip "Scooby" in Frame 658
onClipEvent (load) {
this.swapDepths(80);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:ScoobyX;
this._y = /Vars:ScoobyY;
this.gotoAndStop(/Vars:DirScooby);
this.Obj.gotoAndStop(/Vars:EtatScooby);
}
Frame 659
stop();
Instance of Symbol 2365 MovieClip "Collider" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1718 MovieClip "Control" in Frame 659
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
}
if (/Vars:PersActif ne "Ss") {
if (getProperty("_root.Samy", _y) < getProperty("_root.Scooby", _y)) {
_root.Samy.swapDepths(/Vars:NiveauSamy - 20);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 10);
} else {
_root.Samy.swapDepths(/Vars:NiveauSamy - 10);
_root.Scooby.swapDepths(/Vars:NiveauScooby - 20);
}
} else {
_root.Ss.swapDepths(/Vars:NiveauSs - 30);
}
if (((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) {
if (((/Vars:LostControl == false) and (/Vars:MoveAuto == false)) and (/Vars:VoirPrit == true)) {
if (_root.Collider.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
_root.Fonct.SortCollider();
}
Set("/Vars:VoirPrit", false);
}
if (/Vars:Peur == true) {
if (/Vars:WaitFear > 0) {
Set("/Vars:WaitFear", /Vars:WaitFear - 1);
}
if (/Vars:WaitFear == 0) {
Set("/Vars:WaitFear", -100);
Set("/Vars:DestX", /Vars:PeurDestX);
Set("/Vars:DestY", /Vars:PeurDestY);
Set("/Vars:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitShield2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvShield2 == false)) {
_root.Fonct.AddInv(6, "InvShield2");
_root.SonGet.play();
tellTarget (_root.Shield2) {
nextFrame();
};
}
if (_root.HitTorche.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvTorche == false)) {
_root.Fonct.AddInv(7, "InvTorche");
_root.SonGet.play();
tellTarget (_root.Torche) {
nextFrame();
};
}
if (_root.HitUseLiane.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 9)) {
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpLanceLiane");
Set("/Vars:DestX", 423.1);
Set("/Vars:DestY", 169.1);
Set("/Vars:FinAgpX", 423.1);
Set("/Vars:FinAgpY", 169.1);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if ((_root.HitFixBeigne.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 8)) and (/Vars:LianePlace == true)) {
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpFixBeigne");
Set("/Vars:DestX", 380.6);
Set("/Vars:DestY", 172.9);
Set("/Vars:FinAgpX", 380.6);
Set("/Vars:FinAgpY", 172.9);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if (_root.HitPousse.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MMTuile == 29)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpPousse");
Set("/Vars:DestX", 380.6);
Set("/Vars:DestY", 172.9);
Set("/Vars:FinAgpX", 380.6);
Set("/Vars:FinAgpY", 172.9);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if (_root.HitMarche4.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMarche4");
Set("/Vars:DestX", 483.8);
Set("/Vars:DestY", 190.6);
Set("/Vars:FinAgpX", 483.8);
Set("/Vars:FinAgpY", 190.6);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitDoor.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab4Door == true)) {
if ((/Vars:BeigneFix == true) and (/Vars:MMEntre == false)) {
Set("/Vars:FrMM", 7);
Set("/Vars:MMEntre", true);
Set("/Vars:MMTuile", 24);
}
Set("/Vars:DestX", -9);
Set("/Vars:DestY", 150);
Set("/Vars:FinMove", "SortTab4b");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitLune.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 6)) and (/Vars:Tab4Door == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpLune");
Set("/Vars:DestX", 242.2);
Set("/Vars:DestY", 141.8);
Set("/Vars:FinAgpX", 242.2);
Set("/Vars:FinAgpY", 141.8);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitTrou.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpSolPet");
Set("/Vars:DestX", 172.6);
Set("/Vars:DestY", 378.6);
Set("/Vars:FinAgpX", 96.6);
Set("/Vars:FinAgpY", 133.3);
Set("/Vars:DirFin", 2);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
if (getProperty(_root.Interface.FearGauge, _currentframe) < (/Vars:Fear + 1)) {
tellTarget (_root.Interface.FearGauge) {
nextFrame();
};
}
if (/Vars:LostControl == false) {
if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 1);
MoveX = /Vars:MoveXdr;
MoveY = /Vars:MoveYdr;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 3);
MoveX = /Vars:MoveXdl;
MoveY = /Vars:MoveYdl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 7);
MoveX = /Vars:MoveXur;
MoveY = /Vars:MoveYur;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 5);
MoveX = /Vars:MoveXul;
MoveY = /Vars:MoveYul;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == true)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 2);
MoveX = /Vars:MoveXd;
MoveY = /Vars:MoveYd;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == true)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 4);
MoveX = /Vars:MoveXl;
MoveY = /Vars:MoveYl;
} else if ((((/Vars:Haut == true) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == false)) {
Set("/Vars:Dir" + /Vars:PersActif, 6);
MoveX = /Vars:MoveXu;
MoveY = /Vars:MoveYu;
} else if ((((/Vars:Haut == false) and (/Vars:Bas == false)) and (/Vars:Gauche == false)) and (/Vars:Droite == true)) {
Set("/Vars:Dir" + /Vars:PersActif, 8);
MoveX = /Vars:MoveXr;
MoveY = /Vars:MoveYr;
}
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
if ((((/Vars:Haut == true) or (/Vars:Bas == true)) or (/Vars:Droite == true)) or (/Vars:Gauche == true)) {
Set("/Vars:Etat" + /Vars:PersActif, "Marche");
} else {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
}
if ((eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") and (!_root.Collider.hitTest(_root[/Vars:PersActif]._x + MoveX, _root[/Vars:PersActif]._y + MoveY, true))) {
if (eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + MoveX);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + MoveY);
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + (MoveX / 2));
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + (MoveY / 2));
}
}
if (/Vars:PersActif eq "Ss") {
setProperty("_root.Collider.CachePers", _x , -100);
setProperty("_root.Collider.CachePers", _y , -100);
} else if (/Vars:PersActif eq "Samy") {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Scooby", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Scooby", _y));
} else {
setProperty("_root.Collider.CachePers", _x , getProperty("_root.Samy", _x));
setProperty("_root.Collider.CachePers", _y , getProperty("_root.Samy", _y));
}
}
if (/Vars:MoveAuto == true) {
if ((Math.abs(/Vars:MoveXAgp) >= Math.abs(_root[/Vars:PersActif]._x - /Vars:DestX)) or (Math.abs(/Vars:MoveYAgp) >= Math.abs(_root[/Vars:PersActif]._y - /Vars:DestY))) {
if (/Vars:FinMove eq "Agp") {
Set("/Vars:Etat" + /Vars:PersActif, "PasLa");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MarcheAgp") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndPlay(/Vars:StartPlay);
};
_root[/Vars:PersActif]._x = /Vars:FinAgpX;
_root[/Vars:PersActif]._y = /Vars:FinAgpY;
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "MergePers") {
Set("/Vars:EtatSamy", "PasLa");
Set("/Vars:EtatScooby", "PasLa");
Set("/Vars:EtatSs", "Idle");
Set("/Vars:PersActif", "Ss");
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "FinMarche") {
_root[/Vars:PersActif]._x = _root[/Vars:PersActif]._x + /Vars:MoveX;
_root[/Vars:PersActif]._y = _root[/Vars:PersActif]._y + /Vars:MoveY;
Set("/Vars:Peur", false);
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Parle") {
Set("/Vars:LostControl", false);
if (/Vars:Dialog ne "") {
_root.Voix.gotoAndPlay(/Vars:Dialog);
}
if (/Vars:VDialog ne "") {
Set("/Voix:" + /Vars:VDialog, true);
}
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Tasse") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:DestX", /Vars:TempDestX);
Set("/Vars:DestY", /Vars:TempDestY);
Set("/Vars:DirFin", /Vars:TempDirFin);
Set("/Vars:FinMove", "Agp");
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", /Vars:TempPers);
_root.Fonct.MoveAuto(/Vars:TempPers);
} else if (/Vars:FinMove eq "SortTab4b") {
if ((/Vars:BeigneFix == true) and (/Vars:MMEntre == false)) {
Set("/Vars:PlayMM", true);
}
Set("/Vars:KeepInv", true);
_root.Fonct.GetFrame();
Set("/Vars:MoveAuto", false);
Set("/Vars:Sorti", "Tab4b");
_root.gotoAndPlay("ExitTab4");
}
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + /Vars:MoveXAgp);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + /Vars:MoveYAgp);
}
}
}
if (/Vars:SortTab == false) {
tellTarget ("_root.Ss.Obj") {
gotoAndStop(/Vars:EtatSs);
};
tellTarget ("_root.Samy.Obj") {
gotoAndStop(/Vars:EtatSamy);
};
tellTarget ("_root.Scooby.Obj") {
gotoAndStop(/Vars:EtatScooby);
};
if (/Vars:Pause == true) {
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
tellTarget (_root.Samy.Obj.Etat) {
stop();
};
tellTarget (_root.Scooby.Obj.Etat) {
stop();
};
} else {
tellTarget (_root.Ss.Obj.Etat1) {
play();
};
tellTarget (_root.Ss.Obj.Etat2) {
play();
};
tellTarget (_root.Samy.Obj.Etat) {
play();
};
tellTarget (_root.Scooby.Obj.Etat) {
play();
};
}
if (/Vars:Mort == true) {
Set("/Vars:Pause", true);
Set("/Vars:Mort", false);
_root.gotoAndPlay("Mort");
}
if ((/Vars:Saving == true) and (/Vars:Mort == false)) {
Set("/Vars:Pause", true);
Set("/Vars:Saving", false);
_root.SaveLoad.gotoAndPlay("Save");
}
}
}
Instance of Symbol 574 MovieClip in Frame 659
onClipEvent (keyUp) {
if (/Vars:Bas == true) {
if (!Key.isDown(Key.Down)) {
Set("/Vars:Bas", false);
}
}
if (/Vars:Haut == true) {
if (!Key.isDown(Key.Up)) {
Set("/Vars:Haut", false);
}
}
if (/Vars:Gauche == true) {
if (!Key.isDown(Key.Left)) {
Set("/Vars:Gauche", false);
}
}
if (/Vars:Droite == true) {
if (!Key.isDown(Key.Right)) {
Set("/Vars:Droite", false);
}
}
}
Instance of Symbol 1720 MovieClip "HitDoor" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitShield2" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitMarche4" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitLune" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitTorche" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitUseLiane" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitFixBeigne" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1720 MovieClip "HitPousse" in Frame 659
onClipEvent (load) {
_visible = 0;
}
Frame 660
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 698
_root.Fonct:DeleteObj();
Frame 701
Set("/Vars:SortTab", false);
gotoAndPlay (632);
Frame 702
_root.Fonct:DeleteObj();
Frame 705
Set("/Vars:SortTab", false);
if (/Vars:Sorti eq "Tab2") {
gotoAndPlay (620);
} else if (/Vars:Sorti eq "Tab2b") {
gotoAndPlay (644);
}
Frame 706
_root.Fonct:DeleteObj();
Frame 709
Set("/Vars:SortTab", false);
if ((/Vars:Sorti eq "Tab3a") or (/Vars:Sorti eq "Tab3b")) {
gotoAndPlay (657);
}
Frame 710
_root.Fonct:DeleteObj();
Frame 713
Set("/Vars:SortTab", false);
if ((/Vars:Sorti eq "Tab4a") or (/Vars:Sorti eq "Tab4b")) {
gotoAndPlay (644);
}
Frame 723
stopAllSounds();
_root.Fonct:DeleteObj();
Frame 726
stop();
Frame 729
play();
Frame 730
stopAllSounds();
_root.Fonct:DeleteObj();
_root.Fonct:Load();
Frame 734
_root.Fonct:Load();
Set("/Vars:Pause", true);
Frame 741
stopAllSounds();
Set("/Vars:SortTab", false);
_root.Fonct:DeleteObj();
Frame 743
ifFrameLoaded (2453) {
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Temp:TempStart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (843);
}
Frame 744
stop();
Instance of Symbol 2676 MovieClip in Frame 744
onClipEvent (enterFrame) {
ifFrameLoaded (2453) {
tellTarget ("_parent") {
nextFrame();
};
}
}
Frame 745
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Temp:TempStart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (843);
Frame 750
gotoAndPlay (843);
Frame 752
stopAllSounds();
_root.Fonct:DeleteObj();
delete Vars;
gotoAndPlay (757);
Frame 842
gotoAndStop (3);
Instance of Symbol 574 MovieClip in Frame 2448
/* no clip actions */
Frame 2453
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/lowtime.swf", "MovieTimer");
stop();
} else {
gotoAndStop (3);
}
Symbol 23 MovieClip Frame 14
_root.gotoAndStop("Joue");
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 100
nextFrame();
Symbol 24 MovieClip Frame 101
stop();
Symbol 30 Button
on (release) {
_root.gotoAndStop("Instruct1");
}
Symbol 31 MovieClip Frame 1
ifFrameLoaded (31) {
_root.InsButton.gotoAndPlay(3);
}
Symbol 31 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 3
play();
Symbol 31 MovieClip Frame 13
stop();
Symbol 34 Button
on (release) {
getURL (/:QuitUrl, "_self");
}
Symbol 35 MovieClip Frame 11
stop();
Symbol 37 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndPlay("New");
}
Symbol 38 MovieClip Frame 11
stop();
Symbol 40 Button
on (release) {
Set("/:Challenge", false);
tellTarget ("_root") {
gotoAndPlay ("Loading");
};
}
Symbol 41 MovieClip Frame 11
stop();
Symbol 42 MovieClip Frame 1
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
delete ObjSave;
gotoAndPlay (2);
} else {
delete ObjSave;
gotoAndPlay (16);
}
Symbol 42 MovieClip Frame 15
stop();
Symbol 42 MovieClip Frame 26
stop();
Symbol 44 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndStop("Joue");
}
Symbol 45 MovieClip Frame 11
stop();
Symbol 47 Button
on (release) {
Set("/:Challenge", true);
_root.gotoAndPlay("New");
}
Symbol 48 MovieClip Frame 11
stop();
Symbol 50 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndPlay("New");
}
Symbol 51 MovieClip Frame 11
stop();
Symbol 56 Button
on (release) {
_root.gotoAndStop("Instruct2");
}
Symbol 57 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 114 Button
on (release) {
_root.gotoAndStop("Instruct1");
}
Symbol 128 MovieClip Frame 31
stop();
Symbol 579 MovieClip Frame 3
_root.Mus.Mus.setVolume(100);
Symbol 579 MovieClip Frame 4
stop();
Symbol 579 MovieClip Frame 5
stop();
Instance of Symbol 578 MovieClip "Control" in Symbol 579 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_parent.Mus.getVolume() != _parent:VolDest) {
if (_parent.Mus.getVolume() > _parent:VolDest) {
_parent.Mus.setVolume(_parent.Mus.getVolume() - _parent:Fade);
} else {
_parent.Mus.setVolume(_parent.Mus.getVolume() + _parent:Fade);
}
} else {
_parent.prevFrame();
}
}
Symbol 596 MovieClip Frame 1
Parle = false;
stop();
Symbol 596 MovieClip Frame 2
Parle = true;
Symbol 596 MovieClip Frame 34
gotoAndStop (1);
Symbol 596 MovieClip Frame 35
Parle = true;
Symbol 596 MovieClip Frame 37
Parle = true;
Symbol 596 MovieClip Frame 87
gotoAndStop (1);
Symbol 596 MovieClip Frame 88
Parle = true;
Symbol 596 MovieClip Frame 113
gotoAndStop (1);
Symbol 596 MovieClip Frame 114
Parle = true;
Symbol 596 MovieClip Frame 154
gotoAndStop (1);
Symbol 596 MovieClip Frame 155
Parle = true;
Symbol 596 MovieClip Frame 198
gotoAndStop (1);
Symbol 596 MovieClip Frame 199
Parle = true;
Symbol 596 MovieClip Frame 252
gotoAndStop (1);
Symbol 596 MovieClip Frame 253
Parle = true;
Symbol 596 MovieClip Frame 270
gotoAndStop (1);
Symbol 596 MovieClip Frame 271
Parle = true;
Symbol 596 MovieClip Frame 294
gotoAndStop (1);
Symbol 596 MovieClip Frame 295
Parle = true;
Symbol 596 MovieClip Frame 322
gotoAndStop (1);
Symbol 596 MovieClip Frame 323
Parle = true;
Symbol 596 MovieClip Frame 335
gotoAndStop (1);
Symbol 596 MovieClip Frame 336
Parle = true;
Symbol 596 MovieClip Frame 359
gotoAndStop (1);
Symbol 596 MovieClip Frame 360
Parle = true;
Symbol 596 MovieClip Frame 387
gotoAndStop (1);
Symbol 596 MovieClip Frame 388
Parle = true;
Symbol 596 MovieClip Frame 412
gotoAndStop (1);
Symbol 596 MovieClip Frame 413
Parle = true;
Symbol 596 MovieClip Frame 464
gotoAndStop (1);
Symbol 596 MovieClip Frame 465
Parle = true;
Symbol 596 MovieClip Frame 534
gotoAndStop (1);
Symbol 596 MovieClip Frame 535
Parle = true;
Symbol 596 MovieClip Frame 596
gotoAndStop (1);
Symbol 600 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 600 MovieClip Frame 1
/* no clip actions */
Symbol 600 MovieClip Frame 2
play();
Symbol 600 MovieClip Frame 10
stop();
Symbol 600 MovieClip Frame 14
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 603 MovieClip Frame 1
Set("/Voix:Parle", false);
stop();
Symbol 603 MovieClip Frame 5
Set("/Voix:Parle", true);
if (random(100) < 50) {
gotoAndPlay (6);
} else {
gotoAndPlay (28);
}
Symbol 603 MovieClip Frame 7
gotoAndStop (1);
Symbol 603 MovieClip Frame 29
gotoAndStop (1);
Symbol 603 MovieClip Frame 46
gotoAndStop (1);
Symbol 605 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 3
gotoAndStop (1);
Symbol 607 MovieClip Frame 5
gotoAndStop (1);
Symbol 612 MovieClip Frame 100
Set("/Vars:Mort", true);
Symbol 612 MovieClip Frame 101
Set("/Vars:Mort", true);
Symbol 612 MovieClip Frame 102
Set("/Vars:Mort", true);
Symbol 612 MovieClip Frame 103
Set("/Vars:Mort", true);
Symbol 612 MovieClip Frame 104
Set("/Vars:Mort", true);
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 2
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 2
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
stop();
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 2
stop();
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 2
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 2
stop();
Symbol 638 MovieClip Frame 1
stop();
Symbol 638 MovieClip Frame 2
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 2
stop();
Symbol 642 MovieClip Frame 1
gotoAndStop(/Vars:ObjSelect);
Instance of Symbol 574 MovieClip in Symbol 642 MovieClip Frame 1
/* no clip actions */
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 2
stop();
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 2
stop();
Symbol 649 MovieClip Frame 1
No = _name;
No = int(No.slice(3));
if ((_root.Vars:InvArray.charAt(No) != null) and (_root.Vars:InvArray.charAt(No) ne "")) {
gotoAndStop(_root.Vars:InvArray.charAt(No));
} else {
stop();
}
Instance of Symbol 574 MovieClip in Symbol 649 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 649 MovieClip Frame 2
onClipEvent (enterFrame) {
if (("Obj" + /Vars:PtInvArray) == _parent._name) {
_parent.Item.gotoAndStop(2);
_parent.Rond.gotoAndStop(2);
} else {
_parent.Item.gotoAndStop(1);
_parent.Rond.gotoAndStop(1);
}
}
Symbol 652 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (enterFrame) {
Mot = /Txt:NomItem[/Vars:ObjSelect - 2];
Set("_parent:NomItem", Mot);
if (Mot.length > 0) {
_parent.NomBarre.gotoAndStop(Mot.length);
} else {
_parent.NomBarre.gotoAndStop(50);
}
}
Symbol 660 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 660 MovieClip Frame 2
Instance of Symbol 574 MovieClip in Symbol 660 MovieClip Frame 2
onClipEvent (enterFrame) {
TempsTemp = getTimer() - /Temp:TempStart;
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;
}
_parent.TempsEcoule = (((Heures + ":") + Minutes) + ":") + Secondes;
}
Symbol 661 MovieClip Frame 1
stop();
Symbol 661 MovieClip Frame 2
stop();
Symbol 668 MovieClip Frame 1
stop();
Instance of Symbol 612 MovieClip "FearGauge" in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(/Vars:Fear + 1);
}
Symbol 668 MovieClip Frame 2
stop();
Symbol 694 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 694 MovieClip Frame 1
/* no clip actions */
Symbol 694 MovieClip Frame 2
Set("/Vars:Pause", true);
Symbol 694 MovieClip Frame 12
_root.Fonct.Save();
Instance of Symbol 574 MovieClip in Symbol 694 MovieClip Frame 48
/* no clip actions */
Symbol 694 MovieClip Frame 49
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 694 MovieClip Frame 50
Set("/Vars:Pause", true);
Symbol 694 MovieClip Frame 80
tellTarget (_root) {
gotoAndStop ("Load");
};
stop();
Symbol 694 MovieClip Frame 81
Set("/Vars:Pause", true);
play();
Symbol 694 MovieClip Frame 96
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 694 MovieClip Frame 97
Set("/Vars:Pause", true);
Symbol 694 MovieClip Frame 142
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 705 MovieClip Frame 1
gotoAndStop (1);
Instance of Symbol 574 MovieClip in Symbol 705 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 705 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 705 MovieClip Frame 4
stop();
Symbol 731 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 731 MovieClip Frame 1
/* no clip actions */
Symbol 731 MovieClip Frame 2
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 1);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 12);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 94);
Set("/Vars:PeurDestY", 136);
Instance of Symbol 574 MovieClip in Symbol 731 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 731 MovieClip Frame 32
if ((/Voix:Parle == false) and (/Voix:Dead == false)) {
Set("/Voix:Parle", true);
Set("/Voix:Dead", true);
_root.Voix.gotoAndPlay("Dead");
}
Symbol 731 MovieClip Frame 33
gotoAndStop (1);
Symbol 738 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 738 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 738 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.TicTac.gotoAndStop("Arret");
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 738 MovieClip Frame 18
Set("/Vars:MarcheOpen", true);
_root.Collider.CacheMarche.gotoAndStop(1);
Instance of Symbol 574 MovieClip in Symbol 738 MovieClip Frame 24
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
_root.TicTac.gotoAndStop("Arret");
tellTarget (_parent) {
stop();
};
} else {
_root.TicTac.gotoAndStop("Joue");
tellTarget (_parent) {
play();
};
}
}
Symbol 738 MovieClip Frame 91
_root.TicTac.gotoAndStop("Arret");
if (/Vars:UseMarche1 == true) {
stop();
} else {
Set("/Vars:MarcheOpen", false);
_root.Collider.CacheMarche.gotoAndStop(2);
nextFrame();
}
Instance of Symbol 574 MovieClip in Symbol 738 MovieClip Frame 92
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 738 MovieClip Frame 96
gotoAndStop (1);
Symbol 876 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 876 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 876 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 876 MovieClip Frame 25
gotoAndStop (1);
Instance of Symbol 574 MovieClip in Symbol 876 MovieClip Frame 26
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 876 MovieClip Frame 39
Set("/Vars:PercheFix", true);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
Symbol 876 MovieClip Frame 43
_root.Fonct.FinAgp();
Symbol 876 MovieClip Frame 44
stop();
Symbol 892 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 892 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 892 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 892 MovieClip Frame 5
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 1);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 1);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 347);
Set("/Vars:PeurDestY", 105);
Symbol 892 MovieClip Frame 25
gotoAndStop (1);
Symbol 892 MovieClip Frame 26
Set("/Vars:LameBloc", true);
_root.AgpLame3.play();
Instance of Symbol 574 MovieClip in Symbol 892 MovieClip Frame 26
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 892 MovieClip Frame 45
_root.AgpLame3.gotoAndStop(4);
stop();
Symbol 895 MovieClip Frame 1
if (/Vars:InvSac == true) {
nextFrame();
} else {
stop();
}
Symbol 896 MovieClip Frame 1
if (/Vars:InvPerche == true) {
nextFrame();
} else {
stop();
}
Symbol 897 MovieClip Frame 1
if (/Vars:InvFouet == true) {
nextFrame();
} else {
stop();
}
Symbol 898 MovieClip Frame 1
if (/Vars:InvShield == true) {
nextFrame();
} else {
stop();
}
Instance of Symbol 902 MovieClip in Symbol 903 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(201);
_root.Vars:ObjRemove.push(this._name);
}
Symbol 975 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 975 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 975 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 975 MovieClip Frame 9
_root.Tab1Escalier.gotoAndPlay(2);
Symbol 975 MovieClip Frame 40
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NoTime");
}
_root.Fonct.FinAgp();
Symbol 975 MovieClip Frame 41
gotoAndStop (1);
Symbol 1089 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1089 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1089 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1089 MovieClip Frame 14
Set("/Vars:Fear", /Vars:Fear + 20);
Set("/Vars:SolPet", true);
_root.AgpFall.gotoAndStop(2);
Symbol 1089 MovieClip Frame 15
stop();
Instance of Symbol 574 MovieClip in Symbol 1089 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1089 MovieClip Frame 19
Set("/Vars:Fear", /Vars:Fear + 20);
_root.AgpFall.gotoAndStop(2);
nextFrame();
Symbol 1089 MovieClip Frame 20
stop();
Symbol 1095 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1095 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1095 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1095 MovieClip Frame 25
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab1Etage", 2);
_root.Fonct.FinAgp();
Symbol 1095 MovieClip Frame 26
gotoAndStop (1);
Symbol 1099 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1106 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1110 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1122 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1124 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1124 MovieClip Frame 1
/* no clip actions */
Symbol 1124 MovieClip Frame 2
_root.Tab1Escalier.gotoAndPlay(3);
Instance of Symbol 574 MovieClip in Symbol 1124 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1124 MovieClip Frame 23
if (/Vars:SolPet == false) {
_root.AgpSolPet.gotoAndStop(2);
} else {
_root.AgpSolPet.gotoAndStop("Fall");
}
gotoAndStop (1);
Symbol 1219 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1219 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1219 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1219 MovieClip Frame 9
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab1Etage", 2);
_root.Fonct.FinAgp();
Symbol 1219 MovieClip Frame 14
Set("/Vars:UseMarche1", false);
_root.Tab1Escalier.play();
Symbol 1219 MovieClip Frame 15
gotoAndStop (1);
Symbol 1263 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1367 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1367 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1367 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1367 MovieClip Frame 48
_root.Fonct.FinAgp();
Symbol 1367 MovieClip Frame 49
gotoAndStop (1);
Symbol 1384 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1410 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1410 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1410 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1410 MovieClip Frame 14
_root.Collider.gotoAndStop(1);
Set("/Vars:Tab1Etage", 1);
_root.Fonct.FinAgp();
Symbol 1410 MovieClip Frame 15
gotoAndStop (1);
Instance of Symbol 574 MovieClip in Symbol 1410 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1410 MovieClip Frame 27
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab1Etage", 2);
_root.Fonct.FinAgp();
Symbol 1410 MovieClip Frame 28
gotoAndStop (1);
Symbol 1412 MovieClip Frame 1
stop();
Symbol 1412 MovieClip Frame 2
stop();
Symbol 1412 MovieClip Frame 3
stop();
Symbol 1483 MovieClip Frame 8
gotoAndPlay (3);
Symbol 1500 MovieClip Frame 22
gotoAndPlay (5);
Symbol 1502 MovieClip Frame 1
stop();
Symbol 1502 MovieClip Frame 7
stop();
Symbol 1502 MovieClip Frame 13
stop();
Symbol 1502 MovieClip Frame 19
stop();
Symbol 1502 MovieClip Frame 25
stop();
Symbol 1502 MovieClip Frame 30
stop();
Symbol 1515 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1516 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1517 MovieClip Frame 1
stop();
Symbol 1517 MovieClip Frame 7
stop();
Symbol 1517 MovieClip Frame 13
stop();
Symbol 1517 MovieClip Frame 19
stop();
Symbol 1517 MovieClip Frame 25
stop();
Symbol 1517 MovieClip Frame 32
stop();
Symbol 1518 MovieClip Frame 1
stop();
Symbol 1518 MovieClip Frame 7
stop();
Symbol 1518 MovieClip Frame 13
stop();
Symbol 1518 MovieClip Frame 19
stop();
Symbol 1518 MovieClip Frame 25
stop();
Symbol 1518 MovieClip Frame 30
stop();
Symbol 1567 MovieClip Frame 1
stop();
Symbol 1567 MovieClip Frame 7
stop();
Symbol 1567 MovieClip Frame 13
stop();
Symbol 1567 MovieClip Frame 19
stop();
Symbol 1567 MovieClip Frame 25
stop();
Symbol 1567 MovieClip Frame 30
stop();
Symbol 1646 MovieClip Frame 1
stop();
Symbol 1646 MovieClip Frame 7
stop();
Symbol 1646 MovieClip Frame 13
stop();
Symbol 1646 MovieClip Frame 19
stop();
Symbol 1646 MovieClip Frame 25
stop();
Symbol 1646 MovieClip Frame 30
stop();
Symbol 1665 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1686 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1687 MovieClip Frame 1
stop();
Symbol 1687 MovieClip Frame 7
stop();
Symbol 1687 MovieClip Frame 13
stop();
Symbol 1687 MovieClip Frame 19
stop();
Symbol 1687 MovieClip Frame 25
stop();
Symbol 1687 MovieClip Frame 30
stop();
Symbol 1688 MovieClip Frame 1
stop();
Symbol 1688 MovieClip Frame 7
stop();
Symbol 1688 MovieClip Frame 13
stop();
Symbol 1688 MovieClip Frame 19
stop();
Symbol 1688 MovieClip Frame 25
stop();
Symbol 1688 MovieClip Frame 30
stop();
Symbol 1689 MovieClip Frame 1
stop();
Symbol 1689 MovieClip Frame 7
stop();
Symbol 1689 MovieClip Frame 13
stop();
Symbol 1689 MovieClip Frame 19
stop();
Symbol 1689 MovieClip Frame 25
stop();
Symbol 1689 MovieClip Frame 30
stop();
Symbol 1690 MovieClip Frame 1
stop();
Instance of Symbol 1502 MovieClip "Obj" in Symbol 1690 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1517 MovieClip "Obj" in Symbol 1690 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1518 MovieClip "Obj" in Symbol 1690 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1567 MovieClip "Obj" in Symbol 1690 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1646 MovieClip "Obj" in Symbol 1690 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1687 MovieClip "Obj" in Symbol 1690 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1688 MovieClip "Obj" in Symbol 1690 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1689 MovieClip "Obj" in Symbol 1690 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 1691 MovieClip Frame 1
stop();
Symbol 1691 MovieClip Frame 7
stop();
Symbol 1691 MovieClip Frame 13
stop();
Symbol 1691 MovieClip Frame 19
stop();
Symbol 1691 MovieClip Frame 25
stop();
Symbol 1691 MovieClip Frame 30
stop();
Symbol 1692 MovieClip Frame 1
stop();
Symbol 1692 MovieClip Frame 7
stop();
Symbol 1692 MovieClip Frame 13
stop();
Symbol 1692 MovieClip Frame 18
stop();
Symbol 1692 MovieClip Frame 23
stop();
Symbol 1692 MovieClip Frame 29
stop();
Symbol 1693 MovieClip Frame 1
stop();
Symbol 1693 MovieClip Frame 7
stop();
Symbol 1693 MovieClip Frame 13
stop();
Symbol 1693 MovieClip Frame 18
stop();
Symbol 1693 MovieClip Frame 24
stop();
Symbol 1693 MovieClip Frame 29
stop();
Symbol 1694 MovieClip Frame 1
stop();
Symbol 1694 MovieClip Frame 7
stop();
Symbol 1694 MovieClip Frame 13
stop();
Symbol 1694 MovieClip Frame 18
stop();
Symbol 1694 MovieClip Frame 23
stop();
Symbol 1694 MovieClip Frame 29
stop();
Symbol 1695 MovieClip Frame 1
stop();
Symbol 1695 MovieClip Frame 7
stop();
Symbol 1695 MovieClip Frame 13
stop();
Symbol 1695 MovieClip Frame 18
stop();
Symbol 1695 MovieClip Frame 24
stop();
Symbol 1695 MovieClip Frame 29
stop();
Symbol 1696 MovieClip Frame 1
stop();
Instance of Symbol 1691 MovieClip "Obj" in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1692 MovieClip "Obj" in Symbol 1696 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1691 MovieClip "Obj" in Symbol 1696 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1693 MovieClip "Obj" in Symbol 1696 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1694 MovieClip "Obj" in Symbol 1696 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1695 MovieClip "Obj" in Symbol 1696 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1694 MovieClip "Obj" in Symbol 1696 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1693 MovieClip "Obj" in Symbol 1696 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 1697 MovieClip Frame 1
stop();
Symbol 1697 MovieClip Frame 7
stop();
Symbol 1697 MovieClip Frame 13
stop();
Symbol 1697 MovieClip Frame 18
stop();
Symbol 1697 MovieClip Frame 23
stop();
Symbol 1697 MovieClip Frame 29
stop();
Symbol 1698 MovieClip Frame 1
stop();
Symbol 1698 MovieClip Frame 7
stop();
Symbol 1698 MovieClip Frame 13
stop();
Symbol 1698 MovieClip Frame 18
stop();
Symbol 1698 MovieClip Frame 23
stop();
Symbol 1698 MovieClip Frame 29
stop();
Symbol 1699 MovieClip Frame 1
stop();
Symbol 1699 MovieClip Frame 7
stop();
Symbol 1699 MovieClip Frame 13
stop();
Symbol 1699 MovieClip Frame 18
stop();
Symbol 1699 MovieClip Frame 24
stop();
Symbol 1699 MovieClip Frame 29
stop();
Symbol 1700 MovieClip Frame 1
stop();
Symbol 1700 MovieClip Frame 7
stop();
Symbol 1700 MovieClip Frame 13
stop();
Symbol 1700 MovieClip Frame 18
stop();
Symbol 1700 MovieClip Frame 23
stop();
Symbol 1700 MovieClip Frame 29
stop();
Symbol 1701 MovieClip Frame 1
stop();
Symbol 1701 MovieClip Frame 7
stop();
Symbol 1701 MovieClip Frame 13
stop();
Symbol 1701 MovieClip Frame 18
stop();
Symbol 1701 MovieClip Frame 23
stop();
Symbol 1701 MovieClip Frame 29
stop();
Symbol 1702 MovieClip Frame 1
stop();
Instance of Symbol 1697 MovieClip "Obj" in Symbol 1702 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1698 MovieClip "Obj" in Symbol 1702 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1697 MovieClip "Obj" in Symbol 1702 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1699 MovieClip "Obj" in Symbol 1702 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1700 MovieClip "Obj" in Symbol 1702 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1701 MovieClip "Obj" in Symbol 1702 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1700 MovieClip "Obj" in Symbol 1702 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1699 MovieClip "Obj" in Symbol 1702 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 1705 MovieClip Frame 1
if (/Vars:InvSac == true) {
nextFrame();
} else {
stop();
}
Symbol 1707 MovieClip Frame 1
if (/Vars:InvPerche == true) {
nextFrame();
} else {
stop();
}
Symbol 1709 MovieClip Frame 1
if (/Vars:SolPet == false) {
nextFrame();
} else {
stop();
}
Symbol 1711 MovieClip Frame 1
if (/Vars:MarcheOpen == true) {
stop();
} else {
nextFrame();
}
Symbol 1715 MovieClip Frame 1
if (/Vars:Tab1Etage == 2) {
nextFrame();
} else {
stop();
}
Symbol 1717 Button
on (keyPress "<Down>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Bas == false) {
if (Key.isDown(Key.Down)) {
Set("/Vars:Bas", true);
}
}
}
}
on (keyPress "<Up>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Haut == false) {
if (Key.isDown(Key.Up)) {
Set("/Vars:Haut", true);
}
}
}
}
on (keyPress "<Left>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Gauche == false) {
if (Key.isDown(Key.Left)) {
Set("/Vars:Gauche", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray - 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if (/Vars:PtInvArray > 0) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", /Vars:InvArray.length - 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "<Right>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Droite == false) {
if (Key.isDown(Key.Right)) {
Set("/Vars:Droite", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "s") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "S") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "l") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
if (ObjSave.data.Valeurs.Tableau eq "Tab2") {
Set("/:Loading", true);
}
delete ObjSave;
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("Load");
} else {
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("NoSave");
delete ObjSave;
}
}
}
}
on (keyPress "L") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
delete ObjSave;
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("Load");
} else {
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("NoSave");
delete ObjSave;
}
}
}
}
on (keyPress "t") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) and (/Vars:LostControl == false)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 0);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "T") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) and (/Vars:LostControl == false)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 0);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "i") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:InvOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.Inv.gotoAndStop("Open");
} else if ((/Vars:InvOuvert == true) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:InvOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.Inv.gotoAndStop("Close");
}
}
on (keyPress "I") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:InvOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.Inv.gotoAndStop("Open");
} else if ((/Vars:InvOuvert == true) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:InvOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.Inv.gotoAndStop("Close");
}
}
on (keyPress "p") {
if ((/:Challenge == false) and (getProperty("_root.SaveLoad", _currentframe) == 1)) {
if (((/Vars:InvOuvert == false) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
if (/Vars:Pause == false) {
_root.Mus.VolDest = 10;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
_root.Pause.gotoAndPlay(2);
} else {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
_root.Pause.play();
}
}
}
}
on (keyPress "P") {
if ((/:Challenge == false) and (getProperty("_root.SaveLoad", _currentframe) == 1)) {
if (((/Vars:InvOuvert == false) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
if (/Vars:Pause == false) {
_root.Mus.VolDest = 10;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
_root.Pause.gotoAndPlay(2);
} else {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
_root.Pause.play();
}
}
}
}
on (keyPress "h") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:HelpOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.gotoAndStop("Help");
} else if ((/Vars:HelpOuvert == true) and (/Vars:InvOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:HelpOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.gotoAndStop(1);
}
}
on (keyPress "H") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:HelpOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.gotoAndStop("Help");
} else if ((/Vars:HelpOuvert == true) and (/Vars:InvOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:HelpOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.gotoAndStop(1);
}
}
Symbol 1741 MovieClip Frame 1
Set("/Vars:PosPic", "Bas");
_root.Collider.CachePic.gotoAndStop(2);
Instance of Symbol 574 MovieClip in Symbol 1741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1741 MovieClip Frame 86
if (/Vars:UseBouclier == true) {
stop();
} else {
_root.Collider.CachePic.gotoAndStop(1);
Set("/Vars:PosPic", "Mid");
nextFrame();
}
Symbol 1741 MovieClip Frame 87
if (_root.HitPicSort.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 3);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 5);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 337);
Set("/Vars:PeurDestY", 365);
}
Set("/Vars:PosPic", "Mid");
_root.Collider.CachePic.gotoAndStop(1);
Instance of Symbol 574 MovieClip in Symbol 1741 MovieClip Frame 87
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1741 MovieClip Frame 88
Set("/Vars:PosPic", "Mid");
_root.Collider.CachePic.gotoAndStop(1);
Symbol 1741 MovieClip Frame 93
Set("/Vars:PosPic", "Haut");
Symbol 1741 MovieClip Frame 155
if (/Vars:UseBouclier == true) {
stop();
} else {
Set("/Vars:PosPic", "Mid");
nextFrame();
}
Symbol 1741 MovieClip Frame 156
Set("/Vars:PosPic", "Mid");
Instance of Symbol 574 MovieClip in Symbol 1741 MovieClip Frame 156
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1741 MovieClip Frame 162
Set("/Vars:PosPic", "Bas");
_root.Collider.CachePic.gotoAndStop(2);
Symbol 1751 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1751 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.SonMur.gotoAndStop("Arret");
if ((/Vars:Pause == true) or (/Vars:MurBloc == true)) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 574 MovieClip in Symbol 1751 MovieClip Frame 25
onClipEvent (enterFrame) {
if ((/Vars:Pause == true) or (/Vars:MurBloc == true)) {
_root.SonMur.gotoAndStop("Arret");
tellTarget (_parent) {
stop();
};
} else {
_root.SonMur.gotoAndStop("Joue");
tellTarget (_parent) {
play();
};
}
}
Symbol 1751 MovieClip Frame 414
Set("/Vars:LostControl", true);
_root.AgpFallMur._x = _root.Ss._x;
_root.AgpFallMur._y = _root.Ss._y;
Set("/Vars:EtatSs", "PasLa");
_root.Ss.Obj.gotoAndStop("PasLa");
_root.AgpFallMur.gotoAndStop(2);
Instance of Symbol 574 MovieClip in Symbol 1751 MovieClip Frame 419
onClipEvent (enterFrame) {
_root.SonMur.gotoAndStop("Arret");
if ((/Vars:Pause == true) or (/Vars:MurBloc == true)) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1751 MovieClip Frame 426
Set("/Vars:MurStop", true);
stop();
Symbol 1754 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1754 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1754 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.TicTac.gotoAndStop("Arret");
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1754 MovieClip Frame 9
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NoTime");
}
Set("/Vars:Marche2Open", true);
_root.Collider.CacheMarche.gotoAndStop(1);
Instance of Symbol 574 MovieClip in Symbol 1754 MovieClip Frame 12
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
_root.TicTac.gotoAndStop("Arret");
tellTarget (_parent) {
stop();
};
} else {
_root.TicTac.gotoAndStop("Joue");
tellTarget (_parent) {
play();
};
}
}
Symbol 1754 MovieClip Frame 231
_root.TicTac.gotoAndStop("Arret");
if (/Vars:UseMarche2 == true) {
stop();
} else {
Set("/Vars:Marche2Open", false);
_root.Collider.CacheMarche.gotoAndStop(2);
nextFrame();
}
Instance of Symbol 574 MovieClip in Symbol 1754 MovieClip Frame 232
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1754 MovieClip Frame 236
gotoAndStop (1);
Instance of Symbol 574 MovieClip in Symbol 1796 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1797 MovieClip Frame 1
if (/Vars:ScorpDead == true) {
nextFrame();
} else {
stop();
}
Symbol 1797 MovieClip Frame 2
stop();
Symbol 1805 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1805 MovieClip Frame 1
/* no clip actions */
Symbol 1805 MovieClip Frame 44
tellTarget ("_root") {
gotoAndPlay ("ExitTab2b");
};
Symbol 1828 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1828 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1828 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1828 MovieClip Frame 12
_root.Fonct.RemoveObj(/Vars:PtObjDel);
Set("/Vars:ScorpDead", true);
_root.Scorp.gotoAndStop("PasLa");
Symbol 1828 MovieClip Frame 18
_root.Fonct.FinAgp();
Symbol 1828 MovieClip Frame 19
stop();
Instance of Symbol 574 MovieClip in Symbol 1828 MovieClip Frame 20
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1828 MovieClip Frame 28
_root.Fonct.RemoveObj(/Vars:PtObjDel);
Set("/Vars:ScorpDead", true);
_root.Scorp.gotoAndStop("PasLa");
Symbol 1828 MovieClip Frame 34
_root.Fonct.FinAgp();
Symbol 1828 MovieClip Frame 35
stop();
Symbol 1836 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1836 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1836 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1836 MovieClip Frame 41
_root.Pics.gotoAndPlay("Baisse");
Symbol 1836 MovieClip Frame 76
Set("/Vars:UseBouclier", false);
Set("/Vars:Tab2Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 1836 MovieClip Frame 77
gotoAndStop (1);
Instance of Symbol 574 MovieClip in Symbol 1836 MovieClip Frame 78
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1836 MovieClip Frame 112
_root.Pics.gotoAndPlay("Monte");
Symbol 1836 MovieClip Frame 152
Set("/Vars:Tab2Etage", 2);
_root.Collider.gotoAndStop(2);
Set("/Vars:UseBouclier", false);
_root.Fonct.FinAgp();
Symbol 1836 MovieClip Frame 153
gotoAndStop (1);
Symbol 1865 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1865 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1865 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1865 MovieClip Frame 16
_root.Rideau.gotoAndStop(2);
Set("/Vars:MurBloc", true);
Symbol 1865 MovieClip Frame 31
Set("/Vars:Tab2Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 1865 MovieClip Frame 32
stop();
Symbol 1866 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1866 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1866 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1866 MovieClip Frame 14
_root.Tab2Marche.gotoAndStop(2);
Symbol 1866 MovieClip Frame 23
_root.Fonct.FinAgp();
Symbol 1866 MovieClip Frame 24
gotoAndStop (1);
Symbol 1867 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1867 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 1867 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1867 MovieClip Frame 9
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab2Etage", 2);
_root.Fonct.FinAgp();
Symbol 1867 MovieClip Frame 14
Set("/Vars:UseMarche2", false);
_root.Tab2Marche.play();
Symbol 1867 MovieClip Frame 15
gotoAndStop (1);
Symbol 1868 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1868 MovieClip Frame 1
/* no clip actions */
Symbol 1868 MovieClip Frame 2
Set("/Vars:Fear", /Vars:Fear + 20);
_root.Ss._x = _root.AgpFallMur._x + 1.9;
_root.Ss._y = _root.AgpFallMur._y + 126.8;
Set("/Vars:DirSs", 2);
_root.Ss.gotoAndStop(2);
Instance of Symbol 574 MovieClip in Symbol 1868 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1868 MovieClip Frame 10
Set("/Vars:Tab2Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 1868 MovieClip Frame 11
stop();
Symbol 1870 MovieClip Frame 1
stop();
Symbol 1870 MovieClip Frame 2
stop();
Symbol 1870 MovieClip Frame 3
stop();
Symbol 1873 MovieClip Frame 1
if (/Vars:Marche2Open == true) {
stop();
} else {
nextFrame();
}
Symbol 1875 MovieClip Frame 1
if (/Vars:PosPic != "Bas") {
stop();
} else {
nextFrame();
}
Symbol 1879 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 1879 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Vars:Pause == true) or (/Vars:MurBloc == true)) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1879 MovieClip Frame 426
Set("/Vars:MurStop", true);
stop();
Symbol 1880 MovieClip Frame 1
if (/Vars:Tab2Etage == 2) {
nextFrame();
} else {
stop();
}
Symbol 1881 Button
on (keyPress "<Down>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Bas == false) {
if (Key.isDown(Key.Down)) {
Set("/Vars:Bas", true);
}
}
}
}
on (keyPress "<Up>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Haut == false) {
if (Key.isDown(Key.Up)) {
Set("/Vars:Haut", true);
}
}
}
}
on (keyPress "<Left>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Gauche == false) {
if (Key.isDown(Key.Left)) {
Set("/Vars:Gauche", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray - 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if (/Vars:PtInvArray > 0) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", /Vars:InvArray.length - 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "<Right>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Droite == false) {
if (Key.isDown(Key.Right)) {
Set("/Vars:Droite", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "s") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
Set("/Vars:PosXFall", _root.AgpFallMur._x);
Set("/Vars:PosYFall", _root.AgpFallMur._y);
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "S") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "l") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
if (ObjSave.data.Valeurs.Tableau eq "Tab2") {
Set("/:Loading", true);
}
delete ObjSave;
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("Load");
} else {
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("NoSave");
delete ObjSave;
}
}
}
}
on (keyPress "L") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
delete ObjSave;
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("Load");
} else {
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("NoSave");
delete ObjSave;
}
}
}
}
on (keyPress "t") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) and (/Vars:LostControl == false)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 0);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "T") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) and (/Vars:LostControl == false)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 0);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "i") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:InvOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.Inv.gotoAndStop("Open");
} else if ((/Vars:InvOuvert == true) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:InvOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.Inv.gotoAndStop("Close");
}
}
on (keyPress "I") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:InvOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.Inv.gotoAndStop("Open");
} else if ((/Vars:InvOuvert == true) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:InvOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.Inv.gotoAndStop("Close");
}
}
on (keyPress "p") {
if ((/:Challenge == false) and (getProperty("_root.SaveLoad", _currentframe) == 1)) {
if (((/Vars:InvOuvert == false) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
if (/Vars:Pause == false) {
_root.Mus.VolDest = 10;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
_root.Pause.gotoAndPlay(2);
} else {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
_root.Pause.play();
}
}
}
}
on (keyPress "P") {
if ((/:Challenge == false) and (getProperty("_root.SaveLoad", _currentframe) == 1)) {
if (((/Vars:InvOuvert == false) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
if (/Vars:Pause == false) {
_root.Mus.VolDest = 10;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
_root.Pause.gotoAndPlay(2);
} else {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
_root.Pause.play();
}
}
}
}
on (keyPress "h") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:HelpOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.gotoAndStop("Help");
} else if ((/Vars:HelpOuvert == true) and (/Vars:InvOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:HelpOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.gotoAndStop(1);
}
}
on (keyPress "H") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:HelpOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.gotoAndStop("Help");
} else if ((/Vars:HelpOuvert == true) and (/Vars:InvOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:HelpOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.gotoAndStop(1);
}
}
Symbol 1931 MovieClip Frame 1
if (/Vars:LianePlace == true) {
stop();
} else {
nextFrame();
}
Symbol 2041 MovieClip Frame 1
Set("/Vars:MMAct", true);
Instance of Symbol 574 MovieClip in Symbol 2041 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2041 MovieClip Frame 48
if (getProperty(_parent, _name) eq "MM1") {
Set("/Vars:MMTuile", 11);
_parent._parent.MM2.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM4") {
Set("/Vars:MMTuile", 24);
_parent._parent.MM5.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM6") {
Set("/Vars:MMTuile", 30);
_parent._parent.MM7.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM7") {
Set("/Vars:MMTuile", 29);
_parent._parent.MM8.gotoAndStop("Wait");
}
Set("/Vars:MMAct", false);
nextFrame();
Symbol 2041 MovieClip Frame 49
_parent.gotoAndStop("PasLa");
Symbol 2047 MovieClip Frame 1
Set("/Vars:MMAct", true);
Instance of Symbol 574 MovieClip in Symbol 2047 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2047 MovieClip Frame 46
if (getProperty(_parent, _name) eq "MM2") {
Set("/Vars:MMTuile", 18);
_parent._parent.MM3.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM3") {
Set("/Vars:MMTuile", 25);
_parent._parent.MM4.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM5") {
Set("/Vars:MMTuile", 31);
_parent._parent.MM6.gotoAndStop("Wait");
}
Set("/Vars:MMAct", false);
nextFrame();
Symbol 2047 MovieClip Frame 47
_parent.gotoAndStop("PasLa");
Instance of Symbol 574 MovieClip in Symbol 2101 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2101 MovieClip Frame 15
if (getProperty("_root.AgpTuile", _currentframe) > 1) {
_parent._parent.T.gotoAndStop("Fear");
} else {
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 3);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 1);
Set("/Vars:FinMove", "Agp");
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMonte3");
Set("/Vars:PeurDestX", 77.3);
Set("/Vars:PeurDestY", 302.8);
}
Symbol 2101 MovieClip Frame 24
_parent.gotoAndStop("Wait");
Symbol 2102 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2102 MovieClip Frame 1
/* no clip actions */
Symbol 2102 MovieClip Frame 7
stop();
Symbol 2102 MovieClip Frame 13
stop();
Instance of Symbol 2041 MovieClip "Obj" in Symbol 2102 MovieClip Frame 13
onClipEvent (load) {
if (/Vars:FrMMObj > 1) {
FrTemp = /Vars:FrMMObj;
Set("/Vars:FrMMObj", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Symbol 2102 MovieClip Frame 19
stop();
Instance of Symbol 2047 MovieClip "Obj" in Symbol 2102 MovieClip Frame 19
onClipEvent (load) {
if (/Vars:FrMMObj > 1) {
FrTemp = /Vars:FrMMObj;
Set("/Vars:FrMMObj", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Symbol 2102 MovieClip Frame 25
stop();
Instance of Symbol 2101 MovieClip "Obj" in Symbol 2102 MovieClip Frame 25
onClipEvent (load) {
if (/Vars:FrMMObj > 1) {
FrTemp = /Vars:FrMMObj;
Set("/Vars:FrMMObj", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Symbol 2103 MovieClip Frame 1
Set("/Vars:MMAct", true);
Instance of Symbol 574 MovieClip in Symbol 2103 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2103 MovieClip Frame 46
if (getProperty(_parent, _name) eq "MM2") {
Set("/Vars:MMTuile", 18);
_parent._parent.MM3.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM3") {
Set("/Vars:MMTuile", 25);
_parent._parent.MM4.gotoAndStop("Wait");
}
if (getProperty(_parent, _name) eq "MM5") {
Set("/Vars:MMTuile", 31);
_parent._parent.MM6.gotoAndStop("Wait");
}
Set("/Vars:MMAct", false);
nextFrame();
Symbol 2103 MovieClip Frame 47
_parent.gotoAndStop("PasLa");
Symbol 2104 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2104 MovieClip Frame 1
/* no clip actions */
Symbol 2104 MovieClip Frame 7
stop();
Symbol 2104 MovieClip Frame 13
stop();
Instance of Symbol 2041 MovieClip "Obj" in Symbol 2104 MovieClip Frame 13
onClipEvent (load) {
if (/Vars:FrMMObj > 1) {
FrTemp = /Vars:FrMMObj;
Set("/Vars:FrMMObj", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Symbol 2104 MovieClip Frame 19
stop();
Instance of Symbol 2103 MovieClip "Obj" in Symbol 2104 MovieClip Frame 19
onClipEvent (load) {
if (/Vars:FrMMObj > 1) {
FrTemp = /Vars:FrMMObj;
Set("/Vars:FrMMObj", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Symbol 2104 MovieClip Frame 25
stop();
Instance of Symbol 2101 MovieClip "Obj" in Symbol 2104 MovieClip Frame 25
onClipEvent (load) {
if (/Vars:FrMMObj > 1) {
FrTemp = /Vars:FrMMObj;
Set("/Vars:FrMMObj", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Symbol 2110 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2110 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2110 MovieClip Frame 16
stop();
Instance of Symbol 574 MovieClip in Symbol 2119 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 1
if (/Vars:FrT > 1) {
gotoAndStop(/Vars:FrT);
} else {
Set("/Vars:EtatTuile", "Wait");
}
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 7
Set("/Vars:EtatTuile", "Arret");
stop();
Symbol 2132 MovieClip Frame 8
Set("/Vars:EtatTuile", "Wait");
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 8
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 11
if (/Vars:MMTuile == 12) {
if (((((getProperty(_parent, _currentframe) < 6) or ((getProperty(_parent, _currentframe) > 7) and (getProperty(_parent, _currentframe) < 12))) or ((getProperty(_parent, _currentframe) > 14) and (getProperty(_parent, _currentframe) < 20))) or ((getProperty(_parent, _currentframe) > 21) and (getProperty(_parent, _currentframe) < 26))) or ((getProperty(_parent, _currentframe) > 29) and (getProperty(_parent, _currentframe) < 33))) {
_parent.MM1.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 11) {
if (((((getProperty(_parent, _currentframe) < 5) or ((getProperty(_parent, _currentframe) > 7) and (getProperty(_parent, _currentframe) < 11))) or ((getProperty(_parent, _currentframe) > 14) and (getProperty(_parent, _currentframe) < 19))) or ((getProperty(_parent, _currentframe) > 21) and (getProperty(_parent, _currentframe) < 25))) or ((getProperty(_parent, _currentframe) > 29) and (getProperty(_parent, _currentframe) < 32))) {
_parent.MM2.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 18) {
if (((((getProperty(_parent, _currentframe) < 4) or ((getProperty(_parent, _currentframe) > 7) and (getProperty(_parent, _currentframe) < 12))) or ((getProperty(_parent, _currentframe) > 14) and (getProperty(_parent, _currentframe) < 18))) or ((getProperty(_parent, _currentframe) > 21) and (getProperty(_parent, _currentframe) < 26))) or ((getProperty(_parent, _currentframe) > 29) and (getProperty(_parent, _currentframe) < 32))) {
_parent.MM3.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 25) {
if (((((getProperty(_parent, _currentframe) < 4) or ((getProperty(_parent, _currentframe) > 7) and (getProperty(_parent, _currentframe) < 11))) or ((getProperty(_parent, _currentframe) > 14) and (getProperty(_parent, _currentframe) < 19))) or ((getProperty(_parent, _currentframe) > 21) and (getProperty(_parent, _currentframe) < 25))) or ((getProperty(_parent, _currentframe) > 29) and (getProperty(_parent, _currentframe) < 33))) {
_parent.MM4.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 24) {
if (((((getProperty(_parent, _currentframe) < 3) or ((getProperty(_parent, _currentframe) > 7) and (getProperty(_parent, _currentframe) < 10))) or ((getProperty(_parent, _currentframe) > 14) and (getProperty(_parent, _currentframe) < 18))) or ((getProperty(_parent, _currentframe) > 21) and (getProperty(_parent, _currentframe) < 24))) or ((getProperty(_parent, _currentframe) > 29) and (getProperty(_parent, _currentframe) < 32))) {
_parent.MM5.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 31) {
if (((((getProperty(_parent, _currentframe) > 7) and (getProperty(_parent, _currentframe) < 10)) or ((getProperty(_parent, _currentframe) > 14) and (getProperty(_parent, _currentframe) < 17))) or ((getProperty(_parent, _currentframe) > 21) and (getProperty(_parent, _currentframe) < 25))) or (getProperty(_parent, _currentframe) == 30)) {
_parent.MM6.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 30) {
if ((((getProperty(_parent, _currentframe) == 8) or (getProperty(_parent, _currentframe) == 15)) or (getProperty(_parent, _currentframe) == 22)) or (getProperty(_parent, _currentframe) == 23)) {
_parent.MM7.gotoAndStop("Fear");
stop();
}
} else if (/Vars:MMTuile == 29) {
if (getProperty(_parent, _currentframe) == 22) {
_parent.MM8.gotoAndStop("Fear");
stop();
}
} else {
nextFrame();
}
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 12
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 23
Set("/Vars:EtatTuile", "Sorti");
stop();
Symbol 2132 MovieClip Frame 24
Set("/Vars:EtatTuile", "Wait");
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 24
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 29
_parent.Liane.gotoAndStop(2);
Symbol 2132 MovieClip Frame 43
_root.Fonct.AddInv(9, "InvLiane");
_root.Voix.gotoAndPlay("GetLiana");
Symbol 2132 MovieClip Frame 44
Set("/Vars:EtatTuile", "Sorti");
stop();
Symbol 2132 MovieClip Frame 45
Set("/Vars:EtatTuile", "Wait");
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 45
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 47
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 50
_parent.BrasFeu.gotoAndStop(2);
Symbol 2132 MovieClip Frame 73
_parent[/Vars:MMActif].gotoAndStop(/Vars:MMSens);
Symbol 2132 MovieClip Frame 81
Set("/Vars:EtatTuile", "Wait");
Symbol 2132 MovieClip Frame 86
gotoAndStop (7);
Symbol 2132 MovieClip Frame 87
Set("/Vars:EtatTuile", "Wait");
Instance of Symbol 574 MovieClip in Symbol 2132 MovieClip Frame 87
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2132 MovieClip Frame 94
Set("/Vars:Fear", /Vars:Fear + 20);
Symbol 2132 MovieClip Frame 112
_root.AgpSortTuile.gotoAndStop(2);
_parent.gotoAndStop(1);
Symbol 2135 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2135 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2136 MovieClip Frame 1
stop();
Instance of Symbol 2102 MovieClip "MM6" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 31) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2102 MovieClip "MM7" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 30) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2102 MovieClip "MM8" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 29) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2102 MovieClip "MM4" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 25) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2102 MovieClip "MM5" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 24) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2102 MovieClip "MM3" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 18) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2102 MovieClip "MM1" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 12) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2104 MovieClip "MM2" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
if (/Vars:MMTuile == 11) {
this.gotoAndStop(/Vars:FrMM);
}
}
Instance of Symbol 2110 MovieClip "Liane" in Symbol 2136 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(/Vars:FrLiane);
}
Symbol 2136 MovieClip Frame 2
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 2
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(9);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(3);
}
}
}
}
Symbol 2136 MovieClip Frame 3
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 3
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(10);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(4);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(2);
}
}
}
}
Symbol 2136 MovieClip Frame 4
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 4
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 4
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(11);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(5);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(3);
}
}
}
}
Symbol 2136 MovieClip Frame 5
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 5
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 5
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(12);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(6);
} else if (Key.isDown(40)) {
_root.AgpSortTuile.gotoAndStop(2);
_parent.gotoAndStop(1);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(4);
}
}
}
}
Symbol 2136 MovieClip Frame 6
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 6
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 6
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(13);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(5);
}
}
}
}
Symbol 2136 MovieClip Frame 7
stop();
Symbol 2136 MovieClip Frame 8
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 8
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 8
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(15);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(9);
}
}
}
}
Symbol 2136 MovieClip Frame 9
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 9
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(16);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(10);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(2);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(8);
}
}
}
}
Symbol 2136 MovieClip Frame 10
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 10
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 10
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(17);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(11);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(3);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(9);
}
}
}
}
Symbol 2136 MovieClip Frame 11
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 11
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 11
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(18);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(12);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(4);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(10);
}
}
}
}
Symbol 2136 MovieClip Frame 12
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 12
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 2135 MovieClip "BrasFeu" in Symbol 2136 MovieClip Frame 12
onClipEvent (load) {
if (/Vars:FrBrasFeu > 1) {
FrTempo = /Vars:FrBrasFeu;
Set("/Vars:FrBrasFeu", 1);
this.gotoAndStop(FrTempo);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 12
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 11) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM2", _currentframe) == 7)) {
Set("/Vars:MMSens", "Cote");
Set("/Vars:MMActif", "MM2");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(19);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(13);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(5);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(11);
}
}
}
}
}
Symbol 2136 MovieClip Frame 13
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 13
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 13
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 12) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM1", _currentframe) == 7)) {
Set("/Vars:MMSens", "Face");
Set("/Vars:MMActif", "MM1");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(20);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(14);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(6);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(12);
}
}
}
}
}
Symbol 2136 MovieClip Frame 14
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 14
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 14
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(21);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(13);
}
}
}
}
Symbol 2136 MovieClip Frame 15
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 15
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(22);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(16);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(8);
}
}
}
}
Symbol 2136 MovieClip Frame 16
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 16
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(23);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(17);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(9);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(15);
}
}
}
}
Symbol 2136 MovieClip Frame 17
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 17
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 17
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(24);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(18);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(10);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(16);
}
}
}
}
Symbol 2136 MovieClip Frame 18
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 18
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 18
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(25);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(19);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(11);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(17);
}
}
}
}
Symbol 2136 MovieClip Frame 19
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 19
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 2135 MovieClip "BrasFeu" in Symbol 2136 MovieClip Frame 19
onClipEvent (load) {
if (/Vars:FrBrasFeu > 1) {
FrTempo = /Vars:FrBrasFeu;
Set("/Vars:FrBrasFeu", 1);
this.gotoAndStop(FrTempo);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 19
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 18) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM3", _currentframe) == 7)) {
Set("/Vars:MMSens", "Cote");
Set("/Vars:MMActif", "MM3");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(26);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(20);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(12);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(18);
}
}
}
}
}
Symbol 2136 MovieClip Frame 20
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 20
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 20
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(39)) {
_parent.gotoAndStop(21);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(13);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(19);
}
}
}
}
Symbol 2136 MovieClip Frame 21
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 21
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 21
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(40)) {
_parent.gotoAndStop(14);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(20);
}
}
}
}
Symbol 2136 MovieClip Frame 22
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 22
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 22
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(39)) {
_parent.gotoAndStop(23);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(15);
}
}
}
}
Symbol 2136 MovieClip Frame 23
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 23
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 23
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(30);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(24);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(16);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(22);
}
}
}
}
Symbol 2136 MovieClip Frame 24
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 24
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 24
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(31);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(25);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(17);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(23);
}
}
}
}
Symbol 2136 MovieClip Frame 25
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 25
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 2135 MovieClip "BrasFeu" in Symbol 2136 MovieClip Frame 25
onClipEvent (load) {
if (/Vars:FrBrasFeu > 1) {
FrTempo = /Vars:FrBrasFeu;
Set("/Vars:FrBrasFeu", 1);
this.gotoAndStop(FrTempo);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 24) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM5", _currentframe) == 7)) {
Set("/Vars:MMSens", "Cote");
Set("/Vars:MMActif", "MM5");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(32);
} else if (Key.isDown(39)) {
_parent.gotoAndStop(26);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(18);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(24);
}
}
}
}
}
Symbol 2136 MovieClip Frame 26
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 26
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 26
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 25) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM4", _currentframe) == 7)) {
Set("/Vars:MMSens", "Face");
Set("/Vars:MMActif", "MM4");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(38)) {
_parent.gotoAndStop(33);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(19);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(25);
}
}
}
}
}
Symbol 2136 MovieClip Frame 27
stop();
Symbol 2136 MovieClip Frame 28
stop();
Symbol 2136 MovieClip Frame 29
stop();
Symbol 2136 MovieClip Frame 30
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 30
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 30
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
if (/Vars:InvLiane == false) {
_parent.T.gotoAndPlay("Liane");
} else {
_parent.T.gotoAndPlay("Entre");
}
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(39)) {
_parent.gotoAndStop(31);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(23);
}
}
}
}
Symbol 2136 MovieClip Frame 31
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 31
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 2135 MovieClip "BrasFeu" in Symbol 2136 MovieClip Frame 31
onClipEvent (load) {
if (/Vars:FrBrasFeu > 1) {
FrTempo = /Vars:FrBrasFeu;
Set("/Vars:FrBrasFeu", 1);
this.gotoAndStop(FrTempo);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 30) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM7", _currentframe) == 7)) {
Set("/Vars:MMSens", "Face");
Set("/Vars:MMActif", "MM7");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(39)) {
_parent.gotoAndStop(32);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(24);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(30);
}
}
}
}
}
Symbol 2136 MovieClip Frame 32
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 32
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 32
onClipEvent (enterFrame) {
if (/Vars:MMAct == false) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (((/Vars:MMTuile == 31) and (/Vars:EtatTuile eq "Sorti")) and (getProperty("_parent.MM6", _currentframe) == 7)) {
Set("/Vars:MMSens", "Face");
Set("/Vars:MMActif", "MM6");
_parent.T.gotoAndPlay("Brule");
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(39)) {
_parent.gotoAndStop(33);
} else if (Key.isDown(40)) {
_parent.gotoAndStop(26);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(31);
}
}
}
}
}
Symbol 2136 MovieClip Frame 33
stop();
Instance of Symbol 2132 MovieClip "T" in Symbol 2136 MovieClip Frame 33
onClipEvent (load) {
if (/Vars:FrT > 1) {
FrTemp = /Vars:FrT;
Set("/Vars:FrT", 1);
this.gotoAndStop(FrTemp);
} else {
this.gotoAndPlay(1);
}
}
Instance of Symbol 574 MovieClip in Symbol 2136 MovieClip Frame 33
onClipEvent (enterFrame) {
if (/Vars:EtatTuile ne "Wait") {
if (Key.isDown(32)) {
if (/Vars:MMTuile == getProperty("_parent", _currentframe)) {
_parent.T.gotoAndPlay(1);
} else if (/Vars:EtatTuile eq "Arret") {
_parent.T.gotoAndPlay("Sort");
} else if (/Vars:EtatTuile eq "Sorti") {
_parent.T.gotoAndPlay("Entre");
}
} else if (/Vars:EtatTuile ne "Sorti") {
if (Key.isDown(40)) {
_parent.gotoAndStop(26);
} else if (Key.isDown(37)) {
_parent.gotoAndStop(32);
}
}
}
}
Symbol 2160 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2160 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2160 MovieClip Frame 5
if ((/Voix:Parle == false) and (/Voix:Tuile == false)) {
Set("/Voix:Parle", true);
Set("/Voix:Tuile", true);
_root.Voix.gotoAndPlay("Tuile");
}
Symbol 2160 MovieClip Frame 6
stop();
Symbol 2164 MovieClip Frame 1
stop();
Symbol 2164 MovieClip Frame 2
stop();
Symbol 2167 MovieClip Frame 1
if (/Vars:Tab4Door == true) {
nextFrame();
} else {
stop();
}
Symbol 2172 MovieClip Frame 1
if (/Vars:InvBeigne == true) {
nextFrame();
} else {
stop();
}
Symbol 2175 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2175 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 2175 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2175 MovieClip Frame 21
_root.Tab3Porte2.gotoAndStop(2);
Symbol 2175 MovieClip Frame 25
Set("/Vars:NezBas", true);
_root.Fonct.FinAgp();
Symbol 2175 MovieClip Frame 26
stop();
Symbol 2176 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2176 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 2176 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2176 MovieClip Frame 13
Set("/Vars:Sorti", "Tab3a");
Symbol 2176 MovieClip Frame 14
Set("/Vars:KeepInv", true);
_root.Fonct.GetFrame();
Set("/Vars:FrLiane", getProperty("_root.AgpTuile.Liane", _currentframe));
if (/Vars:MMTuile == 12) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM1", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM1.Obj", _currentframe));
} else if (/Vars:MMTuile == 11) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM2", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM2.Obj", _currentframe));
} else if (/Vars:MMTuile == 18) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM3", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM3.Obj", _currentframe));
} else if (/Vars:MMTuile == 25) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM4", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM4.Obj", _currentframe));
} else if (/Vars:MMTuile == 24) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM5", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM5.Obj", _currentframe));
} else if (/Vars:MMTuile == 31) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM6", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM6.Obj", _currentframe));
} else if (/Vars:MMTuile == 30) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM7", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM7.Obj", _currentframe));
} else if (/Vars:MMTuile == 29) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM8", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM8.Obj", _currentframe));
}
Set("/Vars:FrAgpMonte3", 1);
_root.gotoAndPlay("ExitTab3");
stop();
Symbol 2179 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2179 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 2179 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2179 MovieClip Frame 4
_root.Ss._x = 444.1;
_root.Ss._y = 352;
Set("/Vars:DirSs", 1);
_root.Ss.gotoAndStop(1);
Symbol 2179 MovieClip Frame 5
_root.Fonct.FinAgp();
Symbol 2179 MovieClip Frame 17
stop();
Symbol 2182 MovieClip Frame 1
if (/Vars:InvBeigne == true) {
nextFrame();
} else {
stop();
}
Symbol 2184 MovieClip Frame 1
if (/Vars:Tab3Etage == 2) {
nextFrame();
} else {
stop();
}
Symbol 2185 Button
on (keyPress "<Down>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Bas == false) {
if (Key.isDown(Key.Down)) {
Set("/Vars:Bas", true);
}
}
}
}
on (keyPress "<Up>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Haut == false) {
if (Key.isDown(Key.Up)) {
Set("/Vars:Haut", true);
}
}
}
}
on (keyPress "<Left>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Gauche == false) {
if (Key.isDown(Key.Left)) {
Set("/Vars:Gauche", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray - 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if (/Vars:PtInvArray > 0) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", /Vars:InvArray.length - 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "<Right>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Droite == false) {
if (Key.isDown(Key.Right)) {
Set("/Vars:Droite", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "s") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
Set("/Vars:FrLiane", getProperty("_root.AgpTuile.Liane", _currentframe));
if (getProperty("_root.AgpTuile", _currentframe) != 1) {
Set("/Vars:FrT", getProperty("_root.AgpTuile.T", _currentframe));
}
if (getProperty("_root.AgpTuile.BrasFeu", _currentframe) > 1) {
Set("/Vars:FrBrasFeu", getProperty("_root.AgpTuile.BrasFeu", _currentframe));
} else {
Set("/Vars:FrBrasFeu", 1);
}
if (/Vars:MMTuile == 12) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM1", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM1.Obj", _currentframe));
} else if (/Vars:MMTuile == 11) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM2", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM2.Obj", _currentframe));
} else if (/Vars:MMTuile == 18) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM3", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM3.Obj", _currentframe));
} else if (/Vars:MMTuile == 25) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM4", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM4.Obj", _currentframe));
} else if (/Vars:MMTuile == 24) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM5", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM5.Obj", _currentframe));
} else if (/Vars:MMTuile == 31) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM6", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM6.Obj", _currentframe));
} else if (/Vars:MMTuile == 30) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM7", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM7.Obj", _currentframe));
} else if (/Vars:MMTuile == 29) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM8", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM8.Obj", _currentframe));
}
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "S") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
Set("/Vars:FrLiane", getProperty("_root.AgpTuile.Liane", _currentframe));
if (getProperty("_root.AgpTuile", _currentframe) != 1) {
Set("/Vars:FrT", getProperty("_root.AgpTuile.T", _currentframe));
}
if (getProperty("_root.AgpTuile.BrasFeu", _currentframe) > 1) {
Set("/Vars:FrBrasFeu", getProperty("_root.AgpTuile.BrasFeu", _currentframe));
} else {
Set("/Vars:FrBrasFeu", 1);
}
if (/Vars:MMTuile == 12) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM1", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM1.Obj", _currentframe));
} else if (/Vars:MMTuile == 11) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM2", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM2.Obj", _currentframe));
} else if (/Vars:MMTuile == 18) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM3", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM3.Obj", _currentframe));
} else if (/Vars:MMTuile == 25) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM4", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM4.Obj", _currentframe));
} else if (/Vars:MMTuile == 24) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM5", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM5.Obj", _currentframe));
} else if (/Vars:MMTuile == 31) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM6", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM6.Obj", _currentframe));
} else if (/Vars:MMTuile == 30) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM7", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM7.Obj", _currentframe));
} else if (/Vars:MMTuile == 29) {
Set("/Vars:FrMM", getProperty("_root.AgpTuile.MM8", _currentframe));
Set("/Vars:FrMMObj", getProperty("_root.AgpTuile.MM8.Obj", _currentframe));
}
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "l") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
if (ObjSave.data.Valeurs.Tableau eq "Tab2") {
Set("/:Loading", true);
}
delete ObjSave;
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("Load");
} else {
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("NoSave");
delete ObjSave;
}
}
}
}
on (keyPress "L") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
ObjSave = SharedObject.getLocal("ScoobEpi8");
if (ObjSave.data.Valeurs != null) {
delete ObjSave;
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("Load");
} else {
Set("/Vars:Pause", true);
_root.SaveLoad.gotoAndPlay("NoSave");
delete ObjSave;
}
}
}
}
on (keyPress "t") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) and (/Vars:LostControl == false)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 0);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "T") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) and (/Vars:LostControl == false)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 0);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
tellTarget (_root.Interface.Inv.ObjSelect) {
gotoAndStop(/Vars:InvArray.charAt(/Vars:PtInvArray));
};
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "i") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:InvOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.Inv.gotoAndStop("Open");
} else if ((/Vars:InvOuvert == true) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:InvOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.Inv.gotoAndStop("Close");
}
}
on (keyPress "I") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:InvOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.Inv.gotoAndStop("Open");
} else if ((/Vars:InvOuvert == true) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:InvOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.Inv.gotoAndStop("Close");
}
}
on (keyPress "p") {
if ((/:Challenge == false) and (getProperty("_root.SaveLoad", _currentframe) == 1)) {
if (((/Vars:InvOuvert == false) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
if (/Vars:Pause == false) {
_root.Mus.VolDest = 10;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
_root.Pause.gotoAndPlay(2);
} else {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
_root.Pause.play();
}
}
}
}
on (keyPress "P") {
if ((/:Challenge == false) and (getProperty("_root.SaveLoad", _currentframe) == 1)) {
if (((/Vars:InvOuvert == false) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
if (/Vars:Pause == false) {
_root.Mus.VolDest = 10;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
_root.Pause.gotoAndPlay(2);
} else {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
_root.Pause.play();
}
}
}
}
on (keyPress "h") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:HelpOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.gotoAndStop("Help");
} else if ((/Vars:HelpOuvert == true) and (/Vars:InvOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:HelpOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.gotoAndStop(1);
}
}
on (keyPress "H") {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
_root.Mus.VolDest = 20;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", true);
Set("/Vars:HelpOuvert", true);
_root.HitI.gotoAndStop("Open");
_root.Interface.gotoAndStop("Help");
} else if ((/Vars:HelpOuvert == true) and (/Vars:InvOuvert == false)) {
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
Set("/Vars:HelpOuvert", false);
_root.HitI.gotoAndStop("Close");
_root.Interface.gotoAndStop(1);
}
}
Symbol 2193 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2193 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2193 MovieClip Frame 30
stop();
Symbol 2205 MovieClip Frame 1
if (/Vars:InvShield2 == true) {
nextFrame();
} else {
stop();
}
Instance of Symbol 574 MovieClip in Symbol 2238 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2241 MovieClip Frame 1
if (/Vars:InvTorche == true) {
nextFrame();
} else {
stop();
}
Symbol 2246 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2246 MovieClip Frame 1
/* no clip actions */
Symbol 2246 MovieClip Frame 44
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
Symbol 2276 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2276 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 2276 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2276 MovieClip Frame 100
Set("/Vars:LianePlace", true);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
_root.Fonct.FinAgp();
Symbol 2276 MovieClip Frame 101
stop();
Symbol 2276 MovieClip Frame 102
stop();
Symbol 2278 MovieClip Frame 1
if (/Vars:MMPasLa == true) {
gotoAndStop (3);
} else if (/Vars:MMTuile == 29) {
nextFrame();
} else {
stop();
}
Instance of Symbol 574 MovieClip in Symbol 2278 MovieClip Frame 1
/* no clip actions */
Symbol 2278 MovieClip Frame 2
stop();
Symbol 2278 MovieClip Frame 3
stop();
Symbol 2316 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2316 MovieClip Frame 1
/* no clip actions */
Symbol 2316 MovieClip Frame 2
_root.AgpFixBeigne.gotoAndStop("Vide");
Set("/Vars:MMPasLa", true);
_root.MMWait.gotoAndStop("Mort");
Instance of Symbol 574 MovieClip in Symbol 2316 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2316 MovieClip Frame 33
Set("/Vars:KeepInv", false);
Set("/Vars:MoveAuto", false);
Set("/Vars:Sorti", "Tab2b");
_root.gotoAndStop("CloseTab4");
stop();
Symbol 2347 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2347 MovieClip Frame 1
/* no clip actions */
Symbol 2347 MovieClip Frame 2
_root.AgpLanceLiane.gotoAndStop("Vide");
Instance of Symbol 574 MovieClip in Symbol 2347 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2347 MovieClip Frame 113
Set("/Vars:BeigneFix", true);
_root.Collider.CacheBeigne.gotoAndStop(1);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
_root.Fonct.FinAgp();
Symbol 2347 MovieClip Frame 114
stop();
Symbol 2347 MovieClip Frame 115
stop();
Symbol 2359 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2359 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 2359 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2359 MovieClip Frame 78
Set("/Vars:Tab4Door", true);
_root.Tab4Door.gotoAndStop(2);
Symbol 2359 MovieClip Frame 99
_root.Fonct.FinAgp();
Symbol 2359 MovieClip Frame 100
stop();
Symbol 2361 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 2361 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 574 MovieClip in Symbol 2361 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2361 MovieClip Frame 14
Set("/Vars:Sorti", "Tab4a");
Set("/Vars:KeepInv", true);
_root.Fonct.GetFrame();
Set("/Vars:FrAgpMarche4", 1);
if ((/Vars:BeigneFix == true) and (/Vars:MMEntre == false)) {
Set("/Vars:FrMM", 7);
Set("/Vars:MMEntre", true);
Set("/Vars:MMTuile", 24);
}
_root.gotoAndPlay("ExitTab4");
stop();
Symbol 2364 MovieClip Frame 1
if (/Vars:BeigneFix == true) {
stop();
} else {
nextFrame();
}
Symbol 2671 MovieClip Frame 823
tellTarget ("_root") {
gotoAndPlay ("Tab3Set");
};
Symbol 2681 MovieClip Frame 7
stop();