Frame 1
_root.createEmptyMovieClip("gamezhero", 100000);
_root.gamezhero.loadMovie("http://www.gamezhero.com/flash/gamezhero2.swf?x=25&y=375&from=scooby6Timed&scale=80&alpha=80");
Challenge = false;
_focusrect = false;
ifFrameLoaded (527) {
gotoAndStop (3);
}
Frame 2
stop();
Instance of Symbol 39 MovieClip "LoadBar" in Frame 2
onClipEvent (load) {
var TotalLoad = 1746090;
}
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 (418);
Frame 69
if (g_episode_name == null) {
g_episode_name = "scooby_episode_6";
}
Frame 315
loadVariablesNum (/:TrackingUrl add "?episode=6&stage=1", 0);
Frame 316
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 317
Set("/:Challenge", false);
Instance of Symbol 359 MovieClip "Fonct" in Frame 317
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);
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", 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);
};
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("ScoobEpi6");
ObjSave.data.Valeurs = _root.Vars;
ObjSave.flush();
delete ObjSave;
};
Load = function () {
ObjSave = SharedObject.getLocal("ScoobEpi6");
_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 359 MovieClip "Temp" in Frame 318
onClipEvent (load) {
TempStart = getTimer();
}
Instance of Symbol 364 MovieClip "Mus" in Frame 318
onClipEvent (load) {
Mus = new Sound(this);
this.Fade = 10;
this.VolDest = 0;
}
Instance of Symbol 390 MovieClip "Voix" in Frame 318
onClipEvent (load) {
Parle = false;
ScoobPlam = false;
SamyPalm = false;
Roche = false;
Snake = false;
Yeux = false;
Skull = false;
}
Instance of Symbol 359 MovieClip "IniVar" in Frame 318
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.InvNoix = false;
this.InvPanneau = false;
this.InvCorde1 = false;
this.InvCorde2 = false;
this.InvTorche = false;
this.InvLiane = false;
this.InvFlute = false;
this.InvPioche = false;
this.InvPelle = false;
this.NoixSol = false;
this.NbNoix = 0;
this.MMOut = false;
this.InTrou1 = false;
this.InTrou2 = false;
this.TotemFall = false;
this.EtatSnake = "IdleD";
this.LanceGDepth = 71;
this.LanceDDepth = 72;
this.Fuite = 0;
this.SnakeFix = false;
this.LanceDX = 128;
this.LanceDY = 402.8;
this.LanceGX = 138.8;
this.LanceGY = 403.9;
this.LanceDWoodX = 132.7;
this.LanceDWoodY = 402.8;
this.LanceGWoodX = 138.8;
this.LanceGWoodY = 403.9;
this.FearWoodX = 10;
this.FearWoodY = 10;
this.SsWood = false;
this.NbMMFear = 0;
this.ChangeTab = false;
this.Ou = "";
this.Sorti = "";
this.RocherBloc = true;
this.Yeux1Dead = false;
this.TorcheUse = false;
this.Yeux2Dead = false;
this.Yeux3Dead = false;
this.EnterTab4 = false;
this.EtatClimb = "PasLa";
this.ClimbX = 123.3;
this.ClimbY = 252.4;
this.Climb = false;
this.TeteParle = false;
this.MovePelle = false;
this.Wait = false;
this.Trou1 = false;
this.Trou2 = false;
this.Pers1 = "Samy";
this.DirSamy = 1;
this.NiveauSamy = 100;
this.EtatSamy = "PasLa";
this.Pers2 = "Scooby";
this.DirScooby = 1;
this.NiveauScooby = 100;
this.EtatScooby = "PasLa";
this.Pers3 = "Ss";
this.DirSs = 1;
this.NiveauSs = 300;
this.EtatSs = "Idle";
this.SsX = 100;
this.SsY = 227;
this.SamyX = -60;
this.SamyY = 220;
this.ScoobyX = -120;
this.ScoobyY = 220;
this.MoveX = 10;
this.MoveY = 8;
this.RatioDiag = 0.666666666666667;
this.MoveDiagRef = Math.sqrt((this.MoveX * this.MoveX) + (this.MoveY * this.MoveY));
this.MoveDiagRef = Math.roundTo(this.MoveDiagRef, 2);
this.MoveDiag = 0;
this.AngDiag = Math.acos(this.MoveX / this.MoveDiagRef);
this.AngDiag = (this.AngDiag * 180) / Math.PI;
this.AngDiag = Math.roundTo(this.AngDiag, 2);
this.DiagX = Math.round(this.MoveX * this.RatioDiag);
this.DiagY = Math.round(this.MoveY * this.RatioDiag);
this.ScalePers = 100;
this.MoveXdr = 0;
this.MoveYdr = 0;
this.MoveXd = 0;
this.MoveYd = 0;
this.MoveXdl = 0;
this.MoveYdl = 0;
this.MoveXl = 0;
this.MoveYl = 0;
this.MoveXul = 0;
this.MoveYul = 0;
this.MoveXu = 0;
this.MoveYu = 0;
this.MoveXur = 0;
this.MoveYur = 0;
this.MoveXr = 0;
this.MoveYr = 0;
};
_root.Vars = new ObjVars();
}
Instance of Symbol 359 MovieClip "Txt" in Frame 318
onClipEvent (load) {
this.NomItem = new Array("Coconuts", "Wood plank", "Hooked rope", "Shovel", "Torch", "Liana", "Ocarina", "Picks");
}
Instance of Symbol 458 MovieClip "Interface" in Frame 320
onClipEvent (load) {
this.swapDepths(500000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 462 MovieClip "Pause" in Frame 320
onClipEvent (load) {
this.swapDepths(500100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 495 MovieClip "SaveLoad" in Frame 320
onClipEvent (load) {
this.swapDepths(1000000);
_root.Vars:ObjRemove.push(this._name);
}
Frame 322
_root.Fonct.IniTab(88, 105, 1, 100);
Frame 323
Set("/Vars:Tableau", "Tab1");
_root.Fonct.SetMoves(40.7);
Instance of Symbol 497 MovieClip "CacheWood" in Frame 323
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 509 MovieClip "Foret" in Frame 323
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 511 MovieClip "SortiBois" in Frame 323
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 515 MovieClip "Branche3" in Frame 323
onClipEvent (load) {
this.swapDepths(603);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 517 MovieClip "Branche4" in Frame 323
onClipEvent (load) {
this.swapDepths(604);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 521 MovieClip "Branche1" in Frame 323
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 530 MovieClip "Branche2" in Frame 323
onClipEvent (load) {
this.swapDepths(602);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 793 MovieClip "AgpPalmier" in Frame 323
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 904 MovieClip "AgpLanceG" in Frame 323
onClipEvent (load) {
this.swapDepths(/Vars:LanceGDepth);
this._x = /Vars:LanceGX;
this._y = /Vars:LanceGY;
_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 1005 MovieClip "MMAttack1" in Frame 323
onClipEvent (load) {
this.swapDepths(204);
_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 1006 MovieClip "MMAttack2" in Frame 323
onClipEvent (load) {
this.swapDepths(205);
_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 1010 MovieClip "Leaf" in Frame 323
onClipEvent (load) {
this.swapDepths(503);
_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 1024 MovieClip "AgpNoixG" in Frame 323
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 1025 MovieClip "AgpNoixD" in Frame 323
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 1026 MovieClip "AgpLanceD" in Frame 323
onClipEvent (load) {
this.swapDepths(/Vars:LanceDDepth);
this._x = /Vars:LanceDX;
this._y = /Vars:LanceDY;
_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 1027 MovieClip "AgpLanceGWood" in Frame 323
onClipEvent (load) {
this.swapDepths(303);
this._x = /Vars:LanceGWoodX;
this._y = /Vars:LanceGWoodY;
_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 1028 MovieClip "AgpLanceDWood" in Frame 323
onClipEvent (load) {
this.swapDepths(304);
this._x = /Vars:LanceDWoodX;
this._y = /Vars:LanceDWoodY;
_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 1062 MovieClip "AgpFearWood" in Frame 323
onClipEvent (load) {
this.swapDepths(401);
_root.Vars:ObjRemove.push(this._name);
this._x = /Vars:FearWoodX;
this._y = /Vars:FearWoodY;
_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 1135 MovieClip "Snake" in Frame 323
onClipEvent (load) {
this.swapDepths(101);
_root.Vars:ObjRemove.push(this._name);
this.gotoAndStop(/Vars:EtatSnake);
}
Instance of Symbol 1212 MovieClip "AgpTotem" in Frame 323
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 1227 MovieClip "AgpFlute" in Frame 323
onClipEvent (load) {
this.swapDepths(200);
_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 1357 MovieClip "MMPlage" in Frame 323
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 1377 MovieClip "AgpFixSnake" in Frame 323
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 1429 MovieClip "AgpScoobPalm" in Frame 323
onClipEvent (load) {
this.swapDepths(351);
_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 1451 MovieClip "AgpFixPalm" in Frame 323
onClipEvent (load) {
this.swapDepths(104);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1490 MovieClip "AgpSnakeSwing" in Frame 323
onClipEvent (load) {
this.swapDepths(103);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 1515 MovieClip "AgpFuite2" in Frame 323
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 1516 MovieClip "AgpFuite1" in Frame 323
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 {
this.gotoAndStop(1);
}
}
Instance of Symbol 1580 MovieClip "Samy" in Frame 323
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 1938 MovieClip "Scooby" in Frame 323
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);
}
Instance of Symbol 1946 MovieClip "FermeTab" in Frame 323
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1955 MovieClip "Ss" in Frame 323
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);
}
Frame 324
stop();
Instance of Symbol 1957 MovieClip "HitPasNoix" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1957 MovieClip "HitPeurMM" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1963 MovieClip "Collider" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Frame 324
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 1966 MovieClip "Control" in Frame 324
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else 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);
}
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:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if ((_root.HitNoix.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvNoix == false)) and (/Vars:NoixSol == true)) {
_root.TempNoix.gotoAndPlay(2);
_root.Fonct.AddInv(2, "InvNoix");
Set("/Vars:NbNoix", 3);
_root.SonGet.play();
Set("/Vars:NoixSol", false);
tellTarget (_root.AgpPalmier.Noix) {
nextFrame();
};
} else if (_root.HitLiane.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvLiane == false)) {
_root.Fonct.AddInv(7, "InvLiane");
_root.SonGet.play();
tellTarget (_root.Branche3.Liane) {
nextFrame();
};
} else if (_root.HitFlute.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvFlute == false)) {
_root.Fonct.AddInv(8, "InvFlute");
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("Oricana");
} else {
_root.SonGet.play();
}
tellTarget (_root.Flute) {
nextFrame();
};
} else if (_root.HitPalmier.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:NoixSol == false)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpPalmier");
Set("/Vars:DestX", 51);
Set("/Vars:DestY", 359.2);
Set("/Vars:FinAgpX", 51);
Set("/Vars:FinAgpY", 359.2);
Set("/Vars:DirFin", 4);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if (_root.HitFixSnake.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 7)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:AgpActif", "AgpFixSnake");
Set("/Vars:TempDestX", 388.1);
Set("/Vars:TempDestY", 117.9);
Set("/Vars:TempDirFin", 6);
Set("/Vars:DestX", 382);
Set("/Vars:DestY", 171);
Set("/Vars:FinAgpX", 388.1);
Set("/Vars:FinAgpY", 117.9);
Set("/Vars:DirFin", 3);
Set("/Vars:TempPers", "Samy");
_root.Fonct.PersSplit("Ss", "Scooby", "Samy");
Set("/Vars:FinMove", "Tasse");
_root.Fonct.MoveAuto("Scooby");
} else if ((_root.HitJoueFlute.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 8)) and (/Vars:EtatSnake eq "IdleD")) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpFlute");
Set("/Vars:TempDestX", 374.4);
Set("/Vars:TempDestY", 135.8);
Set("/Vars:TempDirFin", 1);
Set("/Vars:DestX", 376);
Set("/Vars:DestY", 171);
Set("/Vars:FinAgpX", 374.4);
Set("/Vars:FinAgpY", 135.8);
Set("/Vars:DirFin", 1);
Set("/Vars:TempPers", "Scooby");
_root.Fonct.PersSplit("Ss", "Samy", "Scooby");
Set("/Vars:FinMove", "Tasse");
_root.Fonct.MoveAuto("Samy");
} else if ((/Vars:ObjSelect == 2) and (getProperty("_root.TempNoix", _currentframe) == 1)) {
if (_root.HitPasNoix.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NotHere");
}
} else if (/Vars:MMOut == false) {
if (/Vars:NbNoix == 1) {
Set("/Vars:PtObjDel", /Vars:PtInvArray);
}
Set("/Vars:MMOut", true);
Set("/Vars:StartPlay", 2);
if (_root.CacheWood.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
if (_root.Ss._x > 97.6) {
Set("/Vars:DirFin", 3);
Set("/Vars:AgpActif", "AgpLanceGWood");
_root.AgpLanceGWood._x = _root.Ss._x;
_root.AgpLanceGWood._y = _root.Ss._y;
} else {
Set("/Vars:DirFin", 1);
Set("/Vars:AgpActif", "AgpLanceDWood");
_root.AgpLanceDWood._x = _root.Ss._x;
_root.AgpLanceDWood._y = _root.Ss._y;
}
} else if (_root.Ss._x > 97.6) {
Set("/Vars:DirFin", 3);
Set("/Vars:AgpActif", "AgpLanceG");
_root.AgpLanceG._x = _root.Ss._x;
_root.AgpLanceG._y = _root.Ss._y;
Set("/Vars:LanceGDepth", /Vars:NiveauSs - 29);
_root.AgpLanceG.swapDepths(/Vars:LanceGDepth);
} else {
Set("/Vars:DirFin", 1);
Set("/Vars:AgpActif", "AgpLanceD");
_root.AgpLanceD._x = _root.Ss._x;
_root.AgpLanceD._y = _root.Ss._y;
Set("/Vars:LanceDDepth", /Vars:NiveauSs - 28);
_root.AgpLanceD.swapDepths(/Vars:LanceDDepth);
}
Set("/Vars:DestX", _root.Ss._x);
Set("/Vars:DestY", _root.Ss._y);
Set("/Vars:FinAgpX", _root.Ss._x);
Set("/Vars:FinAgpY", _root.Ss._y);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
} else if ((/Vars:ObjSelect == 2) and (/Voix:Parle == false)) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NotNow");
}
}
} else if (/Vars:PersActif eq "Scooby") {
if (_root.HitPalm.hitTest(_root.Scooby._x, _root.Scooby._y, true)) {
_root.Leaf.gotoAndStop(1);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpScoobPalm");
Set("/Vars:DestX", _root.Scooby._x);
Set("/Vars:DestY", _root.Scooby._y);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Scooby");
}
if (_root.HitFlute.hitTest(_root.Scooby._x, _root.Scooby._y, true) and (/Vars:InvFlute == false)) {
_root.Fonct.AddInv(8, "InvFlute");
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("Orican");
} else {
_root.SonGet.gotoAndPlay("Get");
}
tellTarget (_root.Flute) {
nextFrame();
};
}
if (_root.HitPalmier.hitTest(_root.Scooby._x, _root.Scooby._y, true) and (/Voix:ScoobPalm == false)) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
Set("/Voix:ScoobPalm", true);
_root.Voix.gotoAndPlay("ScNope");
}
}
} else if (/Vars:PersActif eq "Samy") {
if (_root.HitTotem.hitTest(_root.Samy._x, _root.Samy._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpTotem");
Set("/Vars:DestX", 506.9);
Set("/Vars:DestY", 155.5);
Set("/Vars:FinAgpX", 506.6);
Set("/Vars:FinAgpY", 155.4);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
if (_root.HitLiane.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Vars:InvLiane == false)) {
_root.Fonct.AddInv(7, "InvLiane");
_root.SonGet.play();
tellTarget (_root.Branche3.Liane) {
nextFrame();
};
}
if (_root.HitPalmier.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Voix:SamyPalm == false)) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
Set("/Voix:SamyPalm", true);
_root.Voix.gotoAndPlay("No");
}
}
}
}
if (((_root.HitMMFear2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (/Vars:MMOut == false)) and (/Vars:InTrou2 == false)) and (getProperty("_root.MMAttack2", _currentframe) == 1)) {
_root.MMAttack2.gotoAndStop(2);
}
if (_root.HitTrou2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:InTrou2", true);
}
if (((/Vars:InTrou2 == true) and (!_root.HitTrou2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true))) and (!_root.HitMMFear2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true))) {
Set("/Vars:InTrou2", false);
}
if (((_root.HitMMFear1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (/Vars:MMOut == false)) and (/Vars:InTrou1 == false)) and (getProperty("_root.MMAttack1", _currentframe) == 1)) {
_root.MMAttack1.gotoAndStop(2);
}
if (_root.HitTrou1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:InTrou1", true);
}
if (((/Vars:InTrou1 == true) and (!_root.HitTrou1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true))) and (!_root.HitMMFear1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true))) {
Set("/Vars:InTrou1", false);
}
if (_root.HitSnake.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (/Vars:EtatSnake eq "IdleD")) {
Set("/Vars:EtatSnake", "Attack");
_root.Snake.gotoAndStop("Attack");
Set("/Vars:Dialog", "Snake");
Set("/Vars:VDialog", "Snake");
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 5);
Set("/Vars:DestX", 534);
Set("/Vars:DestY", 227);
Set("/Vars:FinMove", "Parle");
}
if (_root.HitExit.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
if (/Vars:PersActif eq "Ss") {
Set("/Vars:Pause", true);
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
Set("/Vars:SortTab", true);
Set("/Vars:LostControl", true);
_root.gotoAndStop("CloseTab1");
} else {
Set("/Vars:Dialog", "NotNow");
Set("/Vars:VDialog", "Temp");
Set("/Vars:DirFin", 2);
Set("/Vars:DestX", 515);
Set("/Vars:DestY", 162);
Set("/Vars:FinMove", "Parle");
_root.Fonct.MoveAuto("Samy");
}
}
if (_root.HitPeurMM.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (/Vars:MMOut == true)) {
if ((/Vars:PersActif eq "Scooby") and (/Voix:Parle == false)) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("Gulp");
} else {
_root.Voix.gotoAndPlay("LookDanger");
}
Set("/Vars:DirFin", 2);
if (_root[/Vars:PersActif]._x < 183) {
Set("/Vars:DestX", _root[/Vars:PersActif]._x + 20);
} else {
Set("/Vars:DestX", _root[/Vars:PersActif]._x - 20);
}
Set("/Vars:DestY", _root[/Vars:PersActif]._y + 50);
Set("/Vars:FinMove", "FinMarche");
_root.Fonct.MoveAuto(/Vars:PersActif);
}
}
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 (_root.CacheWood.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
if (/Vars:SsWood == false) {
_root.SonEntreWood.play();
Set("/Vars:SsWood", true);
}
} else if (/Vars:SsWood == true) {
Set("/Vars:SsWood", false);
_root.SonSortWood.play();
}
if ((((/Vars:Haut == true) or (/Vars:Bas == true)) or (/Vars:Droite == true)) or (/Vars:Gauche == true)) {
if (_root.CacheWood.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Etat" + /Vars:PersActif, "Wood");
_root.Leaf._x = _root[/Vars:PersActif]._x;
_root.Leaf._y = _root[/Vars:PersActif]._y;
_root.Leaf.swapDepths(eval ("/Vars:Niveau" + /Vars:PersActif) + 50);
_root.Leaf.gotoAndStop(2);
} else {
Set("/Vars:Etat" + /Vars:PersActif, "Marche");
_root.Leaf.gotoAndStop(1);
}
} else if (_root.CacheWood.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Etat" + /Vars:PersActif, "WoodIdle");
} else {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
}
if (((eval ("/Vars:Etat" + /Vars:PersActif) eq "Marche") or (eval ("/Vars:Etat" + /Vars:PersActif) eq "Wood")) 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 {
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 1968 MovieClip "HitPalmier" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitNoix" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitMMFear2" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitTrou2" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitMMFear1" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitTrou1" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitLiane" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSnake" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitFixSnake" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitPalm" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitFlute" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitJoueFlute" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitTotem" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitExit" in Frame 324
onClipEvent (load) {
_visible = 0;
}
Frame 325
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 334
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(92, 359, 1, 800);
} else {
_root.Fonct.IniTab2(0, 0, 100);
}
Frame 335
Set("/Vars:Tableau", "Tab2");
_root.Fonct.SetMoves(48);
Instance of Symbol 1984 MovieClip "Roche10" in Frame 335
onClipEvent (load) {
this.swapDepths(1000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1986 MovieClip "Roche6" in Frame 335
onClipEvent (load) {
this.swapDepths(500);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1988 MovieClip "Roche9" in Frame 335
onClipEvent (load) {
this.swapDepths(800);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1990 MovieClip "Roche8" in Frame 335
onClipEvent (load) {
this.swapDepths(700);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1992 MovieClip "Roche3" in Frame 335
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1994 MovieClip "Roche2" in Frame 335
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1996 MovieClip "Roche1" in Frame 335
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1998 MovieClip "Roche4" in Frame 335
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2001 MovieClip "Roche5" in Frame 335
onClipEvent (load) {
this.swapDepths(601);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2004 MovieClip "Roche11" in Frame 335
onClipEvent (load) {
this.swapDepths(1100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2006 MovieClip "Panneau" in Frame 335
onClipEvent (load) {
this.swapDepths(101);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2008 MovieClip "Roche7" in Frame 335
onClipEvent (load) {
this.swapDepths(600);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2020 MovieClip "Yeux1" in Frame 335
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 2052 MovieClip "Torche" in Frame 335
onClipEvent (load) {
this.swapDepths(901);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2089 MovieClip "AgpRoche" in Frame 335
onClipEvent (load) {
this.swapDepths(501);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
if (/Vars:RocherBloc == false) {
this.gotoAndStop("Open");
} else {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2092 MovieClip "Tab2SortA" in Frame 335
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 {
this.gotoAndStop(1);
}
}
Instance of Symbol 2095 MovieClip "Tab2SortH" in Frame 335
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 2098 MovieClip "Tab2SortA2" in Frame 335
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 {
this.gotoAndStop(1);
}
}
Instance of Symbol 2101 MovieClip "Tab2SortI" in Frame 335
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 2104 MovieClip "Tab2SortC" in Frame 335
onClipEvent (load) {
this.swapDepths(50);
_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 2105 MovieClip "Tab2SortF" in Frame 335
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 2108 MovieClip "Tab2SortD" in Frame 335
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 2109 MovieClip "Tab2EntreB" in Frame 335
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 2110 MovieClip "Tab2EntreK" in Frame 335
onClipEvent (load) {
this.swapDepths(802);
_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 2121 MovieClip "AgpBrule1" in Frame 335
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 2204 MovieClip "AgpUseRope" in Frame 335
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 1955 MovieClip "Ss" in Frame 335
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 1580 MovieClip "Samy" in Frame 335
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 1938 MovieClip "Scooby" in Frame 335
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);
}
Instance of Symbol 2209 MovieClip "FermeTab" in Frame 335
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2218 MovieClip "Tab2MM" in Frame 335
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 {
this.gotoAndStop(1);
}
}
Frame 336
stop();
Instance of Symbol 2224 MovieClip "Collider" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Frame 336
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 1968 MovieClip "HitSortB" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1966 MovieClip "Control" in Frame 336
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else 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);
}
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:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitPanneau.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvPanneau == false)) {
_root.Fonct.AddInv(3, "InvPanneau");
_root.SonGet.play();
tellTarget (_root.Panneau) {
nextFrame();
};
tellTarget (_root.Collider.CachePanneau) {
nextFrame();
};
}
if (_root.HitTorche.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvTorche == false)) {
_root.Fonct.AddInv(6, "InvTorche");
_root.SonGet.play();
tellTarget (_root.Torche) {
nextFrame();
};
}
if (_root.HitRoche.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:RocherBloc == true)) {
if (/Vars:ObjSelect == 3) {
Set("/Vars:StartPlay", 2);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:AgpActif", "AgpRoche");
Set("/Vars:TempDestX", 418.9);
Set("/Vars:TempDestY", 263.2);
Set("/Vars:TempDirFin", 7);
Set("/Vars:DestX", 464);
Set("/Vars:DestY", 310);
Set("/Vars:FinAgpX", 418.9);
Set("/Vars:FinAgpY", 263.2);
Set("/Vars:DirFin", 7);
Set("/Vars:TempPers", "Samy");
_root.Fonct.PersSplit("Ss", "Scooby", "Samy");
Set("/Vars:FinMove", "Tasse");
_root.Fonct.MoveAuto("Scooby");
} else if (/Voix:Roche == false) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
Set("/Voix:Roche", true);
_root.Voix.gotoAndPlay("NotMove");
}
} else if (/Vars:ObjSelect == 1) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("WeNeedSome");
}
} else if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NeedSomeElse");
}
}
if (((_root.HitYeux.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Yeux1Dead == false)) and (/Vars:ObjSelect == 6)) and (getProperty("_root.Yeux1", _currentframe) < 35)) {
Set("/Vars:TorcheUse", true);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpBrule1");
Set("/Vars:DestX", 351);
Set("/Vars:DestY", 137.7);
Set("/Vars:FinAgpX", 351);
Set("/Vars:FinAgpY", 137.7);
Set("/Vars:DirFin", 4);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitUseRopeD.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 4)) and (getProperty("_root.AgpUseRope", _currentframe) == 1)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpUseRope");
Set("/Vars:DestX", 489);
Set("/Vars:DestY", 115.6);
Set("/Vars:FinAgpX", 385.6);
Set("/Vars:FinAgpY", 127.2);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if ((_root.HitUseRopeG.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 4)) and (getProperty("_root.AgpUseRope", _currentframe) == 1)) {
Set("/Vars:StartPlay", 38);
Set("/Vars:AgpActif", "AgpUseRope");
Set("/Vars:DestX", 387.1);
Set("/Vars:DestY", 129.1);
Set("/Vars:FinAgpX", 490.1);
Set("/Vars:FinAgpY", 121.1);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortB.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) or _root.HitSortB2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "B");
Set("/Vars:EtatSs", "PasLa");
_root.gotoAndPlay("ExitTab2a");
}
if (_root.HitSortC.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "C");
Set("/Vars:DestX", 288);
Set("/Vars:DestY", 102);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortI.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "I");
Set("/Vars:DestX", 547);
Set("/Vars:DestY", 232);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortD.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "D");
Set("/Vars:DestX", 340);
Set("/Vars:DestY", 341);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortK.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Sorti", "K");
Set("/Vars:EtatSs", "PasLa");
_root.gotoAndPlay("ExitTab2a");
}
if (_root.HitSortF.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "F");
Set("/Vars:DestX", 535);
Set("/Vars:DestY", 82);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortH.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "H");
Set("/Vars:DestX", 332);
Set("/Vars:DestY", 259);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortEnd.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:DestX", 472);
Set("/Vars:DestY", 9);
Set("/Vars:FinMove", "SortTabFin");
_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", -2);
Set("/Vars:DestY", 298);
Set("/Vars:FinAgpX", 112.2);
Set("/Vars:FinAgpY", 194.8);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortA2.hitTest(_root.Ss._x, _root.Ss._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab2SortA2");
Set("/Vars:DestX", 15);
Set("/Vars:DestY", 154);
Set("/Vars:FinAgpX", 70.4);
Set("/Vars:FinAgpY", 340.7);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitYeux.hitTest(_root.Ss._x, _root.Ss._y, true)) {
if (((/Vars:Yeux1Dead == false) and (/Vars:TorcheUse == false)) and (getProperty("_root.Yeux1", _currentframe) == 1)) {
_root.Yeux1.gotoAndStop(2);
}
} else if (getProperty("_root.Yeux1", _currentframe) < 37) {
_root.Yeux1.gotoAndStop(1);
}
if ((_root.HitMM.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Peur == false)) and (getProperty("_root.Tab2MM", _currentframe) == 1)) {
_root.Tab2MM.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);
}
}
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 "SortTab") {
Set("/Vars:EtatSs", "PasLa");
Set("/Vars:Sorti", /Vars:Ou);
Set("/Vars:MoveAuto", false);
_root.gotoAndPlay("ExitTab2a");
} else if (/Vars:FinMove eq "SortTabFin") {
Set("/Vars:SortTab", true);
Set("/Vars:EtatSs", "PasLa");
_root.Ss.Obj.gotoAndStop("PasLa");
Set("/Vars:MoveAuto", false);
_root.gotoAndStop("CloseTab2");
} else if (/Vars:FinMove eq "Parle") {
Set("/Vars:LostControl", false);
if (/Vars:Dialog ne "") {
_root.Voix.gotoAndPlay(/Vars:Dialog);
}
if (/Vars:VDialog ne "") {
Set("/Voix:" + /Vars:VDialog, true);
}
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
tellTarget (("_root." + /Vars:PersActif) + ".Obj") {
gotoAndStop ("Idle");
};
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:MoveAuto", false);
} else if (/Vars:FinMove eq "Tasse") {
Set("/Vars:Etat" + /Vars:PersActif, "Idle");
Set("/Vars:Dir" + /Vars:PersActif, /Vars:DirFin);
tellTarget ("_root." + /Vars:PersActif) {
gotoAndStop(eval ("/Vars:Dir" + /Vars:PersActif));
};
Set("/Vars:DestX", /Vars:TempDestX);
Set("/Vars:DestY", /Vars:TempDestY);
Set("/Vars:DirFin", /Vars:TempDirFin);
Set("/Vars:FinMove", "Agp");
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", /Vars:TempPers);
_root.Fonct.MoveAuto(/Vars:TempPers);
}
} else {
setProperty(_root[/Vars:PersActif], _x , getProperty("_root." + /Vars:PersActif, _x) + /Vars:MoveXAgp);
setProperty(_root[/Vars:PersActif], _y , getProperty("_root." + /Vars:PersActif, _y) + /Vars:MoveYAgp);
}
}
}
if (/Vars:SortTab == false) {
tellTarget ("_root.Ss.Obj") {
gotoAndStop(/Vars:EtatSs);
};
tellTarget ("_root.Samy.Obj") {
gotoAndStop(/Vars:EtatSamy);
};
tellTarget ("_root.Scooby.Obj") {
gotoAndStop(/Vars:EtatScooby);
};
if (/Vars:Pause == true) {
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
tellTarget (_root.Samy.Obj.Etat) {
stop();
};
tellTarget (_root.Scooby.Obj.Etat) {
stop();
};
} else {
tellTarget (_root.Ss.Obj.Etat1) {
play();
};
tellTarget (_root.Ss.Obj.Etat2) {
play();
};
tellTarget (_root.Samy.Obj.Etat) {
play();
};
tellTarget (_root.Scooby.Obj.Etat) {
play();
};
}
if (/Vars:Mort == true) {
Set("/Vars:Pause", true);
Set("/Vars:Mort", false);
_root.gotoAndPlay("Mort");
}
if ((/Vars:Saving == true) and (/Vars:Mort == false)) {
Set("/Vars:Pause", true);
Set("/Vars:Saving", false);
_root.SaveLoad.gotoAndPlay("Save");
}
}
}
Instance of Symbol 1968 MovieClip "HitSortB2" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortA" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortA2" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitPanneau" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortC" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitRoche" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortI" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortD" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortK" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortH" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortF" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortEnd" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitYeux" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitTorche" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUseRopeD" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUseRopeG" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitMM" in Frame 336
onClipEvent (load) {
_visible = 0;
}
Frame 337
_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 346
if (/Vars:Sorti eq "") {
_root.Fonct.IniTab(0, 0, 1, 100);
} else {
_root.Fonct.IniTab2(0, 0, 100);
}
Frame 347
Set("/Vars:Tableau", "Tab3");
_root.Fonct.SetMoves(48);
Instance of Symbol 1984 MovieClip "Roche10" in Frame 347
onClipEvent (load) {
this.swapDepths(1000);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1986 MovieClip "Roche6" in Frame 347
onClipEvent (load) {
this.swapDepths(500);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1988 MovieClip "Roche9" in Frame 347
onClipEvent (load) {
this.swapDepths(800);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1990 MovieClip "Roche8" in Frame 347
onClipEvent (load) {
this.swapDepths(700);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1992 MovieClip "Roche3" in Frame 347
onClipEvent (load) {
this.swapDepths(300);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2230 MovieClip "Roche2" in Frame 347
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1996 MovieClip "Roche1" in Frame 347
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 1998 MovieClip "Roche4" in Frame 347
onClipEvent (load) {
this.swapDepths(400);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2231 MovieClip "Yeux2" in Frame 347
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 2233 MovieClip "Roche7" in Frame 347
onClipEvent (load) {
this.swapDepths(600);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2235 MovieClip "Roche11" in Frame 347
onClipEvent (load) {
this.swapDepths(1100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2236 MovieClip "Yeux3" in Frame 347
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 2248 MovieClip "Roche5" in Frame 347
onClipEvent (load) {
this.swapDepths(601);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2250 MovieClip "Corde1Front" in Frame 347
onClipEvent (load) {
this.swapDepths(1101);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2254 MovieClip "Tab3SortF" in Frame 347
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 2257 MovieClip "Tab3SortE" in Frame 347
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 2258 MovieClip "Tab3SortI" in Frame 347
onClipEvent (load) {
this.swapDepths(50);
_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 2261 MovieClip "Tab3SortC" in Frame 347
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 2262 MovieClip "Tab3SortK" in Frame 347
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 2265 MovieClip "Tab3SortB" in Frame 347
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 2266 MovieClip "Tab3SortD" in Frame 347
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 {
this.gotoAndStop(1);
}
}
Instance of Symbol 2269 MovieClip "Tab3SortH" in Frame 347
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 {
this.gotoAndStop(1);
}
}
Instance of Symbol 2325 MovieClip "AgpRope" in Frame 347
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 2326 MovieClip "AgpBrule3" in Frame 347
onClipEvent (load) {
this.swapDepths(604);
_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 2327 MovieClip "AgpBrule2" in Frame 347
onClipEvent (load) {
this.swapDepths(103);
_root.Vars:ObjRemove.push(this._name);
_root.Vars:TabAgpNom.push(this._name);
if (eval ("/Vars:Fr" + _name) != null) {
this.gotoAndStop(eval ("/Vars:Fr" + _name));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 2328 MovieClip "Tab3EntreE" in Frame 347
onClipEvent (load) {
this.swapDepths(802);
_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 1955 MovieClip "Ss" in Frame 347
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);
trace(/Vars:EtatSs);
}
Instance of Symbol 2329 MovieClip "Tab3MM" in Frame 347
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 {
this.gotoAndStop(1);
}
}
Frame 348
stop();
Instance of Symbol 2331 MovieClip "Collider" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1966 MovieClip "Control" in Frame 348
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else if (_root.Hito2.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
} else 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);
}
_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:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
if (_root.HitNoix.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvNoix == false)) {
_root.TempNoix.gotoAndPlay(2);
_root.Fonct.AddInv(2, "InvNoix");
Set("/Vars:NbNoix", 3);
_root.SonGet.play();
/Vars:NoixSol == false;
tellTarget (_root.AgpPalmier.Noix) {
nextFrame();
};
}
if (_root.HitCorde1.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvCorde1 == false)) {
if (/Vars:InvCorde2 == true) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NoUse");
}
} else {
_root.Fonct.AddInv(4, "InvCorde1");
_root.SonGet.play();
tellTarget (_root.Corde1) {
nextFrame();
};
tellTarget (_root.Corde1Front) {
nextFrame();
};
}
}
if (_root.HitCorde2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:InvCorde2 == false)) {
if (/Vars:Yeux2Dead == true) {
if (/Vars:InvCorde1 == true) {
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NoUse");
}
} else {
_root.Fonct.AddInv(4, "InvCorde2");
_root.SonGet.play();
tellTarget (_root.Roche5.Corde2) {
nextFrame();
};
}
} else {
_root.Yeux2.gotoAndStop("Fear");
}
}
if (_root.HitUseRopeD.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 4)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpRope");
Set("/Vars:DestX", 221.8);
Set("/Vars:DestY", 138.2);
Set("/Vars:FinAgpX", 156.8);
Set("/Vars:FinAgpY", 282.2);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitUseRopeG.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:ObjSelect == 4)) {
Set("/Vars:StartPlay", 37);
Set("/Vars:AgpActif", "AgpRope");
Set("/Vars:DestX", 98.3);
Set("/Vars:DestY", 126.2);
Set("/Vars:FinAgpX", 154.4);
Set("/Vars:FinAgpY", 293.6);
Set("/Vars:DirFin", 3);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (((_root.HitYeux2.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Yeux2Dead == false)) and (/Vars:ObjSelect == 6)) and (getProperty("_root.Yeux2", _currentframe) < 35)) {
Set("/Vars:TorcheUse", true);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpBrule2");
Set("/Vars:DestX", 237.7);
Set("/Vars:DestY", 147.5);
Set("/Vars:FinAgpX", 237.7);
Set("/Vars:FinAgpY", 147.5);
Set("/Vars:DirFin", 8);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (((_root.HitYeux3.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Yeux3Dead == false)) and (/Vars:ObjSelect == 6)) and (getProperty("_root.Yeux3", _currentframe) < 35)) {
Set("/Vars:TorcheUse", true);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpBrule3");
Set("/Vars:DestX", 171.2);
Set("/Vars:DestY", 281.9);
Set("/Vars:FinAgpX", 171.2);
Set("/Vars:FinAgpY", 281.9);
Set("/Vars:DirFin", 8);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
}
}
if (_root.HitSortB.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "B");
Set("/Vars:DestX", 133);
Set("/Vars:DestY", 54);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortC.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "C");
Set("/Vars:DestX", 313);
Set("/Vars:DestY", 258);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortH.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "H");
Set("/Vars:DestX", 624);
Set("/Vars:DestY", 311);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortD.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "D");
Set("/Vars:DestX", 598);
Set("/Vars:DestY", 156);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortK.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "K");
Set("/Vars:DestX", 265);
Set("/Vars:DestY", 332);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortI.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "I");
Set("/Vars:DestX", 323);
Set("/Vars:DestY", 101);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortF.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:Ou", "F");
Set("/Vars:DestX", 21);
Set("/Vars:DestY", 210);
Set("/Vars:FinMove", "SortTab");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortE3.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) or _root.HitSortE2.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab3SortE");
Set("/Vars:DestX", 586);
Set("/Vars:DestY", 432);
Set("/Vars:FinAgpX", 102.6);
Set("/Vars:FinAgpY", 122.7);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitSortE.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true)) {
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "Tab3EntreE");
Set("/Vars:DestX", 38);
Set("/Vars:DestY", 80);
Set("/Vars:FinAgpX", 536.9);
Set("/Vars:FinAgpY", 377.9);
Set("/Vars:DirFin", 5);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Ss");
}
if (_root.HitYeux2.hitTest(_root.Ss._x, _root.Ss._y, true)) {
if (((/Vars:Yeux2Dead == false) and (/Vars:TorcheUse == false)) and (getProperty("_root.Yeux2", _currentframe) == 1)) {
_root.Yeux2.gotoAndStop(2);
}
} else if (getProperty("_root.Yeux2", _currentframe) < 37) {
_root.Yeux2.gotoAndStop(1);
}
if (_root.HitYeux3.hitTest(_root.Ss._x, _root.Ss._y, true)) {
if (((/Vars:Yeux3Dead == false) and (/Vars:TorcheUse == false)) and (getProperty("_root.Yeux3", _currentframe) == 1)) {
_root.Yeux3.gotoAndStop(2);
}
} else if (getProperty("_root.Yeux3", _currentframe) < 37) {
_root.Yeux3.gotoAndStop(1);
}
if ((_root.HitMM.hitTest(_root.Ss._x, _root.Ss._y, true) and (/Vars:Peur == false)) and (getProperty("_root.Tab3MM", _currentframe) == 1)) {
_root.Tab3MM.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);
}
}
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 "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 "SortTab") {
Set("/Vars:EtatSs", "PasLa");
Set("/Vars:Sorti", /Vars:Ou);
Set("/Vars:MoveAuto", false);
_root.gotoAndPlay("ExitTab3a");
} 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 {
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);
};
if (/Vars:Pause == true) {
tellTarget (_root.Ss.Obj.Etat1) {
stop();
};
tellTarget (_root.Ss.Obj.Etat2) {
stop();
};
} else {
tellTarget (_root.Ss.Obj.Etat1) {
play();
};
tellTarget (_root.Ss.Obj.Etat2) {
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 359 MovieClip in Frame 348
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 1968 MovieClip "HitSortB" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortH" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortD" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortK" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortI" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortE3" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortE2" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortF" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitCorde1" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitCorde2" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUseRopeD" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUseRopeG" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitYeux2" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitYeux3" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortE" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSortC" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitMM" in Frame 348
onClipEvent (load) {
_visible = 0;
}
Frame 349
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 359
_root.Fonct.IniTab(33, 385, 7, 200);
Frame 360
Set("/Vars:EnterTab4", true);
Set("/Vars:Tableau", "Tab4");
_root.Fonct.SetMoves(59);
Instance of Symbol 1968 MovieClip "HitBlocD" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocD3" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocG" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocG2" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocU" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocU2" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitOutBas" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocU3" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocDown2" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocD4" in Frame 360
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 2343 MovieClip "Souris1" in Frame 360
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 2343 MovieClip "Souris2" in Frame 360
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 2345 MovieClip "Stalag1" in Frame 360
onClipEvent (load) {
this.swapDepths(100);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2347 MovieClip "Stalag2" in Frame 360
onClipEvent (load) {
this.swapDepths(200);
_root.Vars:ObjRemove.push(this._name);
}
Instance of Symbol 2350 MovieClip "WaitSouris" in Frame 360
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 2343 MovieClip "Souris3" in Frame 360
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 2343 MovieClip "Souris4" in Frame 360
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 2343 MovieClip "Souris5" in Frame 360
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 2385 MovieClip "AgpStalag" in Frame 360
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 2408 MovieClip "AgpCreuse1" in Frame 360
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 2415 MovieClip "AgpCreuse2" in Frame 360
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 2519 MovieClip "AgpClimb" in Frame 360
onClipEvent (load) {
this._x = /Vars:ClimbX;
this._y = /Vars:ClimbY;
this.gotoAndStop(/Vars:EtatClimb);
}
Instance of Symbol 1955 MovieClip "Ss" in Frame 360
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 1580 MovieClip "Samy" in Frame 360
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 1938 MovieClip "Scooby" in Frame 360
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);
}
Instance of Symbol 2524 MovieClip "FermeTab" in Frame 360
onClipEvent (load) {
this.swapDepths(600000);
_root.Vars:ObjRemove.push(this._name);
}
Frame 361
if (/Vars:Wait == false) {
Set("/Vars:Wait", true);
_root.WaitScoob.gotoAndPlay(2);
}
stop();
Instance of Symbol 2526 MovieClip "Collider" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Frame 361
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 1966 MovieClip "Control" in Frame 361
onClipEvent (enterFrame) {
XPers = _root[/Vars:PersActif]._x;
YPers = _root[/Vars:PersActif]._y;
if (_root.Hito1.hitTest(XPers, YPers, true)) {
Set("/Vars:Niveau" + /Vars:PersActif, 100);
} else {
Set("/Vars:Niveau" + /Vars:PersActif, 200);
}
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:EnterTab4 == true) {
Set("/Vars:DestX", 70);
Set("/Vars:DestY", 349);
_root.Fonct.PersSplit("Ss", "Samy", "Scooby");
Set("/Vars:FinMove", "FinMarche");
_root.Fonct.MoveAuto("Samy");
Set("/Vars:EnterTab4", false);
}
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:Fear", /Vars:Fear + /Vars:DegreFear);
_root.Fonct.MoveAutoPeur(/Vars:PersActif);
}
}
if (/Vars:LostControl == false) {
if (Key.isDown(32) and (/Vars:WaitFear <= 0)) {
if (/Vars:PersActif eq "Ss") {
} else if (/Vars:PersActif eq "Scooby") {
if (_root.HitCreuse1.hitTest(_root.Scooby._x, _root.Scooby._y, true) and (/Vars:Trou1 == false)) {
Set("/Vars:Trou1", true);
_root.WaitSouris.gotoAndStop(1);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpCreuse1");
Set("/Vars:DestX", 235.4);
Set("/Vars:DestY", 347.1);
Set("/Vars:FinAgpX", 235.4);
Set("/Vars:FinAgpY", 347.1);
Set("/Vars:DirFin", 6);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Scooby");
}
if (_root.HitCreuse2.hitTest(_root.Scooby._x, _root.Scooby._y, true) and (/Vars:Trou2 == false)) {
Set("/Vars:Trou2", true);
_root.WaitSouris.gotoAndStop(1);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpCreuse2");
Set("/Vars:DestX", 217.8);
Set("/Vars:DestY", 378.6);
Set("/Vars:FinAgpX", 217.8);
Set("/Vars:FinAgpY", 378.6);
Set("/Vars:DirFin", 1);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Scooby");
}
if (_root.HitCreuse3.hitTest(_root.Scooby._x, _root.Scooby._y, true)) {
_root.WaitSouris.gotoAndStop(1);
Set("/Vars:StartPlay", 2);
Set("/Vars:AgpActif", "AgpStalag");
Set("/Vars:DestX", 74.4);
Set("/Vars:DestY", 331.2);
Set("/Vars:FinAgpX", 74.4);
Set("/Vars:FinAgpY", 331.2);
Set("/Vars:DirFin", 6);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Scooby");
}
} else if (/Vars:PersActif eq "Samy") {
if (_root.HitPioche.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Vars:InvPioche == false)) {
_root.TempPioche.gotoAndPlay(2);
_root.Fonct.AddInv(9, "InvPioche");
_root.SonGet.play();
tellTarget (_root.Pioche) {
nextFrame();
};
}
if (_root.HitPelle.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Vars:InvPelle == false)) {
_root.TempPioche.gotoAndPlay(2);
_root.Fonct.AddInv(5, "InvPelle");
_root.SonGet.play();
tellTarget (_root.Pelle) {
nextFrame();
};
} else if (_root.HitInD.hitTest(_root.Samy._x, _root.Samy._y, true) and (getProperty("_root.TempPioche", _currentframe) == 1)) {
if (/Vars:ObjSelect == 9) {
Set("/Vars:StartPlay", 50);
_root.AgpClimb._x = 484.45;
_root.AgpClimb._y = 192.5;
Set("/Vars:AgpActif", "AgpClimb");
Set("/Vars:DestX", 493.8);
Set("/Vars:DestY", 238.2);
Set("/Vars:FinAgpX", 493.8);
Set("/Vars:FinAgpY", 238.2);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
} else if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("NotThatWay");
}
}
if ((_root.HitClimbBas.hitTest(_root.Samy._x, _root.Samy._y, true) and (/Vars:ObjSelect == 9)) and (getProperty("_root.TempPioche", _currentframe) == 1)) {
_root.WaitSouris.gotoAndStop(1);
_root.AgpClimb._x = 123.3;
_root.AgpClimb._y = 252.4;
Set("/Vars:StartPlay", 63);
Set("/Vars:AgpActif", "AgpClimb");
Set("/Vars:DestX", 109.8);
Set("/Vars:DestY", 314.4);
Set("/Vars:FinAgpX", 109.8);
Set("/Vars:FinAgpY", 314.4);
Set("/Vars:DirFin", 7);
Set("/Vars:FinMove", "Agp");
_root.Fonct.MoveAuto("Samy");
}
}
}
if ((_root.HitSouris1.hitTest(_root[/Vars:PersActif]._x, _root[/Vars:PersActif]._y, true) and (getProperty("_root.Souris2", _currentframe) == 1)) and (/Vars:LostControl == false)) {
_root.WaitSouris.nextFrame();
} else {
_root.WaitSouris.gotoAndStop(1);
}
}
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") or (eval ("/Vars:Etat" + /Vars:PersActif) eq "Wood")) 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 {
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();
};
tellTarget (_root.AgpClimb.Obj) {
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();
};
tellTarget (_root.AgpClimb.Obj) {
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 1968 MovieClip "HitPioche" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitClimbBas" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitPelle" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitInD" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUsePelle" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocD2" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitHole1" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitSouris1" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitCreuse2" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitCreuse3" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitHole3" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitHole4" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitHole5" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitCreuse1" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitOutD" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitBlocDown" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUsePelleG" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUsePelleD" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 1968 MovieClip "HitUsePelleDown" in Frame 361
onClipEvent (load) {
_visible = 0;
}
Frame 362
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:InvOuvert", false);
_root.Interface.Inv.gotoAndStop("Close");
_root.FermeTab.play();
Frame 389
_root.Fonct:DeleteObj();
Set("/Vars:FrYeux1", 1);
Set("/Vars:FrAgpRoche", 1);
Set("/Vars:FrTab2SortA", 1);
Set("/Vars:FrTab2SortH", 1);
Set("/Vars:FrTab2SortA2", 1);
Set("/Vars:FrTab2SortI", 1);
Set("/Vars:FrTab2SortC", 1);
Set("/Vars:FrTab2SortF", 1);
Set("/Vars:FrTab2SortD", 1);
Set("/Vars:FrTab2EntreB", 1);
Set("/Vars:FrTab2EntreK", 1);
Set("/Vars:FrAgpBrule1", 1);
Set("/Vars:FrAgpUseRope", 1);
Set("/Vars:FrTab2MM", 1);
Frame 392
Set("/Vars:SortTab", false);
gotoAndPlay (346);
Frame 393
_root.Fonct:DeleteObj();
Set("/Vars:FrYeux2", 1);
Set("/Vars:FrYeux3", 1);
Set("/Vars:FrTab3SortF", 1);
Set("/Vars:FrTab3SortE", 1);
Set("/Vars:FrTab3SortI", 1);
Set("/Vars:FrTab3SortC", 1);
Set("/Vars:FrTab3SortK", 1);
Set("/Vars:FrTab3SortB", 1);
Set("/Vars:FrTab3SortD", 1);
Set("/Vars:FrTab3SortH", 1);
Set("/Vars:FrAgpRope", 1);
Set("/Vars:FrAgpBrule3", 1);
Set("/Vars:FrAgpBrule2", 1);
Set("/Vars:FrTab3EntreE", 1);
Set("/Vars:FrTab3MM", 1);
Frame 396
Set("/Vars:SortTab", false);
gotoAndPlay (334);
Frame 402
stopAllSounds();
_root.Fonct:DeleteObj();
Frame 404
Set("/Vars:LostControl", false);
Set("/Vars:SortTab", false);
stop();
Frame 405
stopAllSounds();
_root.Fonct:DeleteObj();
Frame 407
Set("/Vars:LostControl", false);
Set("/Vars:SortTab", false);
stop();
Frame 413
play();
Frame 414
stopAllSounds();
_root.Fonct:DeleteObj();
_root.Fonct:Load();
Frame 418
_root.Fonct:Load();
Set("/Vars:Pause", true);
Frame 426
stopAllSounds();
Set("/Vars:SortTab", false);
_root.Fonct:DeleteObj();
Frame 428
ifFrameLoaded (1208) {
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Temp:TempStart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (528);
}
Frame 429
stop();
Instance of Symbol 3108 MovieClip in Frame 429
onClipEvent (enterFrame) {
ifFrameLoaded (1208) {
tellTarget ("_parent") {
nextFrame();
};
}
}
Frame 430
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Temp:TempStart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (528);
Frame 435
gotoAndPlay (528);
Frame 437
stopAllSounds();
_root.Fonct:DeleteObj();
delete Vars;
gotoAndPlay (442);
Frame 527
gotoAndStop (3);
Frame 1208
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/lowtime.swf", "MovieTimer");
stop();
} else {
gotoAndStop (3);
}
Symbol 38 MovieClip Frame 14
_root.gotoAndStop("Joue");
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 100
nextFrame();
Symbol 39 MovieClip Frame 101
stop();
Symbol 45 Button
on (release) {
_root.gotoAndStop("Instruct1");
}
Symbol 46 MovieClip Frame 1
ifFrameLoaded (31) {
_root.InsButton.gotoAndPlay(3);
}
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
play();
Symbol 46 MovieClip Frame 13
stop();
Symbol 49 Button
on (release) {
getURL (/:QuitUrl, "_self");
}
Symbol 50 MovieClip Frame 11
stop();
Symbol 52 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndPlay("New");
}
Symbol 53 MovieClip Frame 11
stop();
Symbol 55 Button
on (release) {
Set("/:Challenge", false);
tellTarget ("_root") {
gotoAndPlay ("Loading");
};
}
Symbol 56 MovieClip Frame 11
stop();
Symbol 57 MovieClip Frame 1
ObjSave = SharedObject.getLocal("ScoobEpi6");
if (ObjSave.data.Valeurs != null) {
delete ObjSave;
gotoAndPlay (2);
} else {
delete ObjSave;
gotoAndPlay (16);
}
Symbol 57 MovieClip Frame 15
stop();
Symbol 57 MovieClip Frame 26
stop();
Symbol 59 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndStop("Joue");
}
Symbol 60 MovieClip Frame 11
stop();
Symbol 62 Button
on (release) {
Set("/:Challenge", true);
_root.gotoAndPlay("New");
}
Symbol 63 MovieClip Frame 11
stop();
Symbol 65 Button
on (release) {
Set("/:Challenge", false);
_root.gotoAndPlay("New");
}
Symbol 66 MovieClip Frame 11
stop();
Symbol 71 Button
on (release) {
_root.gotoAndStop("Instruct2");
}
Symbol 72 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 129 Button
on (release) {
_root.gotoAndStop("Instruct1");
}
Symbol 143 MovieClip Frame 31
stop();
Symbol 364 MovieClip Frame 3
_root.Mus.Mus.setVolume(100);
Symbol 364 MovieClip Frame 4
stop();
Symbol 364 MovieClip Frame 5
stop();
Instance of Symbol 363 MovieClip "Control" in Symbol 364 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 390 MovieClip Frame 1
Parle = false;
stop();
Symbol 390 MovieClip Frame 2
Parle = true;
Symbol 390 MovieClip Frame 34
gotoAndStop (1);
Symbol 390 MovieClip Frame 35
Parle = true;
Symbol 390 MovieClip Frame 67
gotoAndStop (1);
Symbol 390 MovieClip Frame 68
Parle = true;
Symbol 390 MovieClip Frame 93
gotoAndStop (1);
Symbol 390 MovieClip Frame 94
Parle = true;
Symbol 390 MovieClip Frame 134
gotoAndStop (1);
Symbol 390 MovieClip Frame 135
Parle = true;
Symbol 390 MovieClip Frame 170
gotoAndStop (1);
Symbol 390 MovieClip Frame 171
Parle = true;
Symbol 390 MovieClip Frame 224
gotoAndStop (1);
Symbol 390 MovieClip Frame 225
Parle = true;
Symbol 390 MovieClip Frame 242
gotoAndStop (1);
Symbol 390 MovieClip Frame 243
Parle = true;
Symbol 390 MovieClip Frame 266
gotoAndStop (1);
Symbol 390 MovieClip Frame 267
Parle = true;
Symbol 390 MovieClip Frame 309
gotoAndStop (1);
Symbol 390 MovieClip Frame 310
Parle = true;
Symbol 390 MovieClip Frame 322
gotoAndStop (1);
Symbol 390 MovieClip Frame 323
Parle = true;
Symbol 390 MovieClip Frame 346
gotoAndStop (1);
Symbol 390 MovieClip Frame 347
Parle = true;
Symbol 390 MovieClip Frame 374
gotoAndStop (1);
Symbol 390 MovieClip Frame 375
Parle = true;
Symbol 390 MovieClip Frame 397
gotoAndStop (1);
Symbol 390 MovieClip Frame 398
Parle = true;
Symbol 390 MovieClip Frame 458
gotoAndStop (1);
Symbol 390 MovieClip Frame 459
Parle = true;
Symbol 390 MovieClip Frame 525
gotoAndStop (1);
Symbol 390 MovieClip Frame 526
Parle = true;
Symbol 390 MovieClip Frame 609
gotoAndStop (1);
Symbol 390 MovieClip Frame 610
Parle = true;
Symbol 390 MovieClip Frame 644
gotoAndStop (1);
Symbol 390 MovieClip Frame 645
Parle = true;
Symbol 390 MovieClip Frame 686
gotoAndStop (1);
Symbol 390 MovieClip Frame 687
Parle = true;
Symbol 390 MovieClip Frame 745
gotoAndStop (1);
Symbol 390 MovieClip Frame 746
Parle = true;
Symbol 390 MovieClip Frame 810
gotoAndStop (1);
Symbol 395 MovieClip Frame 100
Set("/Vars:Mort", true);
Symbol 395 MovieClip Frame 101
Set("/Vars:Mort", true);
Symbol 395 MovieClip Frame 102
Set("/Vars:Mort", true);
Symbol 395 MovieClip Frame 103
Set("/Vars:Mort", true);
Symbol 395 MovieClip Frame 104
Set("/Vars:Mort", true);
Symbol 402 MovieClip Frame 1
if (/Vars:NbNoix == 3) {
stop();
} else if (/Vars:NbNoix == 2) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
stop();
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 2
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 1
gotoAndStop(/Vars:ObjSelect);
Instance of Symbol 359 MovieClip in Symbol 433 MovieClip Frame 1
/* no clip actions */
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 2
stop();
Symbol 439 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 359 MovieClip in Symbol 439 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 439 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 442 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 445 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 450 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 450 MovieClip Frame 2
Instance of Symbol 359 MovieClip in Symbol 450 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 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
stop();
Symbol 458 MovieClip Frame 1
stop();
Instance of Symbol 395 MovieClip "FearGauge" in Symbol 458 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(/Vars:Fear + 1);
}
Symbol 458 MovieClip Frame 2
stop();
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 462 MovieClip Frame 1
/* no clip actions */
Symbol 462 MovieClip Frame 2
play();
Symbol 462 MovieClip Frame 10
stop();
Symbol 462 MovieClip Frame 14
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 465 MovieClip Frame 1
Set("/Voix:Parle", false);
stop();
Symbol 465 MovieClip Frame 5
Set("/Voix:Parle", true);
if (random(100) < 50) {
gotoAndPlay (6);
} else {
gotoAndPlay (28);
}
Symbol 465 MovieClip Frame 7
gotoAndStop (1);
Symbol 465 MovieClip Frame 29
gotoAndStop (1);
Symbol 465 MovieClip Frame 46
gotoAndStop (1);
Symbol 467 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 3
gotoAndStop (1);
Symbol 469 MovieClip Frame 5
gotoAndStop (1);
Symbol 495 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 495 MovieClip Frame 1
/* no clip actions */
Symbol 495 MovieClip Frame 2
Set("/Vars:Pause", true);
Symbol 495 MovieClip Frame 12
_root.Fonct.Save();
Instance of Symbol 359 MovieClip in Symbol 495 MovieClip Frame 48
/* no clip actions */
Symbol 495 MovieClip Frame 49
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 495 MovieClip Frame 50
Set("/Vars:Pause", true);
Symbol 495 MovieClip Frame 80
tellTarget (_root) {
gotoAndStop ("Load");
};
stop();
Symbol 495 MovieClip Frame 81
Set("/Vars:Pause", true);
play();
Symbol 495 MovieClip Frame 96
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 495 MovieClip Frame 97
Set("/Vars:Pause", true);
Symbol 495 MovieClip Frame 142
_root.Mus.VolDest = 100;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Pause", false);
gotoAndStop (1);
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 29
gotoAndStop (1);
Symbol 514 MovieClip Frame 1
if (/Vars:InvLiane == true) {
nextFrame();
} else {
stop();
}
Instance of Symbol 514 MovieClip "Liane" in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(605);
_root.Vars:ObjRemove.push(this._name);
}
Symbol 522 MovieClip Frame 1
if (/Vars:InvFlute == true) {
nextFrame();
} else {
stop();
}
Symbol 525 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 732 MovieClip Frame 7
stop();
Symbol 792 MovieClip Frame 1
if (/Vars:InvNoix == true) {
nextFrame();
} else {
stop();
}
Symbol 793 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 793 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 793 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 793 MovieClip Frame 140
Set("/Vars:NoixSol", true);
_root.Fonct.FinAgp();
Symbol 793 MovieClip Frame 141
stop();
Symbol 904 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 904 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 904 MovieClip Frame 72
if (/Vars:NbNoix > 1) {
Set("/Vars:NbNoix", /Vars:NbNoix - 1);
_root.Interface.Inv.ObjSelect.Noix.NbNoix.nextFrame();
} else {
Set("/Vars:InvNoix", false);
Set("/Vars:NoixSol", false);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
}
_root.AgpNoixG.gotoAndStop(2);
Set("/Vars:LanceGDepth", 71);
_root.AgpLanceG.swapDepths(/Vars:LanceGDepth);
_root.Fonct.FinAgp();
Symbol 904 MovieClip Frame 73
stop();
Symbol 1005 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1005 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 1005 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1005 MovieClip Frame 6
Set("/Vars:LostControl", true);
Set("/Vars:Fuite", 1);
_root.AgpFearWood._x = _root.Ss._x;
_root.AgpFearWood._y = _root.Ss._y;
_root.AgpFearWood.gotoAndStop(2);
Symbol 1005 MovieClip Frame 39
Set("/Vars:NbMMFear", /Vars:NbMMFear + 1);
gotoAndStop (1);
Symbol 1006 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1006 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 1006 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1006 MovieClip Frame 6
Set("/Vars:LostControl", true);
Set("/Vars:Fuite", 2);
_root.AgpFearWood._x = _root.Ss._x;
_root.AgpFearWood._y = _root.Ss._y;
_root.AgpFearWood.gotoAndStop(2);
Symbol 1006 MovieClip Frame 37
Set("/Vars:NbMMFear", /Vars:NbMMFear + 1);
Symbol 1006 MovieClip Frame 38
gotoAndStop (1);
Instance of Symbol 359 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1009 MovieClip Frame 30
if (eval ("/Vars:Etat" + /Vars:PersActif) eq "WoodIdle") {
_parent.gotoAndStop(1);
} else {
gotoAndStop (1);
}
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1024 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1024 MovieClip Frame 1
/* no clip actions */
Symbol 1024 MovieClip Frame 2
Set("/Vars:LostControl", true);
Instance of Symbol 359 MovieClip in Symbol 1024 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1024 MovieClip Frame 49
_root.MMPlage.gotoAndStop(2);
Set("/Vars:MMOut", true);
Symbol 1024 MovieClip Frame 50
stop();
Symbol 1025 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1025 MovieClip Frame 1
/* no clip actions */
Symbol 1025 MovieClip Frame 2
Set("/Vars:LostControl", true);
Instance of Symbol 359 MovieClip in Symbol 1025 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1025 MovieClip Frame 49
_root.MMPlage.gotoAndStop(2);
Set("/Vars:MMOut", true);
Symbol 1025 MovieClip Frame 50
stop();
Symbol 1026 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 1026 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1026 MovieClip Frame 72
if (/Vars:NbNoix > 1) {
Set("/Vars:NbNoix", /Vars:NbNoix - 1);
_root.Interface.Inv.ObjSelect.Noix.NbNoix.nextFrame();
} else {
Set("/Vars:InvNoix", false);
Set("/Vars:NoixSol", false);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
}
_root.AgpNoixD.gotoAndStop(2);
Set("/Vars:LanceDDepth", 72);
_root.AgpLanceD.swapDepths(/Vars:LanceDDepth);
_root.Fonct.FinAgp();
Symbol 1026 MovieClip Frame 73
stop();
Symbol 1027 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1027 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 1027 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1027 MovieClip Frame 37
if (/Vars:NbNoix > 1) {
Set("/Vars:NbNoix", /Vars:NbNoix - 1);
_root.Interface.Inv.ObjSelect.Noix.NbNoix.nextFrame();
} else {
Set("/Vars:InvNoix", false);
Set("/Vars:NoixSol", false);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
}
_root.AgpNoixG.gotoAndStop(2);
_root.Leaf.gotoAndStop(1);
Symbol 1027 MovieClip Frame 38
stop();
Symbol 1028 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 1028 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1028 MovieClip Frame 38
if (/Vars:NbNoix > 1) {
Set("/Vars:NbNoix", /Vars:NbNoix - 1);
_root.Interface.Inv.ObjSelect.Noix.NbNoix.nextFrame();
} else {
Set("/Vars:InvNoix", false);
Set("/Vars:NoixSol", false);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
}
_root.AgpNoixD.gotoAndStop(2);
_root.Leaf.gotoAndStop(1);
Symbol 1028 MovieClip Frame 39
stop();
Symbol 1062 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 1062 MovieClip Frame 2
Set("/Vars:Fear", /Vars:Fear + 20);
Instance of Symbol 359 MovieClip in Symbol 1062 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1062 MovieClip Frame 32
if (/Vars:Fuite == 1) {
_root.AgpFuite1.gotoAndStop(2);
} else {
_root.AgpFuite2.gotoAndStop(2);
}
_root.Leaf.gotoAndStop(1);
gotoAndStop (1);
Instance of Symbol 359 MovieClip in Symbol 1080 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:SnakeFix == true) {
tellTarget (_parent) {
gotoAndStop ("Arret");
};
} else if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1080 MovieClip Frame 78
gotoAndStop (1);
Symbol 1080 MovieClip Frame 79
stop();
Instance of Symbol 359 MovieClip in Symbol 1093 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 1095 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 1106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 1114 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 1115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1115 MovieClip Frame 20
Set("/Vars:EtatSnake", "IdleD");
_root.Snake.gotoAndStop("IdleD");
Instance of Symbol 359 MovieClip in Symbol 1131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1131 MovieClip Frame 40
Set("/Vars:EtatSnake", "IdleG");
_root.Snake.gotoAndStop("IdleG");
Instance of Symbol 359 MovieClip in Symbol 1134 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1135 MovieClip Frame 1
stop();
Symbol 1135 MovieClip Frame 2
stop();
Symbol 1135 MovieClip Frame 3
stop();
Symbol 1135 MovieClip Frame 4
stop();
Symbol 1135 MovieClip Frame 5
stop();
Symbol 1135 MovieClip Frame 6
stop();
Symbol 1212 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1212 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 1212 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1212 MovieClip Frame 236
Set("/Vars:TotemFall", true);
_root.Collider.CacheTotem.nextFrame();
Set("/Vars:EtatSnake", "Ecrase");
_root.Snake.gotoAndStop("Ecrase");
Symbol 1212 MovieClip Frame 268
_root.AgpFlute.nextFrame();
stop();
Instance of Symbol 359 MovieClip in Symbol 1212 MovieClip Frame 269
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1212 MovieClip Frame 281
_root.MMPlage.nextFrame();
_root.Ss._x = 507.6;
_root.Ss._y = 155.4;
Set("/Vars:DirSs", 4);
Set("/Vars:EtatSs", "Idle");
_root.Ss.gotoAndStop(4);
_root.Ss.Obj.gotoAndStop("Idle");
Set("/Vars:PersActif", "Ss");
_root.Fonct.FinAgp();
Symbol 1212 MovieClip Frame 282
stop();
Instance of Symbol 359 MovieClip in Symbol 1226 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
_root.Oricana.gotoAndStop("Arret");
tellTarget (_parent) {
stop();
};
} else {
_root.Oricana.gotoAndStop("Joue");
tellTarget (_parent) {
play();
};
}
}
Symbol 1227 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1227 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 1227 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1227 MovieClip Frame 57
_root.Oricana.gotoAndStop("Joue");
Symbol 1227 MovieClip Frame 80
Set("/Vars:EtatSnake", "TourneG");
_root.Snake.gotoAndStop("TourneG");
Symbol 1227 MovieClip Frame 117
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", "Samy");
_root.Oricana.gotoAndStop("Joue");
stop();
Symbol 1227 MovieClip Frame 118
_root.Oricana.gotoAndStop("Arret");
Instance of Symbol 359 MovieClip in Symbol 1227 MovieClip Frame 118
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1227 MovieClip Frame 156
_root.AgpTotem.nextFrame();
Symbol 1227 MovieClip Frame 157
stop();
Symbol 1357 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1357 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 1357 MovieClip Frame 2
Set("/Vars:LostControl", true);
if (getProperty("_root.Ss", _x) > 175) {
_root.MMPlage._x = 257;
_root.MMPlage._y = 230;
} else {
_root.MMPlage._x = 310;
_root.MMPlage._y = 200;
}
Instance of Symbol 359 MovieClip in Symbol 1357 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1357 MovieClip Frame 49
Set("/Vars:LostControl", false);
Symbol 1357 MovieClip Frame 50
Set("/Vars:LostControl", false);
stop();
Instance of Symbol 359 MovieClip in Symbol 1357 MovieClip Frame 51
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1357 MovieClip Frame 96
Set("/Vars:MMOut", false);
Symbol 1357 MovieClip Frame 97
gotoAndStop (1);
Symbol 1377 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1377 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 1377 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1377 MovieClip Frame 31
_root.Fonct.RemoveObj(/Vars:PtObjDel);
Set("/Vars:SnakeFix", true);
_root.AgpFixPalm.gotoAndStop(2);
Set("/Vars:LostControl", false);
Set("/Vars:MoveAuto", false);
Set("/Vars:PersActif", "Scooby");
if (/Voix:Parle == false) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("Careful");
}
nextFrame();
Symbol 1377 MovieClip Frame 32
stop();
Symbol 1429 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1429 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 1429 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1429 MovieClip Frame 10
_root.AgpFixPalm.nextFrame();
stop();
Instance of Symbol 359 MovieClip in Symbol 1429 MovieClip Frame 11
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1429 MovieClip Frame 16
_root.AgpSnakeSwing.nextFrame();
Symbol 1429 MovieClip Frame 24
_root.Scooby._x = 401;
_root.Scooby._y = 156.6;
Set("/Vars:DirScooy", 1);
Set("/Vars:EtatScooby", "Idle");
_root.Scooby.gotoAndStop(1);
_root.Scooby.Obj.gotoAndStop("Idle");
_root.Fonct.RetourPers("Scooby", "Samy", "Ss");
Set("/Vars:DirSs", 3);
_root.Ss.gotoAndStop(3);
Symbol 1429 MovieClip Frame 36
_root.MMPlage.nextFrame();
Symbol 1429 MovieClip Frame 37
stop();
Symbol 1451 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1451 MovieClip Frame 1
/* no clip actions */
Symbol 1451 MovieClip Frame 2
stop();
Instance of Symbol 359 MovieClip in Symbol 1451 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1451 MovieClip Frame 52
_root.AgpScoobPalm.nextFrame();
stop();
Symbol 1451 MovieClip Frame 53
_root.Samy._x = 346.6;
_root.Samy._y = 161.3;
Set("/Vars:DirSamy", 3);
Set("/Vars:EtatSamy", "Idle");
_root.Samy.gotoAndStop(3);
_root.Samy.Obj.gotoAndStop("Idle");
nextFrame();
Symbol 1451 MovieClip Frame 54
stop();
Symbol 1490 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1490 MovieClip Frame 1
/* no clip actions */
Symbol 1490 MovieClip Frame 2
Set("/Vars:EtatSnake", "PasLa");
_root.Snake.gotoAndStop("PasLa");
_root.AgpFixPalm.nextFrame();
Instance of Symbol 359 MovieClip in Symbol 1490 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1490 MovieClip Frame 17
_root.Fonct.FinAgp();
Symbol 1490 MovieClip Frame 18
stop();
Symbol 1500 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1514 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1515 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1515 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 1515 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1515 MovieClip Frame 23
Set("/Vars:SsWood", false);
if (/Voix:Parle == false) {
if (/Vars:NbMMFear == 2) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("PeurMM1");
} else if (/Vars:NbMMFear == 3) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("PeurMM2");
}
}
_root.Ss._x = 130.6;
_root.Ss._y = 102.9;
Set("/Vars:DirSs", 5);
_root.Ss.gotoAndStop(5);
Symbol 1515 MovieClip Frame 24
Set("/Vars:LostControl", false);
Set("/Vars:EtatSs", "Idle");
Symbol 1515 MovieClip Frame 40
gotoAndStop (1);
Symbol 1516 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1516 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 1516 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 1516 MovieClip Frame 16
Set("/Vars:SsWood", false);
if (/Voix:Parle == false) {
if (/Vars:NbMMFear == 2) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("PeurMM1");
} else if (/Vars:NbMMFear == 3) {
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("PeurMM2");
}
}
_root.Ss._x = 130.6;
_root.Ss._y = 102.9;
Set("/Vars:DirSs", 5);
_root.Ss.gotoAndStop(5);
Symbol 1516 MovieClip Frame 17
Set("/Vars:LostControl", false);
Set("/Vars:EtatSs", "Idle");
Symbol 1516 MovieClip Frame 33
gotoAndStop (1);
Symbol 1518 MovieClip Frame 2
stop();
Symbol 1518 MovieClip Frame 3
stop();
Symbol 1523 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1524 MovieClip Frame 22
gotoAndPlay (5);
Symbol 1526 MovieClip Frame 1
stop();
Symbol 1526 MovieClip Frame 7
stop();
Symbol 1526 MovieClip Frame 13
stop();
Symbol 1526 MovieClip Frame 19
stop();
Symbol 1526 MovieClip Frame 25
stop();
Symbol 1526 MovieClip Frame 30
stop();
Symbol 1532 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1533 MovieClip Frame 1
stop();
Symbol 1533 MovieClip Frame 7
stop();
Symbol 1533 MovieClip Frame 13
stop();
Symbol 1533 MovieClip Frame 18
stop();
Symbol 1533 MovieClip Frame 23
stop();
Symbol 1533 MovieClip Frame 29
stop();
Symbol 1546 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1547 MovieClip Frame 1
stop();
Symbol 1547 MovieClip Frame 7
stop();
Symbol 1547 MovieClip Frame 13
stop();
Symbol 1547 MovieClip Frame 18
stop();
Symbol 1547 MovieClip Frame 24
stop();
Symbol 1547 MovieClip Frame 29
stop();
Symbol 1555 MovieClip Frame 1
stop();
Symbol 1555 MovieClip Frame 7
stop();
Symbol 1555 MovieClip Frame 13
stop();
Symbol 1555 MovieClip Frame 18
stop();
Symbol 1555 MovieClip Frame 23
stop();
Symbol 1555 MovieClip Frame 29
stop();
Symbol 1578 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1579 MovieClip Frame 1
stop();
Symbol 1579 MovieClip Frame 7
stop();
Symbol 1579 MovieClip Frame 13
stop();
Symbol 1579 MovieClip Frame 18
stop();
Symbol 1579 MovieClip Frame 24
stop();
Symbol 1579 MovieClip Frame 29
stop();
Symbol 1580 MovieClip Frame 1
stop();
Instance of Symbol 1526 MovieClip "Obj" in Symbol 1580 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1533 MovieClip "Obj" in Symbol 1580 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1526 MovieClip "Obj" in Symbol 1580 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1547 MovieClip "Obj" in Symbol 1580 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1555 MovieClip "Obj" in Symbol 1580 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1579 MovieClip "Obj" in Symbol 1580 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1555 MovieClip "Obj" in Symbol 1580 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1547 MovieClip "Obj" in Symbol 1580 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 1670 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1671 MovieClip Frame 8
gotoAndPlay (3);
Symbol 1672 MovieClip Frame 1
stop();
Symbol 1672 MovieClip Frame 7
stop();
Symbol 1672 MovieClip Frame 13
stop();
Symbol 1672 MovieClip Frame 18
stop();
Symbol 1672 MovieClip Frame 23
stop();
Symbol 1672 MovieClip Frame 29
stop();
Symbol 1709 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1710 MovieClip Frame 1
stop();
Symbol 1710 MovieClip Frame 7
stop();
Symbol 1710 MovieClip Frame 13
stop();
Symbol 1710 MovieClip Frame 18
stop();
Symbol 1710 MovieClip Frame 23
stop();
Symbol 1710 MovieClip Frame 29
stop();
Symbol 1812 MovieClip Frame 1
stop();
Symbol 1812 MovieClip Frame 7
stop();
Symbol 1812 MovieClip Frame 13
stop();
Symbol 1812 MovieClip Frame 18
stop();
Symbol 1812 MovieClip Frame 24
stop();
Symbol 1812 MovieClip Frame 29
stop();
Symbol 1882 MovieClip Frame 1
stop();
Symbol 1882 MovieClip Frame 7
stop();
Symbol 1882 MovieClip Frame 13
stop();
Symbol 1882 MovieClip Frame 18
stop();
Symbol 1882 MovieClip Frame 23
stop();
Symbol 1882 MovieClip Frame 29
stop();
Symbol 1936 MovieClip Frame 30
if (random(1000) < /Vars:TempsIdle) {
gotoAndPlay (1);
}
Symbol 1937 MovieClip Frame 1
stop();
Symbol 1937 MovieClip Frame 7
stop();
Symbol 1937 MovieClip Frame 13
stop();
Symbol 1937 MovieClip Frame 18
stop();
Symbol 1937 MovieClip Frame 23
stop();
Symbol 1937 MovieClip Frame 29
stop();
Symbol 1938 MovieClip Frame 1
stop();
Instance of Symbol 1672 MovieClip "Obj" in Symbol 1938 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1710 MovieClip "Obj" in Symbol 1938 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1672 MovieClip "Obj" in Symbol 1938 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1812 MovieClip "Obj" in Symbol 1938 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1882 MovieClip "Obj" in Symbol 1938 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1937 MovieClip "Obj" in Symbol 1938 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1882 MovieClip "Obj" in Symbol 1938 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1812 MovieClip "Obj" in Symbol 1938 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 1946 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 1946 MovieClip Frame 1
/* no clip actions */
Symbol 1946 MovieClip Frame 44
tellTarget ("_root") {
gotoAndPlay ("ExitTab1");
};
Symbol 1947 MovieClip Frame 1
stop();
Symbol 1947 MovieClip Frame 7
stop();
Symbol 1947 MovieClip Frame 13
stop();
Symbol 1947 MovieClip Frame 19
stop();
Symbol 1947 MovieClip Frame 25
stop();
Symbol 1947 MovieClip Frame 30
stop();
Symbol 1948 MovieClip Frame 1
stop();
Symbol 1948 MovieClip Frame 7
stop();
Symbol 1948 MovieClip Frame 13
stop();
Symbol 1948 MovieClip Frame 19
stop();
Symbol 1948 MovieClip Frame 25
stop();
Symbol 1948 MovieClip Frame 32
stop();
Symbol 1949 MovieClip Frame 1
stop();
Symbol 1949 MovieClip Frame 7
stop();
Symbol 1949 MovieClip Frame 13
stop();
Symbol 1949 MovieClip Frame 19
stop();
Symbol 1949 MovieClip Frame 25
stop();
Symbol 1949 MovieClip Frame 30
stop();
Symbol 1950 MovieClip Frame 1
stop();
Symbol 1950 MovieClip Frame 7
stop();
Symbol 1950 MovieClip Frame 13
stop();
Symbol 1950 MovieClip Frame 19
stop();
Symbol 1950 MovieClip Frame 25
stop();
Symbol 1950 MovieClip Frame 30
stop();
Symbol 1951 MovieClip Frame 1
stop();
Symbol 1951 MovieClip Frame 7
stop();
Symbol 1951 MovieClip Frame 13
stop();
Symbol 1951 MovieClip Frame 19
stop();
Symbol 1951 MovieClip Frame 25
stop();
Symbol 1951 MovieClip Frame 30
stop();
Symbol 1952 MovieClip Frame 1
stop();
Symbol 1952 MovieClip Frame 7
stop();
Symbol 1952 MovieClip Frame 13
stop();
Symbol 1952 MovieClip Frame 19
stop();
Symbol 1952 MovieClip Frame 25
stop();
Symbol 1952 MovieClip Frame 30
stop();
Symbol 1953 MovieClip Frame 1
stop();
Symbol 1953 MovieClip Frame 7
stop();
Symbol 1953 MovieClip Frame 13
stop();
Symbol 1953 MovieClip Frame 19
stop();
Symbol 1953 MovieClip Frame 25
stop();
Symbol 1953 MovieClip Frame 30
stop();
Symbol 1954 MovieClip Frame 1
stop();
Symbol 1954 MovieClip Frame 7
stop();
Symbol 1954 MovieClip Frame 13
stop();
Symbol 1954 MovieClip Frame 19
stop();
Symbol 1954 MovieClip Frame 25
stop();
Symbol 1954 MovieClip Frame 30
stop();
Symbol 1955 MovieClip Frame 1
stop();
Instance of Symbol 1947 MovieClip "Obj" in Symbol 1955 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1948 MovieClip "Obj" in Symbol 1955 MovieClip Frame 2
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1949 MovieClip "Obj" in Symbol 1955 MovieClip Frame 3
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1950 MovieClip "Obj" in Symbol 1955 MovieClip Frame 4
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1951 MovieClip "Obj" in Symbol 1955 MovieClip Frame 5
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1952 MovieClip "Obj" in Symbol 1955 MovieClip Frame 6
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1953 MovieClip "Obj" in Symbol 1955 MovieClip Frame 7
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Instance of Symbol 1954 MovieClip "Obj" in Symbol 1955 MovieClip Frame 8
onClipEvent (load) {
tellTarget (this) {
gotoAndStop(eval ("/Vars:Etat" + _parent._name));
};
}
Symbol 1960 MovieClip Frame 1
if (/Vars:TotemFall == true) {
nextFrame();
} else {
stop();
}
Symbol 1965 Button
on (keyPress "<Down>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Bas == false) {
if (Key.isDown(Key.Down)) {
Set("/Vars:Bas", true);
}
}
}
}
on (keyPress "<Up>") {
if (((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) {
if (/Vars:Haut == false) {
if (Key.isDown(Key.Up)) {
Set("/Vars:Haut", true);
}
}
}
}
on (keyPress "<Left>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Gauche == false) {
if (Key.isDown(Key.Left)) {
Set("/Vars:Gauche", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray - 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if (/Vars:PtInvArray > 0) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", /Vars:InvArray.length - 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "<Right>") {
if (/Vars:Pause == false) {
if (/Vars:LostControl == false) {
if (/Vars:Droite == false) {
if (Key.isDown(Key.Right)) {
Set("/Vars:Droite", true);
}
}
}
}
if ((/Vars:InvOuvert == true) and (/Vars:InvArray.length > 2)) {
Set("/Vars:PtInvArray", /Vars:PtInvArray + 1);
if ((_root.Vars.InvArray.charAt(1) != null) and (_root.Vars.InvArray.charAt(1) ne "")) {
_root.TabInv.play();
}
if ((_root.Vars:InvArray.charAt(/Vars:PtInvArray) != null) and (_root.Vars.InvArray.charAt(/Vars:PtInvArray) ne "")) {
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
} else {
Set("/Vars:PtInvArray", 1);
Set("/Vars:ObjSelect", _root.Vars:InvArray.charAt(/Vars:PtInvArray));
}
}
}
on (keyPress "s") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
Set("/Vars:LanceDX", _root.AgpLanceD._x);
Set("/Vars:LanceDY", _root.AgpLanceD._y);
Set("/Vars:LanceGX", _root.AgpLanceG._x);
Set("/Vars:LanceGY", _root.AgpLanceG._y);
Set("/Vars:LanceDWoodX", _root.AgpLanceDWood._x);
Set("/Vars:LanceDWoodY", _root.AgpLanceDWood._y);
Set("/Vars:LanceGWoodX", _root.AgpLanceGWood._x);
Set("/Vars:LanceGWoodY", _root.AgpLanceGWood._y);
Set("/Vars:FearWoodX", _root.AgpFearWood._x);
Set("/Vars:FearWoodY", _root.AgpFearWood._y);
_root.Mus.VolDest = 0;
_root.Mus.gotoAndStop("Fade");
Set("/Vars:Saving", true);
}
}
}
on (keyPress "S") {
if (/:Challenge == false) {
if ((((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:SortTab == false)) and (/Vars:HelpOuvert == false)) {
Set("/Vars:LanceDX", _root.AgpLanceD._x);
Set("/Vars:LanceDY", _root.AgpLanceD._y);
Set("/Vars:LanceGX", _root.AgpLanceG._x);
Set("/Vars:LanceGY", _root.AgpLanceG._y);
Set("/Vars:LanceDWoodX", _root.AgpLanceDWood._x);
Set("/Vars:LanceDWoodY", _root.AgpLanceDWood._y);
Set("/Vars:LanceGWoodX", _root.AgpLanceGWood._x);
Set("/Vars:LanceGWoodY", _root.AgpLanceGWood._y);
Set("/Vars:FearWoodX", _root.AgpFearWood._x);
Set("/Vars:FearWoodY", _root.AgpFearWood._y);
_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("ScoobEpi6");
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("ScoobEpi6");
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 2006 MovieClip Frame 1
if (/Vars:InvPanneau == true) {
nextFrame();
} else {
stop();
}
Symbol 2020 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2020 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2020 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2020 MovieClip Frame 36
if ((/Vars:TorcheUse == false) and (/Vars:LostControl == false)) {
nextFrame();
} else {
gotoAndStop (1);
}
Instance of Symbol 359 MovieClip in Symbol 2020 MovieClip Frame 37
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2020 MovieClip Frame 44
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 0);
Set("/Vars:DestX", 400);
Set("/Vars:DestY", 108);
if (/Voix:Yeux == false) {
Set("/Vars:Dialog", "Yeux");
Set("/Vars:VDialog", "Yeux");
Set("/Vars:FinMove", "Parle");
} else {
Set("/Vars:FinMove", "FinMarche");
}
Symbol 2020 MovieClip Frame 59
gotoAndStop (1);
Instance of Symbol 359 MovieClip in Symbol 2049 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2052 MovieClip Frame 1
if (/Vars:InvTorche == true) {
nextFrame();
} else {
stop();
}
Symbol 2089 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2089 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2089 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2089 MovieClip Frame 72
Set("/Vars:RocherBloc", false);
_root.Collider.CacheRoche.nextFrame();
_root.Fonct.RemoveObj(/Vars:PtObjDel);
_root.Samy._x = 418.9;
_root.Samy._y = 263.2;
Set("/Vars:DirSamy", 7);
_root.Fonct.FinAgp();
_root.Fonct.RetourPers("Samy", "Scooby", "Ss");
Symbol 2089 MovieClip Frame 73
stop();
Symbol 2092 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2092 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2092 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2092 MovieClip Frame 78
_root.Fonct.FinAgp();
Symbol 2092 MovieClip Frame 79
gotoAndStop (1);
Symbol 2095 MovieClip Frame 1
if (/Vars:Sorti eq "H") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 1);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2095 MovieClip Frame 1
/* no clip actions */
Symbol 2095 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2095 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2095 MovieClip Frame 59
_root.Ss._x = 409.4;
_root.Ss._y = 293.6;
_root.Fonct.FinAgp();
Symbol 2095 MovieClip Frame 60
gotoAndStop (1);
Symbol 2098 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2098 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2098 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2098 MovieClip Frame 67
_root.Fonct.FinAgp();
Symbol 2098 MovieClip Frame 68
gotoAndStop (1);
Symbol 2101 MovieClip Frame 1
if (/Vars:Sorti eq "I") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 3);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2101 MovieClip Frame 1
/* no clip actions */
Symbol 2101 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2101 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2101 MovieClip Frame 57
_root.Ss._x = 492.7;
_root.Ss._y = 280.8;
_root.Fonct.FinAgp();
Symbol 2101 MovieClip Frame 58
gotoAndStop (1);
Symbol 2104 MovieClip Frame 1
if (/Vars:Sorti eq "C") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 3);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2104 MovieClip Frame 1
/* no clip actions */
Symbol 2104 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2104 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2104 MovieClip Frame 57
_root.Ss._x = 201.8;
_root.Ss._y = 149.8;
_root.Fonct.FinAgp();
Symbol 2104 MovieClip Frame 58
gotoAndStop (1);
Symbol 2105 MovieClip Frame 1
if (/Vars:Sorti eq "F") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 3);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2105 MovieClip Frame 1
/* no clip actions */
Symbol 2105 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2105 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2105 MovieClip Frame 27
_root.Ss._x = 505.3;
_root.Ss._y = 111.8;
_root.Fonct.FinAgp();
Symbol 2105 MovieClip Frame 28
gotoAndStop (1);
Symbol 2108 MovieClip Frame 1
if (/Vars:Sorti eq "D") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 3);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2108 MovieClip Frame 1
/* no clip actions */
Symbol 2108 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2108 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2108 MovieClip Frame 35
_root.Ss._x = 274.9;
_root.Ss._y = 362.9;
_root.Fonct.FinAgp();
Symbol 2108 MovieClip Frame 36
gotoAndStop (1);
Symbol 2109 MovieClip Frame 1
if (/Vars:Sorti eq "B") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 7);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2109 MovieClip Frame 1
/* no clip actions */
Symbol 2109 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2109 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2109 MovieClip Frame 42
_root.Ss._x = 59.5;
_root.Ss._y = 386.9;
_root.Fonct.FinAgp();
Symbol 2109 MovieClip Frame 43
gotoAndStop (1);
Symbol 2110 MovieClip Frame 1
if (/Vars:Sorti eq "K") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 5);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2110 MovieClip Frame 1
/* no clip actions */
Symbol 2110 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2110 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2110 MovieClip Frame 40
_root.Ss._x = 567.7;
_root.Ss._y = 342.2;
_root.Fonct.FinAgp();
Symbol 2110 MovieClip Frame 41
gotoAndStop (1);
Symbol 2121 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2121 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2121 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 2121 MovieClip Frame 12
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2121 MovieClip Frame 50
Set("/Vars:TorcheUse", false);
Set("/Vars:Yeux1Dead", true);
_root.Fonct.FinAgp();
Symbol 2121 MovieClip Frame 51
gotoAndStop (1);
Symbol 2204 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2204 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2204 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2204 MovieClip Frame 36
_root.Fonct.FinAgp();
Symbol 2204 MovieClip Frame 37
gotoAndStop (1);
Instance of Symbol 359 MovieClip in Symbol 2204 MovieClip Frame 38
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2204 MovieClip Frame 74
_root.Fonct.FinAgp();
Symbol 2204 MovieClip Frame 75
gotoAndStop (1);
Symbol 2209 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2209 MovieClip Frame 1
/* no clip actions */
Symbol 2209 MovieClip Frame 44
tellTarget ("_root") {
gotoAndPlay ("ExitTab2");
};
Symbol 2218 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2218 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2218 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2218 MovieClip Frame 8
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 0);
Set("/Vars:DestX", 313);
Set("/Vars:DestY", 339);
Set("/Vars:FinMove", "FinMarche");
Symbol 2218 MovieClip Frame 70
gotoAndStop (1);
Symbol 2221 MovieClip Frame 1
if (/Vars:InvPanneau == true) {
nextFrame();
} else {
stop();
}
Symbol 2223 MovieClip Frame 1
if (/Vars:RocherBloc == false) {
nextFrame();
} else {
stop();
}
Symbol 2225 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("ScoobEpi6");
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("ScoobEpi6");
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 2231 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2231 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2231 MovieClip Frame 36
if ((/Vars:TorcheUse == false) and (/Vars:LostControl == false)) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 2231 MovieClip Frame 37
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 7);
Set("/Vars:DestX", 195);
Set("/Vars:DestY", 95);
if (/Voix:Yeux == false) {
Set("/Vars:Dialog", "Yeux");
Set("/Vars:VDialog", "Yeux");
Set("/Vars:FinMove", "Parle");
} else {
Set("/Vars:FinMove", "FinMarche");
}
Instance of Symbol 359 MovieClip in Symbol 2231 MovieClip Frame 37
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2231 MovieClip Frame 59
gotoAndStop (1);
Symbol 2236 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2236 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2236 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2236 MovieClip Frame 36
if ((/Vars:TorcheUse == false) and (/Vars:LostControl == false)) {
nextFrame();
} else {
gotoAndStop (1);
}
Instance of Symbol 359 MovieClip in Symbol 2236 MovieClip Frame 37
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2236 MovieClip Frame 44
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 0);
Set("/Vars:DestX", 131);
Set("/Vars:DestY", 305);
if (/Voix:Yeux == false) {
Set("/Vars:Dialog", "Yeux");
Set("/Vars:VDialog", "Yeux");
Set("/Vars:FinMove", "Parle");
} else {
Set("/Vars:FinMove", "FinMarche");
}
Symbol 2236 MovieClip Frame 59
gotoAndStop (1);
Symbol 2237 MovieClip Frame 1
if (/Vars:InvCorde1 == true) {
nextFrame();
} else {
stop();
}
Symbol 2246 MovieClip Frame 1
if (/Vars:InvCorde2 == true) {
nextFrame();
} else {
stop();
}
Symbol 2250 MovieClip Frame 1
if (/Vars:InvCorde1 == true) {
nextFrame();
} else {
stop();
}
Symbol 2254 MovieClip Frame 1
if (/Vars:Sorti eq "F") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 1);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2254 MovieClip Frame 1
/* no clip actions */
Symbol 2254 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2254 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2254 MovieClip Frame 51
_root.Ss._x = 116.8;
_root.Ss._y = 300.1;
_root.Fonct.FinAgp();
Symbol 2254 MovieClip Frame 52
gotoAndStop (1);
Symbol 2257 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2257 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2257 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2257 MovieClip Frame 47
_root.Fonct.FinAgp();
Symbol 2257 MovieClip Frame 48
gotoAndStop (1);
Symbol 2258 MovieClip Frame 1
trace(/Vars:Sorti);
if (/Vars:Sorti eq "I") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 1);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2258 MovieClip Frame 1
/* no clip actions */
Symbol 2258 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2258 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2258 MovieClip Frame 43
_root.Ss._x = 402.8;
_root.Ss._y = 163.6;
_root.Fonct.FinAgp();
Symbol 2258 MovieClip Frame 44
gotoAndStop (1);
Symbol 2261 MovieClip Frame 1
if (/Vars:Sorti eq "C") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 1);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2261 MovieClip Frame 1
/* no clip actions */
Symbol 2261 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2261 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2261 MovieClip Frame 43
_root.Ss._x = 384.6;
_root.Ss._y = 291.9;
_root.Fonct.FinAgp();
Symbol 2261 MovieClip Frame 44
gotoAndStop (1);
Symbol 2262 MovieClip Frame 1
if (/Vars:Sorti eq "K") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 1);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2262 MovieClip Frame 1
/* no clip actions */
Symbol 2262 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2262 MovieClip Frame 27
_root.Ss._x = 310.6;
_root.Ss._y = 374.8;
_root.Fonct.FinAgp();
Symbol 2262 MovieClip Frame 28
gotoAndStop (1);
Symbol 2265 MovieClip Frame 1
if (/Vars:Sorti eq "B") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 1);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2265 MovieClip Frame 1
/* no clip actions */
Symbol 2265 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2265 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2265 MovieClip Frame 48
_root.Ss._x = 234.7;
_root.Ss._y = 134.2;
_root.Fonct.FinAgp();
Symbol 2265 MovieClip Frame 49
gotoAndStop (1);
Symbol 2266 MovieClip Frame 1
if (/Vars:Sorti eq "D") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 3);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2266 MovieClip Frame 1
/* no clip actions */
Symbol 2266 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2266 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2266 MovieClip Frame 31
_root.Ss._x = 511.4;
_root.Ss._y = 181.9;
_root.Fonct.FinAgp();
Symbol 2266 MovieClip Frame 32
gotoAndStop (1);
Symbol 2269 MovieClip Frame 1
if (/Vars:Sorti eq "H") {
Set("/Vars:LostControl", true);
Set("/Vars:DirSs", 3);
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 359 MovieClip in Symbol 2269 MovieClip Frame 1
/* no clip actions */
Symbol 2269 MovieClip Frame 2
Set("/Vars:Sorti", "");
Instance of Symbol 359 MovieClip in Symbol 2269 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2269 MovieClip Frame 31
_root.Ss._x = 534.3;
_root.Ss._y = 332.8;
_root.Fonct.FinAgp();
Symbol 2269 MovieClip Frame 32
gotoAndStop (1);
Symbol 2325 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2325 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2325 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2325 MovieClip Frame 35
_root.Fonct.FinAgp();
Symbol 2325 MovieClip Frame 36
gotoAndStop (1);
Symbol 2325 MovieClip Frame 67
_root.Fonct.FinAgp();
Symbol 2325 MovieClip Frame 68
gotoAndStop (1);
Symbol 2326 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2326 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2326 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 2326 MovieClip Frame 12
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 2326 MovieClip Frame 12
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2326 MovieClip Frame 46
Set("/Vars:TorcheUse", false);
Set("/Vars:Yeux3Dead", true);
_root.Fonct.FinAgp();
Symbol 2326 MovieClip Frame 47
stop();
Symbol 2327 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2327 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2327 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Instance of Symbol 359 MovieClip in Symbol 2327 MovieClip Frame 12
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2327 MovieClip Frame 46
Set("/Vars:TorcheUse", false);
Set("/Vars:Yeux2Dead", true);
_root.Fonct.FinAgp();
Symbol 2327 MovieClip Frame 47
stop();
Symbol 2328 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2328 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2328 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2328 MovieClip Frame 40
_root.Fonct.FinAgp();
Symbol 2328 MovieClip Frame 41
gotoAndStop (1);
Symbol 2329 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2329 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2329 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2329 MovieClip Frame 9
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 0);
Set("/Vars:DestX", 279);
Set("/Vars:DestY", 333);
Set("/Vars:FinMove", "FinMarche");
Symbol 2329 MovieClip Frame 62
gotoAndStop (1);
Symbol 2343 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2343 MovieClip Frame 1
/* no clip actions */
Symbol 2343 MovieClip Frame 2
Set("/Vars:Fear", /Vars:Fear + 20);
Instance of Symbol 359 MovieClip in Symbol 2343 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2343 MovieClip Frame 36
gotoAndStop (1);
Symbol 2348 MovieClip Frame 1
if (/Vars:InvPioche == true) {
nextFrame();
} else {
stop();
}
Symbol 2349 MovieClip Frame 1
if (/Vars:InvPelle == true) {
nextFrame();
} else {
stop();
}
Symbol 2350 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2350 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2350 MovieClip Frame 55
_root.Souris1.gotoAndPlay(2);
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 7);
Set("/Vars:DestX", 212);
Set("/Vars:DestY", 386);
Set("/Vars:FinMove", "FinMarche");
gotoAndStop (1);
Symbol 2355 MovieClip Frame 1
stop();
Symbol 2355 MovieClip Frame 2
Son = random(100);
if (Son > 75) {
gotoAndPlay (3);
} else if (Son > 50) {
gotoAndPlay (8);
} else if (Son > 25) {
gotoAndPlay (13);
} else {
gotoAndPlay (18);
}
Symbol 2355 MovieClip Frame 7
gotoAndStop (1);
Symbol 2355 MovieClip Frame 12
gotoAndStop (1);
Symbol 2355 MovieClip Frame 17
gotoAndStop (1);
Symbol 2355 MovieClip Frame 22
gotoAndStop (1);
Symbol 2357 MovieClip Frame 1
stop();
Symbol 2357 MovieClip Frame 23
stop();
Symbol 2385 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2385 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2385 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2385 MovieClip Frame 54
_root.AgpClimb.SortTete.nextFrame();
stop();
Symbol 2408 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2408 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2408 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2408 MovieClip Frame 24
_root.Fonct.FinAgp();
Symbol 2408 MovieClip Frame 25
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 0);
Set("/Vars:DestX", 353);
Set("/Vars:DestY", 393);
Set("/Vars:Dialog", "Skull");
Set("/Vars:VDialog", "Skull");
Set("/Vars:FinMove", "Parle");
Symbol 2408 MovieClip Frame 38
stop();
Symbol 2415 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2415 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 359 MovieClip in Symbol 2415 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2415 MovieClip Frame 23
_root.Fonct.FinAgp();
Symbol 2415 MovieClip Frame 24
Set("/Vars:Peur", true);
Set("/Vars:DegreFear", 20);
Set("/Vars:WaitFear", 0);
Set("/Vars:DestX", 154);
Set("/Vars:DestY", 363);
Set("/Vars:Dialog", "Skull");
Set("/Vars:VDialog", "Skull");
Set("/Vars:FinMove", "Parle");
Symbol 2415 MovieClip Frame 38
stop();
Symbol 2431 MovieClip Frame 10
_root.SonPick.gotoAndPlay(2);
Symbol 2431 MovieClip Frame 19
_root.SonPick.gotoAndPlay(2);
Symbol 2431 MovieClip Frame 23
_root.AgpClimb._y = _root.AgpClimb._y - 42.6;
if (/Vars:MovePelle == true) {
Set("/Vars:MovePelle", false);
Set("/Vars:EtatClimb", "Pelle");
_root.AgpClimb.gotoAndStop("Pelle");
} else {
Set("/Vars:EtatClimb", "Idle");
_root.AgpClimb.gotoAndStop("Idle");
}
Symbol 2432 MovieClip Frame 5
_root.SonPick.gotoAndPlay(2);
Symbol 2432 MovieClip Frame 10
_root.SonPick.gotoAndPlay(2);
Symbol 2432 MovieClip Frame 12
_root.AgpClimb._x = _root.AgpClimb._x + 15.7;
_root.AgpClimb._y = _root.AgpClimb._y + 1.1;
if (/Vars:MovePelle == true) {
Set("/Vars:MovePelle", false);
Set("/Vars:EtatClimb", "Pelle");
_root.AgpClimb.gotoAndStop("Pelle");
} else {
Set("/Vars:EtatClimb", "Idle");
_root.AgpClimb.gotoAndStop("Idle");
}
Symbol 2433 MovieClip Frame 4
_root.SonPick.gotoAndPlay(2);
Symbol 2433 MovieClip Frame 9
_root.SonPick.gotoAndPlay(2);
Symbol 2433 MovieClip Frame 12
_root.AgpClimb._x = _root.AgpClimb._x - 15.7;
_root.AgpClimb._y = _root.AgpClimb._y - 1.1;
if (/Vars:MovePelle == true) {
Set("/Vars:MovePelle", false);
Set("/Vars:EtatClimb", "Pelle");
_root.AgpClimb.gotoAndStop("Pelle");
} else {
Set("/Vars:EtatClimb", "Idle");
_root.AgpClimb.gotoAndStop("Idle");
}
Symbol 2436 MovieClip Frame 10
_root.SonPick.gotoAndPlay(2);
Symbol 2436 MovieClip Frame 19
_root.SonPick.gotoAndPlay(2);
Symbol 2436 MovieClip Frame 23
_root.AgpClimb._y = _root.AgpClimb._y + 42.6;
Set("/Vars:EtatClimb", "Idle");
_root.AgpClimb.gotoAndStop("Idle");
Symbol 2487 MovieClip Frame 37
_root.Fonct.RemoveObj(/Vars:PtObjDel);
Symbol 2487 MovieClip Frame 53
Set("/Vars:PtObjDel", 9);
_root.Fonct.RemoveObj(/Vars:PtObjDel);
Symbol 2487 MovieClip Frame 88
Set("/Vars:Climb", false);
Set("/Vars:EtatClimb", "Sorti");
Set("/Vars:PersActif", "Scooby");
Set("/Vars:LostControl", false);
_parent.gotoAndStop("Sorti");
Symbol 2488 MovieClip Frame 22
Set("/Vars:Climb", false);
Set("/Vars:EtatClimb", "PasLa");
_root.Samy._x = _root.AgpClimb._x + 8.2;
_root.Samy._y = _root.AgpClimb._y + 46.7;
Set("/Vars:EtatSamy", "Idle");
Set("/Vars:DirSamy", 7);
_root.Samy.gotoAndStop(7);
_root.Fonct.FinAgp();
_root.AgpClimb.gotoAndStop("PasLa");
Symbol 2489 MovieClip Frame 1
Set("/Vars:Climb", true);
Symbol 2489 MovieClip Frame 25
Set("/Vars:EtatClimb", "Idle");
_parent.gotoAndStop("Idle");
Symbol 2494 MovieClip Frame 1
Set("/Vars:Climb", false);
Symbol 2494 MovieClip Frame 32
Set("/Vars:Climb", false);
Set("/Vars:EtatClimb", "PasLa");
_root.Samy._x = _root.AgpClimb._x - 13.5;
_root.Samy._y = _root.AgpClimb._y + 61.9;
Set("/Vars:EtatSamy", "Idle");
Set("/Vars:DirSamy", 7);
_root.Samy.gotoAndStop(7);
_root.Fonct.FinAgp();
_root.AgpClimb.gotoAndStop("PasLa");
Symbol 2495 MovieClip Frame 1
Set("/Vars:Climb", true);
Symbol 2495 MovieClip Frame 32
Set("/Vars:EtatClimb", "Idle");
_parent.gotoAndStop("Idle");
Symbol 2515 MovieClip Frame 44
Set("/Vars:Climb", false);
Set("/Vars:EtatClimb", "PasLa");
_root.Samy._x = _root.AgpClimb._x - 17.1;
_root.Samy._y = _root.AgpClimb._y + 111.2;
Set("/Vars:EtatSamy", "Idle");
Set("/Vars:DirSamy", 7);
_root.Samy.gotoAndStop(7);
_root.Fonct.FinAgp();
_root.AgpClimb.gotoAndStop("PasLa");
Symbol 2516 MovieClip Frame 44
Set("/Vars:Climb", false);
Set("/Vars:EtatClimb", "PasLa");
_root.Samy._x = _root.AgpClimb._x - 116.1;
_root.Samy._y = _root.AgpClimb._y + 197.2;
Set("/Vars:EtatSamy", "Idle");
Set("/Vars:DirSamy", 7);
_root.Samy.gotoAndStop(7);
_root.Fonct.FinAgp();
_root.AgpClimb.gotoAndStop("PasLa");
Instance of Symbol 359 MovieClip in Symbol 2518 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2518 MovieClip Frame 5
if (/Vars:TeteParle == true) {
gotoAndStop (14);
} else {
nextFrame();
}
Symbol 2518 MovieClip Frame 6
Set("/Voix:Parle", true);
_root.Voix.gotoAndPlay("ClimbScoob");
Set("/Vars:TeteParle", true);
Instance of Symbol 359 MovieClip in Symbol 2518 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2518 MovieClip Frame 14
stop();
Instance of Symbol 359 MovieClip in Symbol 2518 MovieClip Frame 15
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (/Vars:Pause == true) {
tellTarget (_parent) {
stop();
};
} else {
tellTarget (_parent) {
play();
};
}
}
Symbol 2518 MovieClip Frame 19
_root.gotoAndStop("CloseTab4");
stop();
Symbol 2519 MovieClip Frame 1
stop();
Instance of Symbol 1968 MovieClip "CenterClimb" in Symbol 2519 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 359 MovieClip in Symbol 2519 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (((/Vars:Pause == false) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == false)) {
if (_root.HitHole1.hitTest(_root.AgpClimb.CenterClimb)) {
_root.Souris2.gotoAndPlay(2);
Set("/Vars:EtatClimb", "Peur");
_parent.gotoAndStop("Peur");
} else if (_root.HitHole3.hitTest(_root.AgpClimb.CenterClimb)) {
_root.Souris3.gotoAndPlay(2);
Set("/Vars:EtatClimb", "Peur2");
_parent.gotoAndStop("Peur2");
} else if (_root.HitHole4.hitTest(_root.AgpClimb.CenterClimb)) {
_root.Souris4.gotoAndPlay(2);
Set("/Vars:EtatClimb", "Peur2");
_parent.gotoAndStop("Peur2");
} else if (_root.HitHole5.hitTest(_root.AgpClimb.CenterClimb)) {
_root.Souris5.gotoAndPlay(2);
Set("/Vars:EtatClimb", "Peur2");
_parent.gotoAndStop("Peur2");
} else if (/Vars:MovePelle == false) {
if (Key.isDown(32)) {
if (_root.HitOutD.hitTest(_root.AgpClimb.CenterClimb)) {
Set("/Vars:EtatClimb", "OutD");
_parent.gotoAndStop("OutD");
}
if (_root.HitUsePelle.hitTest(_root.AgpClimb.CenterClimb) and (/Vars:ObjSelect == 5)) {
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:EtatClimb", "Pelle");
_parent.gotoAndStop("Pelle");
}
if ((_root.HitUsePelleG.hitTest(_root.AgpClimb.CenterClimb) and (/Vars:ObjSelect == 5)) and (/Vars:MovePelle == false)) {
Set("/Vars:MovePelle", true);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:EtatClimb", "Droite");
_parent.gotoAndStop("Droite");
}
if ((_root.HitUsePelleD.hitTest(_root.AgpClimb.CenterClimb) and (/Vars:ObjSelect == 5)) and (/Vars:MovePelle == false)) {
Set("/Vars:MovePelle", true);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:EtatClimb", "Gauche");
_parent.gotoAndStop("Gauche");
}
if ((_root.HitUsePelleDown.hitTest(_root.AgpClimb.CenterClimb) and (/Vars:ObjSelect == 5)) and (/Vars:MovePelle == false)) {
Set("/Vars:MovePelle", true);
Set("/Vars:PtObjDel", /Vars:PtInvArray);
Set("/Vars:EtatClimb", "Monte");
_parent.gotoAndStop("Monte");
}
} else if (Key.isDown(38)) {
if (((!_root.HitBlocU.hitTest(_root.AgpClimb.CenterClimb)) and (!_root.HitBlocU2.hitTest(_root.AgpClimb.CenterClimb))) and (!_root.HitBlocU3.hitTest(_root.AgpClimb.CenterClimb))) {
Set("/Vars:EtatClimb", "Monte");
_parent.gotoAndStop("Monte");
}
} else if (Key.isDown(40)) {
if ((!_root.HitBlocDown.hitTest(_root.AgpClimb.CenterClimb)) and (!_root.HitBlocDown2.hitTest(_root.AgpClimb.CenterClimb))) {
if ((!_root.HitOutD.hitTest(_root.AgpClimb.CenterClimb)) and (!_root.HitOutBas.hitTest(_root.AgpClimb.CenterClimb))) {
Set("/Vars:EtatClimb", "Baisse");
_parent.gotoAndStop("Baisse");
} else if (_root.HitOutD.hitTest(_root.AgpClimb.CenterClimb)) {
Set("/Vars:EtatClimb", "OutD");
_parent.gotoAndStop("OutD");
} else if (_root.HitOutBas.hitTest(_root.AgpClimb.CenterClimb)) {
Set("/Vars:EtatClimb", "OutBas");
_parent.gotoAndStop("OutBas");
}
}
} else if (Key.isDown(37)) {
if (((!_root.HitBlocG.hitTest(_root.AgpClimb.CenterClimb)) and (!_root.HitBlocG2.hitTest(_root.AgpClimb.CenterClimb))) and (!_root.HitBlocG3.hitTest(_root.AgpClimb.CenterClimb))) {
Set("/Vars:EtatClimb", "Gauche");
_parent.gotoAndStop("Gauche");
}
} else if (Key.isDown(39)) {
if ((((!_root.HitBlocD.hitTest(_root.AgpClimb.CenterClimb)) and (!_root.HitBlocD2.hitTest(_root.AgpClimb.CenterClimb))) and (!_root.HitBlocD3.hitTest(_root.AgpClimb.CenterClimb))) and (!_root.HitBlocD4.hitTest(_root.AgpClimb.CenterClimb))) {
Set("/Vars:EtatClimb", "Droite");
_parent.gotoAndStop("Droite");
}
}
}
}
}
Symbol 2519 MovieClip Frame 8
stop();
Symbol 2519 MovieClip Frame 15
stop();
Symbol 2519 MovieClip Frame 22
stop();
Symbol 2519 MovieClip Frame 29
stop();
Symbol 2519 MovieClip Frame 36
Set("/Vars:EtatClimb", "Pelle");
stop();
Symbol 2519 MovieClip Frame 43
Set("/Vars:EtatClimb", "OutD");
stop();
Symbol 2519 MovieClip Frame 50
Set("/Vars:EtatClimb", "InD");
stop();
Symbol 2519 MovieClip Frame 56
Set("/Vars:EtatClimb", "OutBas");
stop();
Symbol 2519 MovieClip Frame 63
Set("/Vars:EtatClimb", "InBas");
stop();
Symbol 2519 MovieClip Frame 70
Set("/Vars:EtatClimb", "Peur");
stop();
Symbol 2519 MovieClip Frame 77
Set("/Vars:EtatClimb", "Peur2");
stop();
Symbol 2519 MovieClip Frame 84
Set("/Vars:EtatClimb", "Sorti");
stop();
Symbol 2519 MovieClip Frame 91
Set("/Vars:EtatClimb", "PasLa");
stop();
Symbol 2524 MovieClip Frame 1
stop();
Instance of Symbol 359 MovieClip in Symbol 2524 MovieClip Frame 1
/* no clip actions */
Symbol 2524 MovieClip Frame 44
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
Symbol 2527 Button
on (keyPress "<Down>") {
if ((((/Vars:Pause == false) and (/Vars:LostControl == false)) and (/Vars:InvOuvert == false)) and (/Vars:HelpOuvert == 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)) and (/Vars:HelpOuvert == 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:ClimbX", _root.AgpClimb._x);
Set("/Vars:ClimbY", _root.AgpClimb._y);
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:ClimbX", _root.AgpClimb._x);
Set("/Vars:ClimbY", _root.AgpClimb._y);
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("ScoobEpi6");
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("ScoobEpi6");
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) or (/Vars:Climb == true))) {
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) or (/Vars:Climb == true))) {
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 2823 MovieClip Frame 229
tellTarget ("_root") {
gotoAndPlay ("Tab2Set");
};
Symbol 3100 MovieClip Frame 1000
tellTarget ("_root") {
gotoAndPlay ("Tab4Set");
};