Frame 1
_root.lives = 5;
_root.cennes = 0;
_root.fireballon = 0;
jumpfx = new Sound();
jumpfx.attachSound("jump");
hitetefx = new Sound();
hitetefx.attachSound("hittete");
playermortfx = new Sound();
playermortfx.attachSound("playermort");
mariohitfx = new Sound();
mariohitfx.attachSound("mariohit");
missilepassfx = new Sound();
missilepassfx.attachSound("missilepass");
stop();
stop();
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
percent = int((_root.getBytesLoaded() * 100) / _root.getBytesTotal());
_root.loading = int(percent) + "%";
if (percent == 100) {
_root.gotoAndStop("menu");
}
}
Instance of Symbol 39 MovieClip in Frame 1
onClipEvent (load) {
gotoAndStop (3);
}
Frame 2
_root.lives = 5;
_root.cennes = 0;
_root.fireballon = 0;
jumpfx = new Sound();
jumpfx.attachSound("jump");
hitetefx = new Sound();
hitetefx.attachSound("hittete");
playermortfx = new Sound();
playermortfx.attachSound("playermort");
mariohitfx = new Sound();
mariohitfx.attachSound("mariohit");
missilepassfx = new Sound();
missilepassfx.attachSound("missilepass");
stop();
Instance of Symbol 39 MovieClip in Frame 2
onClipEvent (load) {
gotoAndStop (3);
}
Frame 3
play();
Instance of Symbol 80 MovieClip "cennescounter" in Frame 3
onClipEvent (enterFrame) {
if (_root.cennes == 100) {
_root.lives = _root.lives + 1;
_root.cennes = 0;
}
}
Frame 4
stop();
Instance of Symbol 84 MovieClip "cennelayer" in Frame 4
onClipEvent (enterFrame) {
this._x = this._parent.level._x;
}
Instance of Symbol 39 MovieClip "legars" in Frame 4
onClipEvent (load) {
_x = 140;
_y = 40;
_root.avancerecule = 0;
saut = false;
_root.valeur2 = 0;
_root.gauche = false;
_root.droite = false;
_root.rebon = false;
valeur3 = -10;
gaucheoudroite = 1;
keylock = false;
_root.playermort = 0;
mortdelay = 30;
delayfin = 200;
}
onClipEvent (enterFrame) {
if (_root.playermort == 0) {
if (this._parent.level.hitTest(this._x, this._y, true) and ((saut == true) or (_root.tombe == true))) {
_root.valeur = 0;
_root.valeur2 = 0;
_root.tombe = false;
saut = false;
} else if ((saut == false) and (_root.tombe != true)) {
_root.tombe = true;
}
if (this._parent.level.hitTest(this._x, this._y, true) and this._parent.level.hitTest(this._x, this._y - 2, true)) {
this._y = this._y - 2;
this._y = int(this._y / 10) * 10;
}
if (this._parent.level.hitTest(this._x, this._y - 60, true) and (_root.valeur < 0)) {
_root.hitetefx.start(0, 1);
_root.test = _root.valeur;
if ((((_root.test == -10) or (_root.test == -14)) or (_root.test == -16)) or (_root.test == -4)) {
this._y = this._y - (_root.test + 10);
} else if ((_root.test != -6) and (_root.test != -8)) {
this._y = this._y + (_root.test + 10);
} else if (_root.test == -6) {
this._y = this._y - 2;
}
_root.valeur = 0;
}
if ((_root.tombe == false) and (_root.rebon == false)) {
if (Key.isDown(38) and (saut == false)) {
if (keylock == false) {
_root.valeur = -18;
_root.jumpfx.start(0, 1);
keylock = true;
saut = true;
}
} else if (saut == false) {
keylock = false;
}
if (saut == true) {
this._y = this._y + _root.valeur;
if (_root.valeur < 10) {
_root.valeur = _root.valeur + 2;
}
}
}
if ((_root.tombe == true) and (_root.rebon == false)) {
this._y = this._y + _root.valeur2;
_root.valeur = _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else if (_root.valeur2 != 0) {
_root.valeur2 = 0;
}
this._parent.level._x = this._parent.level._x - _root.avancerecule;
if ((((this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 55, true)) {
if (_root.avancerecule < 0) {
_root.avancerecule = 0;
}
_root.gauche = true;
} else if ((((this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 55, true)) {
if (_root.avancerecule > 0) {
_root.avancerecule = 0;
}
_root.droite = true;
} else if (_root.gauche == true) {
_root.gauche = false;
} else if (_root.droite == true) {
_root.droite = false;
}
if (((_root.gauche == true) and (_root.droite == true)) and (this.saut == false)) {
_root.droite = false;
_root.gauche = false;
}
if ((saut == false) and (_root.rebon == false)) {
if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("stopdroite");
} else {
this.gotoAndStop("stopgauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("godroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("gogauche");
}
} else if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else {
this.gotoAndStop("sautegauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("sautegauche");
}
if (_root.droite == false) {
if (Key.isDown(39)) {
if (_root.avancerecule < 6) {
gaucheoudroite = 1;
_root.avancerecule = _root.avancerecule + 1;
}
} else if (_root.avancerecule > 0) {
_root.avancerecule = _root.avancerecule - 1;
}
}
if (_root.gauche == false) {
if (Key.isDown(37)) {
if (_root.avancerecule > -6) {
gaucheoudroite = 2;
_root.avancerecule = _root.avancerecule - 1;
}
} else if (_root.avancerecule < 0) {
_root.avancerecule = _root.avancerecule + 1;
}
}
if (_root.rebon == true) {
this._y = this._y + valeur3;
if (valeur3 < 0) {
valeur3 = valeur3 + 2;
} else {
valeur3 = -10;
_root.rebon = false;
}
}
} else if (_root.playermort == 1) {
_root.avancerecule = 0;
if (mortdelay <= 0) {
this._y = this._y + _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else {
mortdelay = mortdelay - 1;
}
} else if (_root.playermort == 3) {
delayfin = delayfin - 1;
if (delayfin == 0) {
this._parent.gotoAndStop("level1clear");
}
if (this._y < 218) {
this._y = this._y + 6;
} else if (this._x < 270) {
this._x = this._x + 6;
this.gotoAndStop("godroite");
} else {
setProperty(this, _visible , "0");
}
}
if (this._y > 420) {
stopAllSounds();
_root.playermortfx.start(0, 1);
_root.playermort = 2;
_root.lives = _root.lives - 1;
_y = -100;
}
}
Instance of Symbol 149 MovieClip "enemy1" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu4.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemy2" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemy3" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu2.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemy4" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu1" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndPlay("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu2" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndPlay("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu3" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndPlay("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu4" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndPlay("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemy20" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu4.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemytype21" in Frame 4
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 10;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
} else {
speed = speed * -1;
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 10;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 161 MovieClip "fireball" in Frame 4
onClipEvent (load) {
hittestoff = 0;
speed = 8;
hitenemi = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((hittestoff == 0) and (this._y > -200)) {
this._x = this._x + avar;
this._y = this._y + speed;
if (this._parent.level.hitTest(this._x, this._y + 2, true)) {
speed = speed * -1;
} else if (speed < 8) {
speed = (speed = speed + 2);
}
if ((this._parent.level.hitTest(this._x - 6, this._y - 5, true) or this._parent.level.hitTest(this._x + 6, this._y - 5, true)) or (hitenemi == 1)) {
this.gotoAndStop("balletouchemur");
hittestoff = 1;
}
if (((this._x > 320) or (this._x < 0)) or (this._y > 250)) {
this.gotoAndStop("stopballe");
hittestoff = 1;
}
}
}
Instance of Symbol 165 MovieClip "fleur1" in Frame 4
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if (this.hitTest(this._parent.legars._x, this._parent.legars._y - 5, 1) and (hittestoff == 0)) {
_root.fireballon = 1;
this._parent.son.gotoAndPlay("grabitem");
this.gotoAndStop("fleuroff");
hittestoff = 1;
}
}
Instance of Symbol 175 MovieClip "star1" in Frame 4
onClipEvent (load) {
speed = -6;
speed2 = 4;
delay = 10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if (hittestoff == 0) {
if (this.hitTest(this._parent.legars._x, this._parent.legars._y - 20, 1) or this.hitTest(this._parent.legars._x, this._parent.legars._y - 40, 1)) {
this.gotoAndStop("staroff");
stopAllSounds();
this._parent.son.gotoAndPlay("invincible");
_root.staron = 1;
hittestoff = 1;
}
this._x = this._x + speed2;
this._y = this._y + speed;
if (this._parent.level.hitTest(this._x + 10, this._y, true)) {
speed = speed * -1;
} else if (speed < 8) {
speed = (speed = speed + 2);
}
if (this._parent.level.hitTest(this._x + 20, this._y - 10, true) and (speed2 > 0)) {
speed2 = speed2 * -1;
} else if (this._parent.level.hitTest(this._x, this._y - 10, true) and (speed2 < 0)) {
speed2 = speed2 * -1;
}
}
}
Instance of Symbol 63 MovieClip "son" in Frame 4
onClipEvent (load) {
delay = 48;
count = 1;
_root.nombreballe = 0;
_root.staron = 0;
startime = 300;
}
onClipEvent (enterFrame) {
if ((_root.staron == 1) and (_root.playermort == 0)) {
if (startime == 0) {
stopAllSounds();
this._parent.son.gotoAndPlay("maintoune");
_root.staron = 0;
startime = 300;
} else {
startime = startime - 1;
}
}
if (_root.playermort == 2) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
_root.fireballon = 0;
this._parent.gotoAndPlay(3);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
on (keyPress "5") {
if (((_root.playermort == 0) and (_root.nombreballe < 2)) and (_root.fireballon == 1)) {
if (count <= 2) {
_root.nombreballe = _root.nombreballe + 1;
if (this._parent.legars.gaucheoudroite == 1) {
valeur = 12;
} else {
valeur = -12;
}
gotoAndPlay ("fireballtire");
this._parent.fireball.duplicateMovieClip("feu" + count, count);
_root["feu" + count].avar = valeur;
_root["feu" + count]._x = 140;
_root["feu" + count]._y = this._parent.legars._y - 20;
count = count + 1;
} else {
count = 1;
}
}
}
Frame 5
gotoAndStop ("cheater");
Frame 6
stop();
Instance of Symbol 39 MovieClip in Frame 6
onClipEvent (load) {
setProperty(this, _visible , "0");
gotoAndStop ("gogauche");
delay = 48;
}
onClipEvent (enterFrame) {
if (_root.aninext == 1) {
if (_x < 250) {
setProperty(this, _visible , "1");
_x = (_x + 2);
} else {
setProperty(this, _visible , "0");
this._parent.son.gotoAndPlay("mariopipe");
_root.aninext = 2;
}
} else if (_root.aninext == 2) {
delay = delay - 1;
if (delay == 0) {
_root.nextFrame();
delay = 20;
}
}
}
Instance of Symbol 63 MovieClip "son" in Frame 6
onClipEvent (load) {
delay = 48;
count = 1;
_root.nombreballe = 0;
_root.staron = 0;
startime = 300;
}
onClipEvent (enterFrame) {
if ((_root.staron == 1) and (_root.playermort == false)) {
if (startime == 0) {
stopAllSounds();
this._parent.son.gotoAndPlay("maintoune");
_root.staron = 0;
startime = 300;
} else {
startime = startime - 1;
}
}
if (stopmainsound == 1) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
_root.fireballon = 0;
this._parent.gotoAndPlay(2);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
on (keyPress "5") {
if (((_root.playermort == false) and (_root.nombreballe < 2)) and (_root.fireballon == 1)) {
if (count <= 2) {
_root.nombreballe = _root.nombreballe + 1;
if (this._parent.legars.gaucheoudroite == 1) {
valeur = 12;
} else {
valeur = -12;
}
gotoAndPlay ("fireballtire");
this._parent.fireball.duplicateMovieClip("feu" + count, count);
_root["feu" + count].avar = valeur;
_root["feu" + count]._x = 140;
_root["feu" + count]._y = this._parent.legars._y - 20;
count = count + 1;
} else {
count = 1;
}
}
}
Frame 7
play();
Frame 8
stop();
Instance of Symbol 183 MovieClip in Frame 8
onClipEvent (enterFrame) {
this._x = this._parent.level._x;
}
Instance of Symbol 39 MovieClip "legars" in Frame 8
onClipEvent (load) {
_x = 140;
_y = 40;
_root.avancerecule = 0;
saut = false;
_root.valeur2 = 0;
_root.gauche = false;
_root.droite = false;
_root.rebon = false;
valeur3 = -10;
gaucheoudroite = 1;
keylock = false;
_root.playermort = 0;
mortdelay = 30;
delayfin = 200;
}
onClipEvent (enterFrame) {
if (_root.playermort == 0) {
if (this._parent.level.hitTest(this._x, this._y, true) and ((saut == true) or (_root.tombe == true))) {
_root.valeur = 0;
_root.valeur2 = 0;
_root.tombe = false;
saut = false;
} else if ((saut == false) and (_root.tombe != true)) {
_root.tombe = true;
}
if (this._parent.level.hitTest(this._x, this._y, true) and this._parent.level.hitTest(this._x, this._y - 2, true)) {
this._y = this._y - 2;
this._y = int(this._y / 10) * 10;
}
if (this._parent.level.hitTest(this._x, this._y - 60, true) and (_root.valeur < 0)) {
_root.hitetefx.start(0, 1);
_root.test = _root.valeur;
if ((((_root.test == -10) or (_root.test == -14)) or (_root.test == -16)) or (_root.test == -4)) {
this._y = this._y - (_root.test + 10);
} else if ((_root.test != -6) and (_root.test != -8)) {
this._y = this._y + (_root.test + 10);
} else if (_root.test == -6) {
this._y = this._y - 2;
}
_root.valeur = 0;
}
if ((_root.tombe == false) and (_root.rebon == false)) {
if (Key.isDown(38) and (saut == false)) {
if (keylock == false) {
_root.valeur = -18;
_root.jumpfx.start(0, 1);
keylock = true;
saut = true;
}
} else if (saut == false) {
keylock = false;
}
if (saut == true) {
this._y = this._y + _root.valeur;
if (_root.valeur < 10) {
_root.valeur = _root.valeur + 2;
}
}
}
if ((_root.tombe == true) and (_root.rebon == false)) {
this._y = this._y + _root.valeur2;
_root.valeur = _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else if (_root.valeur2 != 0) {
_root.valeur2 = 0;
}
this._parent.level._x = this._parent.level._x - _root.avancerecule;
if ((((this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 55, true)) {
if (_root.avancerecule < 0) {
_root.avancerecule = 0;
}
_root.gauche = true;
} else if ((((this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 55, true)) {
if (_root.avancerecule > 0) {
_root.avancerecule = 0;
}
_root.droite = true;
} else if (_root.gauche == true) {
_root.gauche = false;
} else if (_root.droite == true) {
_root.droite = false;
}
if (((_root.gauche == true) and (_root.droite == true)) and (this.saut == false)) {
_root.droite = false;
_root.gauche = false;
}
if ((saut == false) and (_root.rebon == false)) {
if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("stopdroite");
} else {
this.gotoAndStop("stopgauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("godroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("gogauche");
}
} else if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else {
this.gotoAndStop("sautegauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("sautegauche");
}
if (_root.droite == false) {
if (Key.isDown(39)) {
if (_root.avancerecule < 6) {
gaucheoudroite = 1;
_root.avancerecule = _root.avancerecule + 1;
}
} else if (_root.avancerecule > 0) {
_root.avancerecule = _root.avancerecule - 1;
}
}
if (_root.gauche == false) {
if (Key.isDown(37)) {
if (_root.avancerecule > -6) {
gaucheoudroite = 2;
_root.avancerecule = _root.avancerecule - 1;
}
} else if (_root.avancerecule < 0) {
_root.avancerecule = _root.avancerecule + 1;
}
}
if (_root.rebon == true) {
this._y = this._y + valeur3;
if (valeur3 < 0) {
valeur3 = valeur3 + 2;
} else {
valeur3 = -10;
_root.rebon = false;
}
}
} else if (_root.playermort == 1) {
_root.avancerecule = 0;
if (mortdelay <= 0) {
this._y = this._y + _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else {
mortdelay = mortdelay - 1;
}
} else if (_root.playermort == 3) {
delayfin = delayfin - 1;
if (delayfin == 0) {
this._parent.gotoAndStop(10);
}
if (this._y < 218) {
this._y = this._y + 6;
} else if (this._x < 270) {
this._x = this._x + 6;
this.gotoAndStop("godroite");
} else {
setProperty(this, _visible , "0");
}
}
if (this._y > 420) {
stopAllSounds();
_root.playermortfx.start(0, 1);
_root.playermort = 2;
_root.lives = _root.lives - 1;
_y = -100;
}
}
Instance of Symbol 214 MovieClip "enemy1" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 214 MovieClip "enemy2" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 214 MovieClip "enemy3" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu3.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 214 MovieClip "enemy4" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu4.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu1" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(this._parent.tortu2.shellbouge)) {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu2" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu3" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndPlay("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu4" in Frame 8
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndPlay("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
_root.hitetefx.start(0, 1);
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 218 MovieClip "Bigberta" in Frame 8
onClipEvent (load) {
speed = -6;
hittestoff = 0;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
if ((this._x > -10) and (_root.playermort == false)) {
this._x = this._x - _root.avancerecule;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 30) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 30)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndPlay ("ballemort");
hittestoff = 1;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("ballemort");
hittestoff = 1;
}
}
} else {
this.removeMovieClip();
}
}
Instance of Symbol 161 MovieClip "fireball" in Frame 8
onClipEvent (load) {
hittestoff = 0;
speed = 8;
hitenemi = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if ((hittestoff == 0) and (this._y > -200)) {
this._x = this._x + avar;
this._y = this._y + speed;
if (this._parent.level.hitTest(this._x, this._y + 2, true)) {
speed = speed * -1;
} else if (speed < 8) {
speed = (speed = speed + 2);
}
if ((this._parent.level.hitTest(this._x - 6, this._y - 5, true) or this._parent.level.hitTest(this._x + 6, this._y - 5, true)) or (hitenemi == 1)) {
this.gotoAndStop("balletouchemur");
hittestoff = 1;
}
if (((this._x > 320) or (this._x < 0)) or (this._y > 250)) {
this.gotoAndStop("stopballe");
hittestoff = 1;
}
}
}
Instance of Symbol 63 MovieClip "son" in Frame 8
onClipEvent (load) {
delay = 48;
count = 1;
_root.nombreballe = 0;
_root.staron = 0;
startime = 300;
}
onClipEvent (enterFrame) {
if ((_root.staron == 1) and (_root.playermort == 0)) {
if (startime == 0) {
stopAllSounds();
this._parent.son.gotoAndPlay("maintoune2");
_root.staron = 0;
startime = 300;
} else {
startime = startime - 1;
}
}
if (_root.playermort == 2) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
_root.fireballon = 0;
this._parent.gotoAndPlay(7);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
on (keyPress "5") {
if (((_root.playermort == 0) and (_root.nombreballe < 2)) and (_root.fireballon == 1)) {
if (count <= 2) {
_root.nombreballe = _root.nombreballe + 1;
if (this._parent.legars.gaucheoudroite == 1) {
valeur = 12;
} else {
valeur = -12;
}
gotoAndPlay ("fireballtire");
this._parent.fireball.duplicateMovieClip("feu" + count, count);
_root["feu" + count].avar = valeur;
_root["feu" + count]._x = 140;
_root["feu" + count]._y = this._parent.legars._y - 20;
count = count + 1;
} else {
count = 1;
}
}
}
Instance of Symbol 175 MovieClip "star1" in Frame 8
onClipEvent (load) {
speed = -6;
speed2 = 4;
delay = 10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if (hittestoff == 0) {
if (this.hitTest(this._parent.legars._x, this._parent.legars._y - 20, 1) or this.hitTest(this._parent.legars._x, this._parent.legars._y - 40, 1)) {
this.gotoAndStop("staroff");
stopAllSounds();
this._parent.son.gotoAndPlay("invincible");
_root.staron = 1;
hittestoff = 1;
}
this._x = this._x + speed2;
this._y = this._y + speed;
if (this._parent.level.hitTest(this._x + 10, this._y, true)) {
speed = speed * -1;
} else if (speed < 8) {
speed = (speed = speed + 2);
}
if (this._parent.level.hitTest(this._x + 20, this._y - 10, true) and (speed2 > 0)) {
speed2 = speed2 * -1;
} else if (this._parent.level.hitTest(this._x, this._y - 10, true) and (speed < 0)) {
speed2 = speed2 * -1;
}
}
}
Frame 10
play();
Frame 11
stop();
Instance of Symbol 222 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = this._parent.level._x;
}
Instance of Symbol 234 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = this._parent.level._x;
}
Instance of Symbol 39 MovieClip "legars" in Frame 11
onClipEvent (load) {
_x = 140;
_y = 120;
_root.plateforme = 0;
_root.avancerecule = 0;
saut = false;
_root.valeur2 = 0;
_root.gauche = false;
_root.droite = false;
_root.rebon = false;
valeur3 = -10;
gaucheoudroite = 1;
keylock = false;
_root.playermort = 0;
mortdelay = 30;
delayfin = 200;
}
onClipEvent (enterFrame) {
if (_root.playermort == 0) {
if (this._parent.level.hitTest(this._x, this._y, true) and ((saut == true) or (_root.tombe == true))) {
_root.valeur = 0;
_root.valeur2 = 0;
_root.tombe = false;
saut = false;
} else if ((saut == false) and (_root.tombe != true)) {
_root.tombe = true;
}
if (this._parent.level.hitTest(this._x, this._y, true) and this._parent.level.hitTest(this._x, this._y - 2, true)) {
this._y = this._y - 2;
this._y = int(this._y / 10) * 10;
}
if (this._parent.level.hitTest(this._x, this._y - 60, true) and (_root.valeur < 0)) {
_root.hitetefx.start(0, 1);
_root.test = _root.valeur;
if ((((_root.test == -10) or (_root.test == -14)) or (_root.test == -16)) or (_root.test == -4)) {
this._y = this._y - (_root.test + 10);
} else if ((_root.test != -6) and (_root.test != -8)) {
this._y = this._y + (_root.test + 10);
} else if (_root.test == -6) {
this._y = this._y - 2;
}
_root.valeur = 0;
}
if ((_root.tombe == false) and (_root.rebon == false)) {
if (Key.isDown(38) and (saut == false)) {
if (keylock == false) {
_root.valeur = -18;
_root.jumpfx.start(0, 1);
keylock = true;
saut = true;
}
} else if (saut == false) {
keylock = false;
}
if (saut == true) {
this._y = this._y + _root.valeur;
if (_root.valeur < 10) {
_root.valeur = _root.valeur + 2;
}
}
}
if ((_root.tombe == true) and (_root.rebon == false)) {
this._y = this._y + _root.valeur2;
_root.valeur = _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else if (_root.valeur2 != 0) {
_root.valeur2 = 0;
}
this._parent.level._x = this._parent.level._x - _root.avancerecule;
if ((((this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 55, true)) {
if (_root.avancerecule < 0) {
_root.avancerecule = 0;
}
_root.gauche = true;
} else if ((((this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 55, true)) {
if (_root.avancerecule > 0) {
_root.avancerecule = 0;
}
_root.droite = true;
} else if (_root.gauche == true) {
_root.gauche = false;
} else if (_root.droite == true) {
_root.droite = false;
}
if (((_root.gauche == true) and (_root.droite == true)) and (this.saut == false)) {
_root.droite = false;
_root.gauche = false;
}
if ((saut == false) and (_root.rebon == false)) {
if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("stopdroite");
} else {
this.gotoAndStop("stopgauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("godroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("gogauche");
}
} else if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else {
this.gotoAndStop("sautegauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("sautegauche");
}
if (_root.droite == false) {
if (Key.isDown(39)) {
if (_root.avancerecule < 6) {
gaucheoudroite = 1;
_root.avancerecule = _root.avancerecule + 1;
}
} else if (_root.avancerecule > 0) {
_root.avancerecule = _root.avancerecule - 1;
}
}
if (_root.gauche == false) {
if (Key.isDown(37)) {
if (_root.avancerecule > -6) {
gaucheoudroite = 2;
_root.avancerecule = _root.avancerecule - 1;
}
} else if (_root.avancerecule < 0) {
_root.avancerecule = _root.avancerecule + 1;
}
}
if (_root.rebon == true) {
this._y = this._y + valeur3;
if (valeur3 < 0) {
valeur3 = valeur3 + 2;
} else {
valeur3 = -10;
_root.rebon = false;
}
}
} else if (_root.playermort == 1) {
_root.avancerecule = 0;
if (mortdelay <= 0) {
this._y = this._y + _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else {
mortdelay = mortdelay - 1;
}
} else if (_root.playermort == 3) {
delayfin = delayfin - 1;
if (delayfin == 0) {
this._parent.gotoAndPlay(13);
}
if (this._y < 218) {
this._y = this._y + 6;
} else if (this._x < 270) {
this._x = this._x + 6;
this.gotoAndStop("godroite");
} else {
setProperty(this, _visible , "0");
}
}
if (this._y > 420) {
stopAllSounds();
_root.playermortfx.start(0, 1);
_root.playermort = 2;
_root.lives = _root.lives - 1;
_y = -100;
}
}
Instance of Symbol 63 MovieClip "son" in Frame 11
onClipEvent (load) {
delay = 48;
count = 1;
_root.nombreballe = 0;
_root.staron = 0;
startime = 300;
}
onClipEvent (enterFrame) {
if ((_root.staron == 1) and (_root.playermort == 0)) {
if (startime == 0) {
stopAllSounds();
this._parent.son.gotoAndPlay("maintoune2");
_root.staron = 0;
startime = 300;
} else {
startime = startime - 1;
}
}
if (_root.playermort == 2) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
_root.fireballon = 0;
this._parent.gotoAndPlay(10);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
on (keyPress "5") {
if (((_root.playermort == 0) and (_root.nombreballe < 2)) and (_root.fireballon == 1)) {
if (count <= 2) {
_root.nombreballe = _root.nombreballe + 1;
if (this._parent.legars.gaucheoudroite == 1) {
valeur = 12;
} else {
valeur = -12;
}
gotoAndPlay ("fireballtire");
this._parent.fireball.duplicateMovieClip("feu" + count, count);
_root["feu" + count].avar = valeur;
_root["feu" + count]._x = 140;
_root["feu" + count]._y = this._parent.legars._y - 20;
count = count + 1;
} else {
count = 1;
}
}
}
Instance of Symbol 218 MovieClip "Bigberta" in Frame 11
onClipEvent (load) {
speed = -6;
hittestoff = 0;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
if ((this._x > -10) and (_root.playermort == false)) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 30) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 30)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndPlay ("ballemort");
hittestoff = 1;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("ballemort");
hittestoff = 1;
}
}
} else {
this.removeMovieClip();
}
}
Instance of Symbol 254 MovieClip "hammer1" in Frame 11
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
}
}
}
Instance of Symbol 161 MovieClip "fireball" in Frame 11
onClipEvent (load) {
hittestoff = 0;
speed = 8;
hitenemi = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((hittestoff == 0) and (this._y > -200)) {
this._x = this._x + avar;
this._y = this._y + speed;
if (this._parent.level.hitTest(this._x, this._y + 2, true)) {
speed = speed * -1;
} else if (speed < 8) {
speed = (speed = speed + 2);
}
if ((this._parent.level.hitTest(this._x - 6, this._y - 5, true) or this._parent.level.hitTest(this._x + 6, this._y - 5, true)) or (hitenemi == 1)) {
this.gotoAndStop("balletouchemur");
hittestoff = 1;
}
if (((this._x > 320) or (this._x < 0)) or (this._y > 250)) {
this.gotoAndStop("stopballe");
hittestoff = 1;
}
}
}
Instance of Symbol 165 MovieClip "fleur1" in Frame 11
onClipEvent (load) {
defaultx = this._x;
hittestoff = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.legars._x, this._parent.legars._y - 5, 1) and (hittestoff == 0)) {
_root.fireballon = 1;
this._parent.son.gotoAndPlay("grabitem");
this.gotoAndStop("fleuroff");
hittestoff = 1;
}
this._x = this._parent.level._x + defaultx;
}
Instance of Symbol 260 MovieClip "tortuv1" in Frame 11
onClipEvent (load) {
speed = -2;
speed2 = -1;
delay = 60;
delay3 = 0;
hittestoff = 8;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 8) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
delay3 = 24;
this._parent.son.gotoAndPlay("champs");
_root.rebon = true;
hittestoff = 0;
} else if (((this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 40)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 40)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
this._y = this._y + speed2;
if (delay == 0) {
speed2 = speed2 * -1;
delay = 60;
} else {
delay = delay - 1;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
if (delay3 == 0) {
_root.rebon = true;
gotoAndStop ("mort1");
hittestoff = 1;
}
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndStop ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndStop ("mort1");
}
_x = (_x + speed);
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
if (delay3 > 0) {
delay3 = delay3 - 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu1" in Frame 11
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemy20" in Frame 11
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemytype21" in Frame 11
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 10;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
} else {
speed = speed * -1;
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 10;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu2" in Frame 11
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 260 MovieClip "tortuv2" in Frame 11
onClipEvent (load) {
speed = -2;
speed2 = -1;
delay = 60;
delay3 = 0;
hittestoff = 8;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 8) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
delay3 = 24;
this._parent.son.gotoAndPlay("champs");
_root.rebon = true;
hittestoff = 0;
} else if (((this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 40)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 40)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
this._y = this._y + speed2;
if (delay == 0) {
speed2 = speed2 * -1;
delay = 60;
} else {
delay = delay - 1;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
if (delay3 == 0) {
_root.rebon = true;
gotoAndStop ("mort1");
hittestoff = 1;
}
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndStop ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndStop ("mort1");
}
_x = (_x + speed);
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
if (delay3 > 0) {
delay3 = delay3 - 1;
}
}
Instance of Symbol 267 MovieClip "hammerbros1" in Frame 11
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur = -18;
valeur2 = 0;
delay = 20;
delay2 = 20;
delay3 = 60;
positioncounter = 0;
defaultx = this._x;
count = 200;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
this._y = int(this._y);
if ((this._x < 360) or (killcode == true)) {
positioncounter = positioncounter + speed;
killcode = true;
if ((hittestoff == 0) and (_root.playermort == false)) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
_root.rebon = true;
gotoAndPlay ("hambromort");
hittestoff = 1;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("hambromort");
hittestoff = 1;
}
if (delay <= 0) {
this._parent.hammer1.duplicateMovieClip("boxx" + count, count);
_root["boxx" + count].gotoAndPlay(1);
_root["boxx" + count]._x = _x - (random(20) - 10);
_root["boxx" + count]._y = _y - 30;
count = count + 1;
delay = random(30);
} else {
delay = delay - 1;
}
if (count == 205) {
count = 200;
}
if (((delay2 == 0) or (positioncounter < -88)) or (positioncounter > -2)) {
speed = speed * -1;
delay2 = random(40);
} else {
delay2 = delay2 - 1;
}
if (delay3 == 0) {
jump = 1;
delay3 = random(100) + 50;
} else {
delay3 = delay3 - 1;
}
if (jump == 1) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 2;
}
} else {
if (valeur2 == 0) {
_x = (_x + speed);
}
valeur = -18;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
if ((jump == 1) and (valeur > 0)) {
valeur = 0;
jump = 0;
}
this._y = int(this._y / 10) * 10;
valeur2 = 0;
} else if (jump == 0) {
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("hammerbromort");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("hammerbromort");
hittestoff = 11;
}
}
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 260 MovieClip "turtuv3" in Frame 11
onClipEvent (load) {
speed = -2;
speed2 = -1;
delay = 60;
delay3 = 0;
hittestoff = 8;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 8) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
delay3 = 24;
this._parent.son.gotoAndPlay("champs");
_root.rebon = true;
hittestoff = 0;
} else if (((this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 40)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 40)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
this._y = this._y + speed2;
if (delay == 0) {
speed2 = speed2 * -1;
delay = 60;
} else {
delay = delay - 1;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
if (delay3 == 0) {
_root.rebon = true;
gotoAndStop ("mort1");
hittestoff = 1;
}
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndStop ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndStop ("mort1");
}
_x = (_x + speed);
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
if (delay3 > 0) {
delay3 = delay3 - 1;
}
}
Instance of Symbol 260 MovieClip "tortuv4" in Frame 11
onClipEvent (load) {
speed = -2;
speed2 = -1;
delay = 60;
delay3 = 0;
hittestoff = 8;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 8) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
delay3 = 24;
this._parent.son.gotoAndPlay("champs");
_root.rebon = true;
hittestoff = 0;
} else if (((this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 40)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 40)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
this._y = this._y + speed2;
if (delay == 0) {
speed2 = speed2 * -1;
delay = 60;
} else {
delay = delay - 1;
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
if (delay3 == 0) {
_root.rebon = true;
gotoAndStop ("mort1");
hittestoff = 1;
}
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("tordroite");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("torgauche");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
} else if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndStop ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
gotoAndStop ("mortcarapace");
hittestoff = 11;
}
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndStop ("mort1");
}
_x = (_x + speed);
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
speed = speed * -1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
if (delay3 > 0) {
delay3 = delay3 - 1;
}
}
Instance of Symbol 275 MovieClip "porc1" in Frame 11
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
this._x = this._x - _root.plateforme;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
} else {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("porcmort");
hittestoff = 2;
}
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) and (speed < 0)) {
gotoAndStop ("porcd");
speed = speed * -1;
} else if (this._parent.level.hitTest(this._x + 14, this._y - 15, true) and (speed > 0)) {
gotoAndStop ("porcg");
speed = speed * -1;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("porcg");
} else {
gotoAndStop ("porcd");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(_root.feu1)) {
_root.feu1.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("porcmort");
hittestoff = 2;
}
if (this.hitTest(_root.feu2)) {
_root.feu2.hitenemi = 1;
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("porcmort");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Frame 13
play();
Frame 14
stop();
Instance of Symbol 309 MovieClip "cenneslayer04" in Frame 14
onClipEvent (enterFrame) {
this._x = this._parent.level._x;
}
Instance of Symbol 63 MovieClip "son" in Frame 14
onClipEvent (load) {
delay = 48;
count = 1;
_root.nombreballe = 0;
_root.staron = 0;
startime = 300;
}
onClipEvent (enterFrame) {
if ((_root.staron == 1) and (_root.playermort == 0)) {
if (startime == 0) {
stopAllSounds();
this._parent.son.gotoAndPlay("maintoune2");
_root.staron = 0;
startime = 300;
} else {
startime = startime - 1;
}
}
if (_root.playermort == 2) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
_root.fireballon = 0;
this._parent.gotoAndPlay(13);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
on (keyPress "5") {
if (((_root.playermort == 0) and (_root.nombreballe < 2)) and (_root.fireballon == 1)) {
if (count <= 2) {
_root.nombreballe = _root.nombreballe + 1;
if (this._parent.legars.gaucheoudroite == 1) {
valeur = 12;
} else {
valeur = -12;
}
gotoAndPlay ("fireballtire");
this._parent.fireball.duplicateMovieClip("feu" + count, count);
_root["feu" + count].avar = valeur;
_root["feu" + count]._x = 140;
_root["feu" + count]._y = this._parent.legars._y - 20;
count = count + 1;
} else {
count = 1;
}
}
}
Instance of Symbol 39 MovieClip "legars" in Frame 14
onClipEvent (load) {
_x = 140;
_y = 120;
_root.plateforme = 0;
_root.avancerecule = 0;
saut = false;
_root.valeur2 = 0;
_root.gauche = false;
_root.droite = false;
_root.rebon = false;
valeur3 = -10;
gaucheoudroite = 1;
keylock = false;
_root.playermort = 0;
mortdelay = 30;
delayfin = 200;
}
onClipEvent (enterFrame) {
if (_root.playermort == 0) {
if (this._parent.level.hitTest(this._x, this._y, true) and ((saut == true) or (_root.tombe == true))) {
_root.valeur = 0;
_root.valeur2 = 0;
_root.tombe = false;
saut = false;
} else if ((saut == false) and (_root.tombe != true)) {
_root.tombe = true;
}
if (this._parent.level.hitTest(this._x, this._y, true) and this._parent.level.hitTest(this._x, this._y - 2, true)) {
this._y = this._y - 2;
this._y = int(this._y / 10) * 10;
}
if (this._parent.level.hitTest(this._x, this._y - 60, true) and (_root.valeur < 0)) {
_root.hitetefx.start(0, 1);
_root.test = _root.valeur;
if ((((_root.test == -10) or (_root.test == -14)) or (_root.test == -16)) or (_root.test == -4)) {
this._y = this._y - (_root.test + 10);
} else if ((_root.test != -6) and (_root.test != -8)) {
this._y = this._y + (_root.test + 10);
} else if (_root.test == -6) {
this._y = this._y - 2;
}
_root.valeur = 0;
}
if ((_root.tombe == false) and (_root.rebon == false)) {
if (Key.isDown(38) and (saut == false)) {
if (keylock == false) {
_root.valeur = -18;
_root.jumpfx.start(0, 1);
keylock = true;
saut = true;
}
} else if (saut == false) {
keylock = false;
}
if (saut == true) {
this._y = this._y + _root.valeur;
if (_root.valeur < 10) {
_root.valeur = _root.valeur + 2;
}
}
}
if ((_root.tombe == true) and (_root.rebon == false)) {
this._y = this._y + _root.valeur2;
_root.valeur = _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else if (_root.valeur2 != 0) {
_root.valeur2 = 0;
}
this._parent.level._x = this._parent.level._x - _root.avancerecule;
if ((((this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 10), this._y - 55, true)) {
if (_root.avancerecule < 0) {
_root.avancerecule = 0;
}
_root.gauche = true;
} else if ((((this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 10), this._y - 55, true)) {
if (_root.avancerecule > 0) {
_root.avancerecule = 0;
}
_root.droite = true;
} else if (_root.gauche == true) {
_root.gauche = false;
} else if (_root.droite == true) {
_root.droite = false;
}
if (((_root.gauche == true) and (_root.droite == true)) and (this.saut == false)) {
_root.droite = false;
_root.gauche = false;
}
if ((saut == false) and (_root.rebon == false)) {
if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("stopdroite");
} else {
this.gotoAndStop("stopgauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("godroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("gogauche");
}
} else if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else {
this.gotoAndStop("sautegauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("sautegauche");
}
if (_root.droite == false) {
if (Key.isDown(39) and (this._parent.level._x > -2400)) {
if (_root.avancerecule < 6) {
gaucheoudroite = 1;
_root.avancerecule = _root.avancerecule + 1;
}
} else if (_root.avancerecule > 0) {
_root.avancerecule = _root.avancerecule - 1;
}
}
if (_root.gauche == false) {
if (Key.isDown(37)) {
if (_root.avancerecule > -6) {
gaucheoudroite = 2;
_root.avancerecule = _root.avancerecule - 1;
}
} else if (_root.avancerecule < 0) {
_root.avancerecule = _root.avancerecule + 1;
}
}
if (_root.rebon == true) {
this._y = this._y + valeur3;
if (valeur3 < 0) {
valeur3 = valeur3 + 2;
} else {
valeur3 = -10;
_root.rebon = false;
}
}
} else if (_root.playermort == 1) {
_root.avancerecule = 0;
if (mortdelay <= 0) {
this._y = this._y + _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else {
mortdelay = mortdelay - 1;
}
} else if (_root.playermort == 3) {
if (delayfin == 0) {
gotoAndStop ("godroite");
this._x = this._x + 4;
if (_x > 390) {
this._parent.gotoAndPlay(16);
}
} else {
this._y = 160;
delayfin = delayfin - 1;
}
}
if (this._y > 420) {
stopAllSounds();
_root.playermortfx.start(0, 1);
_root.playermort = 2;
_root.lives = _root.lives - 1;
_y = -100;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (((this.hitTest(this._parent.legars._x - 13, this._parent.legars._y, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y, 1)) or this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1)) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (((this.hitTest(this._parent.legars._x - 13, this._parent.legars._y, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y, 1)) or this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1)) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (((this.hitTest(this._parent.legars._x - 13, this._parent.legars._y, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y, 1)) or this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1)) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (((this.hitTest(this._parent.legars._x - 13, this._parent.legars._y, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y, 1)) or this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1)) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
_rotation = (_rotation + 2);
if (this.hitTest(this._parent.legars._x - 13, this._parent.legars._y - 56, 1) or this.hitTest(this._parent.legars._x + 13, this._parent.legars._y - 56, 1)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
Instance of Symbol 354 MovieClip "Bowser1" in Frame 14
onClipEvent (load) {
speed = -2;
_root.boss = 0;
hittestoff = 0;
valeur = -14;
valeur2 = 0;
delay = 20;
delay2 = 20;
delay3 = 60;
defaultx = this._x;
count = 200;
}
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
defaultx = defaultx - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if ((hittestoff == 0) and (_root.playermort != 1)) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if (delay <= 0) {
gotoAndStop ("normal");
this._parent.bowserflame.duplicateMovieClip("boxx" + count, count);
_root["boxx" + count].gotoAndPlay(1);
_root["boxx" + count]._x = _x - 30;
_root["boxx" + count]._y = _y - 40;
this._parent.son.gotoAndPlay("bowsercrache");
count = count + 1;
delay = random(90) + 10;
} else {
delay = delay - 1;
if ((delay < 10) and (delay > 0)) {
gotoAndStop ("crache");
}
}
if (count == 210) {
count = 200;
}
if ((this._x > defaultx) and (speed > 0)) {
delay2 = 60;
speed = speed * -1;
} else if ((this._x < (defaultx - 120)) and (speed < 0)) {
delay2 = 60;
speed = speed * -1;
} else if (delay2 == 0) {
speed = speed * -1;
delay2 = random(40);
} else {
delay2 = delay2 - 1;
}
if (delay3 == 0) {
jump = 1;
delay3 = random(100) + 50;
} else {
delay3 = delay3 - 1;
}
if (jump == 1) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 1;
}
} else {
if (valeur2 == 0) {
_x = (_x + speed);
}
valeur = -14;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
if ((jump == 1) and (valeur > 0)) {
valeur = 0;
jump = 0;
}
this._y = int(this._y / 10) * 10;
valeur2 = 0;
} else if (jump == 0) {
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this._y > 270) {
gotoAndStop ("zeotte");
hittestoff = 1;
}
if (_root.boss == 0) {
if (this._parent.level._x < -2100) {
stopAllSounds();
delay = 20;
this._parent.level.brige.gotoAndPlay("bossstart");
this._parent.son.gotoAndPlay("bowsertheme");
_root.boss = 1;
} else {
if (((delay <= 0) and (this._parent.level._x < -1500)) and (_root.playermort != 1)) {
this._parent.bowserflame.duplicateMovieClip("boxx" + count, count);
_root["boxx" + count].gotoAndPlay(1);
_root["boxx" + count]._x = 400;
_root["boxx" + count]._y = random(120) + 40;
this._parent.son.gotoAndPlay("bowsercrache");
count = count + 1;
delay = random(60) + 30;
} else {
delay = delay - 1;
}
if (count == 210) {
count = 200;
}
}
}
}
Instance of Symbol 359 MovieClip "bowserflame" in Frame 14
onClipEvent (load) {
speed = -6;
hittestoff = 0;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
if ((this._x > -10) and (_root.playermort == false)) {
this._x = this._x - _root.avancerecule;
if (hittestoff == 0) {
this._x = this._x + speed;
if (((this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 30) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 30)) or this.hitTest(this._parent.legars._x, this._parent.legars._y - 15)) or this.hitTest(this._parent.legars._x, this._parent.legars._y - 45)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
}
}
} else {
this.removeMovieClip();
}
}
Frame 17
stop();
Instance of Symbol 39 MovieClip "legars" in Frame 17
onClipEvent (load) {
_x = 140;
_y = 40;
_root.avancerecule = 0;
saut = false;
_root.valeur2 = 0;
_root.gauche = false;
_root.droite = false;
_root.rebon = false;
valeur3 = -10;
gaucheoudroite = 1;
keylock = false;
_root.playermort = 0;
mortdelay = 30;
delayfin = 200;
}
onClipEvent (enterFrame) {
if (_root.playermort == 0) {
if (this._parent.level.hitTest(this._x, this._y, true) and ((saut == true) or (_root.tombe == true))) {
_root.valeur = 0;
_root.valeur2 = 0;
_root.tombe = false;
saut = false;
} else if ((saut == false) and (_root.tombe != true)) {
_root.tombe = true;
}
if (this._parent.level.hitTest(this._x, this._y, true) and this._parent.level.hitTest(this._x, this._y - 2, true)) {
this._y = this._y - 2;
this._y = int(this._y / 10) * 10;
}
if (this._parent.level.hitTest(this._x, this._y - 60, true) and (_root.valeur < 0)) {
_root.hitetefx.start(0, 1);
_root.test = _root.valeur;
if ((((_root.test == -10) or (_root.test == -14)) or (_root.test == -16)) or (_root.test == -4)) {
this._y = this._y - (_root.test + 10);
} else if ((_root.test != -6) and (_root.test != -8)) {
this._y = this._y + (_root.test + 10);
} else if (_root.test == -6) {
this._y = this._y - 2;
}
_root.valeur = 0;
}
if ((_root.tombe == false) and (_root.rebon == false)) {
if (Key.isDown(38) and (saut == false)) {
if (keylock == false) {
_root.valeur = -18;
_root.jumpfx.start(0, 1);
keylock = true;
saut = true;
}
} else if (saut == false) {
keylock = false;
}
if (saut == true) {
this._y = this._y + _root.valeur;
if (_root.valeur < 10) {
_root.valeur = _root.valeur + 2;
}
}
}
if ((_root.tombe == true) and (_root.rebon == false)) {
this._y = this._y + _root.valeur2;
_root.valeur = _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else if (_root.valeur2 != 0) {
_root.valeur2 = 0;
}
this._parent.level._x = this._parent.level._x - _root.avancerecule;
if ((((this._parent.level.hitTest(this._x + (_root.avancerecule - 15), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule - 15), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 15), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 15), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule - 15), this._y - 55, true)) {
if (_root.avancerecule < 0) {
_root.avancerecule = 0;
}
_root.gauche = true;
} else if ((((this._parent.level.hitTest(this._x + (_root.avancerecule + 15), this._y - 40, true) or this._parent.level.hitTest(this._x + (_root.avancerecule + 15), this._y - 20, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 15), this._y - 30, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 15), this._y - 2, true)) or this._parent.level.hitTest(this._x + (_root.avancerecule + 15), this._y - 55, true)) {
if (_root.avancerecule > 0) {
_root.avancerecule = 0;
}
_root.droite = true;
} else if (_root.gauche == true) {
_root.gauche = false;
} else if (_root.droite == true) {
_root.droite = false;
}
if (((_root.gauche == true) and (_root.droite == true)) and (this.saut == false)) {
_root.droite = false;
_root.gauche = false;
}
if ((saut == false) and (_root.rebon == false)) {
if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("stopdroite");
} else {
this.gotoAndStop("stopgauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("godroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("gogauche");
}
} else if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else {
this.gotoAndStop("sautegauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("sautegauche");
}
if (_root.droite == false) {
if (Key.isDown(39)) {
if (_root.avancerecule < 6) {
gaucheoudroite = 1;
_root.avancerecule = _root.avancerecule + 1;
}
} else if (_root.avancerecule > 0) {
_root.avancerecule = _root.avancerecule - 1;
}
}
if (_root.gauche == false) {
if (Key.isDown(37)) {
if (_root.avancerecule > -6) {
gaucheoudroite = 2;
_root.avancerecule = _root.avancerecule - 1;
}
} else if (_root.avancerecule < 0) {
_root.avancerecule = _root.avancerecule + 1;
}
}
if (_root.rebon == true) {
this._y = this._y + valeur3;
if (valeur3 < 0) {
valeur3 = valeur3 + 2;
} else {
valeur3 = -10;
_root.rebon = false;
}
}
} else if (_root.playermort == 1) {
_root.avancerecule = 0;
if (mortdelay <= 0) {
this._y = this._y + _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else {
mortdelay = mortdelay - 1;
}
} else if (_root.playermort == 3) {
delayfin = delayfin - 1;
if (delayfin == 0) {
this._parent.gotoAndStop("level1clear");
}
if (this._y < 218) {
this._y = this._y + 6;
} else if (this._x < 270) {
this._x = this._x + 6;
this.gotoAndStop("godroite");
} else {
setProperty(this, _visible , "0");
}
}
if (this._y > 420) {
stopAllSounds();
_root.playermortfx.start(0, 1);
_root.playermort = 2;
_root.lives = _root.lives - 1;
_y = -100;
}
}
Instance of Symbol 63 MovieClip "son" in Frame 17
onClipEvent (load) {
delay = 48;
count = 1;
_root.nombreballe = 0;
_root.staron = 0;
startime = 300;
}
onClipEvent (enterFrame) {
if ((_root.staron == 1) and (_root.playermort == 0)) {
if (startime == 0) {
stopAllSounds();
this._parent.son.gotoAndPlay("maintoune");
_root.staron = 0;
startime = 300;
} else {
startime = startime - 1;
}
}
if (_root.playermort == 2) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
_root.fireballon = 0;
this._parent.gotoAndPlay(16);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
on (keyPress "5") {
if (((_root.playermort == 0) and (_root.nombreballe < 2)) and (_root.fireballon == 1)) {
if (count <= 2) {
_root.nombreballe = _root.nombreballe + 1;
if (this._parent.legars.gaucheoudroite == 1) {
valeur = 12;
} else {
valeur = -12;
}
gotoAndPlay ("fireballtire");
this._parent.fireball.duplicateMovieClip("feu" + count, count);
_root["feu" + count].avar = valeur;
_root["feu" + count]._x = 140;
_root["feu" + count]._y = this._parent.legars._y - 20;
count = count + 1;
} else {
count = 1;
}
}
}
Instance of Symbol 391 MovieClip "missileboss" in Frame 17
onClipEvent (load) {
speed = -12;
defaultx = this._x;
defaulty = this._y;
}
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
defaultx = defaultx - _root.avancerecule;
if (moveok == 1) {
_x = (_x + speed);
if (this.hitTest(this._parent.legars._x, this._parent.legars._y - 30) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 50)) {
_x = this._parent.legars._x;
gotoAndPlay ("blow");
_root.playermort = 1;
this._parent.legars.gotoAndStop("p1mort");
moveok = 0;
}
}
if (_root.bosson == 1) {
if (speed < 0) {
if ((_x < 360) and (lockson2 == 0)) {
_root.missilepassfx.start(0, 1);
lockson2 = 1;
}
if (this._x < -200) {
if (this.boshitzone.bosshit != 1) {
this._y = random(180) + 40;
this.bosspart.gotoAndStop("vertdroite");
lockson1 = 0;
speed = speed * -1;
} else {
gotoAndStop (1);
this._parent.flashani.gotoAndPlay("kabow");
moveok = 0;
_x = defaultx;
_y = defaulty;
moveok = 0;
this._parent.fullboss01.gotoAndPlay("reset");
_root.bosson = 2;
}
}
} else if (speed > 0) {
if ((_x > -40) and (lockson1 == 0)) {
_root.missilepassfx.start(0, 1);
lockson1 = 1;
}
if (this._x > 500) {
if (this.boshitzone.bosshit != 1) {
this._y = random(180) + 40;
this.bosspart.gotoAndStop("vertgauche");
lockson2 = 0;
speed = speed * -1;
} else {
gotoAndStop (1);
this._parent.flashani.gotoAndPlay("kabow");
_x = defaultx;
_y = defaulty;
moveok = 0;
this._parent.fullboss01.gotoAndPlay("reset");
_root.bosson = 2;
}
}
}
}
}
Instance of Symbol 402 MovieClip "fullboss01" in Frame 17
onClipEvent (load) {
_root.bosson = 0;
}
onClipEvent (enterFrame) {
_x = (_x - _root.avancerecule);
if (((_x - this._parent.legars._x) < 140) and (_root.bosson == 0)) {
this._parent.missileboss.gotoAndPlay("reload");
gotoAndPlay ("bossani");
_root.bosson = 1;
} else if ((((_x - this._parent.legars._x) < 140) and (_root.bosson == 2)) and (notready == 0)) {
this._parent.missileboss.gotoAndPlay("reload");
this._parent.missileboss.speed = -12;
gotoAndPlay ("tetefall");
_root.bosson = 1;
}
}
Frame 26
stop();
Instance of Symbol 409 MovieClip in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
}
Instance of Symbol 416 MovieClip "level" in Frame 26
onClipEvent (enterFrame) {
if (_root.finale == false) {
if (_root.playermort == false) {
_root.levelx = this._x;
if (this.hitTest(this._parent.legars._x, this._parent.legars._y, true)) {
_root.valeur = 0;
_root.valeur2 = 0;
this._parent.legars._y = int(this._parent.legars._y / 10) * 10;
_root.tombe = false;
this._parent.legars.saut = false;
} else if ((this._parent.legars.saut == false) and (_root.tombe != true)) {
_root.tombe = true;
}
if (this.hitTest(this._parent.legars._x, this._parent.legars._y - 60, true) and (_root.valeur < 0)) {
this._parent.son.gotoAndPlay("hittete");
_root.test = _root.valeur;
if ((((_root.test == -10) or (_root.test == -14)) or (_root.test == -16)) or (_root.test == -4)) {
this._parent.legars._y = this._parent.legars._y - (_root.test + 10);
} else if ((_root.test != -6) and (_root.test != -8)) {
this._parent.legars._y = this._parent.legars._y + (_root.test + 10);
} else if (_root.test == -6) {
this._parent.legars._y = this._parent.legars._y - 2;
}
_root.valeur = 0;
}
if ((((this.hitTest(this._parent.legars._x + (_root.avancerecule - 10), this._parent.legars._y + (_root.valeur - 40), true) or this.hitTest(this._parent.legars._x + (_root.avancerecule - 10), this._parent.legars._y + (_root.valeur - 20), true)) or this.hitTest(this._parent.legars._x + (_root.avancerecule - 10), this._parent.legars._y + (_root.valeur - 30), true)) or this.hitTest(this._parent.legars._x + (_root.avancerecule - 10), this._parent.legars._y + (_root.valeur - 2), true)) or this.hitTest(this._parent.legars._x + (_root.avancerecule - 10), this._parent.legars._y + (_root.valeur - 58), true)) {
if (_root.avancerecule < 0) {
_root.avancerecule = 0;
}
_root.gauche = true;
} else if ((((this.hitTest(this._parent.legars._x + (_root.avancerecule + 10), this._parent.legars._y + (_root.valeur - 40), true) or this.hitTest(this._parent.legars._x + (_root.avancerecule + 10), this._parent.legars._y + (_root.valeur - 20), true)) or this.hitTest(this._parent.legars._x + (_root.avancerecule + 10), this._parent.legars._y + (_root.valeur - 30), true)) or this.hitTest(this._parent.legars._x + (_root.avancerecule + 10), this._parent.legars._y + (_root.valeur - 2), true)) or this.hitTest(this._parent.legars._x + (_root.avancerecule + 10), this._parent.legars._y + (_root.valeur - 58), true)) {
if (_root.avancerecule > 0) {
_root.avancerecule = 0;
}
_root.droite = true;
} else if (_root.gauche == true) {
_root.gauche = false;
} else if (_root.droite == true) {
_root.droite = false;
}
if (((_root.gauche == true) and (_root.droite == true)) and (this._parent.legars.saut == false)) {
_root.droite = false;
_root.gauche = false;
}
if (this.hitTest(this._parent.legars._x, this._parent.legars._y, true) and this.hitTest(this._parent.legars._x, this._parent.legars._y + (_root.valeur - 2), true)) {
this._parent.legars._y = this._parent.legars._y - 2;
}
}
}
}
Instance of Symbol 63 MovieClip "son" in Frame 26
onClipEvent (load) {
delay = 48;
}
onClipEvent (enterFrame) {
if (stopmainsound == 1) {
delay = delay - 1;
if (delay == 0) {
if (_root.lives > 0) {
this._parent.gotoAndPlay(1);
} else {
this._parent.gotoAndStop("gameover");
}
delay = 48;
stopmainsound = 0;
}
}
}
Instance of Symbol 39 MovieClip "legars" in Frame 26
onClipEvent (load) {
_x = 140;
_y = 40;
_root.surplateforme = 0;
_root.finale = false;
_root.avancerecule = 0;
saut = false;
_root.valeur2 = 0;
_root.gauche = false;
_root.droite = false;
_root.rebon = false;
valeur3 = -10;
gaucheoudroite = 1;
keylock = false;
_root.playermort = false;
mortdelay = 30;
delayfin = 200;
}
onClipEvent (enterFrame) {
_root.posxx = this._y;
if (_root.finale == false) {
if (_root.playermort == false) {
if ((_root.tombe == false) and (_root.rebon == false)) {
if (Key.isDown(38) and (saut == false)) {
this._y = int(this._y / 10) * 10;
if (keylock == false) {
_root.valeur = -18;
this._parent.son.gotoAndPlay("jump");
keylock = true;
saut = true;
}
} else if (saut == false) {
keylock = false;
}
if (saut == true) {
this._y = this._y + _root.valeur;
if (_root.valeur < 10) {
_root.valeur = _root.valeur + 2;
}
}
}
if ((_root.tombe == true) and (_root.rebon == false)) {
this._y = this._y + _root.valeur2;
_root.valeur = _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else if (_root.valeur2 != 0) {
_root.valeur2 = 0;
}
this._parent.level._x = this._parent.level._x - _root.avancerecule;
if ((saut == false) and (_root.rebon == false)) {
if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("stopdroite");
} else {
this.gotoAndStop("stopgauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("godroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("gogauche");
}
} else if (_root.avancerecule == 0) {
if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else {
this.gotoAndStop("sautegauche");
}
} else if (gaucheoudroite == 1) {
this.gotoAndStop("sautedroite");
} else if (gaucheoudroite == 2) {
this.gotoAndStop("sautegauche");
}
if (_root.droite == false) {
if (Key.isDown(39)) {
if (_root.avancerecule < 6) {
gaucheoudroite = 1;
_root.avancerecule = _root.avancerecule + 1;
}
} else if (_root.avancerecule > 0) {
_root.avancerecule = _root.avancerecule - 1;
}
}
if (_root.gauche == false) {
if (Key.isDown(37) and (this._parent.level._x <= -10)) {
if (_root.avancerecule > -6) {
gaucheoudroite = 2;
_root.avancerecule = _root.avancerecule - 1;
}
} else if (_root.avancerecule < 0) {
_root.avancerecule = _root.avancerecule + 1;
}
}
_root.saut = saut;
if (_root.rebon == true) {
this._y = this._y + valeur3;
if (valeur3 < 0) {
valeur3 = valeur3 + 2;
} else {
valeur3 = -10;
_root.rebon = false;
}
}
} else {
_root.avancerecule = 0;
if (mortdelay <= 0) {
this._y = this._y + _root.valeur2;
if (_root.valeur2 < 10) {
_root.valeur2 = _root.valeur2 + 2;
}
} else {
mortdelay = mortdelay - 1;
}
}
if ((this._y > 420) and (lock != 1)) {
this._parent.son.gotoAndPlay("mort");
_root.playermort = true;
_root.lives = _root.lives - 1;
lock = 1;
}
} else {
delayfin = delayfin - 1;
if (delayfin == 0) {
this._parent.gotoAndStop("level1clear");
}
if (this._y < 230) {
this._y = this._y + 6;
} else if (this._x < 250) {
this._x = this._x + 6;
this.gotoAndStop("godroite");
} else {
setProperty(this, _visible , "0");
}
}
}
Instance of Symbol 149 MovieClip "enemy1" in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (petitdelay == 0) {
if ((this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) or this.hitTest(this._parent.enemy2)) {
speed = speed * -1;
petitdelay = 5;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu1" in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
petitdelay = 5;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
this._parent.son.gotoAndPlay("hittete");
speed = speed * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 275 MovieClip "porc1" in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
speed = speed * -1;
autoreverse = autoreverse * -1;
if (speed < 0) {
gotoAndStop ("porcg");
} else {
gotoAndStop ("porcd");
}
petitdelay = 5;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("porcg");
} else {
gotoAndStop ("porcd");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 149 MovieClip "enemy2" in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 10;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("champmort");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
speed = speed * -1;
petitdelay = 5;
autoreverse = autoreverse * -1;
}
} else {
speed = speed * -1;
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 10;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu2.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 17 MovieClip [latortu] "tortu2" in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
defaultx = this._x;
autoreverse = -10;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("mort1");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
speed = speed * -1;
autoreverse = autoreverse * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
petitdelay = 5;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("torgauche");
} else {
gotoAndStop ("tordroite");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (hittestoff == 4) {
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 10, true)) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 10, true)) {
gotoAndPlay ("mort2");
petitdelay = 10;
if (this._x < this._parent.legars._x) {
speed = -10;
} else {
speed = 10;
}
hittestoff = 2;
}
} else if (hittestoff == 2) {
if (petitdelay == 0) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
} else {
petitdelay = petitdelay - 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
speed = 0;
gotoAndPlay ("mort1");
}
this._x = this._x + speed;
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
this._parent.son.gotoAndPlay("hittete");
speed = speed * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
if ((((this._y > 270) and (hittestoff != 1)) or ((this._x < -30) and (code == true))) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 275 MovieClip in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
speed = speed * -1;
autoreverse = autoreverse * -1;
if (speed < 0) {
gotoAndStop ("porcg");
} else {
gotoAndStop ("porcd");
}
petitdelay = 5;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 275 MovieClip "porctombe" in Frame 26
onClipEvent (load) {
gotoAndStop ("boule");
speed = 0;
hittestoff = 0;
valeur2 = 0;
petitdelay = 0;
autoreverse = -10;
defaultx = this._x;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
killcode = true;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if (petitdelay == 0) {
if (this._parent.level.hitTest(this._x + autoreverse, this._y, true)) {
if (this._parent.level.hitTest(this._x - 14, this._y - 15, true) or this._parent.level.hitTest(this._x + 14, this._y - 15, true)) {
speed = speed * -1;
autoreverse = autoreverse * -1;
if (speed < 0) {
gotoAndStop ("porcg");
} else if (speed > 0) {
gotoAndStop ("porcd");
}
petitdelay = 5;
}
} else {
speed = speed * -1;
if (speed < 0) {
gotoAndStop ("porcg");
} else if (speed > 0) {
gotoAndStop ("porcd");
}
autoreverse = autoreverse * -1;
petitdelay = 10;
}
} else if (petitdelay > 0) {
petitdelay = petitdelay - 1;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
if (speed == 0) {
if (this._x < this._parent.legars._x) {
gotoAndStop ("porcd");
speed = 2;
} else {
gotoAndStop ("porcg");
speed = -2;
}
}
} else {
petitdelay = 5;
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if (((((this._y > 270) or (this._x < -60)) or (this._x > 400)) and (lockyy != 1)) or (this._parent.legars._y > 270)) {
_root.porcmort = _root.porcmort - 1;
lockyy = 1;
this.removeMovieClip();
}
}
Instance of Symbol 267 MovieClip "hammerbros1" in Frame 26
onClipEvent (load) {
speed = -2;
hittestoff = 0;
valeur = -18;
valeur2 = 0;
delay = 20;
delay2 = 20;
delay3 = 60;
positioncounter = 0;
defaultx = this._x;
count = 1;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
this._x = this._x - _root.avancerecule;
if ((this._x < 360) or (killcode == true)) {
positioncounter = positioncounter + speed;
killcode = true;
if ((hittestoff == 0) and (_root.playermort == false)) {
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("hambromort");
hittestoff = 1;
}
if (this._parent.level.hitTest(this._x, this._y - 10, true) and (jump == 0)) {
gotoAndPlay ("hitbybox");
hittestoff = 1;
}
if (delay <= 0) {
this._parent.hammer1.duplicateMovieClip("boxx" + count, count);
_root["boxx" + count].gotoAndPlay(1);
_root["boxx" + count]._x = _x - (random(20) - 10);
_root["boxx" + count]._y = _y - 30;
count = count + 1;
delay = random(30) + 10;
} else {
delay = delay - 1;
}
if (count == 5) {
count = 1;
}
if (((delay2 == 0) or (positioncounter < -88)) or (positioncounter > -2)) {
speed = speed * -1;
delay2 = random(40);
} else {
delay2 = delay2 - 1;
}
if (delay3 == 0) {
jump = 1;
delay3 = random(100) + 50;
} else {
delay3 = delay3 - 1;
}
if (jump == 1) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 2;
}
} else {
if (valeur2 == 0) {
this._x = this._x + speed;
}
valeur = -18;
}
if (this._parent.level.hitTest(this._x, this._y, true)) {
if ((jump == 1) and (valeur > 0)) {
valeur = 0;
jump = 0;
}
this._y = int(this._y / 10) * 10;
valeur2 = 0;
} else if (jump == 0) {
this._y = this._y + valeur2;
if (valeur2 < 10) {
valeur2 = valeur2 + 2;
}
}
}
}
if (this.hitTest(this._parent.tortu1.shellbouge)) {
this._parent.son.gotoAndPlay("tortushellhit");
gotoAndStop ("mort2");
hittestoff = 2;
}
if (hittestoff == 2) {
this._y = this._y + 10;
}
if ((this._y > 270) or (this._x < -60)) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Instance of Symbol 254 MovieClip "hammer1" in Frame 26
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
}
}
Instance of Symbol 218 MovieClip "Bigberta" in Frame 26
onClipEvent (load) {
speed = -6;
hittestoff = 0;
}
onClipEvent (enterFrame) {
this._y = int(this._y);
if ((this._x > -10) and (_root.playermort == false)) {
this._x = this._x - _root.avancerecule;
if (hittestoff == 0) {
this._x = this._x + speed;
if (this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 30) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 30)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("ballemort");
hittestoff = 1;
}
}
} else {
this.removeMovieClip();
}
}
Instance of Symbol 426 MovieClip "bonu" in Frame 26
onClipEvent (load) {
delay = 60;
count = 1;
_root.porcmort = 0;
speed = 0;
hittestoff = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.avancerecule;
if (hittestoff == 0) {
if ((this.hitTest(this._parent.legars._x - 10, this._parent.legars._y - 15) or this.hitTest(this._parent.legars._x + 10, this._parent.legars._y - 15)) or this.hitTest(this._parent.legars._x, this._parent.legars._y - 50)) {
_root.playermort = true;
this._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
if ((this.hitTest(this._parent.legars._x, this._parent.legars._y, true) or this.hitTest(this._parent.legars._x + 7, this._parent.legars._y, true)) or this.hitTest(this._parent.legars._x - 7, this._parent.legars._y, true)) {
_root.rebon = true;
gotoAndPlay ("nuagemort");
hittestoff = 1;
}
if (this._x < 160) {
if (speed < 8) {
speed = speed + 1;
}
} else if (this._x > 180) {
if (speed > -8) {
speed = speed - 1;
}
} else if (speed > 0) {
speed = speed - 0.5;
} else if (speed < 0) {
speed = speed + 0.5;
}
if ((this._x < 360) and (_root.playermort == false)) {
this._x = this._x + speed;
if ((delay <= 0) and (_root.porcmort < 5)) {
gotoAndStop ("bohommed");
this._parent.porctombe.duplicateMovieClip("porc" + count, count);
_root["porc" + count]._x = _x;
_root["porc" + count]._y = _y;
_root.porcmort = _root.porcmort + 1;
count = count + 1;
delay = 60;
} else if (((delay < 15) and (delay > 0)) and (_root.porcmort < 5)) {
gotoAndStop ("bonomehide");
}
delay = delay - 1;
if (count == 5) {
count = 1;
}
}
}
if (this._y > 270) {
gotoAndStop ("zero");
hittestoff = 1;
}
}
Symbol 16 MovieClip Frame 1
Symbol 16 MovieClip Frame 12
stop();
Symbol 17 MovieClip [latortu] Frame 1
stop();
Symbol 17 MovieClip [latortu] Frame 2
stop();
Symbol 17 MovieClip [latortu] Frame 3
hittestoff = 4;
code = true;
stop();
Symbol 17 MovieClip [latortu] Frame 4
stop();
Symbol 17 MovieClip [latortu] Frame 5
stop();
Symbol 17 MovieClip [latortu] Frame 6
stop();
Symbol 39 MovieClip Frame 1
stop();
Instance of Symbol 34 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.staron == 1) {
setProperty(this, _visible , "1");
} else if (this._y != -20) {
setProperty(this, _visible , "0");
}
}
Symbol 39 MovieClip Frame 2
stop();
Symbol 39 MovieClip Frame 3
stop();
Symbol 39 MovieClip Frame 4
stop();
Symbol 39 MovieClip Frame 5
stop();
Symbol 39 MovieClip Frame 6
stop();
Symbol 39 MovieClip Frame 7
_root.mariohitfx.start(0, 1);
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stopAllSounds();
Symbol 63 MovieClip Frame 3
stopmainsound = 1;
gotoAndStop (1);
Symbol 63 MovieClip Frame 4
gotoAndStop (1);
Symbol 63 MovieClip Frame 5
gotoAndStop (1);
Symbol 63 MovieClip Frame 6
gotoAndPlay (1);
Symbol 63 MovieClip Frame 7
gotoAndPlay (1);
Symbol 63 MovieClip Frame 8
gotoAndStop (1);
Symbol 63 MovieClip Frame 9
gotoAndStop (1);
Symbol 63 MovieClip Frame 10
gotoAndStop (1);
Symbol 63 MovieClip Frame 11
gotoAndStop (1);
Symbol 63 MovieClip Frame 12
gotoAndStop (1);
Symbol 63 MovieClip Frame 13
gotoAndStop (1);
Symbol 63 MovieClip Frame 14
gotoAndStop (1);
Symbol 63 MovieClip Frame 15
gotoAndStop (1);
Symbol 63 MovieClip Frame 16
gotoAndStop (1);
Symbol 63 MovieClip Frame 17
gotoAndStop (1);
Symbol 63 MovieClip Frame 18
gotoAndStop (1);
Symbol 63 MovieClip Frame 19
gotoAndStop (1);
Symbol 63 MovieClip Frame 20
gotoAndStop (1);
Symbol 66 Button
on (release) {
gotoAndPlay (3);
}
Symbol 80 MovieClip Frame 1
cenneoff = 0;
Symbol 80 MovieClip Frame 13
gotoAndPlay (1);
Symbol 80 MovieClip Frame 14
stop();
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 30
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 11
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 7
if (centnumber < centcount) {
gotoAndStop (1);
hittestoff = 1;
} else {
gotoAndStop ("vide");
}
Symbol 131 MovieClip Frame 8
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 7
gotoAndStop ("vide");
Symbol 140 MovieClip Frame 8
stop();
Instance of Symbol 89 MovieClip "plante1" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = 1;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante2" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = 1;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante3" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = 1;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante4" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante5" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) and (hittestoff == 0)) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
}
Instance of Symbol 89 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) and (hittestoff == 0)) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
}
Instance of Symbol 89 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) and (hittestoff == 0)) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
}
Instance of Symbol 89 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) and (hittestoff == 0)) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
}
Instance of Symbol 113 MovieClip "mat" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars)) {
stopAllSounds();
this.drap.gotoAndPlay("winnar");
_root.playermort = 3;
_root.valeur2 = 0;
hittestoff = 1;
}
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 89 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) and (hittestoff == 0)) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = 1;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
}
Instance of Symbol 89 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) and (hittestoff == 0)) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = 1;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
}
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 140 MovieClip "boiteflower" in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
this._parent._parent.fleur1.gotoAndPlay("fleursort");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 140 MovieClip "boitestar" in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
this._parent._parent.star1.gotoAndPlay("starsort");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Symbol 149 MovieClip Frame 11
gotoAndPlay (1);
Symbol 149 MovieClip Frame 22
stop();
Symbol 149 MovieClip Frame 23
stop();
Symbol 160 MovieClip Frame 4
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
_root.nombreballe = _root.nombreballe - 1;
stop();
Symbol 161 MovieClip Frame 3
_root.nombreballe = _root.nombreballe - 1;
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 8
hittestoff = 0;
Symbol 165 MovieClip Frame 9
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 8
hittestoff = 0;
Symbol 175 MovieClip Frame 9
stop();
Symbol 180 Button
on (release) {
_root.aninext = 1;
this.son.gotoAndPlay("ahow");
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 11
stop();
Instance of Symbol 89 MovieClip "plante1" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante2" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante3" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 89 MovieClip "plante4" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y + 4;
}
if (this._y > 250) {
this._y = -50;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y + 4;
}
if (this._y > 250) {
this._y = -50;
}
}
Instance of Symbol 113 MovieClip "mat" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars)) {
stopAllSounds();
this.drap.gotoAndPlay("winnar");
_root.playermort = 3;
_root.valeur2 = 0;
hittestoff = 1;
}
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y + 4;
}
if (this._y > 250) {
this._y = -50;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y + 4;
}
if (this._y > 250) {
this._y = -50;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 192 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 131 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 204 MovieClip "cannon1" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
delay = 60;
count = 90;
}
onClipEvent (enterFrame) {
if (((this._parent._x + this._x) > -30) and (_root.playermort == false)) {
if ((delay <= 0) and ((this._parent._x + this._x) < 360)) {
this._parent._parent.Bigberta.duplicateMovieClip("balle" + count, count);
this._parent._parent.son.gotoAndPlay("cannontire");
_root["balle" + count]._x = (this._parent._x + this._x) - 10;
_root["balle" + count]._y = _y - 20;
count = count + 1;
delay = 60;
} else {
delay = delay - 1;
}
if (count == 95) {
count = 90;
}
}
}
Instance of Symbol 204 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
delay = 60;
count = 90;
}
onClipEvent (enterFrame) {
if (((this._parent._x + this._x) > -30) and (_root.playermort == false)) {
if ((delay <= 0) and ((this._parent._x + this._x) < 360)) {
this._parent._parent.Bigberta.duplicateMovieClip("pupu" + count, count);
this._parent._parent.son.gotoAndPlay("cannontire");
_root["pupu" + count]._x = (this._parent._x + this._x) - 10;
_root["pupu" + count]._y = _y - 20;
count = count + 1;
delay = 60;
} else {
delay = delay - 1;
}
if (count == 95) {
count = 90;
}
}
}
Instance of Symbol 140 MovieClip "boitestar" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
this._parent._parent.star1.gotoAndPlay("starsort");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Symbol 214 MovieClip Frame 11
gotoAndPlay (1);
Symbol 214 MovieClip Frame 22
stop();
Symbol 214 MovieClip Frame 23
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 11
stop();
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Symbol 234 MovieClip Frame 1
stop();
Instance of Symbol 89 MovieClip "plante1" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Instance of Symbol 192 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
fall = 0;
onoff = 0;
delay = 24;
defaul = this._y;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
onoff = 1;
}
if (onoff == 1) {
this._y = this._y + fall;
if ((fall < 10) and (delay <= 0)) {
fall = fall + 1;
}
delay = delay - 1;
if (this._y > 400) {
fall = 0;
delay = 24;
this._y = defaul;
onoff = 0;
}
}
}
Instance of Symbol 192 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
delay = 80;
}
onClipEvent (enterFrame) {
this._x = this._x + speed;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
lockp1 = 1;
this._parent._x = this._parent._x - speed;
_root.plateforme = speed;
} else if (lockp1 == 1) {
_root.plateforme = 0;
lockp1 = 0;
}
if (delay == 0) {
speed = speed * -1;
delay = 80;
} else {
delay = delay - 1;
}
}
Instance of Symbol 113 MovieClip "mat" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
}
onClipEvent (enterFrame) {
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars)) {
stopAllSounds();
this.drap.gotoAndPlay("winnar");
_root.playermort = 3;
_root.valeur2 = 0;
hittestoff = 1;
}
}
}
Instance of Symbol 192 MovieClip "pla1" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
delay = 80;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
lockp1 = 1;
this._parent._x = this._parent._x - speed;
_root.plateforme = speed;
this._x = this._x + speed;
if (delay == 0) {
speed = speed * -1;
delay = 80;
} else {
delay = delay - 1;
}
} else if (lockp1 == 1) {
_root.plateforme = 0;
lockp1 = 0;
}
}
Instance of Symbol 192 MovieClip "pla2" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
delay = 80;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
lockp1 = 1;
this._parent._x = this._parent._x - speed;
_root.plateforme = speed;
this._x = this._x + speed;
if (delay == 0) {
speed = speed * -1;
delay = 80;
} else {
delay = delay - 1;
}
} else if (lockp1 == 1) {
_root.plateforme = 0;
lockp1 = 0;
}
}
Instance of Symbol 192 MovieClip "pla3" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
delay = 60;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
lockp1 = 1;
this._parent._x = this._parent._x - speed;
_root.plateforme = speed;
this._x = this._x + speed;
if (delay == 0) {
speed = speed * -1;
delay = 60;
} else {
delay = delay - 1;
}
} else if (lockp1 == 1) {
_root.plateforme = 0;
lockp1 = 0;
}
}
Instance of Symbol 204 MovieClip "cannon1" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
delay = 60;
count = 90;
}
onClipEvent (enterFrame) {
if (((this._parent._x + this._x) > -30) and (_root.playermort == false)) {
if ((delay <= 0) and ((this._parent._x + this._x) < 360)) {
this._parent._parent.Bigberta.duplicateMovieClip("balle" + count, count);
this._parent._parent.son.gotoAndPlay("cannontire");
_root["balle" + count]._x = (this._parent._x + this._x) - 10;
_root["balle" + count]._y = _y - 20;
count = count + 1;
delay = 30;
} else {
delay = delay - 1;
}
if (count == 100) {
count = 90;
}
}
}
Instance of Symbol 131 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 140 MovieClip "boiteflower" in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
this._parent._parent.fleur1.gotoAndPlay("fleursort");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 204 MovieClip "cannon2" in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
delay = 60;
count = 30;
}
onClipEvent (enterFrame) {
if (((this._parent._x + this._x) > -30) and (_root.playermort == false)) {
if ((delay <= 0) and ((this._parent._x + this._x) < 500)) {
this._parent._parent.Bigberta.duplicateMovieClip("balle" + count, count);
this._parent._parent.son.gotoAndPlay("cannontire");
_root["balle" + count]._x = (this._parent._x + this._x) - 10;
_root["balle" + count]._y = _y - 20;
count = count + 1;
delay = 48;
} else {
delay = delay - 1;
}
if (count == 40) {
count = 30;
}
}
}
Symbol 254 MovieClip Frame 45
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 260 MovieClip Frame 3
stop();
Symbol 260 MovieClip Frame 4
stop();
Symbol 260 MovieClip Frame 5
hittestoff = 4;
code = true;
stop();
Symbol 260 MovieClip Frame 6
stop();
Symbol 260 MovieClip Frame 7
stop();
Symbol 260 MovieClip Frame 8
stop();
Symbol 266 MovieClip Frame 15
stop();
Symbol 267 MovieClip Frame 11
gotoAndPlay (1);
Symbol 267 MovieClip Frame 12
Symbol 267 MovieClip Frame 21
stop();
Symbol 274 MovieClip Frame 11
gotoAndPlay (1);
Symbol 274 MovieClip Frame 12
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
stop();
Symbol 275 MovieClip Frame 3
stop();
Symbol 275 MovieClip Frame 4
stop();
Symbol 275 MovieClip Frame 5
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
Instance of Symbol 288 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
valeur = -12;
delay = 10;
hittestoff = 0;
}
onClipEvent (enterFrame) {
if ((hittestoff == 0) and ((this._parent._x + this._x) < 360)) {
if ((this.hitTest(this._parent._parent.legars._x - 13, this._parent._parent.legars._y, 1) or this.hitTest(this._parent._parent.legars._x + 13, this._parent._parent.legars._y, 1)) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 20, 1)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
if (delay == 0) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 0.5;
if (valeur < 0) {
gotoAndStop ("boulemonte");
} else {
gotoAndStop ("bouletombe");
}
}
} else if (delay > 0) {
delay = delay - 1;
}
}
if (this._y > 100) {
delay = 10;
valeur = -12;
this._y = 100;
}
}
Instance of Symbol 288 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
valeur = -12;
delay = 10;
hittestoff = 0;
}
onClipEvent (enterFrame) {
if ((hittestoff == 0) and ((this._parent._x + this._x) < 360)) {
if ((this.hitTest(this._parent._parent.legars._x - 13, this._parent._parent.legars._y, 1) or this.hitTest(this._parent._parent.legars._x + 13, this._parent._parent.legars._y, 1)) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 20, 1)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
if (delay == 0) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 0.5;
if (valeur < 0) {
gotoAndStop ("boulemonte");
} else {
gotoAndStop ("bouletombe");
}
}
} else if (delay > 0) {
delay = delay - 1;
}
}
if (this._y > 100) {
delay = 10;
valeur = -12;
this._y = 100;
}
}
Instance of Symbol 288 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
valeur = -12;
delay = 15;
hittestoff = 0;
}
onClipEvent (enterFrame) {
if ((hittestoff == 0) and ((this._parent._x + this._x) < 360)) {
if ((this.hitTest(this._parent._parent.legars._x - 13, this._parent._parent.legars._y, 1) or this.hitTest(this._parent._parent.legars._x + 13, this._parent._parent.legars._y, 1)) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 20, 1)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
if (delay == 0) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 0.5;
if (valeur < 0) {
gotoAndStop ("boulemonte");
} else {
gotoAndStop ("bouletombe");
}
}
} else if (delay > 0) {
delay = delay - 1;
}
}
if (this._y > 100) {
delay = 12;
valeur = -12;
this._y = 100;
}
}
Instance of Symbol 288 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
valeur = -12;
delay = 10;
hittestoff = 0;
}
onClipEvent (enterFrame) {
if ((hittestoff == 0) and ((this._parent._x + this._x) < 360)) {
if ((this.hitTest(this._parent._parent.legars._x - 13, this._parent._parent.legars._y, 1) or this.hitTest(this._parent._parent.legars._x + 13, this._parent._parent.legars._y, 1)) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 20, 1)) {
if (_root.staron != 1) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
if (delay == 0) {
this._y = this._y + valeur;
if (valeur < 10) {
valeur = valeur + 0.5;
if (valeur < 0) {
gotoAndStop ("boulemonte");
} else {
gotoAndStop ("bouletombe");
}
}
} else if (delay > 0) {
delay = delay - 1;
}
}
if (this._y > 100) {
delay = 10;
valeur = -12;
this._y = 100;
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 5, 1) and (hittestoff != 0)) {
_root.playermort = 3;
_root.avancerecule = 0;
stopAllSounds();
this._parent._parent.son.gotoAndPlay("levelfin");
gotoAndStop (2);
this._parent._parent.level.brige.gotoAndPlay("removebrige");
hittestoff = 0;
}
}
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 14
stop();
Symbol 338 MovieClip Frame 41
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
stop();
Symbol 354 MovieClip Frame 3
stop();
Symbol 354 MovieClip Frame 4
stop();
Symbol 354 MovieClip Frame 5
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
play();
Symbol 383 MovieClip Frame 16
stop();
Symbol 383 MovieClip Frame 17
stop();
Symbol 383 MovieClip Frame 18
play();
Symbol 383 MovieClip Frame 32
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 17
stop();
Symbol 391 MovieClip Frame 18
stop();
Instance of Symbol 385 MovieClip "boshitzone" in Symbol 391 MovieClip Frame 18
onClipEvent (load) {
bosshit = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true) or this.hitTest(this._parent._parent.legars._x + 7, this._parent._parent.legars._y, true)) or (this.hitTest(this._parent._parent.legars._x - 7, this._parent._parent.legars._y, true) and (bosshit == 0))) {
_root.rebon = true;
this._parent.bosspart.play();
bosshit = 1;
}
}
Symbol 391 MovieClip Frame 26
gotoAndStop (1);
Symbol 402 MovieClip Frame 1
notready = 0;
stop();
Symbol 402 MovieClip Frame 38
this._parent.missileboss.gotoAndStop("merconmi");
this._parent.missileboss.moveok = 1;
stop();
Symbol 402 MovieClip Frame 39
notready = 1;
Symbol 402 MovieClip Frame 47
notready = 0;
stop();
Symbol 402 MovieClip Frame 65
gotoAndPlay ("jumpmissile");
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 13
stop();
Instance of Symbol 80 MovieClip in Symbol 409 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 409 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 409 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Instance of Symbol 80 MovieClip in Symbol 409 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars) and (cenneoff == 0)) {
_root.cennes = _root.cennes + 1;
gotoAndStop ("cenneoff");
cenneoff = 1;
}
}
Symbol 410 MovieClip Frame 1
stop();
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 192 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 192 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 4;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y + 4, true)) {
this._parent._parent.legars._y = this._parent._parent.legars._y - 4;
}
if (this._y < -50) {
this._y = 250;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 192 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
speed = -4;
delay = 80;
}
onClipEvent (enterFrame) {
this._x = this._x + speed;
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y, true)) {
this._parent._x = this._parent._x - speed;
}
if (delay == 0) {
speed = speed * -1;
delay = 40;
} else {
delay = delay - 1;
}
}
Instance of Symbol 204 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
delay = 60;
count = 1;
}
onClipEvent (enterFrame) {
if (((this._parent._x + this._x) > -30) and (_root.playermort == false)) {
if ((delay <= 0) and ((this._parent._x + this._x) < 360)) {
this._parent._parent.Bigberta.duplicateMovieClip("balle" + count, count);
this._parent._parent.son.gotoAndPlay("cannontire");
_root["balle" + count]._x = (this._parent._x + this._x) - 10;
_root["balle" + count]._y = _y - 20;
count = count + 1;
delay = 60;
} else {
delay = delay - 1;
}
if (count == 5) {
count = 1;
}
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
centnumber = 0;
centcount = 5;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("cennesplus");
centnumber = centnumber + 1;
_root.avancerecule = 0;
_root.cennes = _root.cennes + 1;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 123 MovieClip in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y - 60, true) and (hittestoff != 0)) {
gotoAndPlay ("briqueblow");
_root.avancerecule = 0;
hittestoff = 0;
}
}
Instance of Symbol 89 MovieClip "plante1" in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
hittestoff = 0;
delay = 60;
valeur = this._y - 40;
valeur2 = this._y;
}
onClipEvent (enterFrame) {
valeur3 = this._parent._x + this._x;
if ((valeur3 < 340) or (killcode != true)) {
killcode = true;
if (hittestoff == 0) {
if (this.hitTest(this._parent._parent.legars) or this.hitTest(this._parent._parent.legars._x, this._parent._parent.legars._y)) {
_root.playermort = true;
this._parent._parent.legars.gotoAndStop("p1mort");
hittestoff = 1;
}
}
delay = delay - 1;
if (((this._y > valeur) and (delay > 0)) and (((valeur3 > 180) or (valeur3 < 70)) or (this._y > (valeur2 + 10)))) {
this._y = this._y - 2;
hittestoff = 0;
} else if ((this._y < valeur2) and (delay < 0)) {
this._y = this._y + 2;
if (this._y <= (valeur2 + 10)) {
hittestoff = 1;
}
} else if (delay == -30) {
delay = 60;
}
}
}
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 2
stop();
Symbol 426 MovieClip Frame 3
stop();
Symbol 426 MovieClip Frame 15
stop();