Frame 2
if (_framesloaded != _totalframes) {
gotoAndPlay (1);
}
Frame 11
stop();
Instance of Symbol 31 MovieClip "lutin" in Frame 11
onClipEvent (load) {
gotoAndStop (8);
}
Frame 30
stopAllSounds();
gotoAndPlay (31);
Instance of Symbol 32 MovieClip "lutin" in Frame 30
onClipEvent (load) {
gotoAndStop (6);
}
Frame 32
niveau = 1;
hited = 0;
touch = 0;
last = 0;
pecho = 0;
monteEchelle = "";
tonofall = 0;
if (!Score) {
Score = 3;
}
Instance of Symbol 113 MovieClip "bross" in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.proj1.tono) and (_root.hited == 0)) {
_root.points.nextFrame();
_root.Score = _root.Score - 1;
_root.hited = 1;
if ((this.lutin._currentframe != 3) and (_root.Score != 0)) {
this.lutin.gotoAndStop(5);
} else if ((this.lutin._currentframe != 3) and (_root.Score == 0)) {
this.lutin.gotoAndStop(6);
} else if ((this.lutin._currentframe == 3) and (_root.Score != 0)) {
this.lutin.gotoAndStop(4);
} else if ((this.lutin._currentframe == 3) and (_root.Score == 0)) {
this.lutin.gotoAndStop(6);
}
}
}
Frame 36
stopavance = 1;
testx = bross._x;
testy = bross._y;
if (Score == 0) {
stopAllSounds();
bross.nextFrame();
gotoAndStop (37);
} else if (pecho == 1) {
gotoAndPlay (31);
} else if (last != 1) {
gotoAndPlay (35);
} else {
stop();
}
if ((tonofall != 1) and (touch != 1)) {
dave.gotoAndPlay("anim");
proj1.play();
tonofall = 1;
} else if ((touch == 1) and (last == 0)) {
dave.gotoAndPlay("fin");
bross._visible = false;
last = 1;
touch = 0;
}
if (niveau == 1) {
valX = 5;
if ((bross._x >= 280) and (590 >= bross._x)) {
_root.ValY = 0.3;
} else {
_root.ValY = 0;
}
} else if (niveau == 2) {
valX = 5;
valY = -0.3;
} else if (niveau == 3) {
valX = 5;
valY = 0.3;
} else if (niveau == 4) {
valX = 5;
if ((bross._x >= 280) and (590 >= bross._x)) {
_root.ValY = -0.3;
} else {
_root.ValY = 0;
}
} else if (niveau == 5) {
valX = 5;
valY = 0.3;
}
if (bross._x < 40) {
if (going == "right") {
ValX = 5;
if (niveau == 2) {
ValY = -0.3;
}
} else {
ValX = 0;
ValY = 0;
}
} else if (590 < bross._x) {
if (going == "right") {
ValX = 0;
ValY = 0;
} else {
if (niveau == 2) {
ValY = -0.3;
}
ValX = 5;
}
}
Frame 37
tonofall = 1;
Frame 38
gotoAndPlay (32);
Symbol 29 Button
on (release, keyPress "<Enter>") {
if (playing != 1) {
playing = 1;
_root.gotoAndPlay("parti");
_root.lutin.gotoAndPlay(1);
_root.stopavance = 0;
nextFrame();
}
}
Symbol 30 MovieClip Frame 11
stop();
Symbol 31 MovieClip Frame 4
if (_root.stopavance == 1) {
stop();
}
Symbol 31 MovieClip Frame 8
if (_root.stopavance == 1) {
stop();
}
Symbol 32 MovieClip Frame 4
if (_root.stopavance == 1) {
stop();
}
Symbol 32 MovieClip Frame 8
if (_root.stopavance == 1) {
stop();
}
Instance of Symbol 35 MovieClip "HitEchelle" in Symbol 36 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.niveau == 1)) {
_root.monteEchelle = "OK";
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 500))) {
_root.bross._x = _root.echelle1._x;
} else {
_root.bross._y = 510;
_root.monteEchelle = "";
}
} else if (this.hitTest(_root.bross) and (_root.niveau == 2)) {
if ((_root.going == "down") and (_root.monteEchelle == "OKI")) {
_root.niveau = 1;
_root.monteEchelle = "OK";
} else if ((_root.going == "left") or (_root.going == "right")) {
_root.monteEchelle = "";
} else {
_root.monteEchelle = "OKI";
}
} else if ((_root.niveau == 1) and (_root.monteEchelle != "OKMI")) {
if ((_root.monteEchelle == "OK") and (_root.tombe != 1)) {
_root.bross._x = _root.echelle1._x;
_root.bross._y = 402.35;
_root.bross.lutin.gotoAndStop(2);
_root.niveau = 2;
_root.monteEchelle = "";
} else if ((_root.monteEchelle != "OKI") and (_root.monteEchelle != "OKMI")) {
_root.monteEchelle = "";
}
}
}
Instance of Symbol 37 MovieClip "HitEchelle" in Symbol 38 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.niveau == 2)) {
_root.monteEchelle = "OK";
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 360))) {
_root.bross._x = _root.echelle2._x;
} else {
_root.bross._y = 377;
_root.monteEchelle = "";
}
} else if (this.hitTest(_root.bross) and (_root.niveau == 3)) {
if ((_root.going == "down") and (_root.monteEchelle == "OKI")) {
_root.niveau = 2;
} else if ((_root.going == "left") or (_root.going == "right")) {
_root.monteEchelle = "";
} else {
_root.monteEchelle = "OKI";
}
} else if ((_root.niveau == 2) and (_root.monteEchelle != "OKMI")) {
if ((_root.monteEchelle == "OK") and (_root.tombe != 1)) {
_root.monteEchelle = "OKI";
_root.bross._x = _root.echelle2._x;
_root.bross._y = 260;
_root.niveau = 3;
_root.bross.lutin.gotoAndStop(1);
} else if ((_root.monteEchelle != "OKI") and (_root.monteEchelle != "OKMI")) {
_root.monteEchelle = "";
}
}
}
Instance of Symbol 39 MovieClip "HitEchelle" in Symbol 40 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.niveau == 3)) {
_root.monteEchelle = "OK";
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 220))) {
_root.bross._x = _root.echelle3._x;
} else {
_root.bross._y = 234;
_root.monteEchelle = "";
}
} else if (this.hitTest(_root.bross) and (_root.niveau == 4)) {
_root.monteEchelle = "OKI";
if (_root.going == "down") {
_root.niveau = 3;
} else if ((_root.going == "left") or (_root.going == "right")) {
_root.monteEchelle = "";
}
} else if (_root.niveau == 3) {
if (((_root.monteEchelle == "OK") and (_root.monteEchelle != "OKMI")) and (_root.tombe != 1)) {
_root.monteEchelle = "OKI";
_root.bross._x = _root.echelle3._x;
_root.bross._y = 116;
_root.niveau = 4;
_root.bross.lutin.gotoAndStop(2);
} else if ((_root.monteEchelle != "OKI") and (_root.monteEchelle != "OKMI")) {
_root.monteEchelle = "";
}
}
}
Instance of Symbol 41 MovieClip "HitEchelle" in Symbol 42 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.touch != 1) {
if (this.hitTest(_root.bross) and (_root.niveau == 4)) {
_root.monteEchelle = "OK";
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 95))) {
_root.bross._x = _root.echelle4._x;
} else {
_root.bross._y = 102;
_root.monteEchelle = "";
}
} else if (this.hitTest(_root.bross) and (_root.niveau == 5)) {
_root.monteEchelle = "OKI";
if (_root.going == "down") {
_root.niveau = 4;
} else if ((_root.going == "left") or (_root.going == "right")) {
_root.monteEchelle = "";
}
} else if (_root.niveau == 4) {
if ((_root.monteEchelle == "OK") and (_root.tombe != 1)) {
_root.monteEchelle = "OKI";
_root.bross._x = _root.echelle4._x;
_root.bross._y = -3;
_root.niveau = 5;
_root.bross.lutin.gotoAndStop(1);
} else if (_root.monteEchelle != "OKI") {
_root.monteEchelle = "";
}
}
} else {
_root.monteEchelle = "";
}
}
Instance of Symbol 43 MovieClip "HitEchelle" in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.niveau == 1)) {
_root.monteEchelle = "OKMI";
if (((477 - _root.valY) >= _root.bross._y) and (_root.going != "down")) {
_root.bross._y = 477;
}
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 521.5))) {
_root.bross._x = _root.echelle1MI._x;
_root.valX = 0;
_root.valY = -2;
} else {
_root.bross._y = 521.5;
_root.monteEchelle = "";
_root.valX = 5;
_root.valY = 0;
}
}
}
Instance of Symbol 45 MovieClip "HitEchelle" in Symbol 46 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.niveau == 2)) {
_root.monteEchelle = "OKMI";
if (((340 - _root.valY) >= _root.bross._y) and (_root.going != "down")) {
_root.bross._y = 340;
}
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 393))) {
_root.bross._x = _root.echelle2MI._x;
_root.valX = 0;
_root.valY = -2;
} else {
_root.bross._y = 393;
_root.monteEchelle = "";
_root.valX = 5;
_root.valY = -0.3;
}
}
}
Instance of Symbol 47 MovieClip "HitEchelle" in Symbol 48 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.niveau == 3)) {
_root.monteEchelle = "OKMI";
if (((195 - _root.valY) >= _root.bross._y) and (_root.going != "down")) {
_root.bross._y = 195;
}
if ((_root.going == "up") or ((_root.going == "down") and (_root.bross._y < 248))) {
_root.bross._x = _root.echelle3MI._x;
_root.valX = 0;
_root.valY = -2;
} else {
_root.bross._y = 248;
_root.monteEchelle = "";
_root.valX = 5;
_root.valY = 0.3;
}
}
}
Symbol 49 MovieClip Frame 4
if (_root.stopavance == 1) {
stop();
}
Symbol 49 MovieClip Frame 8
if (_root.stopavance == 1) {
stop();
}
Symbol 82 MovieClip Frame 5
gotoAndPlay (1);
Symbol 82 MovieClip Frame 13
gotoAndPlay (1);
Symbol 82 MovieClip Frame 27
stopAllSounds();
_root.gotoAndPlay("again");
Symbol 83 MovieClip Frame 1
_root.tonofall = 0;
_root.hited = 0;
stop();
Instance of Symbol 92 MovieClip "zone" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bross) and (_root.touch != 1)) {
_root.touch = 1;
}
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
_root.tombe = 1;
Symbol 103 MovieClip Frame 19
_root.tombe = 0;
_parent.gotoAndStop(3);
Symbol 104 MovieClip Frame 1
_root.tombe = 1;
Symbol 104 MovieClip Frame 19
_root.tombe = 0;
_parent.gotoAndStop(1);
Symbol 111 MovieClip Frame 1
_root.tombe = 1;
Symbol 111 MovieClip Frame 17
_root.tombe = 0;
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
this.gotoAndStop(6);
stop();
Symbol 114 Button
on (keyPress "<Right>") {
if (((monteEchelle != "OK") and (monteEchelle != "OKMI")) and (_root.tombe != 1)) {
going = "right";
stopavance = 0;
bross.lutin.gotoAndStop(1);
bross._x = Number(bross._x) + ValX;
bross._y = Number(bross._y) - ValY;
bross.lutin.avance.play();
}
}
on (keyPress "<Left>") {
if (((monteEchelle != "OK") and (monteEchelle != "OKMI")) and (_root.tombe != 1)) {
going = "left";
stopavance = 0;
bross.lutin.gotoAndStop(2);
bross._x = Number(bross._x) - ValX;
bross._y = Number(bross._y) + ValY;
bross.lutin.avance.play();
}
}
on (keyPress "<Up>") {
going = "up";
if ((monteEchelle == "OK") or (monteEchelle == "OKMI")) {
if (_root.tombe != 1) {
bross.lutin.gotoAndStop(3);
bross._y = Number(bross._y) - 2;
}
}
}
on (keyPress "<Down>") {
going = "down";
if (((monteEchelle == "OK") or (monteEchelle == "OKI")) or (monteEchelle == "OKMI")) {
if (_root.tombe != 1) {
bross.lutin.gotoAndStop(3);
bross._y = Number(bross._y) + 2;
}
}
}
Symbol 120 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 121 MovieClip Frame 10
stop();