Frame 1
loadMovieNum ("mus1.swf", 1);
Frame 14
fscommand ("showmenu", "false");
fscommand ("fullscreen", "false");
fscommand ("allowscale", "true");
fscommand ("trapallkeys", "true");
Set("/:minimum", Number(substring(/:pts10, 0, /:pts10.length - 4)));
Set("/:finlogo", 0);
Frame 15
Set("/:nb", 0);
if (Number(_framesloaded) < 20) {
gotoAndPlay(_currentframe - 1);
}
Frame 19
_highquality = 1;
Instance of Symbol 37 MovieClip "load" in Frame 19
onClipEvent (enterFrame) {
setProperty(_root.load.load, _x , int((_parent.getBytesLoaded() * 100) / (_parent.getBytesTotal() - (/:nb * 1000))) * 2);
setProperty(_root.load.marche, _x , (int((_parent.getBytesLoaded() * 100) / (_parent.getBytesTotal() - (/:nb * 1000))) * 2) + 130);
}
Instance of Symbol 44 MovieClip in Frame 19
onClipEvent (load) {
perspective = 100;
}
Instance of Symbol 47 MovieClip in Frame 19
onClipEvent (load) {
nb = /:nb;
tF = getTimer() + 1000;
bI = _parent.getBytesLoaded();
}
onClipEvent (enterFrame) {
porcentaje = int((_parent.getBytesLoaded() * 100) / (_parent.getBytesTotal() - (nb * 1000))) + "%";
Set("/:pourcent", porcentaje);
tA = getTimer();
if (tA >= tF) {
bA = _parent.getBytesLoaded();
bT = bA - bI;
tR = int(((_parent.getBytesTotal() - nb) - _parent.getBytesLoaded()) / bT);
sR = tR;
while (sR >= 60) {
i++;
sR = sR - 60;
}
mR = int(tR / 60);
while (mR >= 60) {
i--;
mR = mR - 60;
}
hR = int((tr / 60) / 60);
sR = ((sR < 10) ? ("0" + sR) : (sR));
mR = ((mR < 10) ? ("0" + mR) : (mR));
hR = ((hR < 10) ? ("0" + hr) : (hR));
tR = (((hR + ":") + mR) + ":") + sR;
tit = ((bT < 1000) ? " bytes" : " kb");
bT = ((bT < 1000) ? (bT) : (int(bT / 100) / 10));
tF = getTimer() + 1000;
bI = _parent.getBytesLoaded();
}
datos = ((((((("percentage: " + porcentaje) + "<br>downloaded: ") + int(_parent.getBytesLoaded() / 1000)) + "kb<br>total kb: ") + int((_parent.getBytesTotal() / 1000) - nb)) + "kb<br>speed: ") + bT) + tit;
if ((_parent.getBytesLoaded() / 1000) >= ((_parent.getBytesTotal() / 1000) - nb)) {
_root.gotoAndPlay("start");
}
}
Frame 20
stop();
Frame 30
gotoAndPlay (58);
Frame 31
action = "R";
nomdujeu = "spike";
mode = "normal";
loadVariablesNum ((/:pathGame add "score.php?") add getTimer(), 0, "POST");
Set("/:action", "R");
Set("/:thePathGame", "http://www.delta-development.fr/spike/");
_root.nomdujeu = "spike";
Set("/:mode", "normal");
loadVariablesNum ((/:thePathGame add "score.php?") add getTimer(), 0, "POST");
Frame 36
if (/:modeBLOC != 1) {
gotoAndPlay (32);
}
Frame 58
play();
Frame 63
Set("/:NbrLife", 5);
Set("/:bScrollDif", false);
play();
Frame 64
Set("/:developpement", 0);
play();
Frame 65
function DefaultKey() {
Set("/:player1Up", 38);
Set("/:player1Left", 37);
Set("/:player1Down", 40);
Set("/:player1Right", 39);
Set("/:player1Shoot", 17);
Set("/:player2Up", 82);
Set("/:player2Left", 68);
Set("/:player2Down", 70);
Set("/:player2Right", 71);
Set("/:player2Shoot", 32);
Set("/:player3Up", 73);
Set("/:player3Left", 74);
Set("/:player3Down", 75);
Set("/:player3Right", 76);
Set("/:player3Shoot", 77);
}
Set("/:visu", "1");
DefaultKey();
function effet(qui, RR, VV, BB, ALPHA) {
myColor = new Color(qui);
myColor.setTransform({ra:"100", ga:"100", ba:"100", rb:RR, gb:VV, bb:BB, aa:ALPHA, ab:0});
}
function EraseZindex() {
long = /:ZindexInPlace.length;
a = 0;
while (long >= a) {
removeMovieClip(/:ZindexInPlace[a]);
a++;
}
Set("/:ZindexInPlace", []);
}
function Duplique(qui, nouvo, lindex) {
duplicateMovieClip (qui, nouvo, lindex);
/:ZindexInPlace.push(nouvo);
setProperty(qui, _visible , "0");
}
function leZindex(qui, ou) {
setProperty("qui", _x , 100);
eval (qui).swapDepths(ou);
}
Set("/:marcheD", 0);
Set("/:marcheG", 0);
_focusrect = false;
if (/:CdRom == false) {
}
Set("/:NbrVieDep", 10);
Set("/:NbrVie", /:NbrVieDep);
Set("/:iPtsTotal", 0);
Set("/:ZindexInPlace", new Array());
Frame 66
Set("/:chemin", 3);
Set("/:valid1", 0);
Set("/:valid2", 0);
Set("/:valid3", 0);
Set("/:valid4", 0);
Set("/:valid5", 0);
Set("/:valid6", 0);
Set("/:valid7", 0);
Set("/:valid8", 0);
Set("/:valid9", 0);
Set("/:valid10", 0);
Set("/:valid11", 0);
Set("/:valid12", 0);
Set("/:valid13", 0);
Set("/:valid14", 0);
Set("/:valid15", 0);
Set("/:valid16", 0);
Set("/:valid17", 0);
Set("/:valid18", 0);
Set("/:valid19", 0);
Set("/:valid20", 0);
Set("/:enfant", 0);
Set("/:enfantATrouver", 75);
Set("/:LVL", "1");
Set("/:aPerso", new Array());
level = 1;
while (level < 20) {
/:aPerso[level] = new Array();
i = 1;
while (4 >= i) {
/:aPerso[level][i] = "no";
i++;
}
level++;
}
stop();
Frame 71
function convertvisu(qui, check) {
error = 0;
if (check) {
longeur = /:LesTouches.length;
a = 0;
while (a < longeur) {
if (Number(eval (/:LesTouches[a])) == qui) {
return(false);
}
a++;
}
}
valeur = "";
if (qui == 97) {
valeur = "1";
}
if (qui == 98) {
valeur = "2";
}
if (qui == 99) {
valeur = "3";
}
if (qui == 100) {
valeur = "4";
}
if (qui == 101) {
valeur = "5";
}
if (qui == 102) {
valeur = "6";
}
if (qui == 103) {
valeur = "7";
}
if (qui == 104) {
valeur = "8";
}
if (qui == 105) {
valeur = "9";
}
if (qui == 111) {
valeur = "/";
}
if (qui == 106) {
valeur = "*";
}
if (qui == 109) {
valeur = " -";
}
if (qui == 107) {
valeur = "+";
}
if (qui == 110) {
valeur = ".";
}
if (qui == 32) {
valeur = "Space";
}
if (qui == 16) {
valeur = "Shift";
}
if (qui == 17) {
valeur = "Ctrl";
}
if (qui == 112) {
valeur = "F1";
}
if (qui == 113) {
valeur = "F2";
}
if (qui == 114) {
valeur = "F3";
}
if (qui == 115) {
valeur = "F4";
}
if (qui == 116) {
valeur = "F5";
}
if (qui == 117) {
valeur = "F6";
}
if (qui == 118) {
valeur = "F7";
}
if (qui == 119) {
valeur = "F8";
}
if (qui == 120) {
valeur = "F9";
}
if (qui == 121) {
valeur = "F10";
}
if (qui == 122) {
valeur = "F11";
}
if (qui == 123) {
valeur = "F12";
}
if (qui == 37) {
valeur = "Left";
}
if (qui == 38) {
valeur = "Up";
}
if (qui == 39) {
valeur = "Right";
}
if (qui == 40) {
valeur = "Down";
}
if (((qui != 108) || (qui != 13)) && (valeur == "")) {
valeur = chr(qui);
}
if (qui == 96) {
valeur = 0;
}
if (valeur != "") {
return(valeur);
}
Set("/:msgErreur", "");
}
Set("/:LesTouches", new Array());
Frame 72
stop();
Instance of Symbol 103 MovieClip in Frame 72
onClipEvent (load) {
ThePlayer = 1;
QuelleAction = "Up";
}
Instance of Symbol 104 MovieClip in Frame 72
onClipEvent (load) {
ThePlayer = 1;
QuelleAction = "Left";
}
Instance of Symbol 105 MovieClip in Frame 72
onClipEvent (load) {
ThePlayer = 1;
QuelleAction = "Right";
}
Instance of Symbol 106 MovieClip "shoot" in Frame 72
onClipEvent (load) {
ThePlayer = 1;
QuelleAction = "Shoot";
}
Instance of Symbol 205 MovieClip in Frame 91
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 240 MovieClip in Frame 96
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 311 MovieClip in Frame 106
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 323 MovieClip in Frame 107
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 334 MovieClip in Frame 108
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 373 MovieClip in Frame 117
onClipEvent (load) {
speedy = -5;
}
Frame 136
if (/:valid20 == 1) {
gotoAndPlay (273);
}
if (dev == 1) {
i = 1;
while (i < 20) {
Set("/:valid" + i, 1);
i++;
}
}
Frame 137
if (((/:valid1 == 1) && (valid2 == 1)) && (valid3 == 1)) {
Set("/:chemin", 4);
if (/:valid4 == 1) {
Set("/:chemin", 7);
if (((/:valid5 == 1) && (valid6 == 1)) && (valid7 == 1)) {
Set("/:chemin", 8);
if (/:valid8 == 1) {
Set("/:chemin", 11);
if (((/:valid9 == 1) && (valid10 == 1)) && (valid11 == 1)) {
Set("/:chemin", 12);
if (/:valid12 == 1) {
Set("/:chemin", 15);
if (((/:valid13 == 1) && (valid14 == 1)) && (valid15 == 1)) {
Set("/:chemin", 16);
if (/:valid16 == 1) {
Set("/:chemin", 19);
if (((/:valid17 == 1) && (valid18 == 1)) && (valid19 == 1)) {
Set("/:chemin", 20);
}
}
}
}
}
}
}
}
}
tellTarget ("chemin") {
gotoAndStop(/:chemin);
};
if ((/:bloc2 == "1") and (/:LVL != "1")) {
tellTarget ("animcarte") {
gotoAndStop("lvl" + /:LVL);
};
tellTarget ("animcarte") {
gotoAndStop(_currentframe - 1);
};
} else if (/:LVL == "1") {
tellTarget ("animcarte") {
gotoAndStop (1);
};
}
Set("/:bloc2", "1");
Set("/:ChangeLevel", 0);
Set("/:GamePause", 0);
Set("/:iMeurt", 0);
_quality = "HIGH";
Set("/:iForce", 10);
Frame 138
if (Key.isDown(/:player1Shoot) or Key.isDown(13)) {
if ((/:LVL == "B5") && (/:enfant < /:enfantATrouver)) {
} else {
go = "LVL" add /:LVL;
if (/:bloc != 1) {
gotoAndStop(go);
}
}
}
Frame 139
gotoAndPlay (138);
Frame 160
Set("/:NbGrosMonstre", 0);
Set("/:energieTotal", 0);
Set("/:bonusok", "");
Frame 182
Set("/:NbGrosMonstre", 0);
Set("/:energieTotal", 0);
Set("/:bonusok", "");
Frame 204
Set("/:NbGrosMonstre", 0);
Set("/:energieTotal", 0);
Set("/:bonusok", "");
Frame 229
Set("/:NbGrosMonstre", 0);
Set("/:energieTotal", 0);
Set("/:bonusok", "");
Frame 253
Set("/:NbGrosMonstre", 0);
Set("/:energieTotal", 0);
Set("/:bonusok", "");
Frame 264
_highquality = 1;
startvbl = getTimer();
Frame 269
if (getTimer() < (startvbl + 2000)) {
gotoAndPlay (268);
} else {
Set("/:theMax", /:iPtsTotal);
if (/:minimum < /:theMax) {
gotoAndPlay (1);
} else {
gotoAndPlay (1);
}
}
Frame 273
_highquality = 1;
startvbl = getTimer();
Set("/:Zindex", 1270);
a = 0;
while (a < 20) {
/:Zindex++;
duplicateMovieClip ("covo", "co" + /:Zindex, /:Zindex);
Set(("_root.co" + /:Zindex) + "._visible", true);
a++;
}
stopAllSounds();
stop();
Instance of Symbol 1138 MovieClip in Frame 273
onClipEvent (enterFrame) {
if (12 < ((getTimer() - startvbl) / 1000)) {
_root.gotoAndPlay("credit");
}
}
Frame 287
_quality = "MEDIUM";
Frame 329
stop();
Frame 334
_quality = "MEDIUM";
Frame 376
stop();
Symbol 43 MovieClip Frame 1
num = int(random(10000000));
Symbol 43 MovieClip Frame 2
prevFrame();
play();
Symbol 44 MovieClip Frame 1
count = 0;
while (count < 8) {
count++;
duplicateMovieClip ("Vertex", "Vertex" add count, count);
}
setProperty("Vertex", _visible , 0);
setProperty("Line", _visible , 0);
CenterRotationX = 0;
CenterRotationY = 0;
z1 = 50;
x1 = -50;
y1 = -50;
z2 = 50;
x2 = 50;
y2 = -50;
z3 = -50;
x3 = -50;
y3 = -50;
z4 = -50;
x4 = 50;
y4 = -50;
z5 = 50;
x5 = -50;
y5 = 50;
z6 = 50;
x6 = 50;
y6 = 50;
z7 = -50;
x7 = -50;
y7 = 50;
z8 = -50;
x8 = 50;
y8 = 50;
Symbol 44 MovieClip Frame 2
call("Mousetracking");
call("Calc3d");
Symbol 44 MovieClip Frame 3
prevFrame();
play();
Symbol 44 MovieClip Frame 4
DifferenceX = _xmouse - TrailerX;
DifferenceY = _ymouse - TrailerY;
TrailerX = TrailerX + (DifferenceX / 30);
TrailerY = TrailerY + (DifferenceY / 20);
if (0 < TrailerX) {
addX = int(TrailerX / 360) * -360;
} else {
addX = (int(TrailerX / 360) - 1) * -360;
}
if (0 < TrailerY) {
addY = int(TrailerY / 360) * -360;
} else {
addY = (int(TrailerY / 360) - 1) * -360;
}
Yangle = TrailerX + addX;
Xangle = TrailerY + addY;
Symbol 44 MovieClip Frame 5
c = 0;
while (c < 8) {
c++;
Xang = Xangle * (Math.PI/180);
Yang = Yangle * (Math.PI/180);
this["zpos" + c] = (this["z" + c] * math.cos(Yang)) - (this["x" + c] * math.sin(Yang));
this["xpos" + c] = (this["z" + c] * math.sin(Yang)) + (this["x" + c] * math.cos(Yang));
this["ypos" + c] = (this["y" + c] * math.cos(Xang)) - (this["zpos" + c] * math.sin(Xang));
this["zpos" + c] = (this["y" + c] * math.sin(Xang)) + (this["zpos" + c] * math.cos(Xang));
this["Depth" + c] = 1 / ((this["zpos" + c] / perspective) + 1);
this["Vertex" + c]._x = (this["xpos" + c] * this["Depth" + c]) + CenterRotationX;
this["Vertex" + c]._y = (this["ypos" + c] * this["Depth" + c]) + CenterRotationY;
this["Vertex" + c]._xscale = (this["Vertex" + c]._yscale = (this["Depth" + c] / 2) * 500);
this["Vertex" + c]._alpha = (this["Depth" + c] * 200) - 130;
this["Vertex" + c]._rotation = ((this["Depth" + c] * 1000) * (Math.PI/180)) + 300;
this["Vertex" + c].swapDepths(this["Depth" + c] * 500);
}
Symbol 64 Button
on (release) {
getURL ("http://www.delta-development.fr");
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 2
stop();
Symbol 73 Button
on (release) {
gotoAndPlay (334);
}
Symbol 75 Button
on (release) {
Set("/:bloc2", "1");
Set("/:ChangeLevel", 0);
Set("/:GamePause", 0);
Set("/:iMeurt", 0);
_quality = "LOW";
Set("/:iForce", 10);
Set("/:LVL", 1);
Set("/:monde", "FLOREA");
Set("/:etape", "étape 1");
Set("/:bloc", 0);
gotoAndPlay (136);
}
Symbol 77 Button
on (release) {
gotoAndPlay (71);
}
Symbol 79 Button
on (release) {
gotoAndStop (76);
}
Symbol 81 Button
on (release) {
gotoAndPlay (31);
}
Symbol 83 Button
on (release) {
savedata = SharedObject.getLocal("savedata");
i = 1;
while (i < 20) {
Set(eval ("/:valid" + i), "savedata.data.valid" + i);
i++;
}
Set("/:NbrLife", savedata.data.vie);
Set("/:enfant", savedata.data.enfants);
Set("/:iPtsTotal", savedata.data.score);
Set("/:bloc2", "1");
Set("/:ChangeLevel", 0);
Set("/:GamePause", 0);
Set("/:iMeurt", 0);
Set("/:iForce", 10);
Set("/:bloc", 0);
if (1 < /:enfant) {
_quality = "LOW";
gotoAndPlay (136);
}
}
Symbol 91 Button
on (release) {
DefaultKey();
gotoAndPlay (71);
}
Symbol 93 Button
on (release) {
gotoAndStop (66);
}
Symbol 96 MovieClip Frame 12
gotoAndPlay (5);
Symbol 101 Button
on (rollOver) {
if (Modifie != 1) {
anime.gotoAndStop(2);
}
}
on (rollOut) {
if (Modifie != 1) {
anime.gotoAndStop(1);
}
}
on (release) {
if (/:ModifieQui != _name) {
Set("/:ModifieQui", _name);
}
if (Modifie == 1) {
Modifie = -1;
anime.gotoAndStop(2);
gotoAndPlay (5);
} else {
Modifie = 1;
clavier = "";
last = clavier;
anime.gotoAndPlay(2);
gotoAndPlay (5);
}
}
Symbol 103 MovieClip Frame 1
/:LesTouches.push(("/:Player" + ThePlayer) + QuelleAction);
Symbol 103 MovieClip Frame 2
Modifie = 0;
annule = 0;
visu = /:convertvisu(Number(eval (("/:Player" + ThePlayer) + QuelleAction)));
if (_name == "shoot") {
Set("/:visu", visu);
}
anime.gotoAndStop(1);
stop();
Symbol 103 MovieClip Frame 5
clavier = Key.getCode();
visukey = clavier;
if ((last != clavier) && (last != "")) {
checker = /:convertvisu(clavier, true);
if (checker != false) {
visu = checker;
modifie = 0;
}
}
last = clavier;
Symbol 103 MovieClip Frame 6
if (Modifie == 1) {
if (/:ModifieQui != _name) {
gotoAndStop (2);
} else {
gotoAndPlay (5);
}
} else {
if (Modifie != -1) {
Set(("/:Player" + ThePlayer) + QuelleAction, clavier);
}
Modifie = 0;
clavier = "";
last = clavier;
gotoAndStop (2);
}
Symbol 104 MovieClip Frame 1
/:LesTouches.push(("/:Player" + ThePlayer) + QuelleAction);
Symbol 104 MovieClip Frame 2
Modifie = 0;
annule = 0;
visu = /:convertvisu(Number(eval (("/:Player" + ThePlayer) + QuelleAction)));
if (_name == "shoot") {
Set("/:visu", visu);
}
anime.gotoAndStop(1);
stop();
Symbol 104 MovieClip Frame 5
clavier = Key.getCode();
visukey = clavier;
if ((last != clavier) && (last != "")) {
checker = /:convertvisu(clavier, true);
if (checker != false) {
visu = checker;
modifie = 0;
}
}
last = clavier;
Symbol 104 MovieClip Frame 6
if (Modifie == 1) {
if (/:ModifieQui != _name) {
gotoAndStop (2);
} else {
gotoAndPlay (5);
}
} else {
if (Modifie != -1) {
Set(("/:Player" + ThePlayer) + QuelleAction, clavier);
}
Modifie = 0;
clavier = "";
last = clavier;
gotoAndStop (2);
}
Symbol 105 MovieClip Frame 1
/:LesTouches.push(("/:Player" + ThePlayer) + QuelleAction);
Symbol 105 MovieClip Frame 2
Modifie = 0;
annule = 0;
visu = /:convertvisu(Number(eval (("/:Player" + ThePlayer) + QuelleAction)));
if (_name == "shoot") {
Set("/:visu", visu);
}
anime.gotoAndStop(1);
stop();
Symbol 105 MovieClip Frame 5
clavier = Key.getCode();
visukey = clavier;
if ((last != clavier) && (last != "")) {
checker = /:convertvisu(clavier, true);
if (checker != false) {
visu = checker;
modifie = 0;
}
}
last = clavier;
Symbol 105 MovieClip Frame 6
if (Modifie == 1) {
if (/:ModifieQui != _name) {
gotoAndStop (2);
} else {
gotoAndPlay (5);
}
} else {
if (Modifie != -1) {
Set(("/:Player" + ThePlayer) + QuelleAction, clavier);
}
Modifie = 0;
clavier = "";
last = clavier;
gotoAndStop (2);
}
Symbol 106 MovieClip Frame 1
/:LesTouches.push(("/:Player" + ThePlayer) + QuelleAction);
Symbol 106 MovieClip Frame 2
Modifie = 0;
annule = 0;
visu = /:convertvisu(Number(eval (("/:Player" + ThePlayer) + QuelleAction)));
if (_name == "shoot") {
Set("/:visu", visu);
}
anime.gotoAndStop(1);
stop();
Symbol 106 MovieClip Frame 5
clavier = Key.getCode();
visukey = clavier;
if ((last != clavier) && (last != "")) {
checker = /:convertvisu(clavier, true);
if (checker != false) {
visu = checker;
modifie = 0;
}
}
last = clavier;
Symbol 106 MovieClip Frame 6
if (Modifie == 1) {
if (/:ModifieQui != _name) {
gotoAndStop (2);
} else {
gotoAndPlay (5);
}
} else {
if (Modifie != -1) {
Set(("/:Player" + ThePlayer) + QuelleAction, clavier);
}
Modifie = 0;
clavier = "";
last = clavier;
gotoAndStop (2);
}
Symbol 134 Button
on (release) {
gotoAndPlay (66);
}
Symbol 137 Button
on (release) {
Set("/:bScrollDif", false);
gotoAndStop (2);
}
Symbol 140 Button
on (release) {
Set("/:bScrollDif", true);
gotoAndStop (1);
}
Symbol 141 MovieClip Frame 1
if (/:bScrollDif == true) {
gotoAndStop (1);
}
if (/:bScrollDif == false) {
gotoAndStop (2);
}
Symbol 141 MovieClip Frame 2
if (/:bScrollDif == true) {
gotoAndStop (1);
}
if (/:bScrollDif == false) {
gotoAndStop (2);
}
Symbol 144 Button
on (release) {
Set("/:difficult", "HIGH");
gotoAndStop (2);
}
Symbol 147 Button
on (release) {
Set("/:difficult", "LOW");
gotoAndStop (3);
}
Symbol 150 Button
on (release) {
Set("/:difficult", "MEDIUM");
gotoAndStop (1);
}
Symbol 151 MovieClip Frame 1
if (/:difficult == "LOW") {
Set("/:NbrLife", 5);
gotoAndStop (3);
}
if (/:difficult == "MEDIUM") {
Set("/:NbrLife", 4);
gotoAndStop (1);
}
if (/:difficult == "HIGH") {
Set("/:NbrLife", 3);
gotoAndStop (2);
}
stop();
Symbol 151 MovieClip Frame 2
if (/:difficult == "LOW") {
Set("/:NbrLife", 5);
gotoAndStop (3);
}
if (/:difficult == "MEDIUM") {
Set("/:NbrLife", 4);
gotoAndStop (1);
}
if (/:difficult == "HIGH") {
Set("/:NbrLife", 3);
gotoAndStop (2);
}
stop();
Symbol 151 MovieClip Frame 3
if (/:difficult == "LOW") {
Set("/:NbrLife", 5);
gotoAndStop (3);
}
if (/:difficult == "MEDIUM") {
Set("/:NbrLife", 4);
gotoAndStop (1);
}
if (/:difficult == "HIGH") {
Set("/:NbrLife", 3);
gotoAndStop (2);
}
stop();
Symbol 157 Button
on (release) {
fscommand ("showmenu", "true");
}
Symbol 161 MovieClip Frame 1
Set("../../../:tir", 0);
Symbol 161 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 14
gotoAndPlay (1);
Symbol 172 MovieClip Frame 1
Set("../../../:tir", 0);
Symbol 172 MovieClip Frame 20
gotoAndPlay (1);
Symbol 172 MovieClip Frame 35
gotoAndPlay (1);
Symbol 175 MovieClip Frame 1
Set("../../../:tir", 0);
Symbol 175 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 14
gotoAndPlay (1);
Symbol 191 MovieClip Frame 15
gotoAndPlay (3);
Symbol 191 MovieClip Frame 27
Set("/:ToucheHero", 3);
Symbol 191 MovieClip Frame 32
Set("../../:tir", 0);
Set("../../:marcheSens", 0);
Set("/:ToucheHero", -1);
gotoAndStop (1);
Symbol 191 MovieClip Frame 48
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 10
gotoAndPlay (2);
Symbol 196 MovieClip Frame 1
function scroll() {
if ((250 + /:MargeG) < (px + /:pxScroll)) {
Putscroll = 1;
vbl = 0;
Set("/:pxScroll", /:pxScroll - decalagescroll);
setProperty("/scrolling", _x , /:pxScroll);
if (/:bScrollDif) {
pxScrolFond--;
if (pxScrolFond < -500) {
pxScrolFond = pxScrolFond + 500;
}
pxScrolFond2 = pxScrolFond2 - 0.5;
if (pxScrolFond2 < -500) {
pxScrolFond2 = pxScrolFond2 + 500;
}
setProperty("/fond", _x , pxScrolFond);
setProperty("/ciel", _x , pxScrolFond2);
}
} else if ((px + /:pxScroll) < (200 + /:MargeG)) {
if (/:pxScroll < /:MargeG) {
Putscroll = 1;
vbl = 0;
Set("/:pxScroll", /:pxScroll + decalagescroll);
setProperty("/scrolling", _x , /:pxScroll);
if (/:bScrollDif) {
pxScrolFond++;
if (0 < pxScrolFond) {
pxScrolFond = -500 + pxScrolFond;
}
pxScrolFond2 = pxScrolFond2 + 0.5;
if (0 < pxScrolFond2) {
pxScrolFond2 = -500 + pxScrolFond2;
}
setProperty("/fond", _x , pxScrolFond);
setProperty("/ciel", _x , pxScrolFond2);
}
}
}
if ((py + /:pyScroll) < (150 + /:MargeH)) {
Putscroll = 1;
vbl = 0;
Set("/:pyScroll", /:pyScroll + decalagescroll);
setProperty("/scrolling", _y , /:pyScroll);
} else if ((200 + /:MargeH) < (py + /:pyScroll)) {
Putscroll = 1;
vbl = 0;
test = (200 + /:MargeH) - (py + /:pyScroll);
Set("/:pyScroll", /:pyScroll - (decalagescroll - test));
setProperty("/scrolling", _y , /:pyScroll);
}
}
function fCode() {
if (/:iLastBonusExtra != /:iBonusExtra) {
if (/:iBonusExtra == 3) {
_xscale = 200;
_yscale = 200;
maximumSaut = 8;
}
if (/:iBonusExtra == 2) {
_xscale = 75;
_yscale = 75;
maximumSaut = 4;
}
if (/:iBonusExtra == 1) {
_xscale = 100;
_yscale = 100;
maximumSaut = 6.5;
}
}
Set("/:iLastBonusExtra", /:iBonusExtra);
Shoot = 0;
Haut = 0;
Bas = 0;
Droite = 0;
Gauche = 0;
if (0 >= /:ToucheHero) {
Haut = Key.isDown(eval (("/:" + player) + "Up"));
Gauche = Key.isDown(eval (("/:" + player) + "Left"));
Droite = Key.isDown(eval (("/:" + player) + "Right"));
Bas = Key.isDown(eval (("/:" + player) + "Down"));
Shoot = Key.isDown(eval (("/:" + player) + "Shoot"));
}
scroll();
if (Shoot && (tir != 1)) {
marche.marche.tire.gotoAndPlay("tir");
tir = 1;
}
if ((saute == 1) || ((sol == 0) && (saute != 1))) {
tombe = 0.2;
speedy = speedy + tombe;
if ((lastspeedy < 0) && (0 < speedy)) {
speedy = 5;
}
lastspeedy = speedy;
}
if (speedy < 3) {
speedy = speedy + 0.05;
}
if (30 < speedy) {
speedy = 30;
}
if (speedx < 0) {
calagex = -14;
}
if (0 < speedx) {
calagex = 14;
}
if (saute == 1) {
if (3 < speedx) {
speedx = speedx - 1;
}
if (speedx < -3) {
speedx = speedx + 1;
}
}
if (Gauche) {
speedx = speedx - 0.5;
} else if (Droite) {
speedx = speedx + 0.5;
} else {
if (speedx < 0) {
speedx = speedx + /:SpeedUp;
if (0 < speedx) {
speedx = 0;
}
}
if (0 < speedx) {
speedx = speedx - /:SpeedUp;
if (speedx < 0) {
speedx = 0;
}
}
}
if (0 >= /:ToucheHero) {
if ((Haut && (saute != 1)) && (sol == 1)) {
sol = 0;
saute = 1;
_root.son.gotoAndPlay("saute");
marche.marche.gotoAndStop("saute");
speedy = -maximumSaut;
}
}
if (speedx < -4) {
speedx = -4;
}
if (speedy < -4) {
}
if (4 < speedx) {
speedx = 4;
}
if (((4 < speedy) && (saute == 0)) && (sol == 1)) {
speedy = 4;
}
if (15 < speedy) {
speedy = 15;
}
py = py + speedy;
if (0 < speedy) {
murs("y", 0, 0);
} else {
lastImpactY = _root.scrolling.mur.hitTest(pX + /:pxScroll, pY + /:pyScroll, true);
}
px = px + speedx;
murs("x", 0, 0);
if (px < 20) {
px = 20;
}
Set("/:pXHeroes", px);
Set("/:pYHeroes", py);
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if (0 >= /:ToucheHero) {
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
marche.marche.gotoAndPlay(1);
marche.gotoAndStop(1);
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
marche.marche.gotoAndPlay(1);
marche.gotoAndStop(2);
}
if ((marcheSens != 0) && (speedx == 0)) {
marcheSens = 0;
marche.marche.gotoAndStop(1);
}
} else if (/:ToucheHero == 1) {
Set("/:ToucheHero", 2);
speedx = -speedx;
_root.effet(this, 255, 255, 255, 100);
marche.marche.gotoAndPlay("touche");
if (/:iMeurt == 0) {
/:NbrVie--;
if (/:NbrVie < 0) {
/:NbrLife--;
fInit();
_root.intro.gotoAndPlay("dead");
}
fVisuVie();
}
} else if (/:ToucheHero == 3) {
Set("/:ToucheHero", 4);
etoile.gotoAndPlay(2);
_root.effet(this, 0, 0, 0, 100);
}
if (/:ToucheHero == -1) {
vblTouche++;
if (20 < vblTouche) {
vblTouche = 0;
etoile.gotoAndStop(1);
Set("/:ToucheHero", 0);
}
}
if (200 < py) {
/:NbrLife--;
fInit();
fVisuVie();
_root.intro.gotoAndPlay("dead");
}
}
zone._visible = 0;
arret = 0;
speedx = 0;
speedy = 0;
px = _x;
py = _y;
pxScrolFond = 0;
decalagescroll = 4;
Set("/:MargeG", 30);
Set("/:MargeH", 20);
Set("/:pxScroll", /:MargeG);
setProperty("/scrolling", _x , /:pxScroll);
Set("/:pyScroll", getProperty("/scrolling", _y));
Set("/:iCheckX", px);
Set("/:iCheckY", py - 10);
Set("/:iCheckXScroll", /:pxScroll);
Set("/:iCheckYScroll", /:pyScroll);
Set("/:ToucheHero", 0);
maximumSaut = 6.5;
player = "player1";
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function fVisuVie() {
if (/:difficult == "HIGH") {
totalvie = 3;
} else if (/:difficult == "MEDIUM") {
totalvie = 4;
} else if (/:difficult == "LOW") {
totalvie = 5;
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
_root.life.gotoAndStop(totalvie - (/:NbrLife - 1));
}
function fInit() {
Set("/:iMeurt", 1);
speedx = 0;
speedy = 0;
px = /:iCheckX;
py = /:iCheckY;
_x = px;
_y = py;
Set("/:pxScroll", /:iCheckXScroll);
Set("/:pyScroll", /:iCheckYScroll);
setProperty("/scrolling", _x , /:iCheckXScroll);
setProperty("/scrolling", _y , /:iCheckYScroll);
Set("/:ToucheHero", 0);
Set("/:iBonusExtra", 1);
Set("/:NbrVie", /:NbrVieDep);
_root.effet(this, 0, 0, 0, 100);
}
marcheSens = 2;
marche.marche.gotoAndStop(1);
marche.gotoAndStop(1);
Symbol 196 MovieClip Frame 4
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
Symbol 196 MovieClip Frame 5
gotoAndPlay (4);
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
Symbol 205 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 205 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 205 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 205 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 205 MovieClip Frame 9
gotoAndPlay (6);
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 10
Set("../../:sauteMonstre", 0);
Symbol 240 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 240 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 240 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 240 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 240 MovieClip Frame 9
gotoAndPlay (6);
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 14
gotoAndStop (1);
Symbol 260 MovieClip Frame 21
gotoAndStop (1);
Symbol 260 MovieClip Frame 31
gotoAndStop (1);
Symbol 260 MovieClip Frame 40
gotoAndStop (1);
Symbol 260 MovieClip Frame 50
gotoAndStop (1);
Symbol 310 MovieClip Frame 1
if (visu == 5) {
gotoAndStop (2);
} else if (visu == 10) {
gotoAndStop (3);
} else if (visu == 15) {
gotoAndStop (4);
} else if (visu == 25) {
gotoAndStop (5);
} else if (visu == 50) {
gotoAndStop (6);
} else if (visu == 100) {
gotoAndStop (7);
} else if (visu == 150) {
gotoAndStop (8);
} else if (visu == 200) {
gotoAndStop (9);
} else {
stop();
}
Symbol 311 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 311 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 311 MovieClip Frame 7
gotoAndPlay (3);
Symbol 311 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 311 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 311 MovieClip Frame 12
stop();
Symbol 323 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 323 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 323 MovieClip Frame 7
gotoAndPlay (3);
Symbol 323 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 323 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 323 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 334 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 334 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 334 MovieClip Frame 7
gotoAndPlay (3);
Symbol 334 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 334 MovieClip Frame 39
stop();
Symbol 344 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (7);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
Symbol 344 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
fCode();
}
Symbol 344 MovieClip Frame 6
gotoAndPlay (2);
Symbol 344 MovieClip Frame 7
Set("/:iCheckX", px);
Set("/:iCheckY", py);
Set("/:iCheckXScroll", /:pxScroll);
Set("/:iCheckYScroll", /:pyScroll);
_root.son.gotoAndPlay("check");
Symbol 344 MovieClip Frame 19
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
function code() {
if (eval (cible).hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pyScroll, true) && (/:ToucheHero == 0)) {
_root.son.gotoAndPlay("ressort");
ressort.gotoAndPlay(2);
tellTarget (_root.scrolling.hero1) {
saute = 1;
marche.marche.gotoAndStop("saute");
speedy = this.speedy;
};
}
}
cible = _target;
px = _x;
py = _y;
Symbol 373 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 373 MovieClip Frame 3
gotoAndPlay (2);
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 385 Button
on (release) {
/:fSendScore();
getURL (/:URLSORTIE);
}
on (keyPress "*") {
if (/:developpement == 1) {
Set("/:valid1", 1);
Set("/:valid2", 1);
Set("/:valid3", 1);
Set("/:valid4", 1);
Set("/:valid5", 1);
Set("/:valid6", 1);
Set("/:valid7", 1);
Set("/:valid8", 1);
Set("/:valid9", 1);
Set("/:valid10", 1);
Set("/:valid11", 1);
Set("/:valid12", 1);
Set("/:valid13", 1);
Set("/:valid14", 1);
Set("/:valid15", 1);
Set("/:valid16", 1);
Set("/:valid17", 1);
Set("/:valid18", 1);
Set("/:valid19", 1);
Set("/:valid20", 1);
Set("/:chemin", 20);
}
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 409 Button
on (keyPress "<Right>") {
if (1 < /:chemin) {
gotoAndPlay (2);
}
}
Symbol 424 Button
on (keyPress "<Right>") {
if (2 < /:chemin) {
gotoAndPlay (12);
}
}
on (keyPress "<Left>") {
gotoAndPlay (382);
}
Symbol 426 Button
on (keyPress "<Right>") {
if (3 < /:chemin) {
gotoAndPlay (22);
}
}
on (keyPress "<Left>") {
gotoAndPlay (372);
}
Symbol 427 Button
on (keyPress "<Right>") {
if (4 < /:chemin) {
gotoAndPlay (32);
}
}
on (keyPress "<Left>") {
gotoAndPlay (362);
}
Symbol 429 Button
on (keyPress "<Right>") {
if (5 < /:chemin) {
gotoAndPlay (42);
}
}
on (keyPress "<Left>") {
gotoAndPlay (352);
}
Symbol 431 Button
on (keyPress "<Left>") {
gotoAndPlay (342);
}
on (keyPress "<Right>") {
if (6 < /:chemin) {
gotoAndPlay (52);
}
}
Symbol 433 Button
on (keyPress "<Right>") {
gotoAndPlay (332);
}
on (keyPress "<Left>") {
if (7 < /:chemin) {
gotoAndPlay (62);
}
}
Symbol 435 Button
on (keyPress "<Right>") {
gotoAndPlay (322);
}
on (keyPress "<Left>") {
if (8 < /:chemin) {
gotoAndPlay (72);
}
}
Symbol 437 Button
on (keyPress "<Right>") {
gotoAndPlay (312);
}
on (keyPress "<Left>") {
if (9 < /:chemin) {
gotoAndPlay (82);
}
}
Symbol 439 Button
on (keyPress "<Right>") {
gotoAndPlay (302);
}
on (keyPress "<Left>") {
if (10 < /:chemin) {
gotoAndPlay (92);
}
}
Symbol 440 Button
on (keyPress "<Right>") {
gotoAndPlay (292);
}
on (keyPress "<Left>") {
if (11 < /:chemin) {
gotoAndPlay (102);
}
}
Symbol 442 Button
on (keyPress "<Right>") {
gotoAndPlay (282);
}
on (keyPress "<Left>") {
if (12 < /:chemin) {
gotoAndPlay (112);
}
}
Symbol 444 Button
on (keyPress "<Right>") {
if (13 < /:chemin) {
gotoAndPlay (122);
}
}
on (keyPress "<Left>") {
gotoAndPlay (272);
}
Symbol 446 Button
on (keyPress "<Right>") {
if (14 < /:chemin) {
gotoAndPlay (132);
}
}
on (keyPress "<Left>") {
gotoAndPlay (262);
}
Symbol 448 Button
on (keyPress "<Right>") {
if (15 < /:chemin) {
gotoAndPlay (142);
}
}
on (keyPress "<Left>") {
gotoAndPlay (252);
}
Symbol 449 Button
on (keyPress "<Right>") {
if (16 < /:chemin) {
gotoAndPlay (152);
}
}
on (keyPress "<Left>") {
gotoAndPlay (242);
}
Symbol 451 Button
on (keyPress "<Right>") {
if (7 < /:chemin) {
gotoAndPlay (162);
}
}
on (keyPress "<Left>") {
gotoAndPlay (232);
}
Symbol 452 Button
on (keyPress "<Right>") {
if (18 < /:chemin) {
gotoAndPlay (172);
}
}
on (keyPress "<Left>") {
gotoAndPlay (222);
}
Symbol 454 Button
on (keyPress "<Left>") {
gotoAndPlay (212);
}
on (keyPress "<Right>") {
if (19 < /:chemin) {
gotoAndPlay (182);
}
}
Symbol 455 Button
on (keyPress "<Left>") {
gotoAndPlay (202);
}
Symbol 468 MovieClip Frame 2
stop();
Symbol 469 Button
on (keyPress "<Left>") {
gotoAndPlay (182);
}
on (keyPress "<Right>") {
gotoAndPlay (212);
}
Symbol 470 Button
on (keyPress "<Right>") {
gotoAndPlay (172);
}
on (keyPress "<Left>") {
gotoAndPlay (222);
}
Symbol 471 Button
on (keyPress "<Right>") {
gotoAndPlay (162);
}
on (keyPress "<Left>") {
gotoAndPlay (232);
}
Symbol 472 Button
on (keyPress "<Right>") {
gotoAndPlay (152);
}
on (keyPress "<Left>") {
gotoAndPlay (242);
}
Symbol 473 Button
on (keyPress "<Right>") {
gotoAndPlay (142);
}
on (keyPress "<Left>") {
gotoAndPlay (252);
}
Symbol 474 Button
on (keyPress "<Right>") {
gotoAndPlay (132);
}
on (keyPress "<Left>") {
gotoAndPlay (262);
}
Symbol 475 Button
on (keyPress "<Right>") {
gotoAndPlay (272);
}
on (keyPress "<Left>") {
gotoAndPlay (122);
}
Symbol 476 Button
on (keyPress "<Right>") {
gotoAndPlay (282);
}
on (keyPress "<Left>") {
gotoAndPlay (112);
}
Symbol 477 Button
on (keyPress "<Right>") {
gotoAndPlay (292);
}
on (keyPress "<Left>") {
gotoAndPlay (102);
}
Symbol 478 Button
on (keyPress "<Right>") {
gotoAndPlay (302);
}
on (keyPress "<Left>") {
gotoAndPlay (92);
}
Symbol 479 Button
on (keyPress "<Right>") {
gotoAndPlay (312);
}
on (keyPress "<Left>") {
gotoAndPlay (82);
}
Symbol 480 Button
on (keyPress "<Right>") {
gotoAndPlay (322);
}
on (keyPress "<Left>") {
gotoAndPlay (72);
}
Symbol 481 Button
on (keyPress "<Right>") {
gotoAndPlay (332);
}
on (keyPress "<Left>") {
gotoAndPlay (62);
}
Symbol 482 Button
on (keyPress "<Right>") {
gotoAndPlay (52);
}
on (keyPress "<Left>") {
gotoAndPlay (342);
}
Symbol 483 Button
on (keyPress "<Right>") {
gotoAndPlay (42);
}
on (keyPress "<Left>") {
gotoAndPlay (352);
}
Symbol 484 Button
on (keyPress "<Right>") {
gotoAndPlay (32);
}
on (keyPress "<Left>") {
gotoAndPlay (362);
}
Symbol 485 Button
on (keyPress "<Right>") {
gotoAndPlay (22);
}
on (keyPress "<Left>") {
gotoAndPlay (372);
}
Symbol 486 Button
on (keyPress "<Right>") {
gotoAndPlay (12);
}
on (keyPress "<Left>") {
gotoAndPlay (382);
}
Symbol 487 MovieClip Frame 1
Set("/:LVL", 1);
Set("/:monde", "FLOREA");
Set("/:etape", "étape 1");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 2
Set("/:monde", "FLOREA");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 11
Set("/:LVL", 2);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 12
Set("/:monde", "FLOREA");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 21
Set("/:LVL", 3);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 22
Set("/:monde", "FLOREA");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 31
Set("/:LVL", "B1");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 32
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 41
Set("/:LVL", 4);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 42
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 51
Set("/:LVL", 5);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 52
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 61
Set("/:LVL", 6);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 62
Set("/:monde", "BLIZARIS");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 71
Set("/:LVL", "B2");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 72
Set("/:monde", "AQUAE");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 81
Set("/:LVL", 7);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 82
Set("/:monde", "AQUAE");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 91
Set("/:LVL", 8);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 92
Set("/:monde", "AQUAE");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 101
Set("/:LVL", 9);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 102
Set("/:monde", "AQUAE");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 111
Set("/:LVL", "B3");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 112
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 121
Set("/:LVL", 10);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 122
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 131
Set("/:LVL", 11);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 132
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 141
Set("/:LVL", 12);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 142
Set("/:monde", "SOLARIS");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 151
Set("/:LVL", "B4");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 152
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 161
Set("/:LVL", 13);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 162
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 171
Set("/:LVL", 14);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 172
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 181
Set("/:LVL", 15);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 182
Set("/:monde", "VULCANOR");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 191
if (/:enfant >= /:enfantATrouver) {
_root.animcarte.tetemsg.gotoAndStop(2);
Set("/:sMsgBoss", "");
} else {
_root.animcarte.tetemsg.gotoAndStop(1);
Set("/:sMsgBoss", ("Tu oses te présenter à moi, alors que " + (/:enfantATrouver - /:enfant)) + " enfant(s) sont encore perdu dans les mondes ! HA HA HA ! Reviens donc me voir plus tard !");
}
Set("/:LVL", "B5");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 202
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 211
Set("/:LVL", 15);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 212
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 221
Set("/:LVL", 14);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 222
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 231
Set("/:LVL", 13);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 232
Set("/:monde", "SOLARIS");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 241
Set("/:LVL", "B4");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 242
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 251
Set("/:LVL", 12);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 252
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 261
Set("/:LVL", 11);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 262
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 271
Set("/:LVL", 10);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 272
Set("/:monde", "AQUAE");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 281
Set("/:LVL", "B3");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 282
Set("/:monde", "AQUAE");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 291
Set("/:LVL", 9);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 292
Set("/:monde", "AQUAE");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 301
Set("/:LVL", 8);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 302
Set("/:monde", "AQUAE");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 311
Set("/:LVL", 7);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 312
Set("/:monde", "BLIZARIS");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 321
Set("/:LVL", "B2");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 322
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 331
Set("/:LVL", 6);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 332
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 341
Set("/:LVL", 5);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 342
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 351
Set("/:LVL", 4);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 352
Set("/:monde", "FLOREA");
Set("/:etape", "BOSS");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 361
Set("/:LVL", "B1");
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 362
Set("/:monde", "FLOREA");
Set("/:etape", "étape 3");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 371
Set("/:LVL", 3);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 372
Set("/:monde", "FLOREA");
Set("/:etape", "étape 2");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 381
Set("/:LVL", 2);
Set("/:bloc", 0);
stop();
Symbol 487 MovieClip Frame 382
Set("/:monde", "FLOREA");
Set("/:etape", "étape 1");
Set("/:bloc", 1);
Symbol 487 MovieClip Frame 391
gotoAndPlay (1);
Symbol 491 Button
on (release, keyPress "<Enter>") {
if ((/:LVL == "B5") && (/:enfant < /:enfantATrouver)) {
} else {
go = "LVL" add /:LVL;
if (/:bloc != 1) {
gotoAndStop(go);
}
}
}
Symbol 508 MovieClip Frame 1
if (this.find == "ok") {
nom = _name;
nom = Number(substring(nom, 6, 2));
gotoAndStop(Number(nom + 2));
}
Symbol 508 MovieClip Frame 2
stop();
Symbol 509 MovieClip Frame 1
if (lastlevel != /:LVL) {
perso01.find = /:aPerso[/:LVL][1];
perso02.find = /:aPerso[/:LVL][2];
perso03.find = /:aPerso[/:LVL][3];
perso04.find = /:aPerso[/:LVL][4];
perso05.find = /:aPerso[/:LVL][5];
perso01.gotoAndPlay(1);
perso02.gotoAndPlay(1);
perso03.gotoAndPlay(1);
perso04.gotoAndPlay(1);
perso05.gotoAndPlay(1);
}
lastlevel = /:LVL;
if ((substring(/:LVL, 0, 1)) == "B") {
if (20 < alpha) {
alpha = alpha - 10;
_alpha = alpha;
}
} else if (alpha < 100) {
alpha = alpha + 10;
_alpha = alpha;
}
Symbol 540 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 540 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 540 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 540 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 540 MovieClip Frame 9
gotoAndPlay (6);
Symbol 541 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 541 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 541 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 541 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 541 MovieClip Frame 9
gotoAndPlay (6);
Symbol 542 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 542 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 542 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 542 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 542 MovieClip Frame 9
gotoAndPlay (6);
Symbol 543 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 543 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 543 MovieClip Frame 7
gotoAndPlay (3);
Symbol 543 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 543 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 543 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 544 MovieClip Frame 1
function code() {
if (eval (cible).hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pyScroll, true) && (/:ToucheHero == 0)) {
_root.son.gotoAndPlay("ressort");
ressort.gotoAndPlay(2);
tellTarget (_root.scrolling.hero1) {
saute = 1;
marche.marche.gotoAndStop("saute");
speedy = this.speedy;
};
}
}
cible = _target;
px = _x;
py = _y;
Symbol 544 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 544 MovieClip Frame 3
gotoAndPlay (2);
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 545 MovieClip Frame 1
function code() {
if (eval (cible).hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pyScroll, true) && (/:ToucheHero == 0)) {
_root.son.gotoAndPlay("ressort");
ressort.gotoAndPlay(2);
tellTarget (_root.scrolling.hero1) {
saute = 1;
marche.marche.gotoAndStop("saute");
speedy = this.speedy;
};
}
}
cible = _target;
px = _x;
py = _y;
Symbol 545 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 545 MovieClip Frame 3
gotoAndPlay (2);
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 546 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 546 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 546 MovieClip Frame 7
gotoAndPlay (3);
Symbol 546 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 546 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 546 MovieClip Frame 12
stop();
Symbol 547 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 547 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 547 MovieClip Frame 7
gotoAndPlay (3);
Symbol 547 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 547 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 547 MovieClip Frame 12
stop();
Symbol 548 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 548 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 548 MovieClip Frame 7
gotoAndPlay (3);
Symbol 548 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 548 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 548 MovieClip Frame 12
stop();
Symbol 549 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 549 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 549 MovieClip Frame 7
gotoAndPlay (3);
Symbol 549 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 549 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 549 MovieClip Frame 12
stop();
Symbol 551 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 551 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 551 MovieClip Frame 7
gotoAndPlay (3);
Symbol 551 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 551 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 551 MovieClip Frame 12
stop();
Symbol 553 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 553 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 553 MovieClip Frame 7
gotoAndPlay (3);
Symbol 553 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 553 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 553 MovieClip Frame 12
stop();
Symbol 556 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 556 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 556 MovieClip Frame 7
gotoAndPlay (3);
Symbol 556 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 556 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 556 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 557 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 557 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 557 MovieClip Frame 7
gotoAndPlay (3);
Symbol 557 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 557 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 557 MovieClip Frame 12
stop();
Symbol 558 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 558 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 558 MovieClip Frame 7
gotoAndPlay (3);
Symbol 558 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 558 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 558 MovieClip Frame 12
stop();
Symbol 559 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 559 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 559 MovieClip Frame 7
gotoAndPlay (3);
Symbol 559 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 559 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 559 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 560 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 560 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 560 MovieClip Frame 7
gotoAndPlay (3);
Symbol 560 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 560 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 560 MovieClip Frame 12
stop();
Symbol 561 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 561 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 561 MovieClip Frame 7
gotoAndPlay (3);
Symbol 561 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 561 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 561 MovieClip Frame 12
stop();
Symbol 564 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 564 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 564 MovieClip Frame 7
gotoAndPlay (3);
Symbol 564 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 564 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 564 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 565 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 565 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 565 MovieClip Frame 7
gotoAndPlay (3);
Symbol 565 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 565 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 565 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 566 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 566 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 566 MovieClip Frame 7
gotoAndPlay (3);
Symbol 566 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 566 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 566 MovieClip Frame 12
stop();
Symbol 577 MovieClip Frame 1
if ((visible != 1) || (visible != 0)) {
visible = 1;
}
Symbol 577 MovieClip Frame 2
if (hitTest(_root.scrolling.hero1) && (visible == 1)) {
Set("/:ChangeLevel", 1);
_root.scrolling.hero1._visible = 0;
if (_name == "lvl1") {
if (/:valid1 != 1) {
Set("/:LVL", 2);
Set("/:valid1", 1);
Set("/:monde", "FLOREA");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl2") {
if (/:valid2 != 1) {
Set("/:LVL", 3);
Set("/:valid2", 1);
Set("/:monde", "FLOREA");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl3") {
if (/:valid3 != 1) {
Set("/:valid3", 1);
Set("/:LVL", "B1");
Set("/:monde", "FLOREA");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte") {
if (/:valid4 != 1) {
Set("/:LVL", 4);
Set("/:valid4", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl4") {
if (/:valid5 != 1) {
Set("/:LVL", 5);
Set("/:valid5", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl5") {
if (/:valid6 != 1) {
Set("/:LVL", 6);
Set("/:valid6", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl6") {
if (/:valid7 != 1) {
Set("/:LVL", "B2");
Set("/:valid7", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte2") {
if (/:valid8 != 1) {
Set("/:valid8", 1);
Set("/:LVL", 7);
Set("/:monde", "AQUAE");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl7") {
if (/:valid9 != 1) {
Set("/:LVL", 8);
Set("/:valid9", 1);
Set("/:monde", "AQUAE");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl8") {
if (/:valid10 != 1) {
Set("/:LVL", 9);
Set("/:valid10", 1);
Set("/:monde", "AQUAE");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl9") {
if (/:valid11 != 1) {
Set("/:LVL", "B3");
Set("/:valid11", 1);
Set("/:monde", "AQUAE");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte3") {
if (/:valid12 != 1) {
Set("/:LVL", 10);
Set("/:valid12", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl10") {
if (/:valid13 != 1) {
Set("/:LVL", 11);
Set("/:valid13", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl11") {
if (/:valid14 != 1) {
Set("/:LVL", 12);
Set("/:valid14", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl12") {
if (/:valid15 != 1) {
Set("/:LVL", "B4");
Set("/:valid15", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte4") {
if (/:valid16 != 1) {
Set("/:LVL", 13);
Set("/:valid16", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl13") {
if (/:valid17 != 1) {
Set("/:LVL", 14);
Set("/:valid17", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl14") {
if (/:valid18 != 1) {
Set("/:LVL", 15);
Set("/:valid18", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl15") {
if (/:valid19 != 1) {
Set("/:LVL", "B5");
Set("/:valid19", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte5") {
if (/:valid20 != 1) {
Set("/:valid20", 1);
}
}
gotoAndPlay (5);
}
Symbol 577 MovieClip Frame 4
gotoAndPlay (2);
Symbol 577 MovieClip Frame 5
savedata = SharedObject.getLocal("savedata");
i = 1;
while (i < 20) {
Set("savedata.data.valid" + i, eval ("/:valid" + i));
i++;
}
savedata.data.vie = /:NbrLife;
savedata.data.enfants = /:enfant;
savedata.data.score = /:iPtsTotal;
savedata.flush();
Symbol 577 MovieClip Frame 32
stopAllSounds();
tellTarget (_root.intro) {
gotoAndStop ("finlevel");
};
stop();
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 541 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 541 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 541 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 542 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 541 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 540 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 541 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 543 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 544 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 546 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 311 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 311 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 547 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 549 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 556 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 559 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 549 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 561 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 561 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 564 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 558 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 548 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 565 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 566 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Symbol 600 MovieClip Frame 14
stop();
Symbol 610 MovieClip Frame 60
tellTarget (_root) {
gotoAndPlay ("carte");
};
Symbol 611 MovieClip Frame 1
_quality = "LOW";
Set("/:ChangeLevel", 1);
Set("/:SpeedUp", 0.25);
if (/:monde == "FLOREA") {
unloadMovieNum (1);
stopAllSounds();
loadMovie ("mus1.swf", "empty");
}
if (/:monde == "BLIZARIS") {
Set("/:SpeedUp", 0.1);
unloadMovieNum (1);
stopAllSounds();
loadMovie ("mus2.swf", "empty");
}
if (/:monde == "AQUAE") {
unloadMovieNum (1);
stopAllSounds();
loadMovie ("mus3.swf", "empty");
}
if (/:monde == "SOLARIS") {
unloadMovieNum (1);
stopAllSounds();
loadMovie ("mus4.swf", "empty");
}
if (/:monde == "VULCANOR") {
unloadMovieNum (1);
stopAllSounds();
loadMovie ("mus5.swf", "empty");
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
_root.life.gotoAndStop(5 - (/:NbrLife - 1));
if (/:bScrollDif == false) {
_root.scrollingdifferentiel.gotoAndStop(1);
} else {
_root.scrollingdifferentiel.gotoAndStop(2);
}
Symbol 611 MovieClip Frame 2
pourcent = Math.round((empty.getBytesLoaded() * 100) / empty.getBytesTotal()) + " %";
Symbol 611 MovieClip Frame 3
if (empty.getBytesTotal() != empty.getBytesLoaded()) {
gotoAndPlay (2);
}
Symbol 611 MovieClip Frame 72
Set("/:ChangeLevel", 0);
Symbol 611 MovieClip Frame 80
stop();
Symbol 611 MovieClip Frame 85
Set("/:iMeurt", 1);
unloadMovieNum (1);
Symbol 611 MovieClip Frame 125
Set("/:iMeurt", 0);
gotoAndPlay (1);
Symbol 611 MovieClip Frame 126
stop();
Symbol 612 Button
on (keyPress "*") {
if (/:developpement == 1) {
gotoAndPlay (136);
}
}
on (keyPress "/") {
if (/:developpement == 1) {
Set("/:NbrVie", /:NbrLife);
Set("/:NbrVie", /:NbrVieDep);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
_root.life.gotoAndStop(totalvie - (/:NbrLife - 1));
Set("/:enfant", 75);
}
}
on (keyPress "-") {
if (/:developpement == 1) {
_root.scrolling.hero1.px = eval (("_root.scrolling.lvl" + /:LVL) + "._x");
_root.scrolling.hero1.py = eval (("_root.scrolling.lvl" + /:LVL) + "._y");
}
}
Symbol 624 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 6
tellTarget (_root) {
gotoAndPlay ("gameover");
};
stop();
Symbol 641 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (7);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
Symbol 641 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
fCode();
}
Symbol 641 MovieClip Frame 6
gotoAndPlay (2);
Symbol 641 MovieClip Frame 7
Set("/:iCheckX", px);
Set("/:iCheckY", py);
Set("/:iCheckXScroll", /:pxScroll);
Set("/:iCheckYScroll", /:pyScroll);
_root.son.gotoAndPlay("check");
Symbol 641 MovieClip Frame 19
stop();
Symbol 644 MovieClip Frame 1
function fCode() {
testTir("monstre1");
}
Live = 1;
cible = _target;
px = _x;
py = _y;
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 644 MovieClip Frame 2
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 644 MovieClip Frame 5
gotoAndPlay (2);
if (Live == 1) {
if (visible == 1) {
fCode();
}
} else {
meurt();
}
Symbol 644 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 644 MovieClip Frame 9
gotoAndPlay (6);
Symbol 645 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 645 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 645 MovieClip Frame 7
gotoAndPlay (3);
Symbol 645 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 645 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 645 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 646 MovieClip Frame 1
function fCode() {
testTir("monstre1");
}
Live = 1;
cible = _target;
px = _x;
py = _y;
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 646 MovieClip Frame 2
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 646 MovieClip Frame 5
gotoAndPlay (2);
if (Live == 1) {
if (visible == 1) {
fCode();
}
} else {
meurt();
}
Symbol 646 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 646 MovieClip Frame 9
gotoAndPlay (6);
Symbol 647 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 647 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 647 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 647 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 647 MovieClip Frame 9
gotoAndPlay (6);
Symbol 649 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (speedy < 2) {
speedy = speedy + 0.025;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if (sauteMonstre == 1) {
if (sens == "droite") {
speedx = speedx + 10;
}
if (sens == "gauche") {
speedx = speedx - 10;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
} else if ((sauteMonstre == 0) && (Math.Round(Math.random(1) * 50) == 1)) {
tellTarget ("marche.marche") {
gotoAndPlay (2);
};
sauteMonstre = 1;
}
if (vblSync == 2) {
vblSync = 0;
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
sauteMonstre = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 649 MovieClip Frame 3
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 649 MovieClip Frame 5
gotoAndPlay (3);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 649 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 649 MovieClip Frame 9
gotoAndPlay (6);
Symbol 650 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (speedy < 2) {
speedy = speedy + 0.025;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if (sauteMonstre == 1) {
if (sens == "droite") {
speedx = speedx + 10;
}
if (sens == "gauche") {
speedx = speedx - 10;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
} else if ((sauteMonstre == 0) && (Math.Round(Math.random(1) * 50) == 1)) {
tellTarget ("marche.marche") {
gotoAndPlay (2);
};
sauteMonstre = 1;
}
if (vblSync == 2) {
vblSync = 0;
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
sauteMonstre = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 650 MovieClip Frame 3
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 650 MovieClip Frame 5
gotoAndPlay (3);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 650 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 650 MovieClip Frame 9
gotoAndPlay (6);
Symbol 651 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 651 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 651 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 651 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 651 MovieClip Frame 9
gotoAndPlay (6);
Symbol 652 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 652 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 652 MovieClip Frame 7
gotoAndPlay (3);
Symbol 652 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 652 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 652 MovieClip Frame 12
stop();
Symbol 653 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 653 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 653 MovieClip Frame 7
gotoAndPlay (3);
Symbol 653 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 653 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 653 MovieClip Frame 12
stop();
Symbol 654 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 654 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 654 MovieClip Frame 7
gotoAndPlay (3);
Symbol 654 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 654 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 654 MovieClip Frame 12
stop();
Symbol 655 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 655 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 655 MovieClip Frame 7
gotoAndPlay (3);
Symbol 655 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 655 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 655 MovieClip Frame 12
stop();
Symbol 656 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 656 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 656 MovieClip Frame 7
gotoAndPlay (3);
Symbol 656 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 656 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 656 MovieClip Frame 12
stop();
Symbol 657 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 657 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 657 MovieClip Frame 7
gotoAndPlay (3);
Symbol 657 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 657 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 657 MovieClip Frame 12
stop();
Symbol 658 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 658 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 658 MovieClip Frame 7
gotoAndPlay (3);
Symbol 658 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 658 MovieClip Frame 39
stop();
Symbol 659 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 659 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 659 MovieClip Frame 7
gotoAndPlay (3);
Symbol 659 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 659 MovieClip Frame 39
stop();
Symbol 660 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 660 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 660 MovieClip Frame 7
gotoAndPlay (3);
Symbol 660 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 660 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 660 MovieClip Frame 12
stop();
Symbol 661 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 661 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 661 MovieClip Frame 7
gotoAndPlay (3);
Symbol 661 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 661 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 661 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 662 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 662 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 662 MovieClip Frame 7
gotoAndPlay (3);
Symbol 662 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 662 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 662 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 675 MovieClip Frame 1
Set("../../:sens", "");
Set("../../:speedx", 0);
Set("../../:action", 0);
stop();
Symbol 677 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (action == 0) {
iRnd = Math.round(Math.random() * 10);
if (iRnd == 2) {
action = 1;
sens = "droite";
marcheP.gotoAndStop(1);
marcheP.marche.gotoAndPlay(2);
} else if (iRnd == 3) {
action = true;
sens = "gauche";
marcheP.gotoAndStop(2);
marcheP.marche.gotoAndPlay(2);
}
}
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 3;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
sens = "";
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 677 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 677 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 677 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 677 MovieClip Frame 9
gotoAndPlay (6);
Symbol 678 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 678 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 678 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 678 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 678 MovieClip Frame 9
gotoAndPlay (6);
Symbol 679 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 679 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 679 MovieClip Frame 7
gotoAndPlay (3);
Symbol 679 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 679 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 679 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Instance of Symbol 553 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 645 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 647 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 649 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 649 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 652 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 549 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 654 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 657 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 557 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 658 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Fiole Verte";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 659 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 560 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 654 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 655 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 654 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 661 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 662 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 677 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 678 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 559 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 679 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 566 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Symbol 685 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (action == 0) {
iRnd = Math.round(Math.random() * 10);
if (iRnd == 2) {
action = 1;
sens = "droite";
marcheP.gotoAndStop(1);
marcheP.marche.gotoAndPlay(2);
} else if (iRnd == 3) {
action = true;
sens = "gauche";
marcheP.gotoAndStop(2);
marcheP.marche.gotoAndPlay(2);
}
}
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 3;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
sens = "";
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 685 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 685 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 685 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 685 MovieClip Frame 9
gotoAndPlay (6);
Symbol 686 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 686 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 686 MovieClip Frame 7
gotoAndPlay (3);
Symbol 686 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 686 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 686 MovieClip Frame 12
stop();
Symbol 687 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 687 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 687 MovieClip Frame 7
gotoAndPlay (3);
Symbol 687 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 687 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 687 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 689 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 689 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 689 MovieClip Frame 7
gotoAndPlay (3);
Symbol 689 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 689 MovieClip Frame 39
stop();
Symbol 690 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 690 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 690 MovieClip Frame 7
gotoAndPlay (3);
Symbol 690 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 690 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 690 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Instance of Symbol 659 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 560 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 677 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 548 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 653 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 686 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 651 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 687 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 678 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 678 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 556 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 678 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 689 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fiole Bleu";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 679 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 553 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 656 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 566 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 549 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 566 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 690 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 558 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 662 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 566 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 553 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 556 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 691 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Symbol 729 MovieClip Frame 15
gotoAndPlay (1);
Symbol 729 MovieClip Frame 37
if (getProperty("../../", _xscale) == 100) {
_root.scrolling.tirA.py = ../../:py - 120;
if (../../:speedx < 0) {
_root.scrolling.tirA.speedx = 3;
_root.scrolling.tirA.px = ../../:px - 130;
_root.scrolling.tirA._xscale = 100;
} else {
_root.scrolling.tirA.speedx = -3;
_root.scrolling.tirA.px = ../../:px + 130;
_root.scrolling.tirA._xscale = -100;
}
_root.scrolling.tirA.gotoAndPlay(1);
}
Symbol 729 MovieClip Frame 68
Set("../../:tire", 0);
gotoAndPlay (1);
Symbol 729 MovieClip Frame 104
Set("../../:saute", 0);
gotoAndPlay (1);
Symbol 730 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 1
function fCode() {
vbl++;
if (tire != 1) {
vblSync++;
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
px = px + speedx;
if (vblSync == 2) {
}
py = py + speedy;
if (vblSync == 2) {
vblSync = 0;
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
}
if ((saute != 1) && (tire != 1)) {
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
}
if ((marcheSens != 0) && (speedx == 0)) {
}
if (((random(100) == 1) && (saute != 1)) && (tire != 1)) {
saute = 1;
tellTarget ("marche") {
marche.gotoAndPlay("saute");
};
}
if (((random(100) == 1) && (tire != 1)) && (saute != 1)) {
tire = 1;
tellTarget ("marche") {
marche.gotoAndPlay("tire");
};
}
}
speedx = 0;
tellTarget ("marche") {
gotoAndStop (2);
};
/:NbGrosMonstre++;
_root.scrolling.teleporte.visible = 0;
_root.scrolling.teleporte._visible = 0;
speedy = 0;
px = _x;
py = _y;
if (!energieDep) {
energieDep = 8;
Set("/:energieDepTotal", energieDep);
}
energie = energieDep;
Set("/:energieTotal", /:energieTotal + energieDep);
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
_visible = 1;
visible = 1;
sens = "droite";
Live = 1;
_alpha = 100;
if (!posDepX) {
posDepX = px;
}
cible = _target;
touche = 0;
largeurX = 300;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
Symbol 731 MovieClip Frame 4
if (Live == 1) {
if (touche == 0) {
if (eval (cible + "/marche/marche/zone").hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
energie--;
/:energieTotal--;
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
marche = 0;
_root.son.gotoAndPlay("monstre1");
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= energie) {
Live = 0;
}
}
if (eval (cible + "/marche/marche/zone").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (verou != 1) {
verou = 1;
if (12.5 < _xscale) {
/:iZindex++;
duplicateMovieClip (cible, "monstre" + /:iZindex, 1000 + /:iZindex);
setProperty("_root.scrolling.monstre" + /:iZindex, _xscale , _xscale / 2);
setProperty("_root.scrolling.monstre" + /:iZindex, _yscale , _yscale / 2);
Set(("_root.scrolling.monstre" + /:iZindex) + ".posDepX", posDepX);
Set(("_root.scrolling.monstre" + /:iZindex) + ".energieDep", Math.max(1, energieDep - 3));
Set("/:energieDepTotal", /:energieDepTotal + Math.max(1, energieDep - 3));
/:iZindex++;
duplicateMovieClip (cible, "monstre" + /:iZindex, 1000 + /:iZindex);
setProperty("_root.scrolling.monstre" + /:iZindex, _xscale , _xscale / 2);
setProperty("_root.scrolling.monstre" + /:iZindex, _yscale , _yscale / 2);
Set(("_root.scrolling.monstre" + /:iZindex) + ".posDepX", posDepX);
Set(("_root.scrolling.monstre" + /:iZindex) + ".energieDep", Math.max(1, energieDep - 3));
Set("/:energieDepTotal", /:energieDepTotal + Math.max(1, energieDep - 3));
Set("/:energieDepTotal", /:energieDepTotal - energieDep);
} else if ((0 >= /:energieTotal) && (/:NbGrosMonstre == 1)) {
Set("/:bonusok", "ok");
Set("/:bonusPx", /:pXHeroes);
Set("/:bonusPy", /:pYHeroes - 200);
}
/:NbGrosMonstre--;
_root.energy.gotoAndStop(1 + Math.round((200 * /:energieTotal) / /:energieDepTotal));
if (0 >= /:NbGrosMonstre) {
_root.scrolling.teleporte._visible = 1;
_root.scrolling.teleporte.visible = 1;
}
}
meurt();
if (_alpha == 0) {
gotoAndStop (10);
}
}
Symbol 731 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
}
Symbol 736 MovieClip Frame 1
function fCode() {
if ((speedYCalageSpeed != 0) && (py < 0)) {
speedYCalage = speedYCalage + speedYCalageSpeed;
speedX = speedXCalage;
speedY = speedYCalage;
py = py + speedY;
sol = 0;
murs("y", 0, 0);
lastpx = px;
lastspeedx = speedX;
lastsens = sens;
px = px + speedX;
vsync++;
if (vsync >= 2) {
vsync = 0;
}
if (sens != lastsens) {
speedXCalage = -speedXCalage;
speedX = speedXCalage;
px = px + speedX;
}
if (sol == 1) {
speedYCalage = math.round((-speedYCalage) / 1.75);
if (speedYCalage >= -1) {
speedYCalage = 0;
speedYCalageSpeed = 0;
speedXCalage = 0;
gotoAndStop (10);
Set("/:bonusok", "okok");
Set("/:bonusPx", _x);
Set("/:bonusPy", _y);
}
}
_x = px;
_y = py;
}
}
cible = this;
px = _x;
py = _y;
this.markeur = math.round((Math.random() * 15) + 1);
skin.gotoAndStop(this.markeur);
speedXCalage = 0;
speedYCalageSpeed = 0.5;
speedYCalage = 0;
speedYCalageMax = 5;
vbl = 0;
vsync = 0;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
Symbol 736 MovieClip Frame 5
if (/:bonusok == "ok") {
px = /:bonusPx;
py = /:bonusPy;
} else {
gotoAndPlay (2);
}
Symbol 736 MovieClip Frame 6
fCode();
Symbol 736 MovieClip Frame 7
gotoAndPlay (6);
fCode();
Symbol 738 MovieClip Frame 1
function fCode() {
px = px - speedx;
gravity = 0.125;
speedY = speedY + gravity;
py = py + speedY;
_x = px;
_y = py;
if (this.hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
}
speedy = -1;
Symbol 738 MovieClip Frame 2
fCode();
Symbol 738 MovieClip Frame 3
gotoAndPlay (2);
fCode();
Symbol 740 MovieClip Frame 1
function fCode() {
if ((speedYCalageSpeed != 0) && (py < 0)) {
speedYCalage = speedYCalage + speedYCalageSpeed;
speedX = speedXCalage;
speedY = speedYCalage;
py = py + speedY;
sol = 0;
murs("y", 0, 0);
lastpx = px;
lastspeedx = speedX;
lastsens = sens;
px = px + speedX;
vsync++;
if (vsync >= 2) {
vsync = 0;
murs("x", 0, 0);
if (px < 30) {
px = 30;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (sens != lastsens) {
speedXCalage = -speedXCalage;
speedX = speedXCalage;
px = px + speedX;
}
if (sol == 1) {
speedYCalage = math.round((-speedYCalage) / 1.75);
if (speedYCalage >= -1) {
speedYCalage = 0;
speedYCalageSpeed = 0;
speedXCalage = 0;
}
}
_x = px;
_y = py;
}
vbl++;
if (4 < vbl) {
vbl = 0;
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
}
cible = this;
px = _x;
py = _y;
this.markeur = math.round((Math.random() * 15) + 1);
skin.gotoAndStop(this.markeur);
speedXCalage = (Math.random() * 5) - 2.5;
speedYCalageSpeed = 0.5;
speedYCalage = -((Math.random() * 6) + 8);
speedYCalageMax = 5;
vbl = 0;
vsync = 0;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
Symbol 740 MovieClip Frame 5
if (/:bonusok == "okok") {
px = /:bonusPx;
py = /:bonusPy;
} else {
gotoAndPlay (2);
}
Symbol 740 MovieClip Frame 6
fCode();
Symbol 740 MovieClip Frame 7
gotoAndPlay (6);
fCode();
Symbol 740 MovieClip Frame 9
this.point = 25;
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 740 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 740 MovieClip Frame 12
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 783 MovieClip Frame 1
if (this.hitTest(_root.scrolling.hero1)) {
gotoAndPlay (15);
}
Symbol 783 MovieClip Frame 2
gotoAndPlay (1);
Symbol 783 MovieClip Frame 91
gotoAndPlay (1);
Symbol 785 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 785 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 785 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 785 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 785 MovieClip Frame 9
gotoAndPlay (6);
Symbol 786 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 786 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 786 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 786 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 786 MovieClip Frame 9
gotoAndPlay (6);
Symbol 787 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 787 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 787 MovieClip Frame 7
gotoAndPlay (3);
Symbol 787 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 787 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 787 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 788 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 788 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 788 MovieClip Frame 7
gotoAndPlay (3);
Symbol 788 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 788 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 788 MovieClip Frame 12
stop();
Symbol 789 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 789 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 789 MovieClip Frame 7
gotoAndPlay (3);
Symbol 789 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 789 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 789 MovieClip Frame 12
stop();
Symbol 790 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 790 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 790 MovieClip Frame 7
gotoAndPlay (3);
Symbol 790 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 790 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 790 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 791 MovieClip Frame 1
if ((visible != 1) || (visible != 0)) {
visible = 1;
}
Symbol 791 MovieClip Frame 2
if (hitTest(_root.scrolling.hero1) && (visible == 1)) {
Set("/:ChangeLevel", 1);
_root.scrolling.hero1._visible = 0;
if (_name == "lvl1") {
if (/:valid1 != 1) {
Set("/:LVL", 2);
Set("/:valid1", 1);
Set("/:monde", "FLOREA");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl2") {
if (/:valid2 != 1) {
Set("/:LVL", 3);
Set("/:valid2", 1);
Set("/:monde", "FLOREA");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl3") {
if (/:valid3 != 1) {
Set("/:valid3", 1);
Set("/:LVL", "B1");
Set("/:monde", "FLOREA");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte") {
if (/:valid4 != 1) {
Set("/:LVL", 4);
Set("/:valid4", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl4") {
if (/:valid5 != 1) {
Set("/:LVL", 5);
Set("/:valid5", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl5") {
if (/:valid6 != 1) {
Set("/:LVL", 6);
Set("/:valid6", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl6") {
if (/:valid7 != 1) {
Set("/:LVL", "B2");
Set("/:valid7", 1);
Set("/:monde", "BLIZARIS");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte2") {
if (/:valid8 != 1) {
Set("/:valid8", 1);
Set("/:LVL", 7);
Set("/:monde", "AQUAE");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl7") {
if (/:valid9 != 1) {
Set("/:LVL", 8);
Set("/:valid9", 1);
Set("/:monde", "AQUAE");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl8") {
if (/:valid10 != 1) {
Set("/:LVL", 9);
Set("/:valid10", 1);
Set("/:monde", "AQUAE");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl9") {
if (/:valid11 != 1) {
Set("/:LVL", "B3");
Set("/:valid11", 1);
Set("/:monde", "AQUAE");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte3") {
if (/:valid12 != 1) {
Set("/:LVL", 10);
Set("/:valid12", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl10") {
if (/:valid13 != 1) {
Set("/:LVL", 11);
Set("/:valid13", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl11") {
if (/:valid14 != 1) {
Set("/:LVL", 12);
Set("/:valid14", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl12") {
if (/:valid15 != 1) {
Set("/:LVL", "B4");
Set("/:valid15", 1);
Set("/:monde", "SOLARIS");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte4") {
if (/:valid16 != 1) {
Set("/:LVL", 13);
Set("/:valid16", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 1");
}
}
if (_name == "lvl13") {
if (/:valid17 != 1) {
Set("/:LVL", 14);
Set("/:valid17", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 2");
}
}
if (_name == "lvl14") {
if (/:valid18 != 1) {
Set("/:LVL", 15);
Set("/:valid18", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "étape 3");
}
}
if (_name == "lvl15") {
if (/:valid19 != 1) {
Set("/:LVL", "B5");
Set("/:valid19", 1);
Set("/:monde", "VULCANOR");
Set("/:etape", "BOSS");
}
}
if (_name == "teleporte5") {
if (/:valid20 != 1) {
Set("/:valid20", 1);
}
}
gotoAndPlay (5);
}
Symbol 791 MovieClip Frame 4
gotoAndPlay (2);
Symbol 791 MovieClip Frame 5
savedata = SharedObject.getLocal("savedata");
i = 1;
while (i < 20) {
Set("savedata.data.valid" + i, eval ("/:valid" + i));
i++;
}
savedata.data.vie = /:NbrLife;
savedata.data.enfants = /:enfant;
savedata.data.score = /:iPtsTotal;
savedata.flush();
Symbol 791 MovieClip Frame 32
stopAllSounds();
tellTarget (_root.intro) {
gotoAndStop ("finlevel");
};
stop();
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 678 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 544 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 786 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 787 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 660 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 789 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 789 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 789 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 789 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 548 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 686 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 560 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 690 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 549 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 566 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 557 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 566 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 558 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 655 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 658 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Fiole Verte";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 790 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 5;
}
Instance of Symbol 659 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 548 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 559 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 662 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Symbol 797 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 797 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 797 MovieClip Frame 7
gotoAndPlay (3);
Symbol 797 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 797 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 797 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 678 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 797 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 564 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 556 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 559 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 551 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 788 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 560 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 566 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 560 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 658 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Fiole Verte";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 549 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 549 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 659 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 686 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 789 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 557 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 549 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 645 MovieClip in Symbol 798 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 678 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 786 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 785 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 564 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 679 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 556 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 690 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 559 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 551 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 653 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 566 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 655 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 553 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 656 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 658 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Fiole Verte";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 788 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 549 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 566 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 660 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 659 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 566 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 566 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Symbol 817 MovieClip Frame 69
nbrBcl = 6;
bcl = 0;
Symbol 817 MovieClip Frame 88
bcl++;
if (nbrBcl < bcl) {
gotoAndPlay (89);
} else {
gotoAndPlay (70);
}
Symbol 817 MovieClip Frame 125
bcl = 0;
Symbol 817 MovieClip Frame 144
bcl++;
if (nbrBcl < bcl) {
gotoAndPlay (1);
} else {
gotoAndPlay (126);
}
Symbol 818 MovieClip Frame 1
function fCode() {
vbl++;
}
speedx = 0;
/:NbGrosMonstre++;
_root.scrolling.teleporte2.visible = 0;
_root.scrolling.teleporte2._visible = 0;
speedy = 0;
px = _x;
py = _y;
if (!energieDep) {
energieDep = 8;
Set("/:energieDepTotal", energieDep);
}
energie = energieDep;
Set("/:energieTotal", /:energieTotal + energieDep);
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
_visible = 1;
visible = 1;
sens = "droite";
Live = 1;
_alpha = 100;
if (!posDepX) {
posDepX = px;
}
cible = _target;
touche = 0;
largeurX = 300;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
Symbol 818 MovieClip Frame 4
if (Live == 1) {
if (touche == 0) {
if (eval (cible + "/homme/tete").hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
energie--;
/:energieTotal--;
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
marche = 0;
_root.son.gotoAndPlay("monstre1");
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= energie) {
Live = 0;
}
}
if (eval (cible + "/homme/ventre").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/tete").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
energie = energieDep;
_xscale = (_xscale / 1.5);
_yscale = (_yscale / 1.5);
Live = 1;
_alpha = 100;
if (_xscale < 25) {
Set("/:bonusok", "ok");
Set("/:bonusPx", /:pXHeroes);
Set("/:bonusPy", /:pYHeroes - 200);
gotoAndStop (10);
_root.scrolling.teleporte2._visible = 1;
_root.scrolling.teleporte2.visible = 1;
_root.energy.gotoAndStop(1);
} else {
Set("/:energieTotal", /:energieTotal + energieDep);
_root.energy.gotoAndStop(1 + Math.round((200 * /:energieTotal) / /:energieDepTotal));
}
}
Symbol 818 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
}
Symbol 819 MovieClip Frame 1
function code() {
if (eval (cible).hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pyScroll, true) && (/:ToucheHero == 0)) {
_root.son.gotoAndPlay("ressort");
ressort.gotoAndPlay(2);
tellTarget (_root.scrolling.hero1) {
saute = 1;
marche.marche.gotoAndStop("saute");
speedy = this.speedy;
};
}
}
cible = _target;
px = _x;
py = _y;
Symbol 819 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 819 MovieClip Frame 3
gotoAndPlay (2);
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Instance of Symbol 566 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 566 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 553 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 819 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Symbol 846 MovieClip Frame 1
px = getProperty("../", _x);
px2 = getProperty("_root.scrolling.hero1", _x);
if (((px - 100) < px2) && (px2 < (px + 100))) {
gotoAndPlay (5);
}
Symbol 846 MovieClip Frame 2
gotoAndPlay (1);
Symbol 847 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 847 MovieClip Frame 2
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 847 MovieClip Frame 5
gotoAndPlay (2);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 847 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 847 MovieClip Frame 9
gotoAndPlay (6);
Symbol 862 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 862 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 862 MovieClip Frame 7
gotoAndPlay (3);
Symbol 862 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 862 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 862 MovieClip Frame 12
stop();
Symbol 863 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 863 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 863 MovieClip Frame 7
gotoAndPlay (3);
Symbol 863 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 863 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 863 MovieClip Frame 12
stop();
Symbol 864 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 864 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 864 MovieClip Frame 7
gotoAndPlay (3);
Symbol 864 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 864 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 864 MovieClip Frame 12
stop();
Symbol 865 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 865 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 865 MovieClip Frame 7
gotoAndPlay (3);
Symbol 865 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 865 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 865 MovieClip Frame 12
stop();
Instance of Symbol 679 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 847 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 660 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 549 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 862 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 863 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 863 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 864 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 865 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 865 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 548 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 645 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 662 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 556 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 559 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Symbol 877 MovieClip Frame 2
if ((((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) && (fr == 145)) {
px = _x;
_x = getProperty("_root.scrolling.hero1", _x);
if (this.hitTest(_root.scrolling.hero1)) {
_root.scrolling.hero1.py = 200;
}
}
_x = _root.fond._x;
_y = /:pyScroll;
Symbol 877 MovieClip Frame 3
gotoAndPlay (2);
Symbol 882 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 882 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 882 MovieClip Frame 7
gotoAndPlay (3);
Symbol 882 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 882 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 882 MovieClip Frame 12
stop();
Symbol 883 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 883 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 883 MovieClip Frame 7
gotoAndPlay (3);
Symbol 883 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 883 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 883 MovieClip Frame 12
stop();
Instance of Symbol 847 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 678 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 678 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 553 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 311 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 882 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 883 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 686 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 788 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 556 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 553 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 566 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 660 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 685 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 662 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 690 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 679 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 559 MovieClip in Symbol 884 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Symbol 886 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 886 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 886 MovieClip Frame 7
gotoAndPlay (3);
Symbol 886 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 886 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 886 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Instance of Symbol 651 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 685 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 847 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 651 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 566 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 655 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 788 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 548 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 549 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 658 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Fiole Verte";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 551 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 886 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 50;
}
Instance of Symbol 660 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 553 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 687 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 686 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 659 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 660 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 553 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 558 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 685 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 556 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 564 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 645 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 544 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 679 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 544 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 887 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Symbol 902 MovieClip Frame 1
function fCode() {
vbl++;
}
speedx = 0;
/:NbGrosMonstre++;
_root.scrolling.teleporte3.visible = 0;
_root.scrolling.teleporte3._visible = 0;
speedy = 0;
px = _x;
py = _y;
if (!energieDep) {
energieDep = 30;
Set("/:energieDepTotal", energieDep);
}
energie = energieDep;
Set("/:energieTotal", /:energieTotal + energieDep);
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
_visible = 1;
visible = 1;
sens = "droite";
Live = 1;
_alpha = 100;
if (!posDepX) {
posDepX = px;
}
cible = _target;
touche = 0;
largeurX = 300;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
Symbol 902 MovieClip Frame 4
if (Live == 1) {
if (touche == 0) {
if (eval (cible + "/homme/corp/tete").hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
energie--;
/:energieTotal--;
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
marche = 0;
_root.son.gotoAndPlay("monstre1");
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= energie) {
Live = 0;
}
}
if (eval (cible + "/homme").hitTest(/:pxScroll + /:pXHeroes, /:pyScroll + /:pYHeroes, true) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
if (_alpha == 0) {
Set("/:bonusPx", _x + Math.round(homme.perso._x));
Set("/:bonusok", "ok");
Set("/:bonusPx", /:pXHeroes);
Set("/:bonusPy", /:pYHeroes - 200);
_root.scrolling.teleporte3._visible = 1;
_root.scrolling.teleporte3.visible = 1;
gotoAndStop (10);
}
}
Symbol 902 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
}
Symbol 903 MovieClip Frame 1
function fCode() {
if ((speedYCalageSpeed != 0) && (py < 0)) {
speedYCalage = speedYCalage + speedYCalageSpeed;
speedX = speedXCalage;
speedY = speedYCalage;
py = py + speedY;
sol = 0;
murs("y", 0, 0);
lastpx = px;
lastspeedx = speedX;
lastsens = sens;
px = px + speedX;
vsync++;
if (vsync >= 2) {
vsync = 0;
murs("x", 0, 0);
if (px < 30) {
px = 30;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (sens != lastsens) {
speedXCalage = -speedXCalage;
speedX = speedXCalage;
px = px + speedX;
}
if (sol == 1) {
speedYCalage = math.round((-speedYCalage) / 1.75);
if (speedYCalage >= -1) {
speedYCalage = 0;
speedYCalageSpeed = 0;
speedXCalage = 0;
}
}
_x = px;
_y = py;
}
vbl++;
if (4 < vbl) {
vbl = 0;
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
}
cible = this;
px = _x;
py = _y;
this.markeur = math.round((Math.random() * 15) + 1);
skin.gotoAndStop(this.markeur);
speedXCalage = (Math.random() * 5) - 2.5;
speedYCalageSpeed = 0.5;
speedYCalage = -((Math.random() * 6) + 8);
speedYCalageMax = 5;
vbl = 0;
vsync = 0;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
Symbol 903 MovieClip Frame 5
if (/:bonusok == "okok") {
px = /:bonusPx;
py = /:bonusPy;
} else {
gotoAndPlay (2);
}
Symbol 903 MovieClip Frame 6
fCode();
Symbol 903 MovieClip Frame 7
gotoAndPlay (6);
fCode();
Symbol 903 MovieClip Frame 9
this.point = 25;
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 903 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 903 MovieClip Frame 12
stop();
Instance of Symbol 819 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 819 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 903 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 661 MovieClip in Symbol 904 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Symbol 935 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
px = px + speedx;
if (vblSync == 2) {
murs("x", 0, 0);
}
py = py + speedy;
if (vblSync == 2) {
vblSync = 0;
murs("y", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 935 MovieClip Frame 3
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 935 MovieClip Frame 5
gotoAndPlay (3);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 935 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 935 MovieClip Frame 9
gotoAndPlay (6);
Symbol 952 MovieClip Frame 12
if (random(4) == 1) {
gotoAndPlay (13);
} else {
gotoAndPlay (1);
}
Symbol 953 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 953 MovieClip Frame 2
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 953 MovieClip Frame 5
gotoAndPlay (2);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 953 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 953 MovieClip Frame 9
gotoAndPlay (6);
Symbol 954 MovieClip Frame 1
function code() {
if (eval (cible).hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pyScroll, true) && (/:ToucheHero == 0)) {
_root.son.gotoAndPlay("ressort");
ressort.gotoAndPlay(2);
tellTarget (_root.scrolling.hero1) {
saute = 1;
marche.marche.gotoAndStop("saute");
speedy = this.speedy;
};
}
}
cible = _target;
px = _x;
py = _y;
Symbol 954 MovieClip Frame 2
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 954 MovieClip Frame 3
gotoAndPlay (2);
if (Math.abs(/:pXHeroes - px) < 500) {
code();
if (visible == 0) {
visible = 1;
_visible = 1;
}
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 686 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 559 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 686 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 953 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 549 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 566 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 564 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 954 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 566 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 656 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 566 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 556 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 653 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 558 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 645 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 679 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 545 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 566 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Symbol 962 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 962 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 962 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 962 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 962 MovieClip Frame 9
gotoAndPlay (6);
Symbol 963 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 963 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 963 MovieClip Frame 7
gotoAndPlay (3);
Symbol 963 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 963 MovieClip Frame 39
stop();
Symbol 964 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 964 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 964 MovieClip Frame 7
gotoAndPlay (3);
Symbol 964 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 964 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 964 MovieClip Frame 12
stop();
Instance of Symbol 935 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 650 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 25;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 962 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 659 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 659 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 935 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 551 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 566 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 553 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 679 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 558 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 963 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fiole Bleu";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 658 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Fiole Verte";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 655 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 656 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 964 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 964 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 553 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 549 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 662 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 953 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 655 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 553 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 556 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 553 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 645 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 687 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Symbol 972 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (speedy < 2) {
speedy = speedy + 0.025;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if (sauteMonstre == 1) {
if (sens == "droite") {
speedx = speedx + 10;
}
if (sens == "gauche") {
speedx = speedx - 10;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
} else if ((sauteMonstre == 0) && (Math.Round(Math.random(1) * 50) == 1)) {
tellTarget ("marche.marche") {
gotoAndPlay (2);
};
sauteMonstre = 1;
}
if (vblSync == 2) {
vblSync = 0;
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
sauteMonstre = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 972 MovieClip Frame 3
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 972 MovieClip Frame 5
gotoAndPlay (3);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 972 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 972 MovieClip Frame 9
gotoAndPlay (6);
Symbol 973 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (speedy < 2) {
speedy = speedy + 0.025;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if (sauteMonstre == 1) {
if (sens == "droite") {
speedx = speedx + 10;
}
if (sens == "gauche") {
speedx = speedx - 10;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
} else if ((sauteMonstre == 0) && (Math.Round(Math.random(1) * 50) == 1)) {
tellTarget ("marche.marche") {
gotoAndPlay (2);
};
sauteMonstre = 1;
}
if (vblSync == 2) {
vblSync = 0;
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
sauteMonstre = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 973 MovieClip Frame 3
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 973 MovieClip Frame 5
gotoAndPlay (3);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 973 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 973 MovieClip Frame 9
gotoAndPlay (6);
Symbol 980 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 980 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 980 MovieClip Frame 7
gotoAndPlay (3);
Symbol 980 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 980 MovieClip Frame 39
stop();
Symbol 981 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
Set("/:iBonusExtra", this.markeur);
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 981 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 981 MovieClip Frame 7
gotoAndPlay (3);
Symbol 981 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 981 MovieClip Frame 39
stop();
Symbol 982 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 982 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 982 MovieClip Frame 7
gotoAndPlay (3);
Symbol 982 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 982 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 982 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 962 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 972 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 953 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 973 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 662 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 558 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 549 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 690 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 566 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 655 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 655 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 980 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fiole Bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 653 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 653 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 797 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 557 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 548 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 935 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 660 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 660 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 559 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 981 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fiole Rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 982 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Symbol 1002 MovieClip Frame 25
../:bcl++;
if (../:nbrBcl < ../:bcl) {
../:play();
} else {
gotoAndPlay (1);
}
Symbol 1005 MovieClip Frame 75
../:play();
stop();
Symbol 1008 MovieClip Frame 54
../:play();
stop();
Symbol 1009 MovieClip Frame 1
nbrBcl = 4;
bcl = 0;
stop();
Symbol 1009 MovieClip Frame 2
stop();
Symbol 1009 MovieClip Frame 31
bcl = 0;
stop();
Symbol 1009 MovieClip Frame 32
stop();
Symbol 1010 MovieClip Frame 1
function fCode() {
vbl++;
}
speedx = 0;
/:NbGrosMonstre++;
_root.scrolling.teleporte4.visible = 0;
_root.scrolling.teleporte4._visible = 0;
speedy = 0;
px = _x;
py = _y;
if (!energieDep) {
energieDep = 26;
Set("/:energieDepTotal", energieDep);
}
energie = energieDep;
Set("/:energieTotal", /:energieTotal + energieDep);
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
_visible = 1;
visible = 1;
sens = "droite";
Live = 1;
_alpha = 100;
if (!posDepX) {
posDepX = px;
}
cible = _target;
touche = 0;
largeurX = 300;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
Symbol 1010 MovieClip Frame 4
if (Live == 1) {
if (touche == 0) {
if (eval (cible + "/homme/perso/tete").hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
energie--;
/:energieTotal--;
_root.energy.gotoAndStop(1 + Math.round((200 * /:energieTotal) / /:energieDepTotal));
marche = 0;
_root.son.gotoAndPlay("monstre1");
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= energie) {
Live = 0;
}
}
if (eval (cible + "/homme/perso/bras/b1").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/bras/b2").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/bras/b3").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/bras/b4").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/ventre").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/tete").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
if (_alpha == 0) {
Set("/:bonusPx", _x + Math.round(homme.perso._x));
Set("/:bonusok", "ok");
Set("/:bonusPx", /:pXHeroes);
Set("/:bonusPy", /:pYHeroes - 200);
_root.scrolling.teleporte4._visible = 1;
_root.scrolling.teleporte4.visible = 1;
gotoAndStop (10);
}
}
Symbol 1010 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
}
Instance of Symbol 954 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Symbol 1034 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1034 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1034 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1034 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1034 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1035 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (action == 0) {
iRnd = Math.round(Math.random() * 10);
if (iRnd == 2) {
action = 1;
sens = "droite";
marcheP.gotoAndStop(1);
marcheP.marche.gotoAndPlay(2);
} else if (iRnd == 3) {
action = true;
sens = "gauche";
marcheP.gotoAndStop(2);
marcheP.marche.gotoAndPlay(2);
}
}
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 3;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
sens = "";
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1035 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1035 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1035 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1035 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1036 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1036 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1036 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1036 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1036 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1037 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1037 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1037 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1037 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1037 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1039 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 1039 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 1039 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1039 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1039 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1039 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 1040 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1040 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1040 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1040 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1040 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1040 MovieClip Frame 12
stop();
Symbol 1041 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1041 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1041 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1041 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1041 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1041 MovieClip Frame 12
stop();
Symbol 1042 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1042 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1042 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1042 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1042 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1042 MovieClip Frame 12
stop();
Symbol 1043 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1043 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1043 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1043 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1043 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1043 MovieClip Frame 12
stop();
Symbol 1044 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1044 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1044 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1044 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1044 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1044 MovieClip Frame 12
stop();
Symbol 1045 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1045 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1045 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1045 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1045 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1045 MovieClip Frame 12
stop();
Symbol 1046 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1046 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1046 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1046 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1046 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1046 MovieClip Frame 12
stop();
Symbol 1047 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
gotoAndPlay (9);
}
}
this.markeur = this.profil.substr(0, 2);
if (this.markeur.substr(1, 1) == " ") {
this.markeur = this.profil.substr(0, 1);
}
skin.gotoAndStop(this.markeur);
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
cible = this;
visible = 0;
_visible = 0;
Symbol 1047 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
touche = (calX + " - ") + calY;
Symbol 1047 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1047 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
if (10 < /:NbrVie) {
Set("/:NbrVie", 10);
}
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1047 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1047 MovieClip Frame 12
stop();
Instance of Symbol 1034 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 1034 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 1035 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 542 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1036 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1034 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 972 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 205 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1034 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 1037 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 954 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 1039 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 311 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 311 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 311 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 311 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 1040 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 652 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "08 - Canne Rouge";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1041 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1043 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 1044 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 657 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "15 - Sucette Verte";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 565 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 1045 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 1046 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 1046 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 1047 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 1041 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1041 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 546 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 1040 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1040 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1045 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 787 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 964 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "05 - Piece Rouge";
Sens = "+100 - Regarde a droite";
Point = 25;
}
Instance of Symbol 543 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1042 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 564 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Symbol 1056 MovieClip Frame 1
px = getProperty("../", _x);
px2 = getProperty("_root.scrolling.hero1", _x);
if (((px - 100) < px2) && (px2 < (px + 100))) {
gotoAndPlay (5);
}
Symbol 1056 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1057 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1057 MovieClip Frame 2
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1057 MovieClip Frame 5
gotoAndPlay (2);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1057 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1057 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1058 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 2;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
py = py + speedy;
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
if ((posDepX + largeurX) < px) {
if (sens == "droite") {
sens = "gauche";
}
}
if (px < (posDepX - largeurX)) {
if (sens == "gauche") {
sens = "droite";
}
}
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 1) && (0 < speedx)) {
marcheSens = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
}
if ((marcheSens != 2) && (speedx < 0)) {
marcheSens = 2;
tellTarget ("marche") {
gotoAndStop (2);
};
}
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
_visible = 0;
visible = 0;
sens = "gauche";
Live = 1;
tellTarget ("marche") {
gotoAndStop (1);
};
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1058 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1058 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1058 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1058 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1059 MovieClip Frame 1
function fCode() {
vbl++;
testTir("monstre1");
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
this.iRevivre = this.iRevivre.substr(0, 1);
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1059 MovieClip Frame 2
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1059 MovieClip Frame 5
gotoAndPlay (2);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1059 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1059 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1060 MovieClip Frame 1
function fCode() {
vblSync++;
vbl++;
testTir("monstre1");
if (action == 0) {
iRnd = Math.round(Math.random() * 10);
if (iRnd == 2) {
action = 1;
sens = "droite";
marcheP.gotoAndStop(1);
marcheP.marche.gotoAndPlay(2);
} else if (iRnd == 3) {
action = true;
sens = "gauche";
marcheP.gotoAndStop(2);
marcheP.marche.gotoAndPlay(2);
}
}
if (sens == "droite") {
speedx = speedx + 0.5;
}
if (sens == "gauche") {
speedx = speedx - 0.5;
}
if (speedy < 2) {
speedy = speedy + 0.025;
}
speedxMax = 3;
if (speedx < (-speedxMax)) {
speedx = -speedxMax;
}
if (speedxMax < speedx) {
speedx = speedxMax;
}
if (speedy < (-speedxMax)) {
speedy = -speedxMax;
}
if (speedxMax < speedy) {
speedy = speedxMax;
}
if (vblSync == 2) {
murs("y", 0, 0);
}
if ((sol == 0) && (changeDir != true)) {
changeDir = true;
speedx = -speedx;
px = lastpx;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
if ((sol == 1) && (changeDir != false)) {
changeDir = false;
}
px = px + speedx;
if (vblSync == 2) {
vblSync = 0;
murs("x", 0, 0);
}
py = py + speedy;
_x = px;
_y = py;
lastpx = px;
lastpy = py;
if ((marcheSens != 0) && (speedx == 0)) {
}
}
speedx = 0;
speedy = 0;
marche = 1;
px = _x;
py = _y;
energie = 2;
visible = 0;
_visible = 0;
sens = "gauche";
Live = 1;
posDepX = px;
cible = _target;
touche = 0;
largeurX = (Math.random(1) * 50) + 50;
this.iRevivre = this.iRevivre.substr(0, 1);
sens = "";
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
function testTir(sSon) {
if (touche == 0) {
eval (cible);
if (hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
iEnergy = iEnergy - /:iForce;
marche = 0;
_root.son.gotoAndPlay(sSon);
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= iEnergy) {
Live = 0;
}
} else if (touche == 1) {
if (speedx < 0) {
speedx = 0;
}
if (0 < speedx) {
speedx = 0;
}
}
}
Symbol 1060 MovieClip Frame 4
if (Live == 1) {
if (hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
if (visible == 1) {
visible = 0;
_visible = 0;
}
gotoAndPlay (7);
}
} else if (Math.abs(/:pXHeroes - px) < 500) {
meurt();
} else {
/:effet(cible, 0, 0, 0, 100);
Live = 1;
alpha = 0;
}
Symbol 1060 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (visible == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
}
} else {
meurt();
}
Symbol 1060 MovieClip Frame 6
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
gotoAndPlay (4);
}
Symbol 1060 MovieClip Frame 9
gotoAndPlay (6);
Symbol 1062 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 1062 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 1062 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1062 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1062 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1062 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 1063 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 1063 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 1063 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1063 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1063 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1063 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Symbol 1064 MovieClip Frame 1
function fCode() {
if (hitTest(_root.scrolling.hero1)) {
/:enfant++;
gotoAndPlay (9);
}
}
skin.gotoAndStop(this.profil.substring(0, 1));
skin._xscale = this.sens.substring(0, 4);
px = _x;
py = _y;
visible = 0;
_visible = 0;
cible = this;
if (/:aPerso[/:LVL][this.profil.substring(0, 1)] == "ok") {
stop();
}
Symbol 1064 MovieClip Frame 3
calX = /:pxScroll + px;
calY = /:pyScroll + py;
if (((0 < calX) && (calX < 508)) && ((0 < calY) && (calY < 400))) {
if (visible == 0) {
visible = 1;
_visible = 1;
}
fCode();
} else if (visible == 1) {
visible = 0;
_visible = 0;
}
Symbol 1064 MovieClip Frame 7
gotoAndPlay (3);
Symbol 1064 MovieClip Frame 9
if (this.point != "pas de point") {
bonus.visu = this.point;
Set("/:iPtsTotal", /:iPtsTotal + this.point);
/:iPtsTotalActi++;
} else {
bonus.visu = "";
}
if (this.markeur == 7) {
Set("/:NbrVie", /:NbrVie + 2);
_root.Vie.gotoAndStop(10 - (/:NbrVie - 1));
}
Symbol 1064 MovieClip Frame 11
if (vbl < 10) {
vbl++;
if (skin._visible) {
skin._visible = 0;
} else {
skin._visible = 1;
}
bonus._y--;
gotoAndPlay (10);
}
Symbol 1064 MovieClip Frame 12
/:aPerso[/:LVL][this.profil.substring(0, 1)] = "ok";
stop();
Instance of Symbol 1057 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1058 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 548 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 1059 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1059 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 962 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1060 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 654 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 654 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "09 - Canne Bleu";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1037 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 962 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 962 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1058 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 973 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1060 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 1058 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 1058 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 1058 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 545 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 954 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 546 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 546 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 1062 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 566 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 655 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "14 - Sucette Jaune";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 788 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 788 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "10 - Canne Verte";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 686 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 686 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "13 - Sucette Rouge";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 545 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 1063 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "+100 - Regarde a droite";
Point = 100;
}
Instance of Symbol 566 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "07 - COEUR";
Sens = "+100 - Regarde a droite";
Point = "pas de point";
}
Instance of Symbol 1064 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 560 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 787 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 1047 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 549 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "12 - Coka Cola";
Sens = "+100 - Regarde a droite";
Point = 10;
}
Instance of Symbol 543 MovieClip in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Symbol 1075 MovieClip Frame 1
_y = 0;
py = _y;
Symbol 1075 MovieClip Frame 2
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
py = py - 0.9;
_y = (/:pyScroll + py);
if (this.hitTest(_root.scrolling.hero1)) {
_root.scrolling.hero1.py = 200;
_y = (/:iCheckY + 100);
py = _y;
}
}
Symbol 1075 MovieClip Frame 3
gotoAndPlay (2);
Instance of Symbol 1058 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 962 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 962 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 1058 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 75;
iRevivre = "1 - Revie";
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 544 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -9;
}
Instance of Symbol 545 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
speedy = -12;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 557 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 557 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "06 - Piece Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 647 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
iEnergy = 50;
iRevivre = "1 - Revie";
}
Instance of Symbol 660 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "11 - Canne Jaune";
Sens = "+100 - Regarde a droite";
Point = 15;
}
Instance of Symbol 553 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "01 - Bonbons rouge";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 560 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "03 - Bonbons vert";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 551 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "02 - Bonbons bleu";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 548 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "04 - Bonbons jaune";
Sens = "+100 - Regarde a droite";
Point = 5;
}
Instance of Symbol 787 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "1 - Fille Blonde";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 1064 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "2 - Fille Rouse";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 565 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "3 - Garcon Chatain";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 543 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "4 - Garcon Roux";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Instance of Symbol 1062 MovieClip in Symbol 1078 MovieClip Frame 1
onClipEvent (load) {
Profil = "5 - Garcon Noir";
Sens = "-100 - Regarde a gauche";
Point = 100;
}
Symbol 1093 MovieClip Frame 35
Set("../../:iAttack", 0);
stop();
Symbol 1094 MovieClip Frame 35
Set("../../:iAttack", 0);
stop();
Symbol 1115 MovieClip Frame 53
Set("../../:iAttack", 0);
stop();
Symbol 1117 MovieClip Frame 1
function fCode() {
vbl++;
if ((iAttack == 0) && (random(10) == 1)) {
iAttack = 1;
iQuelAttack = random(3) + 1;
homme.gotoAndStop(iQuelAttack);
homme.perso.gotoAndPlay(1);
}
}
speedx = 0;
/:NbGrosMonstre++;
_root.scrolling.teleporte5.visible = 0;
_root.scrolling.teleporte5._visible = 0;
speedy = 0;
px = _x;
py = _y;
if (!energieDep) {
energieDep = 8;
Set("/:energieDepTotal", energieDep);
}
energie = energieDep;
Set("/:energieTotal", /:energieTotal + energieDep);
_root.energy.gotoAndStop(Math.round((200 * /:energieTotal) / /:energieDepTotal));
_visible = 1;
visible = 1;
sens = "droite";
Live = 1;
_alpha = 100;
if (!posDepX) {
posDepX = px;
}
cible = _target;
touche = 0;
largeurX = 300;
iAttack = 0;
function Murs(lequel, calagex, calagey) {
if (lequel == "x") {
if ((0 < speedx) && (calagex == 0)) {
calagex = 5;
} else if ((speedx < 0) && (calagex == 0)) {
calagex = -5;
}
if (!saute) {
calage = -15;
} else {
calage = 0;
}
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + calagex, (pY + /:pyScroll) + calage, true)) {
px = lastpx - speedx;
speedx = 0;
if (sens == "droite") {
sens = "gauche";
} else if (sens == "gauche") {
sens = "droite";
}
}
}
if (lequel == "y") {
if (_root.scrolling.mur.hitTest((pX + /:pxScroll) + 0, (pY + /:pyScroll) + 0, true)) {
if (!lastImpactY) {
sol = 1;
if (saute == 1) {
saute = 0;
marcheSens = -1;
if (0 >= /:ToucheHero) {
marche.marche.gotoAndStop(1);
}
}
py = BestPosition(px, Math.round(py), -30);
}
} else {
sol = 0;
lastImpactY = false;
}
}
}
function BestPosition(px, depart, step) {
a = depart;
while ((depart + step) < a) {
if (!_root.scrolling.mur.hitTest(pX + /:pxScroll, a + /:pyScroll, true)) {
return(a);
}
a--;
}
return(depart);
}
function meurt() {
if (alpha < 100) {
alpha = alpha + 10;
if (alpha >= 100) {
alpha = 100;
if (iRevivre == "0") {
gotoAndStop (10);
stop();
}
}
_root.effet(cible, 0, 0, 0, 100 - alpha);
}
}
Symbol 1117 MovieClip Frame 4
if (Live == 1) {
if (touche == 0) {
if (eval (cible + "homme.perso.corps").hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pYScroll, true)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/tir1").hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pYScroll, true)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/tir2").hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pYScroll, true)) {
Set("/:ToucheHero", 1);
}
if (eval (cible + "/homme/perso/tir3").hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pYScroll, true)) {
Set("/:ToucheHero", 1);
}
if (eval (cible).hitTest(/:pXHeroes + /:pxScroll, /:pYHeroes + /:pYScroll, true) && (vbl2 == 0)) {
Set("/:ToucheHero", 1);
}
vbl2++;
if (10 < vbl2) {
vbl2 = 0;
}
if (eval (cible + "/homme/perso/tete").hitTest(_root.scrolling.hero1.marche.marche.tire.tir)) {
_root.effet(cible, 255, 255, 255, 100);
vbl = 0;
touche = 1;
energie--;
/:energieTotal--;
_root.energy.gotoAndStop(1 + Math.round((200 * /:energieTotal) / /:energieDepTotal));
marche = 0;
_root.son.gotoAndPlay("monstre1");
}
}
if ((5 < vbl) && (touche == 1)) {
touche = 0;
marche = 1;
_root.effet(cible, 0, 0, 0, 100);
if (0 >= energie) {
Live = 0;
}
}
if (eval (cible + "/homme/perso/tete").hitTest(_root.scrolling.hero1.zone) && (/:ToucheHero == 0)) {
Set("/:ToucheHero", 1);
}
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
if (_alpha == 0) {
Set("/:bonusok", "ok");
Set("/:bonusPx", /:pXHeroes);
Set("/:bonusPy", /:pYHeroes - 200);
_root.scrolling.teleporte5._visible = 1;
_root.scrolling.teleporte5.visible = 1;
gotoAndStop (10);
}
}
Symbol 1117 MovieClip Frame 5
gotoAndPlay (4);
if (Live == 1) {
if (((/:ChangeLevel == 0) && (/:GamePause == 0)) && (/:iMeurt == 0)) {
fCode();
}
} else {
meurt();
}
Symbol 1133 MovieClip Frame 1
function this_init() {
px = Math.random(1) * 500;
py = -10;
speedX = (Math.random(1) * 4) - 2;
speedY = (Math.random(1) * 4) + 1;
}
/:effet(_target, Math.round(Math.random(1) * 255), Math.round(Math.random(1) * 255), Math.round(Math.random(1) * 255), 100);
this_init();
pastille.gotoAndPlay(Math.round(Math.random(1) * 20));
pastille.pastille.gotoAndPlay(Math.round(Math.random(1) * 20));
Symbol 1133 MovieClip Frame 3
px = px + speedX;
py = py + speedY;
_x = px;
_y = py;
if (((px < -10) || (510 < px)) || (400 < py)) {
this_init();
}
Symbol 1133 MovieClip Frame 4
gotoAndPlay (3);
px = px + speedX;
py = py + speedY;
_x = px;
_y = py;
if (((px < -10) || (510 < px)) || (400 < py)) {
this_init();
}
Symbol 1134 Button
on (release) {
gotoAndPlay (287);
}
Symbol 1142 MovieClip Frame 1
_y = (_y-1);
Symbol 1143 MovieClip Frame 1
px = px - 4;
if (px < -1000) {
px = px + 1000;
}
_x = px;
if (Key.isDown(/:player1Shoot)) {
tellTarget (_root) {
gotoAndPlay ("menu");
};
}
Symbol 1143 MovieClip Frame 2
px = px - 4;
if (px < -1000) {
px = px + 1000;
}
_x = px;
Symbol 1144 Button
on (release) {
gotoAndPlay (1);
}