Frame 1
Challenge = false;
_focusrect = false;
ifFrameLoaded (1307) {
gotoAndStop (3);
}
Frame 2
stop();
Instance of Symbol 54 MovieClip "LoadBar" in Frame 2
onClipEvent (load) {
var TotalLoad = 1798650;
}
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 (1198);
Frame 69
if (g_episode_name == null) {
g_episode_name = "scooby_episode_7";
}
Frame 1086
loadVariablesNum (/:TrackingUrl add "?episode=7&stage=1", 0);
Frame 1087
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 1088
Set("/:Challenge", false);
Instance of Symbol 891 MovieClip "Fonct" in Frame 1088
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);
}
};
IniTab2 = function (PosX, PosY, Niveau) {
Set("/Vars:PersActif", "Ss");
Set("/Vars:SsX", PosX);
Set("/Vars:SsY", PosY);
Set("/Vars:EtatSs", "PasLa");
Set("/Vars:EtatSamy", "PasLa");
Set("/Vars:EtatScooby", "PasLa");
Set("/Vars:NiveauScooby", Niveau);
Set("/Vars:NiveauSamy", Niveau);
Set("/Vars:NiveauSs", Niveau);
i = 0;
i = 0;
while (i < _root.Vars:TabAgpNom.length) {
Set("/Vars:" + /Vars:TabAgpNom[i], 1);
i++;
}
Set("/Vars:TabAgpNom", new Array());
Set("/Vars:FinMove", "");
Set("/Vars:Pause", false);
Set("/Vars:LostControl", true);
Set("/Vars:AgpActif", "");
Set("/Vars:Haut", false);
Set("/Vars:Bas", false);
Set("/Vars:Gauche", false);
Set("/Vars:Droite", 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);
};
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++;
}
};
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("ScoobEpi7");
ObjSave.data.Valeurs = _root.Vars;
ObjSave.flush();
delete ObjSave;
};
Load = function () {
ObjSave = SharedObject.getLocal("ScoobEpi7");
_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);
};
MoveFish = function () {
var StartXFish = _root.Fish._x;
var StartYFish = _root.Fish._y;
Set("/Vars:MoveXFish", (/Vars:FDestX - StartXFish) / _root.Vars:NbMoveFish);
Set("/Vars:MoveYFish", (/Vars:FDestY - StartYFish) / _root.Vars:NbMoveFish);
Set("/Vars:MoveXFish", Math.roundTo(/Vars:MoveXFish, 2));
Set("/Vars:MoveYFish", Math.roundTo(/Vars:MoveYFish, 2));
};
}
Instance of Symbol 891 MovieClip "Temp" in Frame 1089
onClipEvent (load) {
TempStart = getTimer();
}
Instance of Symbol 896 MovieClip "Mus" in Frame 1089
onClipEvent (load) {
Mus = new Sound(this);
this.Fade = 10;
this.VolDest = 0;
}
Instance of Symbol 914 MovieClip "Voix" in Frame 1089
onClipEvent (load) {
Parle = false;
Bouton = false;
Bouton2 = false;
BigDoor = false;
Roche = false;
DoorEnd = false;
}
Instance of Symbol 891 MovieClip "IniVar" in Frame 1089
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.InvPelle = false;
this.InvBar = false;
this.Tab1Etage = 1;
this.Stair1Bas = false;
this.Tab1Lever1 = false;
this.Tab1Bouche = false;
this.BeigneRoule = false;
this.Tab2Etage = 1;
this.Tab2Lever1 = false;
this.Tab2Lever2 = false;
this.Tab2Porte1 = false;
this.Tab2Porte2 = false;
this.Tab2Porte3 = false;
this.Tab3Etage = 1;
this.Tab3Lever1 = false;
this.Tab3Lever2 = false;
this.Tab3Lever3 = false;
this.UsePelle = false;
this.PosBloc1 = 1;
this.Tab4Etage = 1;
this.PosBloc2 = 1;
this.PlaqueBas = false;
this.Tab4Lever1 = false;
this.MenPart1 = false;
this.MenPart2 = false;
this.MenPart3 = false;
this.MenPart4 = false;
this.MenPart5 = false;
this.MenPart6 = false;
this.MenPart7 = false;
this.Tab4Porte = false;
this.Arret = true;
this.PersZone1 = false;
this.PersZone2 = false;
this.PersZone3 = false;
this.PersZone4 = false;
this.PersZone5 = false;
this.PersZone6 = false;
this.Restart = false;
this.PosSs = 10;
this.FrTab5 = 1;
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 891 MovieClip "Txt" in Frame 1089
onClipEvent (load) {
this.NomItem = new Array("Shovel", "Crowbar");
}
Instance of Symbol 980 MovieClip "Interface" in Frame 1091
onClipEvent (load) {
this.swapDepths(500000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 984 MovieClip "Pause" in Frame 1091
onClipEvent (load) {
this.swapDepths(500100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1018 MovieClip "SaveLoad" in Frame 1091
onClipEvent (load) {
this.swapDepths(1000000);
_root.Vars:ObjRemove.push(this._name);
}
Frame 1093
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(166, 350, 7, 400);
} else if (/Vars:Sorti eq "Tab2C") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab1Etage", 2);
_root.Fonct.IniTab(126, 386, 5, 1100);
} else if (/Vars:Sorti eq "Tab2H") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab1Etage", 1);
_root.Fonct.IniTab(456, 388, 7, 400);
} else if (/Vars:Sorti eq "Tab4G") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab1Etage", 2);
_root.Fonct.IniTab(586, 201, 5, 900);
}
Frame 1094
Set("/Vars:Tableau", "Tab1");
_root.Fonct.SetMoves(40);
Instance of Symbol 1039 MovieClip "Mur1" in Frame 1094
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1041 MovieClip "Mur4" in Frame 1094
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1043 MovieClip "Mur3" in Frame 1094
onClipEvent (load) {
this.swapDepths(500);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1045 MovieClip "Mur2" in Frame 1094
onClipEvent (load) {
this.swapDepths(501);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1047 MovieClip "Mur5" in Frame 1094
onClipEvent (load) {
this.swapDepths(502);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1049 MovieClip "Pont" in Frame 1094
onClipEvent (load) {
this.swapDepths(503);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1051 MovieClip "Porte1" in Frame 1094
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1053 MovieClip "Porte2" in Frame 1094
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1055 MovieClip "Mur13" in Frame 1094
onClipEvent (load) {
this.swapDepths(601);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1057 MovieClip "Mur12" in Frame 1094
onClipEvent (load) {
this.swapDepths(1001);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1059 MovieClip "Mur9" in Frame 1094
onClipEvent (load) {
this.swapDepths(900);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1061 MovieClip "Mur10" in Frame 1094
onClipEvent (load) {
this.swapDepths(703);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1063 MovieClip "Mur11" in Frame 1094
onClipEvent (load) {
this.swapDepths(901);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1065 MovieClip "Mur7" in Frame 1094
onClipEvent (load) {
this.swapDepths(600);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1067 MovieClip "Porte5" in Frame 1094
onClipEvent (load) {
this.swapDepths(800);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1069 MovieClip "Porte3" in Frame 1094
onClipEvent (load) {
this.swapDepths(1000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1071 MovieClip "Mur8" in Frame 1094
onClipEvent (load) {
this.swapDepths(700);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1073 MovieClip "Porte4" in Frame 1094
onClipEvent (load) {
this.swapDepths(702);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1116 MovieClip "AgpBuis2" in Frame 1094
onClipEvent (load) {
this.swapDepths(705);
_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 1124 MovieClip "BoucheDown" in Frame 1094
onClipEvent (load) {
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else if (/Vars:Tab1Bouche == true) {
this.gotoAndStop("Open");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1132 MovieClip "BoucheUp" in Frame 1094
onClipEvent (load) {
this.swapDepths(602);
_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 if (/Vars:Tab1Bouche == true) {
this.gotoAndStop("Open");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1181 MovieClip "MMDoor2" in Frame 1094
onClipEvent (load) {
this.swapDepths(303);
_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 1182 MovieClip "MMDoor1" in Frame 1094
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 1187 MovieClip "EscalierHaut" in Frame 1094
onClipEvent (load) {
this.swapDepths(904);
_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 if (/Vars:Stair1Bas == true) {
this.gotoAndStop("Bas");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1325 MovieClip "AgpBeigne" in Frame 1094
onClipEvent (load) {
this.swapDepths(801);
_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 if (/Vars:BeigneRoule == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1361 MovieClip "Tab1AgpLever1" in Frame 1094
onClipEvent (load) {
this.swapDepths(1002);
_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 if (/Vars:Tab1Bouche == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1476 MovieClip "Tab1SortA" in Frame 1094
onClipEvent (load) {
this.swapDepths(10);
_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 1478 MovieClip "Tab1SortD" in Frame 1094
onClipEvent (load) {
this.swapDepths(701);
_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 1480 MovieClip "Tab1SortB" in Frame 1094
onClipEvent (load) {
this.swapDepths(902);
_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 1482 MovieClip "Tab1SortC" in Frame 1094
onClipEvent (load) {
this.swapDepths(704);
_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 1484 MovieClip "Tab1SortE" in Frame 1094
onClipEvent (load) {
this.swapDepths(210);
_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 1621 MovieClip "AgpMarche1" in Frame 1094
onClipEvent (load) {
this.swapDepths(903);
_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 1622 MovieClip "AgpMarche2" in Frame 1094
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 1630 MovieClip "EscalierBas" in Frame 1094
onClipEvent (load) {
this.swapDepths(301);
_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 if (/Vars:Stair1Bas == true) {
this.gotoAndStop("Bas");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1631 MovieClip "Tab1SortG" in Frame 1094
onClipEvent (load) {
this.swapDepths(504);
_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 2103 MovieClip "Ss" in Frame 1094
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 2109 MovieClip "Samy" in Frame 1094
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 2115 MovieClip "Scooby" in Frame 1094
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 1095
stop();
Instance of Symbol 2127 MovieClip "Collider" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 891 MovieClip in Frame 1095
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 2130 MovieClip "Control" in Frame 1095
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 if (_root.Hito3.hitTest(XPers, YPers, true)) {
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);
}
} else {
setProperty("_root.Mur12", _visible , 1);
if (_root.Hito6.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 600);
} else if (_root.Hito7.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 700);
} else if (_root.Hito8.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 800);
} else if (_root.Hito9.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 900);
} else if (_root.Hito10.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 1000);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 1100);
}
}
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.HitSortB.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1SortB");
Set("/Vars:DestX", 218.3);
Set("/Vars:DestY", 263.6);
Set("/Vars:FinAgpX", 44);
Set("/Vars:FinAgpY", 354.3);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortD.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1SortD");
Set("/Vars:DestX", 42);
Set("/Vars:DestY", 137);
Set("/Vars:FinAgpX", 203.7);
Set("/Vars:FinAgpY", 170.1);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitMarche2Bas.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Stair1Bas == true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMarche2");
Set("/Vars:DestX", 550.6);
Set("/Vars:DestY", 298.9);
Set("/Vars:FinAgpX", 483.5);
Set("/Vars:FinAgpY", 198.8);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortH.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab1H");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab1");
}
if (((_root.HitDoor1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor1", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor1.gotoAndStop(2);
}
if (((_root.HitDoor2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor2", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor2.gotoAndStop(2);
}
} else {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitSortE.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1SortE");
Set("/Vars:DestX", -8);
Set("/Vars:DestY", 313);
Set("/Vars:FinAgpX", 158.4);
Set("/Vars:FinAgpY", 291.4);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortA.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1SortA");
Set("/Vars:DestX", 258);
Set("/Vars:DestY", 153);
Set("/Vars:FinAgpX", 90);
Set("/Vars:FinAgpY", 172.7);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortG.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1SortG");
Set("/Vars:DestX", 482);
Set("/Vars:DestY", 113);
Set("/Vars:FinAgpX", 295.3);
Set("/Vars:FinAgpY", 84.8);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitLever1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab1Lever1 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1AgpLever1");
Set("/Vars:DestX", 347.6);
Set("/Vars:DestY", 371.2);
Set("/Vars:FinAgpX", 347.6);
Set("/Vars:FinAgpY", 371.2);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitMarche1Bas.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMarche1");
Set("/Vars:DestX", 278.3);
Set("/Vars:DestY", 264.9);
Set("/Vars:FinAgpX", 345.4);
Set("/Vars:FinAgpY", 164.8);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitMarche1Haut.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 16);
Set("/Vars:AgpActif", "AgpMarche1");
Set("/Vars:DestX", 337.1);
Set("/Vars:DestY", 161.2);
Set("/Vars:FinAgpX", 268.6);
Set("/Vars:FinAgpY", 260.8);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitMarche2Haut.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Stair1Bas == true)) {
Set("/Vars:StartPlay", 16);
Set("/Vars:AgpActif", "AgpMarche2");
Set("/Vars:DestX", 486.4);
Set("/Vars:DestY", 202.3);
Set("/Vars:FinAgpX", 545.8);
Set("/Vars:FinAgpY", 299.1);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBeigne.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:BeigneRoule == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpBeigne");
Set("/Vars:DestX", 499.9);
Set("/Vars:DestY", 173.2);
Set("/Vars:FinAgpX", 499.9);
Set("/Vars:FinAgpY", 173.2);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (((_root.HitBouton.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:BeigneRoule == false)) and (/Voix:Parle == false)) and (/Voix:Bouton == false)) {
Set("/Voix:Parle", true);
Set("/Voix:Bouton", true);
_root.Voix.gotoAndPlay("Bouton");
}
if (((_root.HitBigDoor.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab1Bouche == false)) and (/Voix:Parle == false)) and (/Voix:BigDoor == false)) {
Set("/Voix:Parle", true);
Set("/Voix:BigDoor", true);
_root.Voix.gotoAndPlay("NotThatWay");
}
if (_root.HitBuis2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis2");
Set("/Vars:DestX", 171.5);
Set("/Vars:DestY", 189.5);
Set("/Vars:FinAgpX", 171.5);
Set("/Vars:FinAgpY", 189.5);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortF.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab1F");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab1");
}
if (_root.HitSortI.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab1I");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab1");
}
if (_root.HitSortC.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab1SortC");
Set("/Vars:DestX", 377);
Set("/Vars:DestY", 36);
Set("/Vars:FinAgpX", 531.1);
Set("/Vars:FinAgpY", 148.7);
Set("/Vars:DirFin", 1);
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 "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 "MM") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndStop ("play");
gotoAndStop ("play");
};
_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 {
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 2132 MovieClip "HitSortB" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortF" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortE" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortD" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortA" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitLever1" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitMarche1Bas" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitMarche1Haut" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortC" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortG" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBeigne" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitMarche2Haut" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitMarche2Bas" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortH" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortI" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis2" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor2" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor1" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBouton" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBigDoor" in Frame 1095
onClipEvent (load) {
_visible = 0;
}
Frame 1096
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 1105
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(92, 359, 1, 800);
} else if (/Vars:Sorti eq "Tab1F") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab2Etage", 2);
_root.Fonct.IniTab(274, 52, 1, 700);
} else if (/Vars:Sorti eq "Tab1H") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab2Etage", 1);
_root.Fonct.IniTab(435, 54, 3, 200);
} else if (/Vars:Sorti eq "Tab3I") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab2Etage", 1);
_root.Fonct.IniTab(574, 102, 3, 300);
} else if (/Vars:Sorti eq "Tab3J") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab2Etage", 1);
_root.Fonct.IniTab(570, 333, 5, 600);
}
Frame 1106
Set("/Vars:Tableau", "Tab2");
_root.Fonct.SetMoves(40);
Instance of Symbol 2155 MovieClip "Mur7" in Frame 1106
onClipEvent (load) {
this.swapDepths(600);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2157 MovieClip "Mur10" in Frame 1106
onClipEvent (load) {
this.swapDepths(1101);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2159 MovieClip "Mur9" in Frame 1106
onClipEvent (load) {
this.swapDepths(1100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2161 MovieClip "Mur1" in Frame 1106
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2163 MovieClip "Mur2" in Frame 1106
onClipEvent (load) {
this.swapDepths(201);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2165 MovieClip "Mur5" in Frame 1106
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2167 MovieClip "Mur4" in Frame 1106
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2169 MovieClip "Mur6" in Frame 1106
onClipEvent (load) {
this.swapDepths(501);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2171 MovieClip "Mur3" in Frame 1106
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2173 MovieClip in Frame 1106
onClipEvent (load) {
this.swapDepths(1000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2175 MovieClip "Mur11" in Frame 1106
onClipEvent (load) {
this.swapDepths(601);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2177 MovieClip "Cube3" in Frame 1106
onClipEvent (load) {
this.swapDepths(1102);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2179 MovieClip "Cube2" in Frame 1106
onClipEvent (load) {
this.swapDepths(800);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2181 MovieClip "Cube1" in Frame 1106
onClipEvent (load) {
this.swapDepths(700);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2182 MovieClip "MMDoor3" in Frame 1106
onClipEvent (load) {
this.swapDepths(202);
_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 2183 MovieClip "MMDoor5" in Frame 1106
onClipEvent (load) {
this.swapDepths(900);
_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 2184 MovieClip "MMDoor4" in Frame 1106
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 2206 MovieClip "AgpPelle" in Frame 1106
onClipEvent (load) {
this.swapDepths(901);
_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 if (/Vars:Tab2Porte3 == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2211 MovieClip "Porte2" in Frame 1106
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 if (/Vars:Tab2Porte2 == true) {
this.gotoAndStop("Open");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2213 MovieClip "Porte3" in Frame 1106
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 if (/Vars:Tab2Lever3 == true) {
this.gotoAndStop("Open");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2215 MovieClip "Porte1" in Frame 1106
onClipEvent (load) {
this.swapDepths(301);
_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 if (/Vars:Tab2Porte1 == true) {
this.gotoAndStop("Open");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2246 MovieClip "AgpBuis4" in Frame 1106
onClipEvent (load) {
this.swapDepths(1104);
_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 2247 MovieClip "AgpBuis3" in Frame 1106
onClipEvent (load) {
this.swapDepths(1103);
_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 2250 MovieClip "Tab2SortA" in Frame 1106
onClipEvent (load) {
this.swapDepths(10);
_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 2251 MovieClip "Tab2SortB" in Frame 1106
onClipEvent (load) {
this.swapDepths(902);
_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 2252 MovieClip "AgpLever1" in Frame 1106
onClipEvent (load) {
this.swapDepths(701);
_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 if (/Vars:Tab2Lever1 == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2253 MovieClip "AgpLever2" in Frame 1106
onClipEvent (load) {
this.swapDepths(801);
_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 if (/Vars:Tab2Lever2 == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2254 MovieClip "AgpRampe" in Frame 1106
onClipEvent (load) {
this.swapDepths(502);
_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 2103 MovieClip "Ss" in Frame 1106
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 2109 MovieClip "Samy" in Frame 1106
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 2115 MovieClip "Scooby" in Frame 1106
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 1107
stop();
Instance of Symbol 2266 MovieClip "Collider" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 891 MovieClip in Frame 1107
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 2130 MovieClip "Control" in Frame 1107
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 if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else if (_root.Hito3.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
} else 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);
}
} else if (_root.Hito7.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 700);
} else if (_root.Hito8.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 800);
} else if (_root.Hito9.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 900);
} else if (_root.Hito10.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 1000);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 1100);
}
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.HitSortB.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab2SortB");
Set("/Vars:DestX", 4);
Set("/Vars:DestY", 89);
Set("/Vars:FinAgpX", 72.8);
Set("/Vars:FinAgpY", 339.1);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitRampeBas.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 15);
Set("/Vars:AgpActif", "AgpRampe");
Set("/Vars:DestX", 28.9);
Set("/Vars:DestY", 166.3);
Set("/Vars:FinAgpX", 92.4);
Set("/Vars:FinAgpY", 201.2);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortH.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) or _root.HitSortH2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab2H");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab2");
}
if (_root.HitSortI.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab2I");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab2");
}
if (_root.HitSortJ.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab2J");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab2");
}
if (((_root.HitDoor3.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor3", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor3.gotoAndStop(2);
}
if (((_root.HitDoor4.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor4", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor4.gotoAndStop(2);
}
} else {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitLever1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab2Lever1 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpLever1");
Set("/Vars:DestX", 310.9);
Set("/Vars:DestY", 44.9);
Set("/Vars:FinAgpX", 310.9);
Set("/Vars:FinAgpY", 44.9);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitLever2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab2Lever2 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpLever2");
Set("/Vars:DestX", 418.4);
Set("/Vars:DestY", 323.8);
Set("/Vars:FinAgpX", 418.4);
Set("/Vars:FinAgpY", 323.8);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortA.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab2SortA");
Set("/Vars:DestX", 18);
Set("/Vars:DestY", 293);
Set("/Vars:FinAgpX", 62);
Set("/Vars:FinAgpY", 139.9);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (((_root.HitBouton2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab2Porte3 == false)) and (/Voix:Parle == false)) and (/Voix:Bouton2 == false)) {
Set("/Voix:Parle", true);
Set("/Voix:Bouton2", true);
_root.Voix.gotoAndPlay("Bouton");
}
if (_root.HitRampeHaut.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpRampe");
Set("/Vars:DestX", 108);
Set("/Vars:DestY", 194.6);
Set("/Vars:FinAgpX", 35.7);
Set("/Vars:FinAgpY", 162.2);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitUsePelle.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 2)) and (/Vars:Tab2Porte3 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpPelle");
Set("/Vars:DestX", 231.9);
Set("/Vars:DestY", 295.5);
Set("/Vars:FinAgpX", 231.9);
Set("/Vars:FinAgpY", 295.5);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBuis3.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis3");
Set("/Vars:DestX", 346);
Set("/Vars:DestY", 374);
Set("/Vars:FinAgpX", 346);
Set("/Vars:FinAgpY", 374);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBuis4.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis4");
Set("/Vars:DestX", 42);
Set("/Vars:DestY", 236);
Set("/Vars:FinAgpX", 42);
Set("/Vars:FinAgpY", 236);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortC.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab2C");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab2");
}
if (((_root.HitDoor5.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor5", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor5.gotoAndStop(2);
}
}
}
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 "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 "MM") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndStop ("play");
gotoAndStop ("play");
};
_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 {
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 2132 MovieClip "HitSortC" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitLever1" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortB" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortA" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitLever2" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortH" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitRampeBas" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitRampeHaut" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortI" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitUsePelle" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortJ" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor3" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor5" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor4" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis3" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis4" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortH2" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBouton2" in Frame 1107
onClipEvent (load) {
_visible = 0;
}
Frame 1108
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
if (/Vars:SortTab == true) {
_root.FermeTab.play();
} else {
_root.gotoAndPlay("Tab3Set");
}
Frame 1117
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(0, 0, 1, 100);
} else if (/Vars:Sorti eq "Tab2I") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 1);
_root.Fonct.IniTab(19, 116, 7, 100);
} else if (/Vars:Sorti eq "Tab2J") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 1);
_root.Fonct.IniTab(20, 312, 1, 500);
} else if (/Vars:Sorti eq "Tab4H") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 2);
_root.Fonct.IniTab(333, 19, 3, 800);
} else if (/Vars:Sorti eq "Tab4I") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab3Etage", 1);
_root.Fonct.IniTab(453, 51, 3, 200);
}
Frame 1118
Set("/Vars:Tableau", "Tab3");
_root.Fonct.SetMoves(40);
Instance of Symbol 2292 MovieClip "Mur6" in Frame 1118
onClipEvent (load) {
this.swapDepths(700);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2294 MovieClip "Mur7" in Frame 1118
onClipEvent (load) {
this.swapDepths(701);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2296 MovieClip "Mur2" in Frame 1118
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2298 MovieClip "Mur1" in Frame 1118
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2300 MovieClip "Mur4" in Frame 1118
onClipEvent (load) {
this.swapDepths(500);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2302 MovieClip "Mur11" in Frame 1118
onClipEvent (load) {
this.swapDepths(1100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2304 MovieClip "Mur5" in Frame 1118
onClipEvent (load) {
this.swapDepths(600);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2306 MovieClip "Mur3" in Frame 1118
onClipEvent (load) {
this.swapDepths(301);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2308 MovieClip "Mur8" in Frame 1118
onClipEvent (load) {
this.swapDepths(800);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2310 MovieClip "Mur10" in Frame 1118
onClipEvent (load) {
this.swapDepths(1000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2312 MovieClip "Mur9" in Frame 1118
onClipEvent (load) {
this.swapDepths(900);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2316 MovieClip "Pelle" in Frame 1118
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2320 MovieClip "Bloc1" in Frame 1118
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 if (/Vars:PosBloc1 == 1) {
this.gotoAndStop("Pos1");
} else if (/Vars:PosBloc1 == 2) {
this.gotoAndStop("Pos2");
} else if (/Vars:PosBloc1 == 3) {
this.gotoAndStop("Pos3");
} else if (/Vars:PosBloc1 == 4) {
this.gotoAndStop("Pos1");
}
}
Instance of Symbol 2321 MovieClip "MMDoor6" in Frame 1118
onClipEvent (load) {
this.swapDepths(202);
_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 2322 MovieClip "MMDoor7" in Frame 1118
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 2323 MovieClip "AgpBuis5" in Frame 1118
onClipEvent (load) {
this.swapDepths(901);
_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 2324 MovieClip "AgpTab3Lever1" in Frame 1118
onClipEvent (load) {
this.swapDepths(1200);
_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 if (/Vars:Tab3Lever1 == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2325 MovieClip "AgpTab3Lever2" in Frame 1118
onClipEvent (load) {
this.swapDepths(1201);
_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 if (/Vars:Tab3Lever2 == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2328 MovieClip "AgpTab3Lever3" in Frame 1118
onClipEvent (load) {
this.swapDepths(799);
_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 if (/Vars:Tab3Lever3 == true) {
this.gotoAndStop("Use");
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2330 MovieClip "Tab3SortA" in Frame 1118
onClipEvent (load) {
this.swapDepths(1001);
_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 2332 MovieClip "Tab3SortB" in Frame 1118
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 2334 MovieClip "Tab3SortC" in Frame 1118
onClipEvent (load) {
this.swapDepths(501);
_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 2335 MovieClip "Tab3SortD" in Frame 1118
onClipEvent (load) {
this.swapDepths(801);
_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 2103 MovieClip "Ss" in Frame 1118
onClipEvent (load) {
this.swapDepths(70);
_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 2109 MovieClip "Samy" in Frame 1118
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 2115 MovieClip "Scooby" in Frame 1118
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 1119
stop();
Instance of Symbol 2349 MovieClip "Collider" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 891 MovieClip in Frame 1119
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 2130 MovieClip "Control" in Frame 1119
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 if (_root.Hito3.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
} else 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 if (_root.Hito6.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 600);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 700);
}
} else if (_root.Hito8.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 800);
} else if (_root.Hito9.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 900);
} else if (_root.Hito10.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 1000);
} else if (_root.Hito11.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 1100);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 1200);
}
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.HitPelle.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvPelle == false)) {
_root.Fonct.AddInv(2, "InvPelle");
_root.SonGet.play();
tellTarget (_root.Pelle) {
nextFrame();
};
tellTarget (_root.Collider.CachePelle) {
nextFrame();
};
}
if (_root.HitSortC.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab3SortA");
Set("/Vars:DestX", 299);
Set("/Vars:DestY", 296);
Set("/Vars:FinAgpX", 336.6);
Set("/Vars:FinAgpY", 393.6);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortB.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab3SortD");
Set("/Vars:DestX", 160);
Set("/Vars:DestY", 209);
Set("/Vars:FinAgpX", 435.6);
Set("/Vars:FinAgpY", 307.9);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitMarcheBas.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpMarche3");
Set("/Vars:DestX", 482.4);
Set("/Vars:DestY", 185.7);
Set("/Vars:FinAgpX", 549.5);
Set("/Vars:FinAgpY", 85.7);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortI.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab3I");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab3");
}
if (_root.HitSortJ.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab3J");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab3");
}
if (_root.HitSortK.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab3K");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab3");
}
if (((_root.HitDoor6.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor6", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor6.gotoAndStop(2);
}
if (((_root.HitDoor7.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor7", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor7.gotoAndStop(2);
}
} else {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitSortA.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab3SortC");
Set("/Vars:DestX", 297);
Set("/Vars:DestY", 358);
Set("/Vars:FinAgpX", 237.3);
Set("/Vars:FinAgpY", 322.8);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortD.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab3SortB");
Set("/Vars:DestX", 497);
Set("/Vars:DestY", 281);
Set("/Vars:FinAgpX", 98.9);
Set("/Vars:FinAgpY", 239.7);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitLever1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:PosBloc1 == 1)) and (/Vars:Tab3Lever1 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpTab3Lever1");
Set("/Vars:DestX", 355.6);
Set("/Vars:DestY", 401.3);
Set("/Vars:FinAgpX", 355.6);
Set("/Vars:FinAgpY", 401.3);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitLever2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:PosBloc1 == 2)) and (/Vars:Tab3Lever2 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpTab3Lever2");
Set("/Vars:DestX", 50.3);
Set("/Vars:DestY", 172.9);
Set("/Vars:FinAgpX", 50.3);
Set("/Vars:FinAgpY", 172.9);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitLever3.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:PosBloc1 == 3)) and (/Vars:Tab3Lever3 == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpTab3Lever3");
Set("/Vars:DestX", 558.6);
Set("/Vars:DestY", 189.9);
Set("/Vars:FinAgpX", 558.6);
Set("/Vars:FinAgpY", 189.9);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitMarcheHaut.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 16);
Set("/Vars:AgpActif", "AgpMarche3");
Set("/Vars:DestX", 541.4);
Set("/Vars:DestY", 82);
Set("/Vars:FinAgpX", 472.7);
Set("/Vars:FinAgpY", 181.7);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBuis5.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis5");
Set("/Vars:DestX", 494);
Set("/Vars:DestY", 370);
Set("/Vars:FinAgpX", 494);
Set("/Vars:FinAgpY", 370);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortL.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab3L");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab3");
}
}
}
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 "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 "MM") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndStop ("play");
gotoAndStop ("play");
};
_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 {
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 2132 MovieClip "HitSortI" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitPelle" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortJ" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortC" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortB" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortD" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitLever1" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortA" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitLever2" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitLever3" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitMarcheHaut" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitMarcheBas" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortK" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortL" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor6" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor7" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis5" in Frame 1119
onClipEvent (load) {
_visible = 0;
}
Frame 1120
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 1130
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(0, 0, 1, 100);
} else if (/Vars:Sorti eq "Tab3K") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab4Etage", 1);
_root.Fonct.IniTab(300, 393, 6, 900);
} else if (/Vars:Sorti eq "Tab3L") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab4Etage", 2);
_root.Fonct.IniTab(190, 391, 7, 500);
} else if (/Vars:Sorti eq "Tab1I") {
Set("/Vars:Sorti", "");
Set("/Vars:Tab4Etage", 2);
_root.Fonct.IniTab(24, 315, 1, 200);
}
Frame 1131
Set("/Vars:Tableau", "Tab4");
_root.Fonct.SetMoves(33);
Instance of Symbol 2372 MovieClip "Mur2" in Frame 1131
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2374 MovieClip "Mur4" in Frame 1131
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2376 MovieClip "Mur3" in Frame 1131
onClipEvent (load) {
this.swapDepths(201);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2378 MovieClip "Mur11" in Frame 1131
onClipEvent (load) {
this.swapDepths(901);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2380 MovieClip "Mur8" in Frame 1131
onClipEvent (load) {
this.swapDepths(800);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2382 MovieClip "Mur10" in Frame 1131
onClipEvent (load) {
this.swapDepths(900);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2384 MovieClip "Mur1" in Frame 1131
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2386 MovieClip "Mur7" in Frame 1131
onClipEvent (load) {
this.swapDepths(700);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2388 MovieClip "Mur9" in Frame 1131
onClipEvent (load) {
this.swapDepths(801);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2390 MovieClip "Mur5" in Frame 1131
onClipEvent (load) {
this.swapDepths(500);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2392 MovieClip "Mur6" in Frame 1131
onClipEvent (load) {
this.swapDepths(600);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2394 MovieClip "Mur14" in Frame 1131
onClipEvent (load) {
this.swapDepths(1200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2396 MovieClip "Mur12" in Frame 1131
onClipEvent (load) {
this.swapDepths(1100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2398 MovieClip "Mur13" in Frame 1131
onClipEvent (load) {
this.swapDepths(1101);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2403 MovieClip "Plaque" in Frame 1131
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 2406 MovieClip "Tab4Bloc1" in Frame 1131
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 2407 MovieClip "Tab4Bloc3" in Frame 1131
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 2409 MovieClip "CrowBar" in Frame 1131
onClipEvent (load) {
this.swapDepths(802);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2410 MovieClip "Tab4Bloc2" in Frame 1131
onClipEvent (load) {
this.swapDepths(501);
_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 2427 MovieClip "Men" in Frame 1131
onClipEvent (load) {
this.swapDepths(202);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2429 MovieClip "Tab4Porte" in Frame 1131
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 2430 MovieClip "MMDoor8" in Frame 1131
onClipEvent (load) {
this.swapDepths(706);
_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 2431 MovieClip "MMDoor9" in Frame 1131
onClipEvent (load) {
this.swapDepths(705);
_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 2439 MovieClip "FermeTab" in Frame 1131
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2463 MovieClip "AgpRoche" in Frame 1131
onClipEvent (load) {
this.swapDepths(9);
_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 2464 MovieClip "AgpBuis7" in Frame 1131
onClipEvent (load) {
this.swapDepths(1202);
_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 2465 MovieClip "AgpBuis8" in Frame 1131
onClipEvent (load) {
this.swapDepths(1102);
_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 2466 MovieClip "AgpBuis6" in Frame 1131
onClipEvent (load) {
this.swapDepths(601);
_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 2468 MovieClip "Tab4SortA" in Frame 1131
onClipEvent (load) {
this.swapDepths(1001);
_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 2469 MovieClip "Tab4SortB" in Frame 1131
onClipEvent (load) {
this.swapDepths(10);
_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 2470 MovieClip "Tab4SortC" in Frame 1131
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 2472 MovieClip "Tab4SortD" in Frame 1131
onClipEvent (load) {
this.swapDepths(402);
_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 2473 MovieClip "Tab4SortE" in Frame 1131
onClipEvent (load) {
this.swapDepths(701);
_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 2474 MovieClip "Tab4SortF" in Frame 1131
onClipEvent (load) {
this.swapDepths(703);
_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 2475 MovieClip "Tab4SortCSam" in Frame 1131
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 2476 MovieClip "Tab4SortFSam" in Frame 1131
onClipEvent (load) {
this.swapDepths(704);
_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 2477 MovieClip "Tab4SortASam" in Frame 1131
onClipEvent (load) {
this.swapDepths(1002);
_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 2478 MovieClip "Tab4SortESam" in Frame 1131
onClipEvent (load) {
this.swapDepths(702);
_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 2479 MovieClip "Tab4SortBSam" in Frame 1131
onClipEvent (load) {
this.swapDepths(11);
_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 2480 MovieClip "Tab4SortDSam" in Frame 1131
onClipEvent (load) {
this.swapDepths(403);
_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 2485 MovieClip "AgpVoixPlaque" in Frame 1131
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 2103 MovieClip "Ss" in Frame 1131
onClipEvent (load) {
this.swapDepths(70);
_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 2109 MovieClip "Samy" in Frame 1131
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 2115 MovieClip "Scooby" in Frame 1131
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 1132
stop();
Instance of Symbol 2498 MovieClip "Collider" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 891 MovieClip in Frame 1132
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 2130 MovieClip "Control" in Frame 1132
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (/Vars:Tab4Etage == 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 if (_root.Hito3.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 300);
} else 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 if (_root.Hito6.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 600);
} else if (_root.Hito7.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 700);
} else if (_root.Hito8.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 800);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 900);
}
} else if (_root.Hito11.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 1100);
} else if (_root.Hito12.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 1200);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 1300);
}
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:PlaqueBas == false) and (/Vars:PosBloc2 == 2)) {
_root.Tab4Bloc2.play();
}
if ((((((((/Vars:MenPart1 == true) and (/Vars:MenPart2 == true)) and (/Vars:MenPart3 == true)) and (/Vars:MenPart4 == true)) and (/Vars:MenPart5 == true)) and (/Vars:MenPart6 == true)) and (/Vars:MenPart7 == true)) and (/Vars:Tab4Porte == false)) {
_root.Tab4Porte.play();
}
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:Tab4Etage == 1) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitSortC.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortC");
Set("/Vars:DestX", 348);
Set("/Vars:DestY", 338);
Set("/Vars:FinAgpX", 455.5);
Set("/Vars:FinAgpY", 182.7);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortF.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortF");
Set("/Vars:DestX", 414);
Set("/Vars:DestY", 158);
Set("/Vars:FinAgpX", 285.3);
Set("/Vars:FinAgpY", 360.5);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortA.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortA");
Set("/Vars:DestX", 555);
Set("/Vars:DestY", 300);
Set("/Vars:FinAgpX", 85.5);
Set("/Vars:FinAgpY", 126.5);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortB.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortB");
Set("/Vars:DestX", 167);
Set("/Vars:DestY", 222);
Set("/Vars:FinAgpX", 147.1);
Set("/Vars:FinAgpY", 119.3);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortD.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortD");
Set("/Vars:DestX", 103);
Set("/Vars:DestY", 88);
Set("/Vars:FinAgpX", 206.3);
Set("/Vars:FinAgpY", 248.8);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitRoches.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab4Lever1 == false)) {
if (/Vars:ObjSelect == 3) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpRoche");
Set("/Vars:DestX", 164.5);
Set("/Vars:DestY", 108.5);
Set("/Vars:FinAgpX", 164.5);
Set("/Vars:FinAgpY", 108.5);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if ((/Voix:Parle == false) and (/Voix:Roche == false)) {
Set("/Voix:Parle", true);
Set("/Voix:Roche", true);
_root.Voix.gotoAndPlay("WeNeedSome");
}
}
if (_root.HitUsePlaque.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (/Vars:InvBar == false)) {
Set("/Vars:LostControl", true);
Set("/Vars:EtatSs", "Idle");
_root.Ss.Obj.gotoAndStop("Idle");
_root.AgpVoixPlaque.gotoAndStop(2);
}
if (_root.HitBuis6.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis6");
Set("/Vars:DestX", 344);
Set("/Vars:DestY", 254);
Set("/Vars:FinAgpX", 344);
Set("/Vars:FinAgpY", 254);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
} else if (/Vars:PersActif eq "Samy") {
if (_root.HitSortC.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortCSam");
Set("/Vars:DestX", 348);
Set("/Vars:DestY", 338);
Set("/Vars:FinAgpX", 455.5);
Set("/Vars:FinAgpY", 182.7);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitSortF.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortFSam");
Set("/Vars:DestX", 414);
Set("/Vars:DestY", 158);
Set("/Vars:FinAgpX", 285.3);
Set("/Vars:FinAgpY", 360.5);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitSortA.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortASam");
Set("/Vars:DestX", 555);
Set("/Vars:DestY", 300);
Set("/Vars:FinAgpX", 85.5);
Set("/Vars:FinAgpY", 126.5);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitSortB.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortBSam");
Set("/Vars:DestX", 167);
Set("/Vars:DestY", 222);
Set("/Vars:FinAgpX", 147.1);
Set("/Vars:FinAgpY", 119.3);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitSortD.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortDSam");
Set("/Vars:DestX", 103);
Set("/Vars:DestY", 88);
Set("/Vars:FinAgpX", 206.3);
Set("/Vars:FinAgpY", 248.8);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitBuis6.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis6");
Set("/Vars:DestX", 344);
Set("/Vars:DestY", 254);
Set("/Vars:FinAgpX", 344);
Set("/Vars:FinAgpY", 254);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Samy");
}
}
}
if (_root.HitPlaque.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) or (_root.HitPlaque.hitTest(_root.Scooby._x, _root.Scooby._y, true) and (/Vars:PersActif eq "Samy"))) {
if ((/Vars:PlaqueBas == false) and (getProperty("_root.Tab4Bloc1", _currentframe) == 1)) {
_root.Plaque.nextFrame();
}
} else if ((/Vars:PlaqueBas == true) and (getProperty("_root.Tab4Bloc2", _currentframe) == 13)) {
_root.Plaque.nextFrame();
}
if ((_root.HitJoin.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Vars:InvBar == true)) and (/Vars:PersActif eq "Samy")) {
Set("/Vars:EtatSamy", "Idle");
Set("/Vars:LostControl", true);
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("Join");
}
_root.Fonct.RetourPers("Scooby", "Samy", "Ss");
_root.Plaque.play();
}
if (_root.HitSortI.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
if (/Vars:PersActif eq "Ss") {
Set("/Vars:Sorti", "Tab4I");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab4");
} else {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NoLeave");
}
Set("/Vars:DestX", 271);
Set("/Vars:DestY", 368);
Set("/Vars:FinAgpX", 271);
Set("/Vars:FinAgpY", 368);
Set("/Vars:DirFin", 6);
Set("/Vars:FinMove", "FinMarche");
_root.Fonct.MoveAuto("Samy");
}
}
if (((_root.HitDoor8.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor8", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor8.gotoAndStop(2);
}
if (((_root.HitDoor9.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.MMDoor9", _currentframe) == 1)) and (/Vars:WaitFear <= 0)) and (/Vars:Peur == false)) {
_root.MMDoor9.gotoAndStop(2);
}
} else {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitSortE.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortE");
Set("/Vars:DestX", 41);
Set("/Vars:DestY", 96);
Set("/Vars:FinAgpX", 492.1);
Set("/Vars:FinAgpY", 320.5);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBuis7.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis7");
Set("/Vars:DestX", 36);
Set("/Vars:DestY", 160);
Set("/Vars:FinAgpX", 36);
Set("/Vars:FinAgpY", 160);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitBuis8.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis8");
Set("/Vars:DestX", 532);
Set("/Vars:DestY", 190);
Set("/Vars:FinAgpX", 532);
Set("/Vars:FinAgpY", 190);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Ss");
}
} else if (/Vars:PersActif eq "Samy") {
if (_root.HitSortE.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab4SortESam");
Set("/Vars:DestX", 41);
Set("/Vars:DestY", 96);
Set("/Vars:FinAgpX", 492.1);
Set("/Vars:FinAgpY", 320.5);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitCrowBar.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Vars:InvBar == false)) {
_root.Fonct.AddInv(3, "InvBar");
_root.SonGet.play();
tellTarget (_root.CrowBar) {
nextFrame();
};
}
if (_root.HitBuis7.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis7");
Set("/Vars:DestX", 36);
Set("/Vars:DestY", 160);
Set("/Vars:FinAgpX", 36);
Set("/Vars:FinAgpY", 160);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitBuis8.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:AgpActif", "AgpBuis8");
Set("/Vars:DestX", 532);
Set("/Vars:DestY", 190);
Set("/Vars:FinAgpX", 532);
Set("/Vars:FinAgpY", 190);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "MM");
_root.Fonct.MoveAuto("Samy");
}
if (((_root.HitDoorEnd.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Tab4Porte == false)) and (/Voix:Parle == false)) and (/Voix:DoorEnd == false)) {
Set("/Voix:Parle", true);
Set("/Voix:DoorEnd", true);
_root.Voix.gotoAndPlay("NotThatWay");
}
}
}
if (_root.HitPart1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart1 == false)) {
Set("/Vars:MenPart1", true);
_root.SonMen.play();
_root.Men.Part1.gotoAndStop(1);
}
if (_root.HitPart2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart2 == false)) {
Set("/Vars:MenPart2", true);
_root.SonMen.play();
_root.Men.Part2.gotoAndStop(1);
}
if (_root.HitPart3.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart3 == false)) {
Set("/Vars:MenPart3", true);
_root.SonMen.play();
_root.Men.Part3.gotoAndStop(1);
}
if (_root.HitPart4.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart4 == false)) {
Set("/Vars:MenPart4", true);
_root.SonMen.play();
_root.Men.Part4.gotoAndStop(1);
}
if (_root.HitPart5.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart5 == false)) {
Set("/Vars:MenPart5", true);
_root.SonMen.play();
_root.Men.Part5.gotoAndStop(1);
}
if (_root.HitPart6.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart6 == false)) {
Set("/Vars:MenPart6", true);
_root.SonMen.play();
_root.Men.Part6.gotoAndStop(1);
}
if (_root.HitPart7.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:MenPart7 == false)) {
Set("/Vars:MenPart7", true);
_root.SonMen.play();
_root.Men.Part7.gotoAndStop(1);
}
if (_root.HitSortG.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab4G");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab4");
}
if (_root.HitSortH.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "Tab4H");
Set("/Vars:KeepInv", true);
Set("/Vars:SortTab", true);
_root.Fonct.GetFrame();
_root.gotoAndPlay("ExitTab4");
}
if (_root.HitSortEnd.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:EtatSs", "Idle");
_root.Ss.Obj.gotoAndStop("Idle");
Set("/Vars:SortTab", true);
Set("/Vars:LostControl", true);
_root.Fonct.GetFrame();
_root.gotoAndStop("CloseTab4");
}
}
}
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 "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 "MM") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
tellTarget ("_root." + /Vars:AgpActif) {
gotoAndStop ("play");
gotoAndStop ("play");
};
_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 {
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 2132 MovieClip "HitSortC" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitPlaque" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitUsePlaque" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortF" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortA" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortE" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitJoin" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortB" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitCrowBar" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitRoches" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortD" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2500 MovieClip "HitPart1" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2502 MovieClip "HitPart2" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2504 MovieClip "HitPart3" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2506 MovieClip "HitPart4" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2508 MovieClip "HitPart5" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2510 MovieClip "HitPart6" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2512 MovieClip "HitPart7" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortG" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortH" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortI" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor8" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoor9" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis8" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis6" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitBuis7" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitSortEnd" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2132 MovieClip "HitDoorEnd" in Frame 1132
onClipEvent (load) {
_visible = 0;
}
Frame 1133
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Instance of Symbol 2513 MovieClip "Interface" in Frame 1139
onClipEvent (load) {
this.swapDepths(500000);
_root.Vars:ObjRemove.push(this._name);
}
Frame 1142
Set("/Vars:EtatSs", "Enter");
Frame 1143
Set("/Vars:Tableau", "Tab5");
Instance of Symbol 2724 MovieClip "FermeTab" in Frame 1143
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Frame 1144
stop();
Instance of Symbol 2130 MovieClip "Control" in Frame 1144
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
if (/Vars:EtatSs eq "Run") {
_root.SonRun.gotoAndStop("Joue");
} else {
_root.SonRun.gotoAndStop("Arret");
}
}
if ((/Vars:Pause == false) and (/Vars:Arret == false)) {
if (/Vars:EtatSs eq "Run") {
if (Key.isDown(39) and (getProperty("_root.Tab5.Ss", _currentframe) < 20)) {
_root.Tab5.Ss.nextFrame();
} else if (Key.isDown(37) and (getProperty("_root.Tab5.Ss", _currentframe) > 1)) {
_root.Tab5.Ss.prevFrame();
}
} else {
_root.SonRun.gotoAndStop("Arret");
}
}
if (/Vars:Pause == true) {
_root.SonRun.gotoAndStop("Arret");
_root.Tab5.Ss.Obj.Etat1.stop();
_root.Tab5.Ss.Obj.Etat2.stop();
} else {
_root.Tab5.Ss.Obj.Etat1.play();
_root.Tab5.Ss.Obj.Etat2.play();
if (getProperty(_root.Interface.FearGauge, _currentframe) < (/Vars:Fear + 1)) {
tellTarget (_root.Interface.FearGauge) {
nextFrame();
};
}
}
if ((/Vars:Pause == true) or (/Vars:Arret == true)) {
_root.Tab5.stop();
} else {
_root.Tab5.play();
}
_root.Tab5.Ss.Obj.gotoAndStop(/Vars:EtatSs);
if (/Vars:Restart == true) {
Set("/Vars:Arret", false);
Set("/Vars:Restart", false);
}
if (/Vars:Pause == false) {
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");
}
}
}
Frame 1145
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.FermeTab.play();
Frame 1163
_root.Fonct:DeleteObj();
Frame 1166
Set("/Vars:SortTab", false);
if (/Vars:Sorti eq "Tab1F") {
gotoAndPlay (1105);
}
if (/Vars:Sorti eq "Tab1I") {
gotoAndPlay (1130);
}
if (/Vars:Sorti eq "Tab1H") {
gotoAndPlay (1105);
}
Frame 1167
_root.Fonct:DeleteObj();
Frame 1170
Set("/Vars:SortTab", false);
if ((/Vars:Sorti eq "Tab2C") or (/Vars:Sorti eq "Tab2H")) {
gotoAndPlay (1093);
}
if ((/Vars:Sorti eq "Tab2I") or (/Vars:Sorti eq "Tab2J")) {
gotoAndPlay (1117);
}
Frame 1171
_root.Fonct:DeleteObj();
Frame 1174
Set("/Vars:SortTab", false);
if ((/Vars:Sorti eq "Tab3I") or (/Vars:Sorti eq "Tab3J")) {
gotoAndPlay (1105);
}
if ((/Vars:Sorti eq "Tab3K") or (/Vars:Sorti eq "Tab3L")) {
gotoAndPlay (1130);
}
Frame 1175
_root.Fonct:DeleteObj();
Frame 1178
Set("/Vars:SortTab", false);
if (/Vars:Sorti eq "Tab4G") {
gotoAndPlay (1093);
}
if ((/Vars:Sorti eq "Tab4H") or (/Vars:Sorti eq "Tab4I")) {
gotoAndPlay (1117);
}
Frame 1181
stopAllSounds();
_root.Fonct:DeleteObj();
Frame 1184
Set("/Vars:SortTab", false);
stop();
Frame 1193
play();
Frame 1194
stopAllSounds();
_root.Fonct:DeleteObj();
_root.Fonct:Load();
Frame 1198
_root.Fonct:Load();
Set("/Vars:Pause", true);
Frame 1206
stopAllSounds();
Set("/Vars:SortTab", false);
_root.Fonct:DeleteObj();
Frame 1208
ifFrameLoaded (1624) {
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Temp:TempStart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (1308);
}
Frame 1209
stop();
Instance of Symbol 2946 MovieClip in Frame 1209
onClipEvent (enterFrame) {
ifFrameLoaded (1624) {
tellTarget ("_parent") {
nextFrame();
};
}
}
Frame 1210
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Temp:TempStart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (1308);
Frame 1215
gotoAndPlay (1308);
Frame 1217
stopAllSounds();
_root.Fonct:DeleteObj();
delete Vars;
gotoAndPlay (1222);
Frame 1307
gotoAndStop (3);
Frame 1624
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/lowtime.swf", "MovieTimer");
stop();
} else {
gotoAndStop (3);
}
Symbol 53 MovieClip Frame 14
_root.gotoAndStop("Joue");
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 100
nextFrame();
Symbol 54 MovieClip Frame 101
stop();
Symbol 60 Button
on (release) {
_root.gotoAndStop("Instruct1");
}
Symbol 61 MovieClip Frame 1
ifFrameLoaded (31) {
_root.InsButton.gotoAndPlay(3);
}
Symbol 61 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 3
play();
Symbol 61 MovieClip Frame 13
stop();
Symbol 64 Button
on (release) {
getURL (/:QuitUrl, "_self");
}
Symbol 65 MovieClip Frame 11
stop();
Symbol 67 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndPlay("New");
}
Symbol 68 MovieClip Frame 11
stop();
Symbol 70 Button
on (release) {
Set("/:Challenge", false);
tellTarget ("_root") {
gotoAndPlay ("Loading");
};
}
Symbol 71 MovieClip Frame 11
stop();
Symbol 72 MovieClip Frame 1
ObjSave = SharedObject.getLocal("ScoobEpi7");
if (ObjSave.data.Valeurs != null) {
delete ObjSave;
gotoAndPlay (2);
} else {
delete ObjSave;
gotoAndPlay (16);
}
Symbol 72 MovieClip Frame 15
stop();
Symbol 72 MovieClip Frame 26
stop();
Symbol 74 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndStop("Joue");
}
Symbol 75 MovieClip Frame 11
stop();
Symbol 77 Button
on (release) {
Set("/:Challenge", true);
_root.gotoAndPlay("New");
}
Symbol 78 MovieClip Frame 11
stop();
Symbol 80 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndPlay("New");
}
Symbol 81 MovieClip Frame 11
stop();
Symbol 86 Button
on (release) {
_root.gotoAndStop("Instruct2");
}
Symbol 87 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 144 Button
on (release) {
_root.gotoAndStop("Instruct1");
}
Symbol 158 MovieClip Frame 31
stop();
Symbol 896 MovieClip Frame 3
_root.Mus.Mus.setVolume(100);
Symbol 896 MovieClip Frame 4
stop();
Symbol 896 MovieClip Frame 5
stop();
Instance of Symbol 895 MovieClip "Control" in Symbol 896 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 914 MovieClip Frame 1
Parle = false;
stop();
Symbol 914 MovieClip Frame 2
Parle = true;
Symbol 914 MovieClip Frame 34
gotoAndStop (1);
Symbol 914 MovieClip Frame 35
Parle = true;
Symbol 914 MovieClip Frame 67
gotoAndStop (1);
Symbol 914 MovieClip Frame 68
Parle = true;
Symbol 914 MovieClip Frame 93
gotoAndStop (1);
Symbol 914 MovieClip Frame 94
Parle = true;
Symbol 914 MovieClip Frame 134
gotoAndStop (1);
Symbol 914 MovieClip Frame 135
Parle = true;
Symbol 914 MovieClip Frame 170
gotoAndStop (1);
Symbol 914 MovieClip Frame 171
Parle = true;
Symbol 914 MovieClip Frame 224
gotoAndStop (1);
Symbol 914 MovieClip Frame 225
Parle = true;
Symbol 914 MovieClip Frame 242
gotoAndStop (1);
Symbol 914 MovieClip Frame 243
Parle = true;
Symbol 914 MovieClip Frame 266
gotoAndStop (1);
Symbol 914 MovieClip Frame 267
Parle = true;
Symbol 914 MovieClip Frame 309
gotoAndStop (1);
Symbol 914 MovieClip Frame 310
Parle = true;
Symbol 914 MovieClip Frame 322
gotoAndStop (1);
Symbol 914 MovieClip Frame 323
Parle = true;
Symbol 914 MovieClip Frame 346
gotoAndStop (1);
Symbol 914 MovieClip Frame 347
Parle = true;
Symbol 914 MovieClip Frame 374
gotoAndStop (1);
Symbol 914 MovieClip Frame 375
Parle = true;
Symbol 914 MovieClip Frame 397
gotoAndStop (1);
Symbol 914 MovieClip Frame 398
Parle = true;
Symbol 914 MovieClip Frame 450
gotoAndStop (1);
Symbol 914 MovieClip Frame 451
Parle = true;
Symbol 914 MovieClip Frame 498
gotoAndStop (1);
Symbol 914 MovieClip Frame 499
Parle = true;
Symbol 914 MovieClip Frame 511
gotoAndStop (1);
Symbol 919 MovieClip Frame 100
Set("/Vars:Mort", true);
Symbol 919 MovieClip Frame 101
Set("/Vars:Mort", true);
Symbol 919 MovieClip Frame 102
Set("/Vars:Mort", true);
Symbol 919 MovieClip Frame 103
Set("/Vars:Mort", true);
Symbol 919 MovieClip Frame 104
Set("/Vars:Mort", true);
Symbol 926 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 2
stop();
Symbol 929 MovieClip Frame 1
stop();
Symbol 929 MovieClip Frame 2
stop();
Symbol 930 MovieClip Frame 1
gotoAndStop(/Vars:ObjSelect);
Instance of Symbol 891 MovieClip in Symbol 930 MovieClip Frame 1
/* no clip actions */
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 2
stop();
Symbol 942 MovieClip Frame 1
stop();
Symbol 942 MovieClip Frame 2
stop();
Symbol 947 MovieClip Frame 1
stop();
Symbol 947 MovieClip Frame 2
stop();
Symbol 950 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 2
stop();
Symbol 954 MovieClip Frame 1
stop();
Symbol 954 MovieClip Frame 2
stop();
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
stop();
Symbol 961 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 891 MovieClip in Symbol 961 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 961 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 964 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 967 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 972 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 972 MovieClip Frame 2
Instance of Symbol 891 MovieClip in Symbol 972 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 973 MovieClip Frame 1
stop();
Symbol 973 MovieClip Frame 2
stop();
Symbol 980 MovieClip Frame 1
stop();
Instance of Symbol 919 MovieClip "FearGauge" in Symbol 980 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(/Vars:Fear + 1);
}
Symbol 980 MovieClip Frame 2
stop();
Symbol 984 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 984 MovieClip Frame 1
/* no clip actions */
Symbol 984 MovieClip Frame 2
play();
Symbol 984 MovieClip Frame 10
stop();
Symbol 984 MovieClip Frame 14
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 988 MovieClip Frame 1
Set("/Voix:Parle", false);
stop();
Symbol 988 MovieClip Frame 5
Set("/Voix:Parle", true);
if (random(100) < 50) {
gotoAndPlay (6);
} else {
gotoAndPlay (28);
}
Symbol 988 MovieClip Frame 7
gotoAndStop (1);
Symbol 988 MovieClip Frame 29
gotoAndStop (1);
Symbol 988 MovieClip Frame 46
gotoAndStop (1);
Symbol 990 MovieClip Frame 1
stop();
Symbol 992 MovieClip Frame 1
stop();
Symbol 992 MovieClip Frame 3
gotoAndStop (1);
Symbol 992 MovieClip Frame 5
gotoAndStop (1);
Symbol 1018 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1018 MovieClip Frame 1
/* no clip actions */
Symbol 1018 MovieClip Frame 2
Set("/Vars:Pause", true);
Symbol 1018 MovieClip Frame 12
_root.Fonct.Save();
Instance of Symbol 891 MovieClip in Symbol 1018 MovieClip Frame 48
/* no clip actions */
Symbol 1018 MovieClip Frame 49
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 1018 MovieClip Frame 50
Set("/Vars:Pause", true);
Symbol 1018 MovieClip Frame 80
tellTarget (_root) {
gotoAndStop ("Load");
};
stop();
Symbol 1018 MovieClip Frame 81
Set("/Vars:Pause", true);
play();
Symbol 1018 MovieClip Frame 96
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 1018 MovieClip Frame 97
Set("/Vars:Pause", true);
Symbol 1018 MovieClip Frame 142
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Instance of Symbol 891 MovieClip in Symbol 1116 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 200) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 1116 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1116 MovieClip Frame 24
gotoAndStop (1);
Symbol 1116 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 3);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 221);
Set("/Vars:PeurDestY", 185);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 1116 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1124 MovieClip Frame 1
if (/Vars:Tab1Bouche == true) {
gotoAndStop (26);
} else {
stop();
}
Instance of Symbol 891 MovieClip in Symbol 1124 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1124 MovieClip Frame 26
stop();
Symbol 1132 MovieClip Frame 1
if (/Vars:Tab1Bouche == true) {
gotoAndStop (26);
} else {
stop();
}
Instance of Symbol 891 MovieClip in Symbol 1132 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1132 MovieClip Frame 26
stop();
Symbol 1181 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1181 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1181 MovieClip Frame 30
if (_root.HitDoor2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 1181 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 5);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 538);
Set("/Vars:PeurDestY", 344);
Instance of Symbol 891 MovieClip in Symbol 1181 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1181 MovieClip Frame 72
gotoAndStop (1);
Symbol 1182 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1182 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1182 MovieClip Frame 30
if (_root.HitDoor1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 1182 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 190);
Set("/Vars:PeurDestY", 375);
Instance of Symbol 891 MovieClip in Symbol 1182 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1182 MovieClip Frame 72
gotoAndStop (1);
Symbol 1187 MovieClip Frame 1
stop();
Symbol 1187 MovieClip Frame 2
_root.EscalierBas.gotoAndPlay(2);
nextFrame();
Instance of Symbol 891 MovieClip in Symbol 1187 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1187 MovieClip Frame 3
stop();
Symbol 1325 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1325 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1325 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1325 MovieClip Frame 27
_root.EscalierHaut.gotoAndStop(2);
_root.Collider.CacheBeigne.gotoAndStop(2);
Set("/Vars:BeigneRoule", true);
_root.Fonct.FinAgp();
Symbol 1325 MovieClip Frame 28
stop();
Symbol 1360 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1361 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1361 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1361 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1361 MovieClip Frame 40
Set("/Vars:Tab1Bouche", true);
_root.Collider.CacheBouche.nextFrame();
_root.BoucheUp.gotoAndStop(2);
_root.BoucheDown.gotoAndStop(2);
Symbol 1361 MovieClip Frame 51
Set("/Vars:Tab1Lever1", true);
_root.Fonct.FinAgp();
Symbol 1361 MovieClip Frame 52
stop();
Symbol 1475 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1476 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1476 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1476 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1476 MovieClip Frame 78
_root.Collider.gotoAndStop(1);
Set("/Vars:Tab1Etage", 1);
_root.Fonct.FinAgp();
Symbol 1476 MovieClip Frame 79
gotoAndStop (1);
Symbol 1478 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1478 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1478 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1478 MovieClip Frame 57
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab1Etage", 2);
_root.Fonct.FinAgp();
Symbol 1478 MovieClip Frame 58
gotoAndStop (1);
Symbol 1480 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1480 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1480 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1480 MovieClip Frame 78
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab1Etage", 2);
_root.Fonct.FinAgp();
Symbol 1480 MovieClip Frame 79
gotoAndStop (1);
Symbol 1482 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1482 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1482 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1482 MovieClip Frame 78
_root.Fonct.FinAgp();
Symbol 1482 MovieClip Frame 79
gotoAndStop (1);
Symbol 1484 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1484 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1484 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1484 MovieClip Frame 57
_root.Collider.gotoAndStop(1);
Set("/Vars:Tab1Etage", 1);
_root.Fonct.FinAgp();
Symbol 1484 MovieClip Frame 58
gotoAndStop (1);
Symbol 1621 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1621 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1621 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1621 MovieClip Frame 9
_root.Fonct.FinAgp();
Symbol 1621 MovieClip Frame 15
stop();
Instance of Symbol 891 MovieClip in Symbol 1621 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1621 MovieClip Frame 23
_root.Fonct.FinAgp();
Symbol 1621 MovieClip Frame 29
stop();
Symbol 1622 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1622 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1622 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1622 MovieClip Frame 9
Set("/Vars:Tab1Etage", 2);
_root.Collider.gotoAndStop(2);
_root.Fonct.FinAgp();
Symbol 1622 MovieClip Frame 15
stop();
Instance of Symbol 891 MovieClip in Symbol 1622 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1622 MovieClip Frame 23
Set("/Vars:Tab1Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 1622 MovieClip Frame 29
stop();
Symbol 1630 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1630 MovieClip Frame 1
/* no clip actions */
Symbol 1630 MovieClip Frame 2
Set("/Vars:Stair1Bas", true);
_root.Collider.CacheStair.nextFrame();
Instance of Symbol 891 MovieClip in Symbol 1630 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1630 MovieClip Frame 10
stop();
Symbol 1631 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 1631 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 1631 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1631 MovieClip Frame 57
_root.Fonct.FinAgp();
Symbol 1631 MovieClip Frame 58
gotoAndStop (1);
Symbol 1639 MovieClip Frame 8
gotoAndPlay (3);
Symbol 1673 MovieClip Frame 22
gotoAndPlay (5);
Symbol 1675 MovieClip Frame 1
stop();
Symbol 1675 MovieClip Frame 7
stop();
Symbol 1675 MovieClip Frame 13
stop();
Symbol 1675 MovieClip Frame 19
stop();
Symbol 1675 MovieClip Frame 25
stop();
Symbol 1675 MovieClip Frame 30
stop();
Symbol 1734 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1760 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1761 MovieClip Frame 1
stop();
Symbol 1761 MovieClip Frame 7
stop();
Symbol 1761 MovieClip Frame 13
stop();
Symbol 1761 MovieClip Frame 19
stop();
Symbol 1761 MovieClip Frame 25
stop();
Symbol 1761 MovieClip Frame 32
stop();
Symbol 1762 MovieClip Frame 1
stop();
Symbol 1762 MovieClip Frame 7
stop();
Symbol 1762 MovieClip Frame 13
stop();
Symbol 1762 MovieClip Frame 19
stop();
Symbol 1762 MovieClip Frame 25
stop();
Symbol 1762 MovieClip Frame 30
stop();
Symbol 1888 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1922 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1923 MovieClip Frame 1
stop();
Symbol 1923 MovieClip Frame 7
stop();
Symbol 1923 MovieClip Frame 13
stop();
Symbol 1923 MovieClip Frame 19
stop();
Symbol 1923 MovieClip Frame 25
stop();
Symbol 1923 MovieClip Frame 30
stop();
Symbol 2003 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 2004 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 2005 MovieClip Frame 1
stop();
Symbol 2005 MovieClip Frame 7
stop();
Symbol 2005 MovieClip Frame 13
stop();
Symbol 2005 MovieClip Frame 19
stop();
Symbol 2005 MovieClip Frame 25
stop();
Symbol 2005 MovieClip Frame 30
stop();
Symbol 2078 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 2099 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 2100 MovieClip Frame 1
stop();
Symbol 2100 MovieClip Frame 7
stop();
Symbol 2100 MovieClip Frame 13
stop();
Symbol 2100 MovieClip Frame 19
stop();
Symbol 2100 MovieClip Frame 25
stop();
Symbol 2100 MovieClip Frame 30
stop();
Symbol 2101 MovieClip Frame 1
stop();
Symbol 2101 MovieClip Frame 7
stop();
Symbol 2101 MovieClip Frame 13
stop();
Symbol 2101 MovieClip Frame 19
stop();
Symbol 2101 MovieClip Frame 25
stop();
Symbol 2101 MovieClip Frame 30
stop();
Symbol 2102 MovieClip Frame 1
stop();
Symbol 2102 MovieClip Frame 7
stop();
Symbol 2102 MovieClip Frame 13
stop();
Symbol 2102 MovieClip Frame 19
stop();
Symbol 2102 MovieClip Frame 25
stop();
Symbol 2102 MovieClip Frame 30
stop();
Symbol 2103 MovieClip Frame 1
stop();
Instance of Symbol 1675 MovieClip "Obj" in Symbol 2103 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1761 MovieClip "Obj" in Symbol 2103 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1762 MovieClip "Obj" in Symbol 2103 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1923 MovieClip "Obj" in Symbol 2103 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2005 MovieClip "Obj" in Symbol 2103 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2100 MovieClip "Obj" in Symbol 2103 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2101 MovieClip "Obj" in Symbol 2103 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2102 MovieClip "Obj" in Symbol 2103 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 2104 MovieClip Frame 1
stop();
Symbol 2104 MovieClip Frame 7
stop();
Symbol 2104 MovieClip Frame 13
stop();
Symbol 2104 MovieClip Frame 19
stop();
Symbol 2104 MovieClip Frame 25
stop();
Symbol 2104 MovieClip Frame 30
stop();
Symbol 2105 MovieClip Frame 1
stop();
Symbol 2105 MovieClip Frame 7
stop();
Symbol 2105 MovieClip Frame 13
stop();
Symbol 2105 MovieClip Frame 18
stop();
Symbol 2105 MovieClip Frame 23
stop();
Symbol 2105 MovieClip Frame 29
stop();
Symbol 2106 MovieClip Frame 1
stop();
Symbol 2106 MovieClip Frame 7
stop();
Symbol 2106 MovieClip Frame 13
stop();
Symbol 2106 MovieClip Frame 18
stop();
Symbol 2106 MovieClip Frame 24
stop();
Symbol 2106 MovieClip Frame 29
stop();
Symbol 2107 MovieClip Frame 1
stop();
Symbol 2107 MovieClip Frame 7
stop();
Symbol 2107 MovieClip Frame 13
stop();
Symbol 2107 MovieClip Frame 18
stop();
Symbol 2107 MovieClip Frame 23
stop();
Symbol 2107 MovieClip Frame 29
stop();
Symbol 2108 MovieClip Frame 1
stop();
Symbol 2108 MovieClip Frame 7
stop();
Symbol 2108 MovieClip Frame 13
stop();
Symbol 2108 MovieClip Frame 18
stop();
Symbol 2108 MovieClip Frame 24
stop();
Symbol 2108 MovieClip Frame 29
stop();
Symbol 2109 MovieClip Frame 1
stop();
Instance of Symbol 2104 MovieClip "Obj" in Symbol 2109 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2105 MovieClip "Obj" in Symbol 2109 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2104 MovieClip "Obj" in Symbol 2109 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2106 MovieClip "Obj" in Symbol 2109 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2107 MovieClip "Obj" in Symbol 2109 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2108 MovieClip "Obj" in Symbol 2109 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2107 MovieClip "Obj" in Symbol 2109 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2106 MovieClip "Obj" in Symbol 2109 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 2110 MovieClip Frame 1
stop();
Symbol 2110 MovieClip Frame 7
stop();
Symbol 2110 MovieClip Frame 13
stop();
Symbol 2110 MovieClip Frame 18
stop();
Symbol 2110 MovieClip Frame 23
stop();
Symbol 2110 MovieClip Frame 29
stop();
Symbol 2111 MovieClip Frame 1
stop();
Symbol 2111 MovieClip Frame 7
stop();
Symbol 2111 MovieClip Frame 13
stop();
Symbol 2111 MovieClip Frame 18
stop();
Symbol 2111 MovieClip Frame 23
stop();
Symbol 2111 MovieClip Frame 29
stop();
Symbol 2112 MovieClip Frame 1
stop();
Symbol 2112 MovieClip Frame 7
stop();
Symbol 2112 MovieClip Frame 13
stop();
Symbol 2112 MovieClip Frame 18
stop();
Symbol 2112 MovieClip Frame 24
stop();
Symbol 2112 MovieClip Frame 29
stop();
Symbol 2113 MovieClip Frame 1
stop();
Symbol 2113 MovieClip Frame 7
stop();
Symbol 2113 MovieClip Frame 13
stop();
Symbol 2113 MovieClip Frame 18
stop();
Symbol 2113 MovieClip Frame 23
stop();
Symbol 2113 MovieClip Frame 29
stop();
Symbol 2114 MovieClip Frame 1
stop();
Symbol 2114 MovieClip Frame 7
stop();
Symbol 2114 MovieClip Frame 13
stop();
Symbol 2114 MovieClip Frame 18
stop();
Symbol 2114 MovieClip Frame 23
stop();
Symbol 2114 MovieClip Frame 29
stop();
Symbol 2115 MovieClip Frame 1
stop();
Instance of Symbol 2110 MovieClip "Obj" in Symbol 2115 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2111 MovieClip "Obj" in Symbol 2115 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2110 MovieClip "Obj" in Symbol 2115 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2112 MovieClip "Obj" in Symbol 2115 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2113 MovieClip "Obj" in Symbol 2115 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2114 MovieClip "Obj" in Symbol 2115 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2113 MovieClip "Obj" in Symbol 2115 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 2112 MovieClip "Obj" in Symbol 2115 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 2118 MovieClip Frame 1
if (/Vars:Stair1Bas == true) {
stop();
} else {
nextFrame();
}
Symbol 2123 MovieClip Frame 1
if (/Vars:Tab1Bouche == true) {
nextFrame();
} else {
stop();
}
Symbol 2126 MovieClip Frame 1
if (/Vars:BeigneRoule == true) {
nextFrame();
} else {
stop();
}
Symbol 2127 MovieClip Frame 1
if (/Vars:Tab1Etage == 2) {
nextFrame();
} else {
stop();
}
Symbol 2129 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("ScoobEpi7");
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("ScoobEpi7");
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 2139 MovieClip Frame 1
if (/Vars:Tab2Porte1 == true) {
nextFrame();
} else {
stop();
}
Symbol 2182 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2182 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2182 MovieClip Frame 30
if (_root.HitDoor3.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2182 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 5);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 415);
Set("/Vars:PeurDestY", 222);
Instance of Symbol 891 MovieClip in Symbol 2182 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2182 MovieClip Frame 72
gotoAndStop (1);
Symbol 2183 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2183 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2183 MovieClip Frame 30
if (_root.HitDoor5.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2183 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 82);
Set("/Vars:PeurDestY", 377);
Instance of Symbol 891 MovieClip in Symbol 2183 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2183 MovieClip Frame 72
gotoAndStop (1);
Symbol 2184 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2184 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2184 MovieClip Frame 30
if (_root.HitDoor4.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2184 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 97);
Set("/Vars:PeurDestY", 145);
Instance of Symbol 891 MovieClip in Symbol 2184 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2184 MovieClip Frame 72
gotoAndStop (1);
Symbol 2206 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2206 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2206 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2206 MovieClip Frame 48
Set("/Vars:Tab2Porte3", true);
_root.Collider.CachePorte3.nextFrame();
_root.Collider.CachePierre.nextFrame();
_root.Porte3.gotoAndStop(2);
Symbol 2206 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2206 MovieClip Frame 63
stop();
Symbol 2211 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2211 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2211 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2211 MovieClip Frame 22
stop();
Symbol 2213 MovieClip Frame 1
if (/Vars:Tab2Porte3 == true) {
gotoAndStop (21);
} else {
stop();
}
Instance of Symbol 891 MovieClip in Symbol 2213 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2213 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2213 MovieClip Frame 21
stop();
Symbol 2215 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2215 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2215 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2215 MovieClip Frame 23
stop();
Symbol 2246 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2246 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 125) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 2246 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2246 MovieClip Frame 24
gotoAndStop (1);
Symbol 2246 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 99);
Set("/Vars:PeurDestY", 204);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 2246 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2247 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2247 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 175) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 2247 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2247 MovieClip Frame 24
gotoAndStop (1);
Symbol 2247 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 5);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 300);
Set("/Vars:PeurDestY", 334);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 2247 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2250 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2250 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2250 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2250 MovieClip Frame 78
_root.Collider.gotoAndStop(1);
Set("/Vars:Tab2Etage", 1);
_root.Fonct.FinAgp();
Symbol 2250 MovieClip Frame 79
gotoAndStop (1);
Symbol 2251 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2251 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2251 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2251 MovieClip Frame 78
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab2Etage", 2);
_root.Fonct.FinAgp();
Symbol 2251 MovieClip Frame 79
gotoAndStop (1);
Symbol 2252 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2252 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2252 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2252 MovieClip Frame 39
Set("/Vars:Tab2Porte2", true);
_root.Collider.CachePorte2.nextFrame();
_root.Porte2.gotoAndStop(2);
Symbol 2252 MovieClip Frame 51
Set("/Vars:Tab2Lever1", true);
_root.Fonct.FinAgp();
Symbol 2252 MovieClip Frame 52
stop();
Symbol 2253 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2253 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2253 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2253 MovieClip Frame 39
Set("/Vars:Tab2Porte1", true);
_root.Collider.CachePorte1.nextFrame();
_root.Hito3.nextFrame();
_root.Porte1.gotoAndStop(2);
Symbol 2253 MovieClip Frame 51
Set("/Vars:Tab2Lever2", true);
_root.Fonct.FinAgp();
Symbol 2253 MovieClip Frame 52
stop();
Symbol 2254 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2254 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2254 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2254 MovieClip Frame 8
Set("/Vars:Tab2Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 2254 MovieClip Frame 14
stop();
Instance of Symbol 891 MovieClip in Symbol 2254 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2254 MovieClip Frame 21
Set("/Vars:Tab2Etage", 2);
_root.Collider.gotoAndStop(2);
_root.Fonct.FinAgp();
Symbol 2254 MovieClip Frame 27
stop();
Symbol 2257 MovieClip Frame 1
if (/Vars:Tab2Porte2 == true) {
nextFrame();
} else {
stop();
}
Symbol 2259 MovieClip Frame 1
if (/Vars:Tab2Porte3 == true) {
nextFrame();
} else {
stop();
}
Symbol 2262 MovieClip Frame 1
if (/Vars:Tab2Porte1 == true) {
nextFrame();
} else {
stop();
}
Symbol 2265 MovieClip Frame 1
if (/Vars:Tab2Porte3 == true) {
nextFrame();
} else {
stop();
}
Symbol 2266 MovieClip Frame 1
if (/Vars:Tab2Etage == 2) {
nextFrame();
} else {
stop();
}
Symbol 2267 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("ScoobEpi7");
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("ScoobEpi7");
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) {
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) {
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 2275 MovieClip Frame 1
if (/Vars:PosBloc1 == 1) {
nextFrame();
} else if (/Vars:PosBloc1 == 2) {
stop();
} else {
gotoAndStop (3);
}
Symbol 2316 MovieClip Frame 1
if (/Vars:InvPelle == true) {
nextFrame();
} else {
stop();
}
Symbol 2316 MovieClip Frame 2
stop();
Symbol 2320 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2320 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2320 MovieClip Frame 7
_root.Hito4.gotoAndStop(2);
Symbol 2320 MovieClip Frame 8
stop();
Instance of Symbol 891 MovieClip in Symbol 2320 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2320 MovieClip Frame 24
_root.Collider.CacheBlocPos2.gotoAndStop(1);
_root.Collider.CacheBlocPos3.gotoAndStop(2);
_root.Hito4.gotoAndStop(3);
Symbol 2320 MovieClip Frame 25
stop();
Instance of Symbol 891 MovieClip in Symbol 2320 MovieClip Frame 26
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2320 MovieClip Frame 33
_root.Collider.CacheBlocPos2.gotoAndStop(2);
_root.Collider.CacheBlocPos3.gotoAndStop(1);
_root.Hito4.gotoAndStop(1);
gotoAndStop (1);
Symbol 2321 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2321 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2321 MovieClip Frame 30
if (_root.HitDoor6.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2321 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 5);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 112);
Set("/Vars:PeurDestY", 303);
Instance of Symbol 891 MovieClip in Symbol 2321 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2321 MovieClip Frame 72
gotoAndStop (1);
Symbol 2322 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2322 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2322 MovieClip Frame 30
if (_root.HitDoor7.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2322 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 5);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 454);
Set("/Vars:PeurDestY", 80);
Instance of Symbol 891 MovieClip in Symbol 2322 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2322 MovieClip Frame 72
gotoAndStop (1);
Symbol 2323 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2323 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 150) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 2323 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2323 MovieClip Frame 24
gotoAndStop (1);
Symbol 2323 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 3);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 462);
Set("/Vars:PeurDestY", 370);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 2323 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2324 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2324 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2324 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2324 MovieClip Frame 44
Set("/Vars:PosBloc1", 2);
Set("/Vars:Tab3Lever1", true);
_root.Bloc1.gotoAndStop(2);
Symbol 2324 MovieClip Frame 51
Set("/Vars:Tab3Lever1", true);
_root.Fonct.FinAgp();
Symbol 2324 MovieClip Frame 52
stop();
Symbol 2325 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2325 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2325 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2325 MovieClip Frame 44
Set("/Vars:PosBloc1", 3);
Set("/Vars:Tab3Lever2", true);
_root.Bloc1.gotoAndStop(9);
Symbol 2325 MovieClip Frame 51
_root.Fonct.FinAgp();
Symbol 2325 MovieClip Frame 52
stop();
Symbol 2328 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2328 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2328 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2328 MovieClip Frame 44
Set("/Vars:PosBloc1", 1);
Set("/Vars:Tab3Lever3", true);
_root.Bloc1.gotoAndStop(26);
Symbol 2328 MovieClip Frame 51
_root.Fonct.FinAgp();
Symbol 2328 MovieClip Frame 52
stop();
Symbol 2330 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2330 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2330 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2330 MovieClip Frame 62
Set("/Vars:Tab3Etage", 2);
_root.Collider.nextFrame();
_root.Fonct.FinAgp();
Symbol 2330 MovieClip Frame 63
gotoAndStop (1);
Symbol 2332 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2332 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2332 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2332 MovieClip Frame 57
Set("/Vars:Tab3Etage", 1);
_root.collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 2332 MovieClip Frame 58
gotoAndStop (1);
Symbol 2334 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2334 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2334 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2334 MovieClip Frame 57
Set("/Vars:Tab3Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 2334 MovieClip Frame 58
gotoAndStop (1);
Symbol 2335 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2335 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2335 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2335 MovieClip Frame 57
_root.Collider.gotoAndStop(2);
Set("/Vars:Tab3Etage", 2);
_root.Fonct.FinAgp();
Symbol 2335 MovieClip Frame 58
gotoAndStop (1);
Symbol 2336 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2336 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2336 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2336 MovieClip Frame 9
Set("/Vars:Tab3Etage", 2);
_root.Collider.gotoAndStop(2);
_root.Fonct.FinAgp();
Symbol 2336 MovieClip Frame 15
stop();
Instance of Symbol 891 MovieClip in Symbol 2336 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2336 MovieClip Frame 23
Set("/Vars:Tab3Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 2336 MovieClip Frame 29
stop();
Symbol 2339 MovieClip Frame 1
if (/Vars:InvPelle == true) {
nextFrame();
} else {
stop();
}
Symbol 2343 MovieClip Frame 1
if (/Vars:PosBloc1 == 1) {
stop();
} else if (/Vars:PosBloc1 == 2) {
nextFrame();
} else {
gotoAndStop (3);
}
Symbol 2346 MovieClip Frame 1
if (/Vars:PosBloc1 == 2) {
nextFrame();
} else {
stop();
}
Symbol 2348 MovieClip Frame 1
if (/Vars:PosBloc1 == 3) {
nextFrame();
} else {
stop();
}
Symbol 2349 MovieClip Frame 1
if (/Vars:Tab3Etage == 2) {
nextFrame();
} else {
stop();
}
Symbol 2403 MovieClip Frame 1
stop();
Symbol 2403 MovieClip Frame 2
if (/Vars:PosBloc2 == 1) {
_root.Tab4Bloc1.gotoAndStop("Pos2");
}
Instance of Symbol 891 MovieClip in Symbol 2403 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2403 MovieClip Frame 3
Set("/Vars:PlaqueBas", true);
stop();
Instance of Symbol 891 MovieClip in Symbol 2403 MovieClip Frame 4
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2403 MovieClip Frame 5
Set("/Vars:PlaqueBas", false);
gotoAndStop (1);
Symbol 2406 MovieClip Frame 1
stop();
Symbol 2406 MovieClip Frame 2
_root.Collider.CacheBlocBas.gotoAndStop(4);
_root.Tab4Bloc3.nextFrame();
Set("/Vars:PosBloc2", 3);
stop();
Instance of Symbol 891 MovieClip in Symbol 2406 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2406 MovieClip Frame 4
_root.Tab4Bloc2.nextFrame();
Symbol 2406 MovieClip Frame 5
stop();
Symbol 2407 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2407 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2407 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2407 MovieClip Frame 12
Set("/Vars:PosBloc2", 3);
stop();
Symbol 2408 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2408 MovieClip Frame 1
/* no clip actions */
Symbol 2408 MovieClip Frame 2
_root.Scooby._x = 84.3;
_root.Scooby._y = 264.6;
Set("/Vars:DirScooby", 1);
Set("/Vars:EtatScooby", "Idle");
_root.Scooby.gotoAndStop(1);
_root.Scooby.Obj.gotoAndStop("Idle");
Set("/Vars:PersActif", "Samy");
Set("/Vars:LostControl", false);
nextFrame();
Symbol 2408 MovieClip Frame 3
stop();
Symbol 2409 MovieClip Frame 1
if (/Vars:InvBar == true) {
nextFrame();
} else {
stop();
}
Symbol 2410 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2410 MovieClip Frame 1
/* no clip actions */
Symbol 2410 MovieClip Frame 2
_root.Collider.CacheBlocBas.gotoAndStop(3);
Instance of Symbol 891 MovieClip in Symbol 2410 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2410 MovieClip Frame 12
Set("/Vars:PosBloc2", 2);
Symbol 2410 MovieClip Frame 13
stop();
Instance of Symbol 891 MovieClip in Symbol 2410 MovieClip Frame 14
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2410 MovieClip Frame 24
Set("/Vars:PosBloc2", 1);
_root.Collider.CacheBlocBas.gotoAndStop(2);
_root.Tab4Bloc1.gotoAndStop(1);
gotoAndStop (1);
Symbol 2414 MovieClip Frame 1
if (/Vars:MenPart2 == false) {
nextFrame();
} else {
stop();
}
Symbol 2416 MovieClip Frame 1
if (/Vars:MenPart1 == false) {
nextFrame();
} else {
stop();
}
Symbol 2418 MovieClip Frame 1
if (/Vars:MenPart3 == false) {
nextFrame();
} else {
stop();
}
Symbol 2420 MovieClip Frame 1
if (/Vars:MenPart4 == false) {
nextFrame();
} else {
stop();
}
Symbol 2422 MovieClip Frame 1
if (/Vars:MenPart5 == false) {
nextFrame();
} else {
stop();
}
Symbol 2424 MovieClip Frame 1
if (/Vars:MenPart6 == false) {
nextFrame();
} else {
stop();
}
Symbol 2426 MovieClip Frame 1
if (/Vars:MenPart7 == false) {
nextFrame();
} else {
stop();
}
Instance of Symbol 891 MovieClip in Symbol 2427 MovieClip Frame 1
/* no clip actions */
Symbol 2429 MovieClip Frame 1
if (/Vars:Tab4Porte == true) {
gotoAndStop (21);
} else {
stop();
}
Instance of Symbol 891 MovieClip in Symbol 2429 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2429 MovieClip Frame 20
Set("/Vars:Tab4Porte", true);
_root.Collider.CachePorte.gotoAndStop(2);
Symbol 2429 MovieClip Frame 21
stop();
Symbol 2430 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2430 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2430 MovieClip Frame 30
if (_root.HitDoor8.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2430 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 5);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 471);
Set("/Vars:PeurDestY", 369);
Instance of Symbol 891 MovieClip in Symbol 2430 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2430 MovieClip Frame 72
gotoAndStop (1);
Symbol 2431 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2431 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2431 MovieClip Frame 30
if (_root.HitDoor9.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2431 MovieClip Frame 31
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 8);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 208);
Set("/Vars:PeurDestY", 364);
Instance of Symbol 891 MovieClip in Symbol 2431 MovieClip Frame 31
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2431 MovieClip Frame 72
gotoAndStop (1);
Symbol 2439 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2439 MovieClip Frame 1
/* no clip actions */
Symbol 2439 MovieClip Frame 44
Set("/Vars:Sorti", "End");
tellTarget ("_root") {
gotoAndPlay ("ExitTab4b");
};
Symbol 2441 MovieClip Frame 1
stop();
Symbol 2463 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2463 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2463 MovieClip Frame 72
Set("/Vars:Tab4Lever1", true);
_root.Tab4Bloc1.gotoAndPlay("Pos3");
Symbol 2463 MovieClip Frame 81
_root.Fonct.FinAgp();
Symbol 2463 MovieClip Frame 82
stop();
Symbol 2464 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2464 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 200) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 2464 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2464 MovieClip Frame 24
gotoAndStop (1);
Symbol 2464 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 7);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 99);
Set("/Vars:PeurDestY", 130);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 2464 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2465 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2465 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 220) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 2465 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2465 MovieClip Frame 24
gotoAndStop (1);
Symbol 2465 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 3);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 504);
Set("/Vars:PeurDestY", 212);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 2465 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2466 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2466 MovieClip Frame 1
onClipEvent (load) {
Set("_parent:Wait", 0);
}
onClipEvent (enterFrame) {
if (/Vars:Pause == false) {
Set("_parent:Wait", _parent:Wait + 1);
if (_parent:Wait > 150) {
Set("_parent:Wait", 0);
_parent.gotoAndPlay("Idle");
}
}
}
Instance of Symbol 891 MovieClip in Symbol 2466 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2466 MovieClip Frame 24
gotoAndStop (1);
Symbol 2466 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DirFin", 8);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 4);
Set("/Vars:FinMove", "FinMarche");
Set("/Vars:PeurDestX", 426);
Set("/Vars:PeurDestY", 238);
gotoAndPlay (26);
Instance of Symbol 891 MovieClip in Symbol 2466 MovieClip Frame 25
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2468 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2468 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2468 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2468 MovieClip Frame 57
Set("/Vars:Tab4Etage", 2);
_root.Collider.gotoAndStop(2);
_root.Fonct.FinAgp();
Symbol 2468 MovieClip Frame 58
gotoAndStop (1);
Symbol 2469 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2469 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2469 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2469 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2469 MovieClip Frame 63
gotoAndStop (1);
Symbol 2470 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2470 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2470 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2470 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2470 MovieClip Frame 63
gotoAndStop (1);
Symbol 2472 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2472 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2472 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2472 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2472 MovieClip Frame 63
gotoAndStop (1);
Symbol 2473 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2473 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2473 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2473 MovieClip Frame 57
Set("/Vars:Tab4Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 2473 MovieClip Frame 58
gotoAndStop (1);
Symbol 2474 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2474 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2474 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2474 MovieClip Frame 50
_root.Fonct.FinAgp();
Symbol 2474 MovieClip Frame 51
gotoAndStop (1);
Symbol 2475 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2475 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2475 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2475 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2475 MovieClip Frame 63
gotoAndStop (1);
Symbol 2476 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2476 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2476 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2476 MovieClip Frame 50
_root.Fonct.FinAgp();
Symbol 2476 MovieClip Frame 51
gotoAndStop (1);
Symbol 2477 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2477 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2477 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2477 MovieClip Frame 57
Set("/Vars:Tab4Etage", 2);
_root.Collider.gotoAndStop(2);
_root.Fonct.FinAgp();
Symbol 2477 MovieClip Frame 58
gotoAndStop (1);
Symbol 2478 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2478 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2478 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2478 MovieClip Frame 57
Set("/Vars:Tab4Etage", 1);
_root.Collider.gotoAndStop(1);
_root.Fonct.FinAgp();
Symbol 2478 MovieClip Frame 58
gotoAndStop (1);
Symbol 2479 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2479 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2479 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2479 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2479 MovieClip Frame 63
gotoAndStop (1);
Symbol 2480 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2480 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2480 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2480 MovieClip Frame 62
_root.Fonct.FinAgp();
Symbol 2480 MovieClip Frame 63
gotoAndStop (1);
Symbol 2485 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2485 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 891 MovieClip in Symbol 2485 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2485 MovieClip Frame 98
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpWait");
Set("/Vars:TempDestX", 84.3);
Set("/Vars:TempDestY", 264.6);
Set("/Vars:TempDirFin", 1);
Set("/Vars:DestX", 136);
Set("/Vars:DestY", 292);
Set("/Vars:FinAgpX", 84.3);
Set("/Vars:FinAgpY", 264.6);
Set("/Vars:DirFin", 1);
Set("/Vars:TempPers", "Scooby");
_root.Fonct.PersSplit("Ss", "Samy", "Scooby");
Set("/Vars:FinMove", "Tasse");
_root.Fonct.MoveAuto("Samy");
Symbol 2485 MovieClip Frame 99
stop();
Symbol 2490 MovieClip Frame 1
if (/Vars:PosBloc2 == 1) {
gotoAndStop (2);
} else if (/Vars:PosBloc2 == 2) {
gotoAndStop (3);
} else {
gotoAndStop (4);
}
Symbol 2493 MovieClip Frame 1
if (/Vars:Tab4Porte == true) {
nextFrame();
} else {
stop();
}
Symbol 2497 MovieClip Frame 1
if (/Vars:PosBloc2 == 1) {
gotoAndStop (2);
} else if (/Vars:PosBloc2 == 2) {
gotoAndStop (3);
} else {
gotoAndStop (4);
}
Symbol 2498 MovieClip Frame 1
if (/Vars:Tab4Etage == 1) {
stop();
} else {
nextFrame();
}
Instance of Symbol 919 MovieClip "FearGauge" in Symbol 2513 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(/Vars:Fear + 1);
}
Symbol 2617 MovieClip Frame 15
Set("/Vars:Arret", false);
Set("/Vars:EtatSs", "Run");
Symbol 2621 MovieClip Frame 24
Set("/Vars:Arret", false);
Set("/Vars:EtatSs", "Run");
Symbol 2648 MovieClip Frame 40
Set("/Vars:EtatSs", "Enter");
Symbol 2666 MovieClip Frame 24
Set("/Vars:EtatSs", "Enter");
Instance of Symbol 2581 MovieClip in Symbol 2669 MovieClip Frame 31
onClipEvent (load) {
if ((/Vars:FrSsObjEtat2 != null) and (/Vars:FrSsObjEtat2 != 0)) {
temp = /Vars:FrSsObjEtat2;
Set("/Vars:FrSsObjEtat2", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2616 MovieClip in Symbol 2669 MovieClip Frame 31
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Symbol 2669 MovieClip Frame 32
tellTarget (_root) {
gotoAndStop ("CloseTab5");
};
stop();
Symbol 2670 MovieClip Frame 1
if ((/Vars:FrSsObj != null) and (/Vars:FrSsObj != 0)) {
tempo = /Vars:FrSsObj;
Set("/Vars:FrSsObj", 0);
this.gotoAndStop(tempo);
} else {
nextFrame();
}
Symbol 2670 MovieClip Frame 2
if ((getProperty("_root.Tab5.Item3", _currentframe) <= 0) and (getProperty("_root.Tab5.Item4", _currentframe) <= 0)) {
Set("/Vars:PosSs", 10);
} else if ((getProperty("_root.Tab5.Item4", _currentframe) <= 0) and (getProperty("_root.Tab5.Item5", _currentframe) <= 0)) {
Set("/Vars:PosSs", 13);
} else if ((getProperty("_root.Tab5.Item2", _currentframe) <= 0) and (getProperty("_root.Tab5.Item3", _currentframe) <= 0)) {
Set("/Vars:PosSs", 7);
} else if ((getProperty("_root.Tab5.Item5", _currentframe) <= 0) and (getProperty("_root.Tab5.Item6", _currentframe) <= 0)) {
Set("/Vars:PosSs", 17);
} else if ((getProperty("_root.Tab5.Item1", _currentframe) <= 0) and (getProperty("_root.Tab5.Item2", _currentframe) <= 0)) {
Set("/Vars:PosSs", 4);
} else if (getProperty("_root.Tab5.Item1", _currentframe) <= 0) {
Set("/Vars:PosSs", 1);
} else if (getProperty("_root.Tab5.Item6", _currentframe) <= 0) {
Set("/Vars:PosSs", 20);
}
_root.Tab5.Ss.gotoAndStop(/Vars:PosSs);
stop();
Instance of Symbol 2617 MovieClip "Etat1" in Symbol 2670 MovieClip Frame 2
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Symbol 2670 MovieClip Frame 11
stop();
Instance of Symbol 2581 MovieClip "Etat2" in Symbol 2670 MovieClip Frame 11
onClipEvent (load) {
if ((/Vars:FrSsObjEtat2 != null) and (/Vars:FrSsObjEtat2 != 0)) {
temp = /Vars:FrSsObjEtat2;
Set("/Vars:FrSsObjEtat2", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2616 MovieClip "Etat1" in Symbol 2670 MovieClip Frame 11
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Symbol 2670 MovieClip Frame 21
stop();
Instance of Symbol 2620 MovieClip "Etat2" in Symbol 2670 MovieClip Frame 21
onClipEvent (load) {
if ((/Vars:FrSsObjEtat2 != null) and (/Vars:FrSsObjEtat2 != 0)) {
temp = /Vars:FrSsObjEtat2;
Set("/Vars:FrSsObjEtat2", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2621 MovieClip "Etat1" in Symbol 2670 MovieClip Frame 21
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Symbol 2670 MovieClip Frame 31
stop();
Instance of Symbol 2648 MovieClip "Etat1" in Symbol 2670 MovieClip Frame 31
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Symbol 2670 MovieClip Frame 40
stop();
Instance of Symbol 2666 MovieClip "Etat1" in Symbol 2670 MovieClip Frame 40
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2667 MovieClip "Etat2" in Symbol 2670 MovieClip Frame 51
onClipEvent (load) {
if ((/Vars:FrSsObjEtat2 != null) and (/Vars:FrSsObjEtat2 != 0)) {
temp = /Vars:FrSsObjEtat2;
Set("/Vars:FrSsObjEtat2", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2668 MovieClip "Etat1" in Symbol 2670 MovieClip Frame 51
onClipEvent (load) {
if ((/Vars:FrSsObjEtat1 != null) and (/Vars:FrSsObjEtat1 != 0)) {
temp = /Vars:FrSsObjEtat1;
Set("/Vars:FrSsObjEtat1", 0);
this.gotoAndStop(temp);
} else {
this.gotoAndStop(1);
}
}
Symbol 2670 MovieClip Frame 61
stop();
Symbol 2671 MovieClip Frame 1
Set("/Vars:PersZone1", true);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 2
Set("/Vars:PersZone1", true);
Set("/Vars:PersZone2", true);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 3
Set("/Vars:PersZone1", true);
Set("/Vars:PersZone2", true);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 4
Set("/Vars:PersZone1", true);
Set("/Vars:PersZone2", true);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 5
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", true);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 6
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", true);
Set("/Vars:PersZone3", true);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 7
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", true);
Set("/Vars:PersZone3", true);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 8
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", true);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 9
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", true);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 10
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", true);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 11
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", true);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 12
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 13
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", true);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 14
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", true);
Set("/Vars:PersZone6", false);
Symbol 2671 MovieClip Frame 15
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", true);
Set("/Vars:PersZone5", true);
Set("/Vars:PersZone6", true);
Symbol 2671 MovieClip Frame 16
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", true);
Set("/Vars:PersZone6", true);
Symbol 2671 MovieClip Frame 17
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", true);
Set("/Vars:PersZone6", true);
Symbol 2671 MovieClip Frame 18
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", true);
Set("/Vars:PersZone6", true);
Symbol 2671 MovieClip Frame 19
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", true);
Symbol 2671 MovieClip Frame 20
Set("/Vars:PersZone1", false);
Set("/Vars:PersZone2", false);
Set("/Vars:PersZone3", false);
Set("/Vars:PersZone4", false);
Set("/Vars:PersZone5", false);
Set("/Vars:PersZone6", true);
Symbol 2686 MovieClip Frame 1
stop();
Symbol 2686 MovieClip Frame 2
Set("/Vars:Fear", /Vars:Fear + 20);
Set("/Vars:Arret", true);
Set("/Vars:EtatSs", "Spring");
Symbol 2686 MovieClip Frame 28
stop();
Instance of Symbol 891 MovieClip in Symbol 2687 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
tellTarget (_parent.Item) {
stop();
};
} else {
if (/Vars:Arret == false) {
tellTarget (_parent) {
play();
};
}
if (getProperty(_parent.Item, _currentframe) > 1) {
tellTarget (_parent.Item) {
play();
};
}
if (/Vars:Arret == true) {
tellTarget (_parent) {
stop();
};
}
}
}
Symbol 2687 MovieClip Frame 27
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2689 MovieClip Frame 1
stop();
Symbol 2689 MovieClip Frame 6
Set("/Vars:Fear", /Vars:Fear + 20);
Set("/Vars:Arret", true);
Set("/Vars:EtatSs", "Spin");
Symbol 2689 MovieClip Frame 7
stop();
Instance of Symbol 891 MovieClip in Symbol 2690 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if ((/Vars:Pause == true) or (/Vars:Arret == true)) {
tellTarget (_parent) {
stop();
};
tellTarget (_parent.Item) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
if ((getProperty(_parent.Item, _currentframe) > 1) and (getProperty(_parent.Item, _currentframe) != 7)) {
tellTarget (_parent.Item) {
play();
};
}
}
}
Symbol 2690 MovieClip Frame 26
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2690 MovieClip Frame 27
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2690 MovieClip Frame 28
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2690 MovieClip Frame 29
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2690 MovieClip Frame 30
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2698 MovieClip Frame 1
stop();
Symbol 2698 MovieClip Frame 21
Set("/Vars:Fear", /Vars:Fear + 20);
Set("/Vars:EtatSs", "Fear");
Symbol 2698 MovieClip Frame 51
stop();
Instance of Symbol 891 MovieClip in Symbol 2699 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
tellTarget (_parent.Item) {
stop();
};
tellTarget (_parent.Item.In) {
stop();
};
} else {
if (/Vars:Arret == false) {
tellTarget (_parent) {
play();
};
}
if (getProperty(_parent.Item, _currentframe) > 1) {
tellTarget (_parent.Item) {
play();
};
}
tellTarget (_parent.Item.In) {
play();
};
}
if (/Vars:Arret == true) {
tellTarget (_parent) {
stop();
};
}
}
Symbol 2699 MovieClip Frame 24
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Set("/Vars:Arret", true);
Set("/Vars:EtatSs", "Spin2");
Item.play();
}
Symbol 2712 MovieClip Frame 1
stop();
Symbol 2712 MovieClip Frame 4
Set("/Vars:Fear", /Vars:Fear + 20);
Set("/Vars:Arret", true);
Set("/Vars:EtatSs", "Fear");
Symbol 2712 MovieClip Frame 117
stop();
Instance of Symbol 891 MovieClip in Symbol 2713 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
tellTarget (_parent.Item) {
stop();
};
} else {
if (/Vars:Arret == false) {
tellTarget (_parent) {
play();
};
}
if (getProperty(_parent.Item, _currentframe) > 1) {
tellTarget (_parent.Item) {
play();
};
}
}
if (/Vars:Arret == true) {
tellTarget (_parent) {
stop();
};
}
}
Symbol 2713 MovieClip Frame 19
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2713 MovieClip Frame 20
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2713 MovieClip Frame 21
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Symbol 2713 MovieClip Frame 22
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Item.play();
}
Instance of Symbol 891 MovieClip in Symbol 2720 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
tellTarget (_parent.Item) {
stop();
};
tellTarget (_parent.Item.In) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
if (_parent:Bond != false) {
tellTarget (_parent.Item) {
play();
};
}
tellTarget (_parent.Item.In) {
play();
};
}
}
Symbol 2720 MovieClip Frame 21
if (eval ("/Vars:PersZone" + (substring(getProperty(this, _name), 5, 1))) == true) {
Set("/Vars:Fear", /Vars:Fear + 20);
Set("/Vars:Arret", true);
Set("/Vars:EtatSs", "Spin");
Bond = false;
Item.gotoAndStop(1);
}
Symbol 2720 MovieClip Frame 81
stop();
Symbol 2721 MovieClip Frame 1
gotoAndStop(/Vars:FrTab5);
Instance of Symbol 2671 MovieClip "Ss" in Symbol 2721 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(/Vars:PosSs);
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 11
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 28
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 46
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item4" in Symbol 2721 MovieClip Frame 67
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item2" in Symbol 2721 MovieClip Frame 80
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item1" in Symbol 2721 MovieClip Frame 93
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item4" in Symbol 2721 MovieClip Frame 108
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 122
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item2" in Symbol 2721 MovieClip Frame 139
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item4" in Symbol 2721 MovieClip Frame 151
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 165
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item5" in Symbol 2721 MovieClip Frame 170
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item2" in Symbol 2721 MovieClip Frame 195
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item1" in Symbol 2721 MovieClip Frame 206
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item5" in Symbol 2721 MovieClip Frame 215
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item4" in Symbol 2721 MovieClip Frame 231
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 246
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item1" in Symbol 2721 MovieClip Frame 259
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 263
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 305
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 324
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item4" in Symbol 2721 MovieClip Frame 325
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 340
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 353
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item1" in Symbol 2721 MovieClip Frame 365
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item5" in Symbol 2721 MovieClip Frame 381
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 398
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item1" in Symbol 2721 MovieClip Frame 405
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item4" in Symbol 2721 MovieClip Frame 418
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 449
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 468
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item2" in Symbol 2721 MovieClip Frame 471
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 483
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item5" in Symbol 2721 MovieClip Frame 489
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 502
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item1" in Symbol 2721 MovieClip Frame 517
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 527
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item2" in Symbol 2721 MovieClip Frame 534
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item6" in Symbol 2721 MovieClip Frame 543
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item1" in Symbol 2721 MovieClip Frame 562
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item5" in Symbol 2721 MovieClip Frame 567
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item2" in Symbol 2721 MovieClip Frame 579
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item3" in Symbol 2721 MovieClip Frame 592
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 602
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item6" in Symbol 2721 MovieClip Frame 617
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 632
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item5" in Symbol 2721 MovieClip Frame 647
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 649
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 676
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item2" in Symbol 2721 MovieClip Frame 681
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 703
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item5" in Symbol 2721 MovieClip Frame 713
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 736
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item2" in Symbol 2721 MovieClip Frame 747
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item6" in Symbol 2721 MovieClip Frame 748
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item4" in Symbol 2721 MovieClip Frame 760
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 780
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item2" in Symbol 2721 MovieClip Frame 792
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item3" in Symbol 2721 MovieClip Frame 805
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item5" in Symbol 2721 MovieClip Frame 829
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item2" in Symbol 2721 MovieClip Frame 849
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item1" in Symbol 2721 MovieClip Frame 858
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 863
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item2" in Symbol 2721 MovieClip Frame 892
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 904
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item6" in Symbol 2721 MovieClip Frame 908
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item2" in Symbol 2721 MovieClip Frame 927
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item1" in Symbol 2721 MovieClip Frame 935
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2690 MovieClip "Item3" in Symbol 2721 MovieClip Frame 945
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item3" in Symbol 2721 MovieClip Frame 986
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item1" in Symbol 2721 MovieClip Frame 993
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2720 MovieClip "Item6" in Symbol 2721 MovieClip Frame 996
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2713 MovieClip "Item5" in Symbol 2721 MovieClip Frame 1026
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2687 MovieClip "Item3" in Symbol 2721 MovieClip Frame 1051
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Instance of Symbol 2699 MovieClip "Item1" in Symbol 2721 MovieClip Frame 1061
onClipEvent (load) {
if ((eval ("/Vars:Fr" + getProperty(this, _name)) != null) and (eval ("/Vars:Fr" + getProperty(this, _name)) != 0)) {
temp = eval ("/Vars:Fr" + getProperty(this, _name));
Set("/Vars:Fr" + getProperty(this, _name), 0);
this.gotoAndStop(temp);
temp = eval (("/Vars:Fr" + getProperty(this, _name)) + "In");
Set(("/Vars:Fr" + getProperty(this, _name)) + "In", 0);
this.Item.gotoAndStop(temp);
}
}
Symbol 2721 MovieClip Frame 1121
Set("/Vars:Arret", true);
Set("/Vars:EtatSs", "Sort");
Symbol 2724 MovieClip Frame 1
stop();
Instance of Symbol 891 MovieClip in Symbol 2724 MovieClip Frame 1
/* no clip actions */
Symbol 2724 MovieClip Frame 44
tellTarget (_root) {
gotoAndPlay ("Finale");
};
Symbol 2725 Button
on (keyPress "s") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
Set("/Vars:FrTab5", getProperty("_root.Tab5", _currentframe));
Set("/Vars:PosSs", getProperty("_root.Tab5.Ss", _currentframe));
Set("/Vars:FrSsObj", getProperty("_root.Tab5.Ss.Obj", _currentframe));
Set("/Vars:FrSsObjEtat1", getProperty("_root.Tab5.Ss.Obj.Etat1", _currentframe));
Set("/Vars:FrSsObjEtat2", getProperty("_root.Tab5.Ss.Obj.Etat2", _currentframe));
if (getProperty("_root.Tab5.Item1", _currentframe) > 0) {
Set("/Vars:FrItem1", getProperty("_root.Tab5.Item1", _currentframe));
Set("/Vars:FrItem1In", getProperty("_root.Tab5.Item1.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item2", _currentframe) > 0) {
Set("/Vars:FrItem2", getProperty("_root.Tab5.Item2", _currentframe));
Set("/Vars:FrItem2In", getProperty("_root.Tab5.Item2.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item3", _currentframe) > 0) {
Set("/Vars:FrItem3", getProperty("_root.Tab5.Item3", _currentframe));
Set("/Vars:FrItem3In", getProperty("_root.Tab5.Item3.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item4", _currentframe) > 0) {
Set("/Vars:FrItem4", getProperty("_root.Tab5.Item4", _currentframe));
Set("/Vars:FrItem4In", getProperty("_root.Tab5.Item4.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item5", _currentframe) > 0) {
Set("/Vars:FrItem5", getProperty("_root.Tab5.Item5", _currentframe));
Set("/Vars:FrItem5In", getProperty("_root.Tab5.Item5.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item6", _currentframe) > 0) {
Set("/Vars:FrItem1", getProperty("_root.Tab5.Item6", _currentframe));
Set("/Vars:FrItem1In", getProperty("_root.Tab5.Item6.Item", _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:FrTab5", getProperty("_root.Tab5", _currentframe));
Set("/Vars:PosSs", getProperty("_root.Tab5.Ss", _currentframe));
Set("/Vars:FrSsObj", getProperty("_root.Tab5.Ss.Obj", _currentframe));
Set("/Vars:FrSsObjEtat1", getProperty("_root.Tab5.Ss.Obj.Etat1", _currentframe));
Set("/Vars:FrSsObjEtat2", getProperty("_root.Tab5.Ss.Obj.Etat2", _currentframe));
if (getProperty("_root.Tab5.Item1", _currentframe) > 0) {
Set("/Vars:FrItem1", getProperty("_root.Tab5.Item1", _currentframe));
Set("/Vars:FrItem1In", getProperty("_root.Tab5.Item1.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item2", _currentframe) > 0) {
Set("/Vars:FrItem2", getProperty("_root.Tab5.Item2", _currentframe));
Set("/Vars:FrItem2In", getProperty("_root.Tab5.Item2.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item3", _currentframe) > 0) {
Set("/Vars:FrItem3", getProperty("_root.Tab5.Item3", _currentframe));
Set("/Vars:FrItem3In", getProperty("_root.Tab5.Item3.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item4", _currentframe) > 0) {
Set("/Vars:FrItem4", getProperty("_root.Tab5.Item4", _currentframe));
Set("/Vars:FrItem4In", getProperty("_root.Tab5.Item4.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item5", _currentframe) > 0) {
Set("/Vars:FrItem5", getProperty("_root.Tab5.Item5", _currentframe));
Set("/Vars:FrItem5In", getProperty("_root.Tab5.Item5.Item", _currentframe));
}
if (getProperty("_root.Tab5.Item6", _currentframe) > 0) {
Set("/Vars:FrItem1", getProperty("_root.Tab5.Item6", _currentframe));
Set("/Vars:FrItem1In", getProperty("_root.Tab5.Item6.Item", _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("ScoobEpi7");
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("ScoobEpi7");
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 "p") {
if (/:Challenge == false) {
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) {
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();
}
}
}
}
Symbol 2727 MovieClip Frame 2
stop();
Symbol 2727 MovieClip Frame 3
stop();
Symbol 2941 MovieClip Frame 1137
tellTarget ("_root") {
gotoAndPlay ("Tab5Set");
};
Symbol 2950 MovieClip Frame 7
stop();