Frame 1
ifFrameLoaded (60) {
stopAllSounds();
gotoAndPlay (46);
}
Frame 3
ifFrameLoaded (60) {
stopAllSounds();
gotoAndPlay (46);
}
Frame 4
prevFrame();
play();
Frame 5
ifFrameLoaded (1210) {
stopAllSounds();
gotoAndPlay (898);
}
Frame 6
ifFrameLoaded (35) {
tellTarget ("Barre") {
gotoAndStop (2);
};
gotoAndPlay (8);
}
Frame 7
prevFrame();
play();
Frame 8
ifFrameLoaded (35) {
tellTarget ("Barre") {
gotoAndStop (3);
};
gotoAndPlay (10);
}
Frame 9
prevFrame();
play();
Frame 10
ifFrameLoaded (36) {
tellTarget ("Barre") {
gotoAndStop (4);
};
gotoAndPlay (12);
}
Frame 11
prevFrame();
play();
Frame 12
ifFrameLoaded (136) {
tellTarget ("Barre") {
gotoAndStop (5);
};
gotoAndPlay (14);
}
Frame 13
prevFrame();
play();
Frame 14
ifFrameLoaded (526) {
tellTarget ("Barre") {
gotoAndStop (6);
};
gotoAndPlay (16);
}
Frame 15
prevFrame();
play();
Frame 16
ifFrameLoaded (897) {
tellTarget ("Barre") {
gotoAndStop (7);
};
gotoAndPlay (18);
}
Frame 17
prevFrame();
play();
Frame 18
ifFrameLoaded (922) {
tellTarget ("Barre") {
gotoAndStop (8);
};
gotoAndPlay (20);
}
Frame 19
prevFrame();
play();
Frame 20
ifFrameLoaded (948) {
tellTarget ("Barre") {
gotoAndStop (9);
};
gotoAndPlay (22);
}
Frame 21
prevFrame();
play();
Frame 22
ifFrameLoaded (1014) {
tellTarget ("Barre") {
gotoAndStop (10);
};
gotoAndPlay (24);
}
Frame 23
prevFrame();
play();
Frame 24
ifFrameLoaded (1210) {
tellTarget ("Barre") {
gotoAndStop (11);
};
gotoAndPlay (26);
}
Frame 25
prevFrame();
play();
Frame 26
tellTarget ("Barre") {
gotoAndStop ("10");
}
Frame 35
stopAllSounds();
gotoAndPlay (898);
Frame 46
stop();
Frame 897
stopAllSounds();
gotoAndStop (36);
Frame 899
Set("/Variables:Porte", "Sc1Et1");
Set("/Variables:Intro", "1");
Niveau = "1";
Points = "0";
TempsDebut = getTimer() / "1000";
Frame 904
Set("/Variables:Intro", "1");
setProperty("/Hood", _visible , "0");
setProperty("/Hood", _x , "200");
tellTarget ("/Hood") {
gotoAndStop ("Jump");
}
Frame 905
stop();
Frame 913
setProperty("/Hood", _visible , "1");
tellTarget ("/Hood") {
gotoAndPlay ("Jump");
}
Frame 915
if ("400" < getProperty("Hood", _x)) {
Set("/Variables:Intro", "1");
Set("/Variables:Saute", "0");
gotoAndStop (922);
} else {
if (/Variables:SauteCercueil == "1") {
setProperty("Hood", _x , getProperty("Hood", _x) + "40");
} else if (/Variables:SauteCercueil == "0") {
setProperty("Hood", _x , getProperty("Hood", _x) + "12");
}
prevFrame();
play();
}
Frame 922
Set("/Variables:TableauPorte", "Tab1");
gotoAndStop(/Variables:Porte);
if (/Variables:Porte eq "") {
nextFrame();
}
Frame 923
tellTarget ("/Hache1") {
gotoAndStop (1);
};
Set("/Variables:MoviePiece", "MoviePiece1");
Set("/Variables:FantomeIn", "0");
if (/Variables:DirFantome == "1") {
setProperty("Fantome", _xscale , getProperty("Fantome", _xscale) - ("2" * getProperty("Fantome", _xscale)));
}
Set("/Variables:DirFantome", "2");
setProperty("Fantome", _alpha , "100");
setProperty("Fantome", _x , getProperty("1", _x));
setProperty("Fantome", _y , getProperty("1", _y));
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
if (Niveau == "2") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
DirHood = "2";
} else if (Niveau == "0") {
Set("/Variables:GardeDebout", "0");
tellTarget ("Armure1") {
gotoAndPlay ("Dos");
};
setProperty("Hood", _x , getProperty("Secret1", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else {
DirHood = "2";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "1";
stop();
Frame 924
if (Niveau == "2") {
Set("/Variables:MoviePiece", "MoviePiece1");
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
} else {
Set("/Variables:MoviePiece", "MoviePiece2");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 925
Set("/Variables:MoviePiece", "MoviePiece2");
tellTarget ("/Hache2") {
gotoAndStop (1);
};
Set("/Variables:FantomeIn", "0");
if (/Variables:DirFantome == "2") {
setProperty("Fantome", _xscale , getProperty("Fantome", _xscale) - ("2" * getProperty("Fantome", _xscale)));
}
setProperty("Fantome", _alpha , "100");
Set("/Variables:DirFantome", "1");
setProperty("Fantome", _x , getProperty("2", _x));
setProperty("Fantome", _y , getProperty("2", _y));
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
if (/Variables:Secret1 == "0") {
setProperty("Anneau1", _x , getProperty("An1", _x));
setProperty("Anneau2", _x , getProperty("An2", _x));
}
if (/Variables:Tombe == "0") {
if (Niveau == "3") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
}
DirHood = "1";
} else {
setProperty("Hood", _x , /Variables:XTombe);
Set("/Variables:Tombe", "0");
if (DirHood == "2") {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
}
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "2";
stop();
Frame 926
if (Niveau == "3") {
Set("/Variables:MoviePiece", "MoviePiece2");
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 927
if (/Variables:Secret1 == "1") {
tellTarget ("/An1") {
gotoAndStop ("Tire");
};
tellTarget ("/An2") {
gotoAndStop ("Tire");
};
} else {
Set("/Variables:An1", "0");
Set("/Variables:An2", "0");
tellTarget ("/An1") {
gotoAndStop (1);
};
tellTarget ("/An2") {
gotoAndStop (1);
};
}
if (Niveau == "2") {
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
setProperty("Hood", _x , getProperty("EscalierDescent1", _x));
DirHood = "2";
} else {
DirHood = "1";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "3";
Set("/Variables:TombeNiveau", "Sc1Et2");
stop();
Frame 928
gotoAndStop (935);
Frame 935
Set("/Variables:TableauPorte", "Tab2");
gotoAndStop(/Variables:Porte);
Frame 936
Set("/Variables:MoviePiece", "x");
if (Niveau == "2") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else if (Niveau == "3") {
DirHood = "2";
} else if (Niveau == "0") {
setProperty("Hood", _x , getProperty("Secret2", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else {
setProperty("Hood", _x , "290");
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "1";
stop();
Frame 937
if (Niveau == "2") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
} else {
Set("/Variables:MoviePiece", "MoviePiece3");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 938
Set("/Variables:FantomeIn", "0");
Set("/Variables:HoodPlace", "0");
tellTarget ("/Hache2") {
gotoAndStop (1);
};
Set("/Variables:HoodFrappe", "0");
Set("/Variables:MoviePiece", "MoviePiece3");
Set("/Variables:DirFantome", "1");
setProperty("Fantome", _alpha , "100");
setProperty("Fantome", _x , getProperty("2", _x));
setProperty("Fantome", _y , getProperty("2", _y));
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
if (/Variables:Tombe == "0") {
if (Niveau == "3") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "2";
} else if (Niveau == "0") {
Set("/Variables:GardeDebout", "0");
tellTarget ("Armure2") {
gotoAndPlay ("Dos");
};
setProperty("Hood", _x , getProperty("Secret3", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "2";
} else {
DirHood = "1";
}
} else {
setProperty("Hood", _x , /Variables:XTombe);
Set("/Variables:Tombe", "0");
if (DirHood == "2") {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
}
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "2";
stop();
Frame 939
if (Niveau == "3") {
Set("/Variables:MoviePiece", "MoviePiece3");
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
} else {
Set("/Variables:MoviePiece", "MoviePiece4");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 940
Set("/Variables:HoodPlace", "1");
tellTarget ("/Hache3") {
gotoAndStop (1);
};
Set("/Variables:FantomeIn", "0");
Set("/Variables:MoviePiece", "MoviePiece4");
Set("/Variables:DirFantome", "1");
setProperty("Fantome", _alpha , "100");
setProperty("Fantome", _x , getProperty("3", _x));
setProperty("Fantome", _y , getProperty("3", _y));
if (/Variables:GardeArtefact == "0") {
tellTarget ("/ArmureX") {
gotoAndStop ("Dos");
};
}
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
if (Niveau == "2") {
DirHood = "1";
} else if (Niveau == "3") {
setProperty("Hood", _x , getProperty("Sc5Et3", _x) - "10");
DirHood = "1";
} else {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
DirHood = "1";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "3";
Set("/Variables:TombeNiveau", "Sc2Et2");
stop();
Frame 941
Set("/Variables:HoodPlace", "0");
if (Niveau <> "3") {
if (/Variables:Secret2 == "1") {
tellTarget ("/An1") {
gotoAndStop ("Tire");
};
tellTarget ("/An2") {
gotoAndStop ("Tire");
};
tellTarget ("/An3") {
gotoAndStop ("Tire");
};
} else {
Set("/Variables:An1", "0");
Set("/Variables:An2", "0");
Set("/Variables:An3", "0");
tellTarget ("/An1") {
gotoAndStop (1);
};
tellTarget ("/An2") {
gotoAndStop (1);
};
tellTarget ("/An3") {
gotoAndStop (1);
};
}
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 942
Set("/Variables:Porte", "MtTab3");
gotoAndStop (947);
Frame 943
gotoAndStop (940);
Frame 945
Set("/Variables:MoviePiece", "MoviePiece4");
if (/Variables:GardeArtefact == "1") {
tellTarget ("/Collision") {
stop();
};
tellTarget ("/Controller") {
gotoAndStop ("Vide");
};
Set("/Variables:HoodFrappe", "1");
tellTarget ("/ArmureX") {
gotoAndPlay ("Frappe");
};
} else {
Set("/Variables:HoodFrappe", "2");
setProperty("/ArmureX", _xscale , getProperty("/ArmureX", _xscale) - ("2" * getProperty("/ArmureX", _xscale)));
setProperty("/ArmureX", _x , getProperty("/ArmureX", _x) + "20.8");
tellTarget ("/ArmureX") {
gotoAndStop ("Dos");
};
}
Set("/Variables:DirFantome", "1");
if (Niveau == "2") {
DirHood = "1";
} else if (Niveau == "3") {
setProperty("Hood", _x , getProperty("Sc5Et3", _x) - "10");
DirHood = "1";
} else {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
DirHood = "1";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "3";
Set("/Variables:TombeNiveau", "Sc2Et2");
stop();
Frame 947
Set("/Variables:TableauPorte", "Tab3");
gotoAndStop(/Variables:Porte);
Frame 948
if (Niveau == "1") {
Set("/Variables:Porte", "DesTab2");
gotoAndStop (935);
}
Frame 949
if (Niveau == "1") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
} else if (/Variables:TorchePlace == "1") {
tellTarget ("/TorchePlace") {
gotoAndStop ("Place");
};
tellTarget ("/TorcheMagique") {
gotoAndStop ("PasLa");
};
tellTarget ("/Cage") {
gotoAndStop ("Bas");
};
}
stop();
Frame 950
if (/Variables:Tombe == "0") {
if (Niveau == "2") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "2";
} else if (Niveau == "4") {
setProperty("Hood", _x , getProperty("Cage", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "2";
setProperty("/Cage", _y , -"67");
tellTarget ("/Cage") {
gotoAndStop ("Bas");
};
tellTarget ("/Sort") {
play();
};
} else {
DirHood = "1";
}
} else {
setProperty("Hood", _x , /Variables:XTombe);
Set("/Variables:Tombe", "0");
if (DirHood == "2") {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
}
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:GardeDebout", "1");
tellTarget ("/Magic") {
gotoAndStop (1);
};
Niveau = "1";
stop();
Frame 951
if (Niveau == "2") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
stop();
Frame 952
if (/Variables:Cage == "1") {
setProperty("MurG", _x , "97");
}
if (Niveau == "3") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else if (Niveau == "2") {
if (/Variables:TorchePlace == "1") {
tellTarget ("/TorchePlace") {
gotoAndStop ("Place");
};
tellTarget ("/TorcheMagique") {
gotoAndStop ("PasLa");
};
tellTarget ("/Cage") {
gotoAndStop ("Bas");
};
setProperty("/MurG", _x , "97");
}
setProperty("Hood", _x , getProperty("Sc4Et2", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else {
DirHood = "2";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:TombeNiveau", "Sc3Et1");
Niveau = "2";
stop();
Frame 953
if (Niveau == "3") {
if (/Variables:CageBouge == "1") {
Set("/Variables:CageRemonte", "1");
}
if ((/Variables:Cage == "1") and (/Variables:TorchePlace == "0")) {
tellTarget ("/Cage") {
play();
};
}
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
stop();
Frame 954
if (Niveau == "0") {
setProperty("Hood", _x , getProperty("Secret4", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else {
DirHood = "2";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "3";
stop();
Frame 957
if (Niveau == "0") {
Set("/Variables:GardeDebout", "0");
tellTarget ("Armure4") {
gotoAndPlay ("Dos");
};
setProperty("Hood", _x , getProperty("/Secret4", _x));
setProperty("Hood", _xscale , getProperty("/Hood", _xscale) - ("2" * getProperty("/Hood", _xscale)));
DirHood = "1";
Set("/Variables:Intro", "0");
} else {
DirHood = "2";
Set("/Variables:Intro", "1");
}
Niveau = "4";
Set("/Variables:FantomeIn", "0");
Set("/Variables:MoviePiece", "MoviePiece5");
Set("/Variables:DirFantome", "2");
setProperty("Fantome", _alpha , "100");
setProperty("Fantome", _x , getProperty("4", _x));
setProperty("Fantome", _y , getProperty("4", _y));
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:TombeNiveau", "Sc3Et3");
Frame 958
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
stop();
Frame 970
Set("/Variables:TableauPorte", "Tab4");
gotoAndStop(/Variables:Porte);
Frame 971
if (Niveau == "1") {
Set("/Variables:Porte", "DesTab5");
gotoAndStop (983);
} else {
Set("/Variables:MoviePiece", "MoviePiece6");
}
Set("/Variables:MoviePiece", "MoviePiece6");
Frame 972
if (Niveau == "1") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 973
Set("/Variables:MoviePiece", "MoviePiece6");
Set("/Variables:SalleTrone", "0");
Set("/Variables:Porte", "");
Set("/Variables:PorteS", "");
Set("/Variables:FantomeIn", "0");
Set("/Variables:DirFantome", "1");
setProperty("Fantome", _alpha , "100");
setProperty("Fantome", _x , getProperty("1", _x));
setProperty("Fantome", _y , getProperty("1", _y));
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
if (Niveau == "2") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
DirHood = "1";
} else if (Niveau == "0") {
Set("/Variables:GardeDebout", "0");
tellTarget ("Armure1") {
gotoAndPlay ("Dos");
};
setProperty("Hood", _x , getProperty("Secret5", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "2";
} else {
DirHood = "1";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "1";
stop();
Frame 974
if (Niveau == "2") {
Set("/Variables:MoviePiece", "MoviePiece6");
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 975
if (/Variables:Tombe == "0") {
if (Niveau == "3") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("/Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else if (Niveau == "1") {
setProperty("Hood", _x , getProperty("EscalierDescent1", _x));
DirHood = "2";
} else {
DirHood = "2";
}
} else {
setProperty("Hood", _x , /Variables:XTombe);
Set("/Variables:Tombe", "0");
if (DirHood == "1") {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
}
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "2";
stop();
Frame 976
if (Niveau == "3") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
stop();
Frame 977
DirHood = "2";
Set("/Variables:HoodFrappe", "0");
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:TombeNiveau", "Sc4Et2");
Niveau = "3";
stop();
Frame 982
gotoAndStop (988);
Frame 983
Set("/Variables:TableauPorte", "Tab5");
Set("/Variables:GardeDebout", "1");
gotoAndStop(/Variables:Porte);
Frame 984
Set("/Variables:DirFantome", "2");
Set("/Variables:FantomeIn", "0");
Set("/Variables:MoviePiece", "MoviePiece7");
Set("/Variables:Intro", "0");
setProperty("Fantome", _alpha , "100");
setProperty("Fantome", _x , getProperty("1", _x));
setProperty("Fantome", _y , getProperty("1", _y));
tellTarget ("/Fantome") {
gotoAndPlay (1);
};
if (/Variables:Tombe == "0") {
if (Niveau == "2") {
DirHood = "2";
} else if (Niveau == "0") {
Set("/Variables:GardeDebout", "0");
tellTarget ("Armure1") {
gotoAndPlay ("Dos");
};
setProperty("Hood", _x , getProperty("Secret6", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else {
DirHood = "1";
}
} else {
setProperty("Hood", _x , /Variables:XTombe);
Set("/Variables:Tombe", "0");
if (DirHood == "1") {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
}
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Niveau = "1";
stop();
Frame 985
if (Niveau == "2") {
Set("/Variables:MoviePiece", "MoviePiece7");
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("Armure" add Niveau) {
gotoAndPlay ("Releve");
};
}
stop();
Frame 986
if (/Variables:Tombe == "0") {
if (Niveau == "3") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else {
DirHood = "2";
}
} else {
setProperty("Hood", _x , /Variables:XTombe);
Set("/Variables:Tombe", "0");
if (DirHood == "1") {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
}
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:TombeNiveau", "Sc5Et1");
Niveau = "2";
stop();
Frame 987
if (Niveau == "3") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
stop();
Frame 988
Set("/Variables:HoodFrappe", "0");
Set("/Variables:Porte", "");
Set("/Variables:PorteS", "");
if (Niveau == "1") {
setProperty("Hood", _x , getProperty("EscalierMonte1", _x));
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
} else if (Niveau == "3") {
setProperty("Hood", _x , getProperty("Sc2Et3", _x) + "10");
DirHood = "2";
} else {
setProperty("Hood", _xscale , getProperty("Hood", _xscale) - ("2" * getProperty("Hood", _xscale)));
DirHood = "1";
}
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:TombeNiveau", "Sc5Et2");
Niveau = "3";
stop();
Frame 989
if (Niveau <> "3") {
tellTarget ("/Marche") {
gotoAndPlay ("Descent");
};
}
stop();
Frame 990
gotoAndStop (970);
Set("/Variables:Porte", "MtSc4");
Frame 994
DirHood = "2";
Niveau = "0";
nextFrame();
Frame 999
DirHood = "1";
Set("/Variables:Secret2", "0");
Set("/Variables:An3", "0");
Set("/Variables:An1", "0");
Niveau = "0";
Set("/Variables:Tab2OuvertePorte2", "0");
nextFrame();
Frame 1004
DirHood = "2";
Niveau = "0";
nextFrame();
Frame 1009
DirHood = "2";
Niveau = "0";
nextFrame();
Frame 1010
if (/Variables:SansTete == "1") {
setProperty("/MurD", _x , "350");
setProperty("/FantomeTete", _y , "35");
tellTarget ("/FantomeTete") {
gotoAndStop ("Monte");
};
}
Frame 1014
DirHood = "1";
Niveau = "0";
Set("/Variables:SalleTrone", "1");
nextFrame();
Frame 1019
DirHood = "2";
Niveau = "0";
Set("/Variables:PorteS", "");
Set("/Variables:Porte", "");
nextFrame();
Frame 1020
tellTarget ("/Controller") {
gotoAndStop (1);
};
tellTarget ("/Collision") {
gotoAndPlay (1);
}
Frame 1056
if ("230" < getProperty("/Hood", _x)) {
tellTarget ("/Vie") {
gotoAndStop (5);
};
}
Frame 1066
stop();
Frame 1067
tellTarget ("/BonhommeMarche") {
play();
};
stop();
Frame 1113
stopAllSounds();
play();
Frame 1145
TempsFin = getTimer() / "1000";
Temps = int(TempsFin - TempsDebut);
if ("0" < ("600" - Temps)) {
Plus1 = int("600" - Temps);
} else {
Plus1 = "You took too much time! No bonus.";
}
tellTarget ("Vie") {
Set("../:VieNo", _currentframe);
};
while (VieNo < "5") {
VieReste = VieReste + "1";
VieNo = VieNo + "1";
}
Plus2 = VieReste * "50";
Total = (Points + Plus1) + Plus2;
Frame 1150
stop();
Frame 1151
tellTarget ("/Finale") {
play();
}
Frame 1158
stop();
Frame 1178
stopAllSounds();
play();
Frame 1210
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 2
stop();
Symbol 22 MovieClip Frame 3
stop();
Symbol 22 MovieClip Frame 4
stop();
Symbol 22 MovieClip Frame 5
stop();
Symbol 22 MovieClip Frame 6
stop();
Symbol 22 MovieClip Frame 7
stop();
Symbol 22 MovieClip Frame 8
stop();
Symbol 22 MovieClip Frame 9
stop();
Symbol 22 MovieClip Frame 10
stop();
Symbol 22 MovieClip Frame 11
stop();
Symbol 27 Button
on (release) {
stopAllSounds();
gotoAndStop (36);
}
Symbol 32 Button
on (release) {
gotoAndStop (39);
}
Symbol 34 Button
on (release) {
gotoAndPlay (5);
}
Symbol 36 Button
on (release) {
stopAllSounds();
gotoAndPlay (47);
}
Symbol 55 Button
on (release) {
prevFrame();
}
Symbol 59 Button
on (release) {
nextFrame();
}
Symbol 60 Button
on (release) {
gotoAndStop (37);
}
Symbol 101 MovieClip Frame 2
Set("/Variables:FantomeIn", "1");
Symbol 130 MovieClip Frame 1
Set("/Variables:GardeReleve", "0");
stop();
Symbol 130 MovieClip Frame 2
if (/Variables:Tombe == "1") {
gotoAndStop (1);
}
Symbol 130 MovieClip Frame 18
Set("/Variables:GardeDebout", "2");
Symbol 130 MovieClip Frame 19
if ((substring(_name, "7", "1")) == ../:Niveau) {
Random = random("500");
if (("400" < Random) and (/Variables:HoodPlace == "0")) {
play();
} else if (("200" < Random) and (/Variables:HoodPlace == "2")) {
} else {
prevFrame();
play();
}
} else {
gotoAndStop (1);
}
Symbol 130 MovieClip Frame 26
play();
Symbol 130 MovieClip Frame 29
if (/Variables:HoodFrappe == "0") {
tellTarget ("../Hache" add ../:Niveau) {
play();
};
}
Symbol 130 MovieClip Frame 30
if (/Variables:HoodFrappe == "1") {
tellTarget ("../Hood") {
gotoAndPlay ("MangeCoup");
};
tellTarget ("../HoodFrappe") {
play();
};
Set("/Variables:HoodFrappe", "0");
gotoAndStop (1);
}
Symbol 130 MovieClip Frame 39
gotoAndPlay (18);
Symbol 130 MovieClip Frame 40
Set("/Variables:GardeDebout", "0");
Symbol 130 MovieClip Frame 51
if ((eval ("/Variables:" add /Variables:MoviePiece) <> "0") and (/Variables:FantomeIn == "1")) {
if (eval ("/Variables:La" add /Variables:MoviePiece) == "0") {
if (eval ("/Variables:Piece" add eval ("/Variables:" add /Variables:MoviePiece)) == "0") {
tellTarget ("../" add /Variables:MoviePiece) {
play();
};
}
}
}
Set("/Variables:FantomeIn", "0");
Symbol 130 MovieClip Frame 55
if ((_name eq "ArmureX") and (/Variables:GardeArtefact == "0")) {
Set("/Variables:GardeDebout", "0");
stop();
} else {
Set("/Variables:GardeDebout", "0");
play();
}
Symbol 130 MovieClip Frame 57
if (/Variables:DirFantome == "2") {
if ((getProperty("../GardeD", _x) - "30") >= getProperty("../Hood", _x)) {
Random = random("200");
if ("130" < Random) {
gotoAndPlay (58);
} else {
prevFrame();
play();
}
} else {
prevFrame();
play();
}
} else if (getProperty("../Hood", _x) >= (getProperty("../GardeG", _x) + "30")) {
Random = random("200");
if ("195" < Random) {
gotoAndPlay (58);
} else {
prevFrame();
play();
}
} else {
prevFrame();
play();
}
Symbol 130 MovieClip Frame 58
if (/Variables:GardeDebout <> "0") {
gotoAndStop (1);
} else {
Set("/Variables:GardeReleve", "1");
}
Symbol 130 MovieClip Frame 69
if (/Variables:Monte == "0") {
tellTarget ("../Fantome") {
play();
};
}
Set("/Variables:GardeReleve", "0");
if (_name ne "Armure25") {
Set("/Variables:GardeDebout", "1");
}
Symbol 130 MovieClip Frame 70
gotoAndStop (1);
Symbol 150 Button
on (release) {
play();
}
Symbol 158 Button
on (release) {
stopAllSounds();
gotoAndStop (36);
}
Symbol 706 MovieClip Frame 1
if (((/Variables:TableauPorte eq "Tab3") and (/Variables:Tab3OuvertePorte1 == "1")) and (_name eq "An1")) {
gotoAndStop (6);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab3") and (/Variables:Secret0 == "1")) and (_name eq "An2")) {
gotoAndStop (6);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab4") and (/Variables:Tab4OuvertePorte1 == "1")) and (_name eq "An3")) {
gotoAndStop (6);
} else {
stop();
}
Symbol 706 MovieClip Frame 7
Set("/Variables:" add _name, "1");
stop();
Symbol 706 MovieClip Frame 8
Set("/Variables:" add _name, "0");
Symbol 706 MovieClip Frame 14
gotoAndStop (1);
Symbol 803 MovieClip Frame 1
if (/Variables:Intro == "1") {
play();
Set("/Variables:Saute", "2");
} else {
Set("/Variables:Saute", "0");
stop();
}
Symbol 803 MovieClip Frame 10
if (/Variables:Intro == "1") {
gotoAndPlay (2);
}
Symbol 803 MovieClip Frame 11
gotoAndStop (1);
Symbol 803 MovieClip Frame 14
Set("/Variables:Saute", "0");
tellTarget ("../IdleTime") {
gotoAndStop (1);
}
Symbol 803 MovieClip Frame 15
gotoAndStop (1);
Symbol 803 MovieClip Frame 19
Set("/Variables:Saute", "1");
if (../:DirHood == "1") {
JDir = -"1";
}
if (../:DirHood == "2") {
JDir = "1";
}
tellTarget ("../IdleTime") {
gotoAndStop (1);
}
Symbol 803 MovieClip Frame 21
Set("/Variables:SauteCercueil", "1");
if (((/:DirHood == "2") and (_x < (getProperty("../MurD", _x) - "15"))) or ((/:DirHood == "1") and ((getProperty("../MurG", _x) + "15") < _x))) {
setProperty("../Hood", _x , getProperty("../Hood", _x) + ("15" * JDir));
}
Set("../:JumpTop", "1");
Symbol 803 MovieClip Frame 22
if (((/:DirHood == "2") and (_x < (getProperty("../MurD", _x) - "15"))) or ((/:DirHood == "1") and ((getProperty("../MurG", _x) + "15") < _x))) {
setProperty("../Hood", _x , getProperty("../Hood", _x) + ("20" * JDir));
}
Symbol 803 MovieClip Frame 23
if (((/:DirHood == "2") and (_x < (getProperty("../MurD", _x) - "15"))) or ((/:DirHood == "1") and ((getProperty("../MurG", _x) + "15") < _x))) {
setProperty("../Hood", _x , getProperty("../Hood", _x) + ("20" * JDir));
}
Symbol 803 MovieClip Frame 24
Set("/Variables:SauteCercueil", "2");
if (/Variables:Intro == "1") {
Set("/Variables:Saute", "0");
}
setProperty("../Hood", _x , getProperty("../Hood", _x) + ("10" * JDir));
Set("../:JumpTop", "0");
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) or (((getProperty("../Hood", _x) < getProperty("../CoteDroit1", _x)) and (getProperty("../CoteGauche1", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0"))) {
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
if (/Variables:TombeNiveau ne "Vide") {
if (../:DirHood == "1") {
setProperty("../Tombe", _xscale , getProperty("../Tombe", _xscale) - ("2" * getProperty("../Tombe", _xscale)));
}
tellTarget ("../Tombe") {
play();
};
} else {
tellTarget ("../ControlTombeVide") {
play();
};
}
}
Symbol 803 MovieClip Frame 28
Set("/Variables:SauteCercueil", "0");
if (/Variables:Intro == "1") {
gotoAndPlay (1);
} else {
Set("/Variables:Saute", "0");
Set("../:Idle", "3");
gotoAndPlay (45);
}
Symbol 803 MovieClip Frame 30
Set("/Variables:Saute", "0");
stop();
Symbol 803 MovieClip Frame 39
Set("/Variables:Saute", "0");
tellTarget ("../IdleTime") {
gotoAndStop (1);
}
Symbol 803 MovieClip Frame 45
Set("/Variables:Saute", "0");
Set("/Variables:Hit", "0");
Symbol 803 MovieClip Frame 46
stop();
Symbol 803 MovieClip Frame 47
gotoAndStop (1);
Symbol 803 MovieClip Frame 55
Set("/Variables:Saute", "0");
Symbol 803 MovieClip Frame 61
gotoAndStop (45);
Symbol 803 MovieClip Frame 64
Set("/Variables:Saute", "0");
Set("/Variables:Hit", "1");
tellTarget ("../Controller") {
gotoAndStop ("Vide");
};
tellTarget ("../Vie") {
nextFrame();
}
play();
Symbol 803 MovieClip Frame 65
if (/Variables:Vies == "0") {
gotoAndPlay (75);
} else {
play();
}
Symbol 803 MovieClip Frame 66
if (/Variables:Vies == "0") {
gotoAndPlay (75);
} else {
play();
}
Symbol 803 MovieClip Frame 67
if (/Variables:Vies == "0") {
gotoAndPlay (75);
} else {
play();
}
Symbol 803 MovieClip Frame 68
if (/Variables:Vies == "0") {
gotoAndPlay (75);
} else {
play();
tellTarget ("/Collision") {
gotoAndPlay (1);
};
}
Symbol 803 MovieClip Frame 69
if (/Variables:Vies == "0") {
gotoAndPlay (75);
} else {
play();
}
Symbol 803 MovieClip Frame 70
if (/Variables:Vies == "0") {
gotoAndPlay (75);
} else {
play();
}
Symbol 803 MovieClip Frame 71
gotoAndPlay (45);
Symbol 803 MovieClip Frame 73
Set("/Variables:Saute", "0");
setProperty("../Hood", _visible , "1");
tellTarget ("../Controller") {
gotoAndStop ("Vide");
};
tellTarget ("../Collision") {
gotoAndStop (1);
};
tellTarget ("../IdleTime") {
gotoAndStop (1);
};
tellTarget ("../Sc5Et3") {
gotoAndStop (1);
};
tellTarget ("../HoodFrappe") {
gotoAndStop (1);
}
play();
Symbol 803 MovieClip Frame 74
play();
Symbol 803 MovieClip Frame 75
play();
Symbol 803 MovieClip Frame 76
play();
Symbol 803 MovieClip Frame 77
play();
Symbol 803 MovieClip Frame 78
play();
Symbol 803 MovieClip Frame 79
play();
Symbol 803 MovieClip Frame 80
play();
Symbol 803 MovieClip Frame 81
play();
Symbol 803 MovieClip Frame 82
play();
Symbol 803 MovieClip Frame 83
play();
Symbol 803 MovieClip Frame 84
play();
Symbol 803 MovieClip Frame 85
stopAllSounds();
tellTarget ("/") {
gotoAndStop ("mort");
};
stop();
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 7
stop();
Symbol 813 Button
on (keyPress "<Up>") {
if (MoveNext == "1") {
MoveNext = "2";
NbMove = NbMove + "1";
setProperty("../Couvert", _y , getProperty("../Couvert", _y) - "5");
tellTarget ("../sons") {
gotoAndStop ("hop");
};
} else {
gotoAndPlay (7);
}
}
on (keyPress "<Left>") {
if (MoveNext == "2") {
NbMove = NbMove + "1";
MoveNext = "3";
gotoAndPlay (4);
} else {
gotoAndPlay (7);
}
}
on (keyPress "<Down>") {
if (MoveNext == "3") {
NbMove = NbMove + "1";
MoveNext = "1";
setProperty("../Couvert", _y , getProperty("../Couvert", _y) + "5");
tellTarget ("../sons") {
gotoAndStop ("Ferme");
};
} else {
gotoAndPlay (7);
}
}
on (keyPress "<Right>") {
gotoAndPlay (7);
}
Symbol 815 MovieClip Frame 1
MoveNext = "1";
NbMove = "0";
PosX = getProperty("../Couvert", _x);
PosY = getProperty("../Couvert", _y);
Symbol 815 MovieClip Frame 2
tellTarget ("../sons") {
gotoAndStop (1);
};
if (NbMove == "15") {
tellTarget ("../Couvert") {
play();
};
gotoAndStop (13);
}
Symbol 815 MovieClip Frame 3
prevFrame();
play();
Symbol 815 MovieClip Frame 4
Recul = "0";
tellTarget ("/Hop") {
gotoAndPlay ("Ouvre");
}
Symbol 815 MovieClip Frame 6
setProperty("../Couvert", _x , getProperty("../Couvert", _x) - "5");
Recul = Recul + "1";
if (Recul < "5") {
prevFrame();
play();
} else {
tellTarget ("../sons") {
gotoAndStop (1);
};
gotoAndPlay (2);
}
Symbol 815 MovieClip Frame 7
if (getProperty("../Couvert", _y) <> PosY) {
tellTarget ("../sons") {
gotoAndStop ("Ferme");
};
}
setProperty("../Couvert", _y , PosY);
NbMove = "0";
MoveNext = "1";
if (getProperty("../Couvert", _x) < PosX) {
nextFrame();
play();
} else {
gotoAndPlay (9);
}
Symbol 815 MovieClip Frame 8
gotoAndPlay (11);
Symbol 815 MovieClip Frame 12
if (getProperty("../Couvert", _x) < PosX) {
setProperty("../Couvert", _x , getProperty("../Couvert", _x) + "5");
prevFrame();
play();
} else {
tellTarget ("../sons") {
gotoAndPlay ("stopfrot");
};
gotoAndPlay (2);
}
Symbol 815 MovieClip Frame 13
Set("/Variables:Saute", "1");
tellTarget ("../") {
play();
};
stop();
Symbol 816 MovieClip Frame 1
stop();
Symbol 824 Button
on (press) {
PosX = _x;
PosY = _y;
startDrag ("", true, "10", "10", "390", "290");
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop ("drag");
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop ("drag");
};
}
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop ("drag");
};
}
}
on (release) {
stopDrag();
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop (6);
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop (6);
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop (6);
};
}
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop (6);
};
}
_x = PosX;
_y = PosY;
if ((((_droptarget eq "/Embleme") or (_droptarget eq "/Obj1")) or (_droptarget eq "/Obj2")) or (_droptarget eq "/Obj3")) {
if (/Variables:EmblemePlace == "0") {
tellTarget ("../Obj1") {
gotoAndStop ("Epee2");
};
} else if (/Variables:EmblemePlace == "1") {
tellTarget ("../Obj2") {
gotoAndStop ("Epee2");
};
} else if (/Variables:EmblemePlace == "2") {
tellTarget ("../Obj3") {
gotoAndStop ("Epee2");
};
}
Set("/Variables:EmblemePlace", /Variables:EmblemePlace + "1");
if (/Variables:EmblemePlace == "3") {
tellTarget ("../ArtDisparait") {
play();
};
}
gotoAndStop (1);
}
}
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 6
stop();
Symbol 830 Button
on (press) {
PosX = _x;
PosY = _y;
startDrag ("", true, "10", "10", "390", "290");
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop ("drag");
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop ("drag");
};
}
}
on (release) {
stopDrag();
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop (6);
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop (6);
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop (6);
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop (6);
};
}
_x = PosX;
_y = PosY;
if ((((_droptarget eq "/Embleme") or (_droptarget eq "/Obj1")) or (_droptarget eq "/Obj2")) or (_droptarget eq "/Obj3")) {
if (/Variables:EmblemePlace == "0") {
tellTarget ("../Obj1") {
gotoAndStop ("Epee1");
};
} else if (/Variables:EmblemePlace == "1") {
tellTarget ("../Obj2") {
gotoAndStop ("Epee1");
};
} else if (/Variables:EmblemePlace == "2") {
tellTarget ("../Obj3") {
gotoAndStop ("Epee1");
};
}
Set("/Variables:EmblemePlace", /Variables:EmblemePlace + "1");
if (/Variables:EmblemePlace == "3") {
tellTarget ("../ArtDisparait") {
play();
};
}
gotoAndStop (1);
}
}
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 6
stop();
Symbol 836 Button
on (press) {
PosX = _x;
PosY = _y;
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop ("drag");
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop ("drag");
};
}
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop ("drag");
};
}
startDrag ("", true, "10", "10", "390", "290");
}
on (release) {
stopDrag();
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop (6);
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop (6);
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop (6);
};
}
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop (6);
};
}
_x = PosX;
_y = PosY;
if ((((_droptarget eq "/Embleme") or (_droptarget eq "/Obj1")) or (_droptarget eq "/Obj2")) or (_droptarget eq "/Obj3")) {
if (/Variables:EmblemePlace == "0") {
tellTarget ("../Obj1") {
gotoAndStop ("Blason");
};
} else if (/Variables:EmblemePlace == "1") {
tellTarget ("../Obj2") {
gotoAndStop ("Blason");
};
} else if (/Variables:EmblemePlace == "2") {
tellTarget ("../Obj3") {
gotoAndStop ("Blason");
};
}
Set("/Variables:EmblemePlace", /Variables:EmblemePlace + "1");
if (/Variables:EmblemePlace == "3") {
tellTarget ("../ArtDisparait") {
play();
};
}
gotoAndStop (1);
}
}
Symbol 837 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 6
stop();
Symbol 840 Button
on (press) {
PosX = _x;
PosY = _y;
startDrag ("", true, "10", "10", "390", "290");
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop ("drag");
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop ("drag");
};
}
}
on (release) {
stopDrag();
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop (6);
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop (6);
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop (6);
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop (6);
};
}
_x = PosX;
_y = PosY;
if (_droptarget eq "/Tete") {
Set("/Variables:SansTete", "1");
tellTarget ("../FantomeTete") {
gotoAndPlay ("Tete");
};
gotoAndStop (1);
}
}
Symbol 841 MovieClip Frame 1
stop();
Symbol 841 MovieClip Frame 6
stop();
Symbol 843 Button
on (press) {
PosX = _x;
PosY = _y;
startDrag ("", true, "10", "10", "390", "290");
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop ("drag");
};
}
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop ("drag");
};
}
}
on (release) {
stopDrag();
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop (6);
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop (6);
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop (6);
};
}
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop (6);
};
}
_x = PosX;
_y = PosY;
if (_droptarget eq "/Baril") {
Set("/Variables:BarilPlace", "1");
tellTarget ("../BarilPlace") {
play();
};
gotoAndStop (1);
}
}
Symbol 844 MovieClip Frame 1
stop();
Symbol 844 MovieClip Frame 6
stop();
Symbol 849 MovieClip Frame 1
Tab1OuvertePorte1 = "0";
Set("/Variables:SauteCercueil", "1");
SalleTrone = "0";
Intro = "1";
Tab2OuvertePorte1 = "0";
Tab2OuvertePorte2 = "0";
Tab3OuvertePorte1 = "0";
Tab4OuvertePorte1 = "0";
Tab5OuvertePorteFinale = "0";
HoodPlace = "0";
GardeArtefact = "1";
Talismant = random("4") + "1";
if (Talismant == "1") {
Set("/Variables:ObjPlace1", "2");
Set("/Variables:ObjPlace2", "1");
Set("/Variables:ObjPlace3", "3");
} else if (Talismant == "2") {
Set("/Variables:ObjPlace1", "1");
Set("/Variables:ObjPlace2", "2");
Set("/Variables:ObjPlace3", "3");
} else if (Talismant == "3") {
Set("/Variables:ObjPlace1", "1");
Set("/Variables:ObjPlace2", "3");
Set("/Variables:ObjPlace3", "2");
} else {
Set("/Variables:ObjPlace1", "2");
Set("/Variables:ObjPlace2", "3");
Set("/Variables:ObjPlace3", "1");
}
GardeDebout = "1";
Hit = "0";
i = "1";
while ("10" >= i) {
Random = random("60");
if ("20" >= Random) {
Set("Art" add i, "1");
} else if ("40" >= Random) {
Set("Art" add i, "2");
} else {
Set("Art" add i, "3");
}
i = i + "1";
}
Points = "0";
DirFantome = "2";
Porte = "";
PorteS = "";
An1 = "0";
An2 = "0";
An3 = "0";
Secret0 = "0";
Secret1 = "0";
Secret2 = "0";
Secret3 = "0";
Secret4 = "0";
Secret5 = "0";
Secret6 = "0";
Anneau = "";
TombeNiveau = "";
Tombe = "0";
Saute = "0";
TorcheP1 = "0";
MoviePiece1 = "0";
MoviePiece2 = "0";
MoviePiece3 = "0";
MoviePiece4 = "0";
MoviePiece5 = "0";
MoviePiece6 = "0";
MoviePiece7 = "0";
i = "1";
while (i < "4") {
Random = random("6") + "1";
if (eval ("MoviePiece" add Random) == "0") {
Set("MoviePiece" add Random, i);
i = i + "1";
}
}
LaMoviePiece1 = "0";
LaMoviePiece2 = "0";
LaMoviePiece3 = "0";
LaMoviePiece4 = "0";
LaMoviePiece5 = "0";
LaMoviePiece6 = "0";
LaMoviePiece7 = "0";
EmblemePlace = "0";
Tete = "0";
Baril = "0";
Symbol 879 MovieClip Frame 1
Set("/Variables:Vies", "4");
stop();
Symbol 879 MovieClip Frame 4
Set("/Variables:Vies", "1");
Symbol 879 MovieClip Frame 5
Set("/Variables:Vies", "0");
tellTarget ("../IdleTime") {
gotoAndStop (1);
};
tellTarget ("../Collision") {
gotoAndStop (1);
};
tellTarget ("../Controller") {
gotoAndStop (20);
};
tellTarget ("../Hood") {
gotoAndPlay ("Creve");
}
Symbol 881 MovieClip Frame 2
Set("/Variables:TableauPorte", "Tab1");
if ((/Variables:Secret1 == "1") and (/Variables:Tab1OuvertePorte1 == "0")) {
tellTarget ("/An1") {
gotoAndStop ("Tire");
};
tellTarget ("/An2") {
gotoAndStop ("Tire");
};
tellTarget ("../Porte1") {
play();
};
}
if ((/Variables:An1 == "1") and (/Variables:An2 == "1")) {
Set("/Variables:Secret1", "1");
Set("/Variables:An1", "0");
Set("/Variables:An2", "0");
Set("/Variables:An3", "0");
tellTarget ("../An1") {
gotoAndStop ("Tire");
};
tellTarget ("../An2") {
gotoAndStop ("Tire");
};
if (/Variables:DejaTrouve1 == "0") {
Set("/:Points", /:Points + "30");
Set("/Variables:DejaTrouve1", "1");
}
if (/Variables:Tab1OuvertePorte1 == "0") {
tellTarget ("../Porte1") {
play();
};
}
}
Symbol 899 MovieClip Frame 1
if ((/Variables:TableauPorte eq "Tab1") and (/Variables:Tab1OuvertePorte1 == "1")) {
gotoAndStop (13);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab2") and (/Variables:Tab2OuvertePorte1 == "1")) and (_name eq "Porte1")) {
gotoAndStop (13);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab3") and (/Variables:Tab3OuvertePorte1 == "1")) and (_name eq "Porte1")) {
gotoAndStop (13);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab4") and (/Variables:Tab4OuvertePorte1 == "1")) and (_name eq "Porte1")) {
gotoAndStop (13);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab5") and (/Variables:Secret6 == "1")) and (_name eq "PorteFinale")) {
gotoAndStop (13);
} else {
stop();
}
Symbol 899 MovieClip Frame 13
Set((("/Variables:" add /Variables:TableauPorte) add "Ouverte") add _name, "1");
stop();
Symbol 899 MovieClip Frame 23
Set((("/Variables:" add /Variables:TableauPorte) add "Ouverte") add _name, "0");
gotoAndStop (1);
Symbol 901 MovieClip Frame 1
if (((/Variables:TableauPorte eq "Tab1") and (/Variables:Tab1OuvertePorte1 == "1")) and ((_name eq "An1") or (_name eq "An2"))) {
gotoAndStop (8);
} else {
stop();
}
if (((/Variables:TableauPorte eq "Tab2") and (/Variables:Tab2OuvertePorte1 == "1")) and (_name eq "An2")) {
gotoAndStop (8);
} else {
stop();
}
Symbol 901 MovieClip Frame 7
Set("/Variables:" add _name, "1");
Symbol 901 MovieClip Frame 8
i = "0";
Symbol 901 MovieClip Frame 23
if (i == "1") {
i = "2";
}
Symbol 901 MovieClip Frame 44
if ((/Variables:MoviePiece eq "x") and (i == "0")) {
i = "1";
gotoAndPlay (23);
}
Symbol 901 MovieClip Frame 51
Set("/Variables:" add _name, "0");
Symbol 901 MovieClip Frame 58
gotoAndStop (1);
Symbol 907 MovieClip Frame 2
if (../../:Niveau == "0") {
if (/Variables:SalleTrone == "0") {
if (((getProperty("../", _x) - "60") < getProperty("../../Hood", _x)) and (getProperty("../../Hood", _x) < (getProperty("../", _x) + "60"))) {
tellTarget ("../") {
gotoAndStop ("PasLa");
};
}
} else if (((getProperty("../", _x) - "100") < getProperty("../../Hood", _x)) and (getProperty("../../Hood", _x) < (getProperty("../", _x) + "100"))) {
tellTarget ("../") {
gotoAndStop ("PasLa");
};
}
} else if (((((getProperty("../", _x) - "10") < getProperty("../../Hood", _x)) and (getProperty("../../Hood", _x) < (getProperty("../", _x) + "10"))) and (getProperty("../../Hood", _y) < (getProperty("../", _y) + "10"))) and ((getProperty("../", _y) - "40") < getProperty("../../Hood", _y))) {
tellTarget ("../") {
gotoAndStop ("PasLa");
};
}
prevFrame();
play();
Symbol 914 MovieClip Frame 1
if (eval ("/Variables:" add _name) == "1") {
gotoAndStop (2);
} else if (eval ("/Variables:" add _name) == "2") {
gotoAndStop (3);
} else if (eval ("/Variables:" add _name) == "3") {
gotoAndStop (4);
} else {
gotoAndStop (6);
}
Symbol 914 MovieClip Frame 2
Set("/Variables:Pts" add _name, "20");
Symbol 914 MovieClip Frame 3
Set("/Variables:Pts" add _name, "35");
Symbol 914 MovieClip Frame 4
Set("/Variables:Pts" add _name, "45");
Symbol 914 MovieClip Frame 5
if (eval ("/Variables" add _name) <> "4") {
Set("/Variables:" add _name, "4");
if (eval ("/Variables:Ramasse" add _name) == "0") {
Set("/Variables:Ramasse" add _name, "1");
Set("../:Points", ../:Points + eval ("/Variables:Pts" add _name));
}
}
nextFrame();
Symbol 914 MovieClip Frame 6
stop();
Symbol 917 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
if (../:Niveau == "0") {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "10");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
}
}
Set("../:Bas", "0");
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0")) {
if (/Variables:HoodFrappe == "2") {
Set("/Variables:GardeDebout", "1");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("/Armure" add ../:Niveau) {
gotoAndPlay ("Releve");
};
}
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
setProperty("../Tombe", _xscale , getProperty("../Tombe", _xscale) - ("2" * getProperty("../Tombe", _xscale)));
tellTarget ("../Tombe") {
play();
};
}
}
on (keyPress "<Right>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
if (../:Niveau == "0") {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "10");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
}
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0")) {
if (/Variables:HoodFrappe == "2") {
Set("/Variables:GardeDebout", "1");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("/Armure" add ../:Niveau) {
gotoAndPlay ("Releve");
};
}
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
tellTarget ("../Tombe") {
play();
};
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
tellTarget ("../Hood") {
gotoAndPlay ("Punch");
}
}
Symbol 918 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
} else {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Right>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
tellTarget ("../") {
nextFrame();
}
}
on (keyPress "<Space>") {
Set("../:Bas", "0");
tellTarget ("../Hood") {
gotoAndPlay ("Punch");
}
}
Symbol 919 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
} else {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Right>") {
if ("400" < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , "400");
}
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
tellTarget ("../") {
nextFrame();
}
}
Symbol 920 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
} else {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Right>") {
if ("400" < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , "400");
}
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
Set("../:Bas", "0");
tellTarget ("../Hood") {
gotoAndPlay ("IdleDos");
};
tellTarget ("../Flambeau") {
play();
}
}
Symbol 921 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if (getProperty("../Hood", _x) < "0") {
setProperty("../Hood", _x , "0");
}
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (((getProperty("../GardeG", _x) <> "0") and (getProperty("../Hood", _x) < (getProperty("../GardeG", _x) + "25"))) and (/Variables:GardeDebout <> "0")) {
setProperty("../Hood", _x , getProperty("../GardeG", _x) + "25");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
}
Set("../:Bas", "0");
}
on (keyPress "<Right>") {
if ("400" < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , "400");
}
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (((getProperty("../GardeD", _x) <> "0") and ((getProperty("../GardeD", _x) - "25") < getProperty("../Hood", _x))) and (/Variables:GardeDebout <> "0")) {
setProperty("../Hood", _x , getProperty("../GardeD", _x) - "25");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
Set("../:Bas", "0");
if (/Variables:Hit == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Punch");
};
if (/Variables:GardeDebout <> "0") {
if ((getProperty("../Hood", _x) < getProperty("../Armure" add ../:Niveau, _x)) and (../:DirHood == "2")) {
tellTarget ("../Armure" add ../:Niveau) {
gotoAndPlay ("Tombe");
};
tellTarget ("../Disparait") {
play();
};
} else if ((getProperty("../Armure" add ../:Niveau, _x) < getProperty("../Hood", _x)) and (../:DirHood == "1")) {
tellTarget ("../Armure" add ../:Niveau) {
gotoAndPlay ("Tombe");
};
tellTarget ("../Disparait") {
play();
};
}
}
}
}
Symbol 922 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if (getProperty("../Hood", _x) < "0") {
setProperty("../Hood", _x , "0");
}
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
} else {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Right>") {
if ("400" < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , "400");
}
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
tellTarget ("../") {
prevFrame();
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
tellTarget ("../Hood") {
gotoAndPlay ("Punch");
}
}
Symbol 923 Button
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
} else {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Right>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
Set("../:Bas", "0");
}
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
Set("../:Bas", "0");
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
NoPierre = "../Pierre" add ../:Pierre;
tellTarget (NoPierre) {
play();
};
tellTarget ("../Hood") {
gotoAndStop ("IdleDos");
}
}
Symbol 924 Button
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
tellTarget ("../Hood") {
gotoAndPlay ("IdleDos");
};
if ((/Variables:Porte ne "") and (/Variables:PorteS eq "")) {
tellTarget ("../") {
gotoAndStop("Tableau" add (substring(/Variables:Porte, "3", "1")));
};
} else if (/Variables:PorteS ne "") {
tellTarget ("../") {
gotoAndStop(/Variables:PorteS);
};
}
}
on (keyPress "<Space>") {
tellTarget ("../Hood") {
gotoAndPlay ("Punch");
}
}
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
if (../:Niveau == "0") {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "10");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
}
}
Set("../:Bas", "0");
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0")) {
if (/Variables:HoodFrappe == "2") {
Set("/Variables:GardeDebout", "1");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("/Armure" add ../:Niveau) {
gotoAndPlay ("Releve");
};
}
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
setProperty("../Tombe", _xscale , getProperty("../Tombe", _xscale) - ("2" * getProperty("../Tombe", _xscale)));
tellTarget ("../Tombe") {
play();
};
}
}
on (keyPress "<Right>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
if (../:Niveau == "0") {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "10");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
}
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0")) {
if (/Variables:HoodFrappe == "2") {
Set("/Variables:GardeDebout", "1");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("/Armure" add ../:Niveau) {
gotoAndPlay ("Releve");
};
}
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
tellTarget ("../Tombe") {
play();
};
}
Set("../:Bas", "0");
}
Symbol 925 Button
on (keyPress "<Down>") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
}
}
on (keyPress "<Up>") {
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
tellTarget ("../Hood") {
gotoAndPlay ("IdleDos");
};
tellTarget ("../" add /Variables:Anneau) {
play();
}
}
on (keyPress "<Left>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
if (../:Niveau == "0") {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "10");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
}
}
Set("../:Bas", "0");
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0")) {
if (/Variables:HoodFrappe == "2") {
Set("/Variables:GardeDebout", "1");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("/Armure" add ../:Niveau) {
gotoAndPlay ("Releve");
};
}
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
setProperty("../Tombe", _xscale , getProperty("../Tombe", _xscale) - ("2" * getProperty("../Tombe", _xscale)));
tellTarget ("../Tombe") {
play();
};
}
}
on (keyPress "<Right>") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
if (../:Niveau == "0") {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "10");
} else {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
}
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
if (((getProperty("../Hood", _x) < getProperty("../CoteDroit", _x)) and (getProperty("../CoteGauche", _x) < getProperty("../Hood", _x))) and (/Variables:Tombe == "0")) {
if (/Variables:HoodFrappe == "2") {
Set("/Variables:GardeDebout", "1");
}
tellTarget ("/Disparait") {
play();
};
if (/Variables:GardeReleve == "0") {
tellTarget ("/Armure" add ../:Niveau) {
gotoAndPlay ("Releve");
};
}
Set("/Variables:Tombe", "1");
Set("/Variables:XTombe", getProperty("../Hood", _x));
tellTarget ("../Tombe") {
play();
};
}
Set("../:Bas", "0");
}
Symbol 926 Button
on (keyPress "<Left>") {
if (/Variables:Hit == "0") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
Set("../:Idle", "1");
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
}
if (../:DirHood == "2") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "1");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if ((getProperty("../MurG", _x) + "25") < getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("/Hood", _x) - "5");
} else {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "25");
}
Set("../:Bas", "0");
}
}
on (keyPress "<Right>") {
if (/Variables:Hit == "0") {
tellTarget ("../IdleTime") {
gotoAndPlay (1);
};
if ("../:idle = 3") {
tellTarget ("../Hood") {
gotoAndStop ("Marche");
};
Set("../:Idle", "1");
}
if (../:DirHood == "1") {
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
tellTarget ("../Hood") {
gotoAndStop (1);
};
Set("../:DirHood", "2");
} else if (FlagIdle == "1") {
tellTarget ("../Hood") {
gotoAndStop (1);
};
FlagIdle = "0";
}
tellTarget ("../Hood") {
nextFrame();
};
if (getProperty("../Hood", _x) < (getProperty("../MurD", _x) - "25")) {
setProperty("../Hood", _x , getProperty("/Hood", _x) + "5");
} else {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "25");
}
Set("../:Bas", "0");
}
}
on (keyPress "<Down>") {
if (/Variables:Hit == "0") {
Set("../:Bas", "1");
tellTarget ("../Hood") {
gotoAndStop ("Penche");
};
}
}
on (keyPress "<Up>") {
if (/Variables:Saute == "0") {
tellTarget ("../Hood") {
gotoAndPlay ("Jump");
};
}
}
on (keyPress "<Space>") {
if (/Variables:TorchePlace == "0") {
tellTarget ("../Cage") {
play();
};
Set("/Variables:Hit", "1");
gotoAndStop (25);
tellTarget ("../Hood") {
gotoAndStop ("IdleDos");
};
}
}
Symbol 927 MovieClip Frame 1
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
stop();
Symbol 927 MovieClip Frame 3
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
prevFrame();
Symbol 927 MovieClip Frame 5
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
stop();
Symbol 927 MovieClip Frame 6
if (/Variables:HoodPlace == "1") {
Set("/Variables:HoodPlace", "2");
}
stop();
Symbol 927 MovieClip Frame 7
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
Symbol 927 MovieClip Frame 12
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
Symbol 927 MovieClip Frame 15
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
Symbol 927 MovieClip Frame 18
if (/Variables:HoodPlace == "2") {
Set("/Variables:HoodPlace", "1");
}
Symbol 927 MovieClip Frame 25
stop();
Symbol 928 MovieClip Frame 5
Set("../:Idle", "3");
tellTarget ("../Hood") {
gotoAndPlay ("IdleHood");
};
stop();
Symbol 929 MovieClip Frame 1
Set("/Variables:Hit", "0");
Symbol 929 MovieClip Frame 2
if ((/Variables:Hit == "1") or (getProperty("/Hood", _visible) == "0")) {
tellTarget ("../Controller") {
gotoAndStop ("Vide");
};
} else {
if (((getProperty("../EscalierMonte1", _x) - "25") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../EscalierMonte1", _x) + "25"))) {
tellTarget ("../Controller") {
gotoAndStop ("MarcheMonte");
};
} else if (((getProperty("../EscalierDescent1", _x) - "25") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../EscalierDescent1", _x) + "25"))) {
tellTarget ("../Controller") {
gotoAndStop ("MarcheDescent");
};
} else if (((getProperty("../RoueZo", _x) - "25") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../RoueZo", _x) + "25"))) {
tellTarget ("../Controller") {
gotoAndStop ("Roue");
};
} else if ((/Variables:Porte eq "") and (/Variables:PorteS eq "")) {
tellTarget ("../Controller") {
gotoAndStop (1);
};
}
if (getProperty("../MurD", _x) <> "0") {
if (getProperty("../Hood", _x) >= (getProperty("../MurD", _x) - "15")) {
setProperty("../Hood", _x , getProperty("../MurD", _x) - "15");
}
}
if (getProperty("../MurG", _x) <> "0") {
if ((getProperty("../MurG", _x) + "15") >= getProperty("../Hood", _x)) {
setProperty("../Hood", _x , getProperty("../MurG", _x) + "15");
}
}
if (getProperty("../GardeD", _x) <> "0") {
if ((getProperty("../Hood", _x) >= (getProperty("../GardeD", _x) - "40")) and (getProperty("../Hood", _x) < (getProperty("../GardeD", _x) + "10"))) {
tellTarget ("../Controller") {
gotoAndStop ("Punch");
};
}
if ((getProperty("../Hood", _x) >= (getProperty("../GardeD", _x) - "25")) and (/Variables:GardeDebout <> "0")) {
setProperty("../Hood", _x , getProperty("../GardeD", _x) - "25");
}
}
if (getProperty("../GardeG", _x) <> "0") {
if (((getProperty("../GardeG", _x) + "40") >= getProperty("../Hood", _x)) and ((getProperty("../GardeG", _x) - "10") < getProperty("../Hood", _x))) {
tellTarget ("../Controller") {
gotoAndStop ("Punch");
};
}
if (((getProperty("../GardeG", _x) + "25") >= getProperty("../Hood", _x)) and (/Variables:GardeDebout <> "0")) {
setProperty("../Hood", _x , getProperty("../GardeG", _x) + "25");
}
}
if (((getProperty("../Anneau1", _x) - "12") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../Anneau1", _x) + "12"))) {
Set("/Variables:Anneau", "An1");
tellTarget ("../Controller") {
gotoAndStop ("PorteS");
};
} else if (((getProperty("../Anneau2", _x) - "12") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../Anneau2", _x) + "12"))) {
Set("/Variables:Anneau", "An2");
tellTarget ("../Controller") {
gotoAndStop ("PorteS");
};
} else if (((getProperty("../Anneau3", _x) - "12") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../Anneau3", _x) + "12"))) {
Set("/Variables:Anneau", "An3");
tellTarget ("../Controller") {
gotoAndStop ("PorteS");
};
} else {
Set("/Variables:Anneau", "");
}
}
Symbol 929 MovieClip Frame 3
gotoAndPlay (2);
Symbol 930 MovieClip Frame 2
if (((getProperty("../Hood", _x) < (_x + "25")) and ((_x - "25") < getProperty("../Hood", _x))) and (eval ("/Variables:" add _name) == "1")) {
Set("/Variables:PorteS", _name);
tellTarget ("../Controller") {
gotoAndStop ("EntrePorte");
};
} else {
Set("/Variables:PorteS", "");
prevFrame();
play();
}
Symbol 931 MovieClip Frame 1
stop();
Symbol 931 MovieClip Frame 2
stop();
Symbol 931 MovieClip Frame 3
stop();
Symbol 931 MovieClip Frame 4
stop();
Symbol 932 MovieClip Frame 4
if (/Variables:DirFantome == "1") {
setProperty("../", _x , getProperty("../", _x) - "15");
} else {
setProperty("../", _x , getProperty("../", _x) + "15");
}
if (((((getProperty("../../Armure" add ../../:Niveau, _x) - "63") < getProperty("../", _x)) and (getProperty("../", _x) < (getProperty("../../Armure" add ../../:Niveau, _x) + "63"))) and (getProperty("../../Fantome", _alpha) == "100")) and (/Variables:GardeDebout <> "0")) {
tellTarget ("../") {
gotoAndPlay ("Armure");
};
} else if (((((getProperty("../../Armure" add ../../:Niveau, _x) - "63") < getProperty("../", _x)) and (getProperty("../", _x) < (getProperty("../../Armure" add ../../:Niveau, _x) + "63"))) and (getProperty("../../Fantome", _alpha) == "100")) and (/Variables:GardeDebout == "0")) {
tellTarget ("../../Disparait") {
play();
};
}
if ((((((getProperty("../../Hood", _x) - "16") < getProperty("../", _x)) and (getProperty("../", _x) < (getProperty("../../Hood", _x) + "16"))) and (/:Bas == "0")) and (/Variables:Hit == "0")) and (getProperty("../../Fantome", _alpha) == "100")) {
tellTarget ("../../Hood") {
gotoAndPlay ("MangeCoup");
};
}
prevFrame();
play();
Symbol 933 MovieClip Frame 1
if (/Variables:Intro == "1") {
Set("/Variables:Intro", "0");
play();
} else {
stop();
}
Symbol 933 MovieClip Frame 3
Random = random("200");
if ("150" < Random) {
nextFrame();
play();
} else {
prevFrame();
play();
}
Symbol 933 MovieClip Frame 4
if (((eval ("/Variables:" add /Variables:MoviePiece) <> "0") and (eval ("/Variables:La" add /Variables:MoviePiece) == "0")) and (eval ("/Variables:Piece" add eval ("/Variables:" add /Variables:MoviePiece)) == "0")) {
if (eval ("/Variables:" add /Variables:MoviePiece) == "1") {
tellTarget ("ArtFantome") {
gotoAndStop ("1");
};
} else if (eval ("/Variables:" add /Variables:MoviePiece) == "2") {
tellTarget ("ArtFantome") {
gotoAndStop ("2");
};
} else if (eval ("/Variables:" add /Variables:MoviePiece) == "3") {
tellTarget ("ArtFantome") {
gotoAndStop ("3");
};
}
} else {
tellTarget ("ArtFantome") {
gotoAndStop ("0");
};
}
Symbol 933 MovieClip Frame 5
stop();
Symbol 933 MovieClip Frame 6
tellTarget ("../Armure" add ../:Niveau) {
play();
}
Symbol 933 MovieClip Frame 8
_x = getProperty("../" add ../:Niveau, _x);
_alpha = "100";
gotoAndStop (1);
stop();
Symbol 936 MovieClip Frame 1
PosX = getProperty("../", _x);
Symbol 936 MovieClip Frame 2
tellTarget ("../../Armure" add /:Niveau) {
gotoAndStop ("Tire");
}
Symbol 936 MovieClip Frame 4
if (/Variables:DirFantome == "2") {
if (getProperty("../../MurG", _x) < getProperty("../", _x)) {
setProperty("../", _x , getProperty("../", _x) - "20");
if (((((getProperty("../../Hood", _x) - "15") < getProperty("../", _x)) and (getProperty("../", _x) < (getProperty("../../Hood", _x) + "15"))) and (/:Bas == "0")) and (/Variables:Hit == "0")) {
tellTarget ("../../Hood") {
gotoAndPlay ("MangeCoup");
};
setProperty("../", _x , PosX);
tellTarget ("../../Armure" add /:Niveau) {
play();
};
tellTarget ("../") {
gotoAndStop (1);
};
} else {
prevFrame();
play();
}
} else {
setProperty("../", _x , PosX);
tellTarget ("../../Armure" add /:Niveau) {
play();
};
tellTarget ("../") {
gotoAndStop (1);
};
}
} else if (getProperty("../", _x) < getProperty("../../MurD", _x)) {
setProperty("../", _x , getProperty("../", _x) + "20");
if (((((getProperty("../../Hood", _x) - "15") < getProperty("../", _x)) and (getProperty("../", _x) < (getProperty("../../Hood", _x) + "15"))) and (/:Bas == "0")) and (/Variables:Hit == "0")) {
tellTarget ("../../Hood") {
gotoAndPlay ("MangeCoup");
};
setProperty("../", _x , PosX);
tellTarget ("../../Armure" add /:Niveau) {
play();
};
tellTarget ("../") {
gotoAndStop (1);
};
} else if ((((getProperty("../../ArmureX", _x) - "15") < getProperty("../", _x)) and (getProperty("../", _x) < (getProperty("../../ArmureX", _x) + "15"))) and (/Variables:GardeArtefact == "1")) {
tellTarget ("../../ArmureX") {
play();
};
setProperty("../", _x , PosX);
tellTarget ("../../Armure" add /:Niveau) {
play();
};
tellTarget ("../") {
gotoAndStop (1);
};
} else {
prevFrame();
play();
}
} else {
setProperty("../", _x , PosX);
tellTarget ("../../Armure" add /:Niveau) {
play();
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 2
stop();
Symbol 938 MovieClip Frame 1
stop();
Symbol 938 MovieClip Frame 2
if (("5" < getProperty("../Fantome", _x)) and (getProperty("../Fantome", _x) < "395")) {
tellTarget ("../SonFade") {
gotoAndPlay (1);
};
}
Symbol 938 MovieClip Frame 5
if ("0" < getProperty("../Fantome", _alpha)) {
setProperty("../Fantome", _alpha , getProperty("../Fantome", _alpha) - "10");
prevFrame();
play();
} else {
tellTarget ("../Fantome/ArtFantome") {
gotoAndStop (1);
};
tellTarget ("../Fantome") {
gotoAndStop (1);
};
setProperty("../Fantome", _x , getProperty("../" add ../:Niveau, _x));
setProperty("../Fantome", _alpha , "100");
gotoAndStop (1);
}
Symbol 944 MovieClip Frame 1
if (eval ("/Variables:La" add _name) == "1") {
gotoAndStop (22);
} else {
stop();
}
Symbol 944 MovieClip Frame 2
Set("/Variables:La" add _name, "1");
if (eval ("/Variables:" add /Variables:MoviePiece) == "1") {
gotoAndPlay (3);
} else if (eval ("/Variables:" add /Variables:MoviePiece) == "2") {
gotoAndPlay (9);
} else if (eval ("/Variables:" add /Variables:MoviePiece) == "3") {
gotoAndPlay (15);
}
Symbol 944 MovieClip Frame 8
EnCours = "Piece1";
stop();
Symbol 944 MovieClip Frame 14
EnCours = "Piece2";
stop();
Symbol 944 MovieClip Frame 20
EnCours = "Piece3";
stop();
Symbol 944 MovieClip Frame 21
Set("/Variables:" add EnCours, "1");
tellTarget ("../" add EnCours) {
play();
};
Set("/Variables:La" add _name, "0");
stop();
Symbol 944 MovieClip Frame 22
if (eval ("/Variables:" add _name) == "1") {
gotoAndStop (8);
} else if (eval ("/Variables:" add _name) == "2") {
gotoAndStop (14);
} else if (eval ("/Variables:" add _name) == "3") {
gotoAndStop (20);
}
Symbol 946 MovieClip Frame 1
stop();
Symbol 946 MovieClip Frame 2
gotoAndStop (1);
Symbol 957 MovieClip Frame 1
Set("/Variables:Monte", "1");
Symbol 957 MovieClip Frame 32
Set("/Variables:Monte", "0");
tellTarget ("../") {
nextFrame();
}
Symbol 957 MovieClip Frame 35
Set("/Variables:Monte", "1");
Symbol 957 MovieClip Frame 66
Set("/Variables:Monte", "0");
tellTarget ("../") {
prevFrame();
}
Symbol 958 MovieClip Frame 2
if ((getProperty("../Hood", _x) < (_x + "25")) and ((_x - "25") < getProperty("../Hood", _x))) {
if (_name eq "Sc1Et3") {
Set("/Variables:DirFantome", "2");
}
Set("/Variables:Porte", _name);
tellTarget ("../Controller") {
gotoAndStop ("EntrePorte");
};
} else {
Set("/Variables:Porte", "");
prevFrame();
play();
}
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
tellTarget ("/Disparait") {
play();
};
_x = getProperty("../Hood", _x);
setProperty("../Hood", _visible , "0");
setProperty("../Hood", _x , "0");
Set("/Variables:GardeDebout", "1");
Symbol 960 MovieClip Frame 3
play();
Symbol 960 MovieClip Frame 10
tellTarget ("/Disparait") {
gotoAndStop (1);
};
tellTarget ("../Fantome/ArtFantome") {
gotoAndStop (1);
};
tellTarget ("../Fantome") {
gotoAndStop (1);
};
tellTarget ("../Vie") {
nextFrame();
};
if (/Variables:Vies == "1") {
setProperty("../Hood", _y , _y + "90.9");
setProperty("../Hood", _x , _x);
setProperty("../Hood", _visible , "1");
_visible = "0";
} else {
tellTarget ("../") {
gotoAndStop(/Variables:TombeNiveau);
};
}
Symbol 963 MovieClip Frame 1
if (/Variables:GardeArtefact == "0") {
gotoAndStop (11);
} else {
stop();
}
Symbol 963 MovieClip Frame 3
Set("/Variables:GardeArtefact", "0");
Symbol 963 MovieClip Frame 5
Set("/:Points", /:Points + "20");
Symbol 963 MovieClip Frame 11
stop();
Symbol 964 MovieClip Frame 1
Set("/Variables:An1", "0");
Set("/Variables:An3", "0");
Symbol 964 MovieClip Frame 3
Set("/Variables:TableauPorte", "Tab2");
if (/Variables:Secret3 == "1") {
if (/Variables:DejaTrouve2 == "0") {
Set("/:Points", /:Points + "30");
Set("/Variables:DejaTrouve2", "1");
}
if (/Variables:Tab2OuvertePorte1 == "0") {
tellTarget ("../Porte1") {
play();
};
} else {
tellTarget ("../Porte1") {
gotoAndStop ("Ouverte");
};
}
tellTarget ("../An2") {
gotoAndStop ("Tire");
};
}
if (/Variables:An3 == "1") {
if (/Variables:An1 == "1") {
Set("/Variables:Secret2", "1");
Set("/Variables:An1", "0");
if (/Variables:DejaTrouve3 == "0") {
Set("/:Points", /:Points + "30");
Set("/Variables:DejaTrouve3", "1");
}
if (/Variables:Tab2OuvertePorte2 == "0") {
tellTarget ("../Porte2") {
play();
};
}
tellTarget ("../An1") {
play();
};
}
} else {
if (/Variables:An1 == "1") {
tellTarget ("../An1") {
play();
};
}
if (/Variables:Tab2OuvertePorte2 == "1") {
tellTarget ("../Porte2") {
play();
};
}
Set("/Variables:Secret2", "0");
Set("/Variables:An1", "0");
Set("/Variables:An3", "0");
}
if (/Variables:An2 == "1") {
if ((/Variables:TorcheP1 == "1") and (/Variables:Tab2OuvertePorte1 == "0")) {
tellTarget ("../Porte1") {
play();
};
tellTarget ("../An2") {
gotoAndStop ("Tire");
};
Set("/Variables:Secret3", "1");
Set("/Variables:An2", "0");
}
}
prevFrame();
play();
Symbol 965 MovieClip Frame 1
Set("/Variables:Porte", "");
Symbol 965 MovieClip Frame 2
if (_x < getProperty("../Hood", _x)) {
Set("/Variables:Porte", _name);
if (_name ne "Fin") {
tellTarget ("../") {
gotoAndStop("Tableau" add (substring(/Variables:Porte, "3", "1")));
};
} else if (/Variables:BonhommeDetache == "1") {
tellTarget ("../") {
gotoAndStop(/Variables:Porte);
};
}
} else {
prevFrame();
play();
}
Symbol 967 MovieClip Frame 1
stop();
Symbol 967 MovieClip Frame 3
setProperty("../Hood", _x , getProperty("../Hood", _x) + "6");
prevFrame();
play();
Symbol 973 MovieClip Frame 1
stop();
Symbol 973 MovieClip Frame 2
stop();
Symbol 973 MovieClip Frame 6
gotoAndStop (1);
Symbol 980 MovieClip Frame 1
stop();
Symbol 980 MovieClip Frame 2
stop();
Symbol 980 MovieClip Frame 5
gotoAndStop (3);
Symbol 985 Button
on (release) {
Set("/Variables:TorchePlace", "0");
gotoAndPlay (4);
}
Symbol 987 MovieClip Frame 1
stop();
Symbol 987 MovieClip Frame 3
stop();
Symbol 987 MovieClip Frame 8
tellTarget ("../Cage") {
play();
};
tellTarget ("../TorcheMagique") {
gotoAndPlay ("Apparait");
};
gotoAndStop (1);
Symbol 988 MovieClip Frame 2
if (/Variables:Secret4 == "1") {
tellTarget ("../An1") {
gotoAndStop ("Tire");
};
if (/Variables:DejaTrouve4 == "0") {
Set("/:Points", /:Points + "30");
Set("/Variables:DejaTrouve4", "1");
}
if (/Variables:Tab3OuvertePorte1 == "0") {
tellTarget ("../Porte1") {
play();
};
} else {
tellTarget ("../Porte1") {
gotoAndStop ("Ouverte");
};
}
}
if (/Variables:An2 == "1") {
Set("/Variables:Secret0", "1");
Set("/Variables:An2", "0");
Set("/Variables:TorcheP1", "1");
}
if (/Variables:An1 == "1") {
Set("/Variables:Secret4", "1");
Set("/Variables:An1", "0");
if (/Variables:Tab3OuvertePorte1 == "0") {
tellTarget ("../Porte1") {
play();
};
}
}
prevFrame();
play();
Symbol 989 Button
on (press) {
startDrag ("", true, "10", "10", "390", "290");
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop ("drag");
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop ("drag");
};
}
Set("../:MagicSound", "1");
tellTarget ("../Magic") {
play();
};
tellTarget ("../ControlFrappe") {
play();
};
tellTarget ("../BoutonTourne") {
gotoAndStop ("Remonte");
};
tellTarget ("../Hood") {
gotoAndStop ("Magie");
};
nextFrame();
}
on (release) {
stopDrag();
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop (6);
};
}
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop (6);
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop (6);
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop (6);
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop (6);
};
}
Set("../:MagicSound", "0");
tellTarget ("../ControlFrappe") {
gotoAndStop (1);
};
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
if ((_droptarget eq "/Roue") and (/Variables:Cage == "1")) {
tellTarget ("../TorchePlace") {
play();
};
tellTarget ("") {
nextFrame();
};
_x = "237.9";
_y = "52";
Set("/Variables:TorchePlace", "1");
} else {
_x = "237.9";
_y = "52";
prevFrame();
}
tellTarget ("../BoutonTourne") {
gotoAndStop (1);
}
}
Symbol 990 MovieClip Frame 2
if ((/:DirHood == "2") and (getProperty("../", _x) < getProperty("../../Hood", _x))) {
Set("/:DirHood", "1");
setProperty("../../Hood", _xscale , getProperty("../../Hood", _xscale) - ("2" * getProperty("../../Hood", _xscale)));
} else if ((/:DirHood == "1") and (getProperty("../", _x) >= getProperty("../../Hood", _x))) {
Set("/:DirHood", "2");
setProperty("../../Hood", _xscale , getProperty("../../Hood", _xscale) - ("2" * getProperty("../../Hood", _xscale)));
}
Symbol 991 MovieClip Frame 1
stop();
Symbol 991 MovieClip Frame 2
stop();
Symbol 991 MovieClip Frame 3
stop();
Symbol 991 MovieClip Frame 7
gotoAndStop (1);
Symbol 997 MovieClip Frame 15
gotoAndStop (1);
Symbol 998 MovieClip Frame 1
Set("/Variables:Cage", "0");
stop();
Symbol 998 MovieClip Frame 2
Set("/Variables:CageBouge", "1");
tellTarget ("/RoueTourne") {
gotoAndStop (2);
};
tellTarget ("/Chaine") {
play();
}
Symbol 998 MovieClip Frame 18
tellTarget ("../RoueTourne") {
gotoAndStop (1);
};
tellTarget ("../Chaine") {
gotoAndStop (1);
};
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:Hit", "0");
Set("/Variables:CageBouge", "0");
Set("/Variables:Cage", "1");
if (/Variables:CageRemonte == "1") {
play();
} else {
stop();
}
Symbol 998 MovieClip Frame 19
if (((/:Niveau == "1") and ((_x - "30") < getProperty("../Hood", _x))) and (getProperty("../Hood", _x) < (_x + "30"))) {
gotoAndPlay (54);
}
Set("/Variables:Cage", "0");
Set("/Variables:CageRemonte", "0");
tellTarget ("../RoueTourne") {
gotoAndStop (2);
};
tellTarget ("../Chaine") {
play();
}
Symbol 998 MovieClip Frame 35
if (/:Niveau == "3") {
tellTarget ("/Hood") {
gotoAndStop ("IdleHood");
};
Set("/Variables:Hit", "0");
}
tellTarget ("../RoueTourne") {
gotoAndStop (1);
};
tellTarget ("../Chaine") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 998 MovieClip Frame 36
Set("/Variables:Cage", "0");
stop();
Symbol 998 MovieClip Frame 37
stop();
Symbol 998 MovieClip Frame 53
tellTarget ("../RoueTourne") {
gotoAndStop (1);
};
tellTarget ("../Chaine") {
stop();
};
Set("/Variables:CageBouge", "0");
Set("/Variables:Cage", "1");
if (/Variables:CageRemonte == "1") {
play();
} else {
stop();
}
Symbol 998 MovieClip Frame 54
setProperty("../Hood", _visible , "0");
Set("/:Niveau", "4");
Set("/Variables:Cage", "0");
Set("/Variables:CageRemonte", "0");
tellTarget ("../RoueTourne") {
gotoAndStop (2);
};
tellTarget ("../Chaine") {
play();
};
tellTarget ("../Controller") {
gotoAndStop ("Vide");
};
tellTarget ("../Collision") {
gotoAndStop (1);
}
tellTarget ("HoodMonte") {
gotoAndStop ("IdleHood");
}
Symbol 998 MovieClip Frame 70
tellTarget ("../RoueTourne") {
gotoAndStop (1);
};
tellTarget ("../Chaine") {
gotoAndStop (1);
};
tellTarget ("../") {
gotoAndStop ("Sc3Et4");
}
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 3
if (((getProperty("../Cage", _x) + "30") < getProperty("../Hood", _x)) and (/Variables:TorchePlace == "0")) {
tellTarget ("../Cage") {
gotoAndPlay ("Monte");
};
gotoAndStop (1);
} else if (/Variables:TorchePlace == "1") {
gotoAndStop (1);
} else {
prevFrame();
play();
}
Symbol 1000 MovieClip Frame 1
stop();
Symbol 1000 MovieClip Frame 36
if (../:MagicSound == "1") {
gotoAndPlay (2);
}
Symbol 1003 MovieClip Frame 1
stop();
Symbol 1003 MovieClip Frame 3
if (/Variables:Hit == "1") {
if (/Variables:Tete == "1") {
tellTarget ("/InvTete") {
gotoAndStop ("drag");
};
}
if (/Variables:Piece1 == "1") {
tellTarget ("/Piece1") {
gotoAndStop (6);
};
}
if (/Variables:Piece2 == "1") {
tellTarget ("/Piece2") {
gotoAndStop (6);
};
}
if (/Variables:Piece3 == "1") {
tellTarget ("/Piece3") {
gotoAndStop (6);
};
}
if (/Variables:Baril == "1") {
tellTarget ("/InvBaril") {
gotoAndStop (6);
};
}
Set("../:MagicSound", "0");
tellTarget ("../TorcheMagique") {
setProperty("../TorcheMagique", _x , "237.9");
setProperty("../TorcheMagique", _y , "52");
gotoAndStop (1);
};
stopDrag();
tellTarget ("../BoutonTourne") {
gotoAndStop (1);
};
gotoAndStop (1);
} else {
prevFrame();
play();
}
Symbol 1004 MovieClip Frame 1
stop();
Symbol 1004 MovieClip Frame 2
tellTarget ("../Cage/HoodMonte") {
gotoAndStop ("IdleHood");
};
Set("../:MagicSound", "0");
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
}
Symbol 1004 MovieClip Frame 4
if ((-"60") < getProperty("../Cage", _y)) {
tellTarget ("../Chaine") {
gotoAndStop (2);
};
tellTarget ("../RoueTourne") {
gotoAndStop (2);
};
setProperty("../Cage", _y , getProperty("../Cage", _y) - "5");
tellTarget ("../SonsCage") {
play();
};
prevFrame();
play();
} else {
tellTarget ("../BoutonTourne") {
gotoAndStop (1);
};
tellTarget ("../Controller") {
gotoAndStop (1);
};
tellTarget ("../Collision") {
play();
};
setProperty("../Cage", _y , -"67");
setProperty("../MurG", _x , -"1.5");
if (getProperty("../Hood", _visible) == "0") {
Set("/:Bas", "0");
setProperty("../Hood", _visible , "1");
setProperty("../Hood", _x , getProperty("../Cage", _x));
}
tellTarget ("../RoueTourne") {
gotoAndStop (1);
};
tellTarget ("../Chaine") {
gotoAndStop (1);
};
tellTarget ("../Cage") {
gotoAndStop (1);
};
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
gotoAndStop (1);
}
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 15
gotoAndStop (1);
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1006 MovieClip Frame 3
if ((((getProperty("../Cage", _x) - "30") < getProperty("../Hood", _x)) and (getProperty("../Hood", _x) < (getProperty("../Cage", _x) + "30"))) and (getProperty("../Hood", _visible) == "1")) {
Set("/Variables:HoodDescent", "1");
tellTarget ("../Cage") {
gotoAndStop ("DescentAvecHood");
};
tellTarget ("../Cage/HoodMonte") {
gotoAndStop ("Magie");
};
setProperty("../Hood", _visible , "0");
setProperty("../Hood", _x , getProperty("../Cage", _x));
Set("/:Bas", "1");
tellTarget ("../Controller") {
gotoAndStop ("Vide");
};
tellTarget ("../Collision") {
gotoAndStop (1);
};
} else if (getProperty("../Hood", _visible) == "1") {
Set("/Variables:HoodDescent", "0");
setProperty("../MurG", _x , "93");
}
Bouge = "0";
Remonte = "0";
if (((((getProperty("../Zone2", _x) - "20") < getProperty("../BoutonTourne", _x)) and (getProperty("../BoutonTourne", _x) < (getProperty("../Zone1", _x) + "20"))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone4", _y) + "20"))) and ((getProperty("../Zone2", _y) - "20") < getProperty("../BoutonTourne", _y))) {
if (/Variables:ZoneNext == "1") {
if ((((getProperty("../BoutonTourne", _x) < (getProperty("../Zone2", _x) + "20")) and ((getProperty("../Zone2", _x) - "20") < getProperty("../BoutonTourne", _x))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone2", _y) + "20"))) and ((getProperty("../Zone2", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Bouge = "1";
Set("/Variables:ZoneNext", "2");
} else {
Set("/Variables:ZoneNext", /Variables:ZoneDessus);
}
} else if (/Variables:ZoneNext == "2") {
if ((((getProperty("../BoutonTourne", _x) < (getProperty("../Zone3", _x) + "20")) and ((getProperty("../Zone3", _x) - "20") < getProperty("../BoutonTourne", _x))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone3", _y) + "20"))) and ((getProperty("../Zone3", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Bouge = "1";
Set("/Variables:ZoneNext", "3");
} else {
Set("/Variables:ZoneNext", /Variables:ZoneDessus);
}
} else if (/Variables:ZoneNext == "3") {
if ((((getProperty("../BoutonTourne", _x) < (getProperty("../Zone4", _x) + "20")) and ((getProperty("../Zone4", _x) - "20") < getProperty("../BoutonTourne", _x))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone4", _y) + "20"))) and ((getProperty("../Zone4", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Bouge = "1";
Set("/Variables:ZoneNext", "4");
} else {
Set("/Variables:ZoneNext", /Variables:ZoneDessus);
}
} else if (/Variables:ZoneNext == "4") {
if ((((getProperty("../BoutonTourne", _x) < (getProperty("../Zone1", _x) + "20")) and ((getProperty("../Zone1", _x) - "20") < getProperty("../BoutonTourne", _x))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone1", _y) + "20"))) and ((getProperty("../Zone1", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Bouge = "1";
Set("/Variables:ZoneNext", "1");
} else {
Set("/Variables:ZoneNext", /Variables:ZoneDessus);
}
}
} else {
Remonte = "1";
tellTarget ("../BoutonTourne") {
stopDrag();
};
setProperty("../BoutonTourne", _x , "354.7");
setProperty("../BoutonTourne", _y , "63.6");
tellTarget ("../BoutonTourne") {
gotoAndStop ("Remonte");
};
tellTarget ("../ControleurCageRemonte") {
play();
};
}
if (Remonte == "0") {
if (Bouge == "1") {
tellTarget ("../RoueTourne") {
gotoAndPlay ("Tourne1");
};
tellTarget ("../Chaine") {
gotoAndPlay ("TourneRoue");
};
tellTarget ("../SonsCage") {
play();
};
setProperty("../Cage", _y , getProperty("../Cage", _y) + "5");
}
if ("100" < getProperty("../Cage", _y)) {
setProperty("../Cage", _y , "106.3");
if (/Variables:HoodDescent == "1") {
tellTarget ("../") {
gotoAndStop ("Sc3Et1");
};
} else {
tellTarget ("../ControleurCageRemonte") {
gotoAndPlay (1);
};
}
}
prevFrame();
play();
} else {
gotoAndStop (1);
}
Symbol 1007 MovieClip Frame 2
if (((((getProperty("../Zone1", _x) - "20") < getProperty("../BoutonTourne", _x)) and (getProperty("../BoutonTourne", _x) < (getProperty("../Zone1", _x) + "20"))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone1", _y) + "20"))) and ((getProperty("../Zone1", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Set("/Variables:ZoneDessus", "1");
} else if (((((getProperty("../Zone2", _x) - "20") < getProperty("../BoutonTourne", _x)) and (getProperty("../BoutonTourne", _x) < (getProperty("../Zone2", _x) + "20"))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone2", _y) + "20"))) and ((getProperty("../Zone2", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Set("/Variables:ZoneDessus", "2");
} else if (((((getProperty("../Zone3", _x) - "20") < getProperty("../BoutonTourne", _x)) and (getProperty("../BoutonTourne", _x) < (getProperty("../Zone3", _x) + "20"))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone3", _y) + "20"))) and ((getProperty("../Zone3", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Set("/Variables:ZoneDessus", "3");
} else if (((((getProperty("../Zone4", _x) - "20") < getProperty("../BoutonTourne", _x)) and (getProperty("../BoutonTourne", _x) < (getProperty("../Zone4", _x) + "20"))) and (getProperty("../BoutonTourne", _y) < (getProperty("../Zone4", _y) + "20"))) and ((getProperty("../Zone4", _y) - "20") < getProperty("../BoutonTourne", _y))) {
Set("/Variables:ZoneDessus", "4");
}
prevFrame();
play();
Symbol 1008 Button
on (press) {
gotoAndStop (2);
Set("../:MagicSound", "1");
tellTarget ("../Magic") {
play();
};
tellTarget ("../Hood") {
gotoAndStop ("Magie");
};
tellTarget ("../RoueTourne") {
gotoAndPlay ("Tourne1");
};
tellTarget ("../Chaine") {
gotoAndPlay ("TourneRoue");
};
startDrag ("", true);
if (((getProperty("../Zone1", _x) - "20") < _x) and (_y < (getProperty("../Zone1", _y) + "20"))) {
Set("/Variables:ZoneNext", "2");
} else if ((_x < (getProperty("../Zone2", _x) + "20")) and (_y < (getProperty("../Zone2", _y) + "20"))) {
Set("/Variables:ZoneNext", "3");
} else if ((_x < (getProperty("../Zone3", _x) + "20")) and ((getProperty("../Zone3", _y) - "20") < _y)) {
Set("/Variables:ZoneNext", "4");
} else {
Set("/Variables:ZoneNext", "1");
}
tellTarget ("../ControleurTourne") {
play();
}
}
on (release) {
Set("../:MagicSound", "0");
gotoAndStop (1);
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
tellTarget ("../ControleurTourne") {
gotoAndStop (1);
};
tellTarget ("../ControleurCageRemonte") {
play();
};
tellTarget ("") {
gotoAndStop ("Remonte");
};
_x = "354.7";
_y = "63.6";
}
Symbol 1009 Button
on (press) {
gotoAndStop (2);
tellTarget ("../Hood") {
gotoAndStop ("Magie");
};
tellTarget ("../RoueTourne") {
gotoAndPlay ("Tourne1");
};
tellTarget ("../Chaine") {
gotoAndPlay ("TourneRoue");
};
startDrag ("", true);
if (((getProperty("../Zone1", _x) - "20") < _x) and (_y < (getProperty("../Zone1", _y) + "20"))) {
Set("/Variables:ZoneNext", "2");
} else if ((_x < (getProperty("../Zone2", _x) + "20")) and (_y < (getProperty("../Zone2", _y) + "20"))) {
Set("/Variables:ZoneNext", "3");
} else if ((_x < (getProperty("../Zone3", _x) + "20")) and ((getProperty("../Zone3", _y) - "20") < _y)) {
Set("/Variables:ZoneNext", "4");
} else {
Set("/Variables:ZoneNext", "1");
}
tellTarget ("../ControleurTourne") {
play();
}
}
on (release) {
gotoAndStop (1);
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
tellTarget ("../ControleurTourne") {
gotoAndStop (1);
};
tellTarget ("../ControleurCageRemonte") {
play();
};
tellTarget ("") {
gotoAndStop ("Remonte");
};
_x = "354.7";
_y = "63.6";
}
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1010 MovieClip Frame 3
stop();
Symbol 1012 MovieClip Frame 2
Set("/Variables:TableauPorte", "Tab4");
if (/Variables:Secret5 == "1") {
if (/Variables:DejaTrouve5 == "0") {
Set("/:Points", /:Points + "30");
Set("/Variables:DejaTrouve5", "1");
}
if (/Variables:Tab4OuvertePorte1 == "0") {
tellTarget ("../Porte1") {
play();
};
} else {
tellTarget ("../Porte1") {
gotoAndStop ("Ouverte");
};
}
tellTarget ("../An3") {
gotoAndStop ("Tire");
};
}
if ((/Variables:An3 == "1") and (/Variables:Tab4OuvertePorte1 == "0")) {
Set("/Variables:Secret5", "1");
Set("/Variables:An1", "0");
Set("/Variables:An2", "0");
Set("/Variables:An3", "0");
tellTarget ("../Porte1") {
play();
};
}
prevFrame();
play();
Symbol 1017 MovieClip Frame 1
if (eval ("/Variables:" add _name) == "1") {
gotoAndStop (2);
} else if (eval ("/Variables:" add _name) == "2") {
gotoAndStop (8);
} else if (eval ("/Variables:" add _name) == "3") {
gotoAndStop (14);
}
stop();
Symbol 1017 MovieClip Frame 2
Set("/Variables:" add _name, "1");
Set("/Variables:Piece1", "2");
stop();
Symbol 1017 MovieClip Frame 7
Set("/Variables:Obj1", "0");
gotoAndStop (1);
Symbol 1017 MovieClip Frame 8
Set("/Variables:" add _name, "2");
Set("/Variables:Piece2", "2");
stop();
Symbol 1017 MovieClip Frame 13
Set("/Variables:Obj2", "0");
gotoAndStop (1);
Symbol 1017 MovieClip Frame 14
Set("/Variables:" add _name, "3");
Set("/Variables:Piece3", "2");
stop();
Symbol 1017 MovieClip Frame 19
Set("/Variables:Obj3", "0");
gotoAndStop (1);
Symbol 1018 MovieClip Frame 1
stop();
Symbol 1018 MovieClip Frame 2
tellTarget ("../Obj3") {
play();
};
tellTarget ("../Obj1") {
play();
};
tellTarget ("../Obj2") {
play();
};
if (((/Variables:Obj1 == /Variables:ObjPlace3) and (/Variables:Obj2 == /Variables:ObjPlace2)) and (/Variables:Obj3 == /Variables:ObjPlace1)) {
Set("/Variables:Secret6", "1");
} else {
Set("/Variables:MoviePiece1", "0");
Set("/Variables:MoviePiece2", "0");
Set("/Variables:MoviePiece3", "0");
Set("/Variables:MoviePiece4", "0");
Set("/Variables:MoviePiece5", "0");
Set("/Variables:MoviePiece6", "0");
Set("/Variables:MoviePiece7", "0");
i = "1";
while (i < "4") {
Random = random("6") + "1";
if (eval ("/Variables:MoviePiece" add Random) == "0") {
Set("/Variables:MoviePiece" add Random, i);
i = i + "1";
}
}
Set("/Variables:LaMoviePiece1", "0");
Set("/Variables:LaMoviePiece2", "0");
Set("/Variables:LaMoviePiece3", "0");
Set("/Variables:LaMoviePiece4", "0");
Set("/Variables:LaMoviePiece5", "0");
Set("/Variables:LaMoviePiece6", "0");
Set("/Variables:LaMoviePiece7", "0");
Set("/Variables:EmblemePlace", "0");
Set("/Variables:Obj1", "0");
Set("/Variables:Obj2", "0");
Set("/Variables:Obj3", "0");
Set("/Variables:Piece1", "0");
Set("/Variables:Piece2", "0");
Set("/Variables:Piece3", "0");
}
Symbol 1018 MovieClip Frame 3
gotoAndStop (1);
Symbol 1019 MovieClip Frame 2
Set("/Variables:TableauPorte", "Tab5");
if (/Variables:Secret6 == "1") {
if (/Variables:DejaTrouve6 == "0") {
Set("/:Points", /:Points + "30");
Set("/Variables:DejaTrouve6", "1");
}
if (/Variables:Tab5OuvertePorteFinale == "0") {
tellTarget ("../PorteFinale") {
play();
};
} else {
tellTarget ("../PorteFinale") {
gotoAndStop ("Ouverte");
};
}
}
prevFrame();
play();
Symbol 1020 MovieClip Frame 1
Set("/Variables:Porte", "");
Symbol 1020 MovieClip Frame 2
if (getProperty("../Hood", _x) < _x) {
Set("/Variables:Porte", _name);
Set("/Variables:PorteS", "");
tellTarget ("../") {
gotoAndStop("Tableau" add (substring(/Variables:Porte, "3", "1")));
};
} else {
prevFrame();
play();
}
Symbol 1063 MovieClip Frame 1
if (/Variables:Baril == "0") {
stop();
} else {
gotoAndStop (3);
}
Symbol 1063 MovieClip Frame 3
if (/Variables:Baril == "0") {
tellTarget ("../InvBaril") {
play();
};
}
Set("/Variables:Baril", "1");
stop();
Symbol 1073 MovieClip Frame 66
gotoAndPlay (1);
Symbol 1073 MovieClip Frame 67
Set("/Variables:Tete", "2");
Symbol 1073 MovieClip Frame 95
setProperty("../MurD", _x , "350");
stop();
Symbol 1083 MovieClip Frame 1
if (/Variables:Talismant == "1") {
gotoAndStop (2);
} else if (/Variables:Talismant == "2") {
gotoAndStop (3);
} else if (/Variables:Talismant == "3") {
gotoAndStop (4);
} else {
gotoAndStop (5);
}
Symbol 1114 MovieClip Frame 1
Set("/Variables:Position", "0");
stop();
Symbol 1114 MovieClip Frame 3
if (((((getProperty("../Zone0", _x) - "11") < getProperty("../BoutonBonhomme", _x)) and (getProperty("../BoutonBonhomme", _x) < (getProperty("../Zone0", _x) + "11"))) and ((getProperty("../Zone0", _y) - "20") < getProperty("../BoutonBonhomme", _y))) and (getProperty("../BoutonBonhomme", _y) < (getProperty("../Zone0", _y) + "20"))) {
Set("/Variables:Position", "0");
tellTarget ("../Bonhomme") {
gotoAndStop ("0");
};
prevFrame();
play();
} else if (((((getProperty("../Zone1", _x) - "6") < getProperty("../BoutonBonhomme", _x)) and (getProperty("../BoutonBonhomme", _x) < (getProperty("../Zone1", _x) + "6"))) and ((getProperty("../Zone1", _y) - "20") < getProperty("../BoutonBonhomme", _y))) and (getProperty("../BoutonBonhomme", _y) < (getProperty("../Zone1", _y) + "20"))) {
Set("/Variables:Position", "1");
tellTarget ("../Bonhomme") {
gotoAndStop ("1");
};
prevFrame();
play();
} else if (((((getProperty("../Zone2", _x) - "6") < getProperty("../BoutonBonhomme", _x)) and (getProperty("../BoutonBonhomme", _x) < (getProperty("../Zone2", _x) + "6"))) and ((getProperty("../Zone2", _y) - "20") < getProperty("../BoutonBonhomme", _y))) and (getProperty("../BoutonBonhomme", _y) < (getProperty("../Zone2", _y) + "20"))) {
Set("/Variables:Position", "2");
tellTarget ("../Bonhomme") {
gotoAndStop ("2");
};
prevFrame();
play();
} else if (((((getProperty("../Zone3", _x) - "6") < getProperty("../BoutonBonhomme", _x)) and (getProperty("../BoutonBonhomme", _x) < (getProperty("../Zone3", _x) + "6"))) and ((getProperty("../Zone3", _y) - "20") < getProperty("../BoutonBonhomme", _y))) and (getProperty("../BoutonBonhomme", _y) < (getProperty("../Zone3", _y) + "20"))) {
Set("/Variables:Position", "3");
tellTarget ("../Bonhomme") {
gotoAndStop ("3");
};
prevFrame();
play();
} else {
tellTarget ("../BoutonBonhomme") {
gotoAndStop ("Remonte");
};
if (/Variables:Position == "3") {
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
tellTarget ("../Bonhomme") {
gotoAndPlay ("Detache");
};
} else {
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
if (/Variables:Position == "1") {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Echappe1");
};
} else if (/Variables:Position == "2") {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Echappe2");
};
} else {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Echappe0");
};
}
}
stopDrag();
Set("../:MagicSound", "0");
setProperty("../BoutonBonhomme", _x , "213.6");
setProperty("../BoutonBonhomme", _y , "114.5");
gotoAndStop (1);
}
Symbol 1117 Button
on (release) {
if ((/:DirHood == "2") and (_x < getProperty("../Hood", _x))) {
Set("/:DirHood", "1");
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
} else if ((/:DirHood == "1") and (getProperty("../Hood", _x) < _x)) {
Set("/:DirHood", "2");
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
}
Set("/Variables:Hit", "1");
tellTarget ("../Hood") {
gotoAndStop ("Magie");
};
play();
}
Symbol 1133 MovieClip Frame 1
stop();
Symbol 1133 MovieClip Frame 14
if (/Variables:BarilPlace == "0") {
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
gotoAndStop (1);
} else {
play();
}
Symbol 1133 MovieClip Frame 26
Set("/Variables:Hit", "0");
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
tellTarget ("../") {
gotoAndPlay ("Explose");
}
Symbol 1136 MovieClip Frame 1
if (/Variables:BarilPlace == "0") {
stop();
} else {
gotoAndStop (3);
}
Symbol 1136 MovieClip Frame 3
Set("/Variables:Baril", "2");
stop();
Symbol 1141 MovieClip Frame 1
if (/Variables:Tete <> "0") {
gotoAndStop (3);
} else {
stop();
}
Symbol 1141 MovieClip Frame 3
if (/Variables:Tete == "0") {
tellTarget ("../InvTete") {
play();
};
Set("/Variables:Tete", "1");
}
stop();
Symbol 1141 MovieClip Frame 4
prevFrame();
Symbol 1167 MovieClip Frame 1
setProperty("../BonhommeMarche", _visible , "0");
if (/Variables:BonhommeDetache == "1") {
gotoAndStop (18);
} else {
stop();
}
Symbol 1167 MovieClip Frame 2
stop();
Symbol 1167 MovieClip Frame 3
stop();
Symbol 1167 MovieClip Frame 4
stop();
Symbol 1167 MovieClip Frame 5
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
}
Symbol 1167 MovieClip Frame 8
Set("../:MagicSound", "0");
Symbol 1167 MovieClip Frame 13
Set("/:Points", /:Points + "50");
Symbol 1167 MovieClip Frame 18
tellTarget ("../Boutonbonhomme") {
gotoAndStop (3);
};
Set("/Variables:BonhommeDetache", "1");
_visible = "0";
setProperty("../BonhommeMarche", _visible , "1");
stop();
Symbol 1167 MovieClip Frame 19
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
}
Symbol 1167 MovieClip Frame 21
tellTarget ("../BoutonBonhomme") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 1168 Button
on (press) {
Set("../:MagicSound", "1");
tellTarget ("/Magic") {
play();
};
if ((getProperty("../Bonhomme", _x) < getProperty("../Hood", _x)) and (/:DirHood == "2")) {
Set("/:DirHood", "1");
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
} else if ((getProperty("../Hood", _x) < getProperty("../Bonhomme", _x)) and (/:DirHood == "1")) {
Set("/:DirHood", "2");
setProperty("../Hood", _xscale , getProperty("../Hood", _xscale) - ("2" * getProperty("../Hood", _xscale)));
}
gotoAndStop (2);
tellTarget ("../Hood") {
gotoAndStop ("Magie");
};
startDrag ("", true);
tellTarget ("../Detache") {
gotoAndPlay (2);
}
}
on (release) {
stopDrag();
Set("../:MagicSound", "0");
if (/Variables:Position == "3") {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Detache");
};
} else if (/Variables:Position == "1") {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Echappe1");
};
} else if (/Variables:Position == "2") {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Echappe2");
};
} else {
tellTarget ("../Bonhomme") {
gotoAndPlay ("Echappe0");
};
}
tellTarget ("../Detache") {
gotoAndStop (1);
};
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
_x = "213.6";
_y = "114.5";
gotoAndStop (3);
}
Symbol 1169 Button
on (press) {
gotoAndStop (2);
tellTarget ("../Hood") {
gotoAndStop ("Magie");
};
tellTarget ("../RoueTourne") {
gotoAndPlay ("Tourne1");
};
tellTarget ("../Chaine") {
gotoAndPlay ("TourneRoue");
};
startDrag ("", true);
if (((getProperty("../Zone1", _x) - "20") < _x) and (_y < (getProperty("../Zone1", _y) + "20"))) {
Set("/Variables:ZoneNext", "2");
} else if ((_x < (getProperty("../Zone2", _x) + "20")) and (_y < (getProperty("../Zone2", _y) + "20"))) {
Set("/Variables:ZoneNext", "3");
} else if ((_x < (getProperty("../Zone3", _x) + "20")) and ((getProperty("../Zone3", _y) - "20") < _y)) {
Set("/Variables:ZoneNext", "4");
} else {
Set("/Variables:ZoneNext", "1");
}
tellTarget ("../ControleurTourne") {
play();
}
}
on (release) {
gotoAndStop (1);
tellTarget ("../Hood") {
gotoAndStop ("IdleHood");
};
tellTarget ("../ControleurTourne") {
gotoAndStop (1);
};
tellTarget ("../ControleurCageRemonte") {
play();
};
tellTarget ("") {
gotoAndStop ("Remonte");
};
_x = "354.7";
_y = "63.6";
}
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1170 MovieClip Frame 2
stop();
Symbol 1170 MovieClip Frame 3
stop();
Symbol 1175 MovieClip Frame 1
stop();
Symbol 1175 MovieClip Frame 2
tellTarget ("../Collision") {
gotoAndStop (1);
};
tellTarget ("../Controller") {
gotoAndStop ("Vide");
}
Symbol 1175 MovieClip Frame 30
tellTarget ("../") {
gotoAndStop ("Fini");
};
stop();
Symbol 1237 MovieClip Frame 9
stop();
Symbol 1253 Button
on (release) {
Points = "0";
TempsDebut = "0";
Acount = "0";
Total = "0";
Temps = "0";
Plus1 = "0";
Plus2 = "0";
TempsFin = "0";
VieNo = "0";
VieReste = "0";
stopAllSounds();
gotoAndPlay (898);
}
Symbol 1254 Button
on (release) {
Points = "0";
TempsDebut = "0";
Acount = "0";
Total = "0";
Temps = "0";
Plus1 = "0";
Plus2 = "0";
TempsFin = "0";
VieNo = "0";
VieReste = "0";
stopAllSounds();
gotoAndStop (36);
}
Symbol 1259 Button
on (release) {
getURL ("houdini.html");
}
Symbol 1265 MovieClip Frame 21
stop();