Frame 1
function appamech1() {
_root.attachMovie("mechant1", "mechant" + _root.profmec1, _root.profmec1);
eval ("_root.mechant" + _root.profmec1)._x = 450;
eval ("_root.mechant" + _root.profmec1)._y = pas - 20;
updateAfterEvent();
_root.profmec1 = _root.profmec1 + 1;
if (180 < _root.profmec1) {
_root.profmec1 = 150;
}
}
function appamech2() {
_root.attachMovie("mechant2", "mechant" + _root.profmec1, _root.profmec1);
eval ("_root.mechant" + _root.profmec1)._x = 400;
eval ("_root.mechant" + _root.profmec1)._y = 350;
updateAfterEvent();
_root.profmec1 = _root.profmec1 + 1;
if (180 < _root.profmec1) {
_root.profmec1 = 150;
}
}
function appapiece(posx, posy) {
nom = donnenom();
rand = random(100);
if (rand < 15) {
_root.attachMovie(nom, "piece" + _root.profpiece, _root.profpiece);
eval ("_root.piece" + _root.profpiece)._x = posx;
eval ("_root.piece" + _root.profpiece)._y = posy;
_root.profpiece = _root.profpiece + 1;
if (280 < _root.profpiece) {
_root.profpiece = 270;
}
}
}
function donnenom() {
tanom = new Array("bonus_nrj", "bonus_vie", "bonus_bouclier");
ramnom = random(100);
if (ramnom < 55) {
renvoie = tanom[0];
} else if ((ramnom >= 55) and (ramnom < 90)) {
renvoie = tanom[2];
} else {
renvoie = tanom[1];
}
return(renvoie);
}
function appaboss() {
_root.attachMovie("boss" + _level0.niveau, "boss", 350);
_root.boss._x = 550;
_root.boss._y = 170;
updateAfterEvent();
_root.stoppas = "ok";
_root.stopterrain = "ok";
}
function appaterrain() {
_root.posit2 = _root.posit2 + 1;
lettret = eval ("_root.posterrain" + _level0.niveau)[_root.posit2] + int((Number(_level0.niveau) + 2) / 3);
_root.attachMovie(lettret, "lettret" + _root.profter, _root.profter);
eval ("_root.lettret" + _root.profter)._x = 459;
eval ("_root.lettret" + _root.profter)._y = 353;
updateAfterEvent();
_root.profter = _root.profter + 1;
if (80 < _root.profter) {
_root.profter = 50;
}
}
function bossenergie(nb) {
i = 1;
while (20 >= i) {
eval ("_root.interface.bossener.baton" + i)._visible = 0;
i++;
}
i = 1;
while (nb >= i) {
eval ("_root.interface.bossener.baton" + i)._visible = 1;
i++;
}
}
function retard() {
reta = reta + 1;
if (reta >= 20) {
reta = 0;
return("ok");
}
}
function finappaperte_vie() {
if (_root.lettre != "x") {
_root.posit = _root.posit - 10;
if (_root.posit < 0) {
_root.posit = 0;
}
_root.posit2 = _root.posit2 - 15;
if (_root.posit2 < 0) {
_root.posit2 = 0;
}
_root.removclips();
_root.stoppas = "";
_root.stopterrain = "";
_root.appafirst();
} else {
_level0.vieboss = _level0.vieboss + 10;
_root.bossenergie(_level0.vieboss);
}
removeMovieClip("_root.perte_vie");
revienvaiss();
}
function appacontinue() {
_root.attachMovie("continue", "continue", 6300);
}
function appainscrip() {
_root.attachMovie("inscription", "inscription", 6300);
_root.inscription._x = 225;
_root.inscription._y = 0;
}
function gamover() {
_root.attachMovie("game_over", "game_over", 6300);
}
function removclips() {
g = 50;
while (80 >= g) {
removeMovieClip("_root.lettret" + g);
g++;
}
f = 150;
while (180 >= f) {
removeMovieClip("_root.mechant" + f);
f++;
}
}
function revienvaiss() {
_root.vaisseau._x = 0;
_root.vaisseau._y = 175;
_root.vaisseau.vaisseau.gotoAndPlay(2);
}
function concred() {
_level0.credits = _level0.credits + -1;
if (0 >= _level0.credits) {
_level0.credits = 0;
_root.recommence();
}
}
function nouvlevel() {
_root.attachMovie("next_level", "next_level", 6300);
removclips();
}
function gestcred() {
}
function appalost() {
_root.attachMovie("lostinspace", "lostinspace", 6300);
k = 0;
while (k < 50) {
eval ("_root.mechant" + k).removeMovieClip();
k++;
}
_root.posit = _root.posit - 10;
_root.posit2 = _root.posit2 - 5;
}
function videballe() {
i = 300;
while (330 >= i) {
removeMovieClip("_root.balle" + i);
i++;
}
}
bossenergie(0);
function appafirst() {
z = 50;
while (z < 61) {
_root.posit2 = _root.posit2 + 1;
lettret = eval ("_root.posterrain" + _level0.niveau)[_root.posit2] + int((Number(_level0.niveau) + 2) / 3);
_root.attachMovie(lettret, "lettret" + z, z);
eval ("_root.lettret" + z)._x = dep;
eval ("_root.lettret" + z)._y = 353;
updateAfterEvent();
dep = dep + 45;
z++;
}
nomfon = "fond" + int((Number(_level0.niveau) + 2) / 3);
_root.attachMovie(nomfon, nomfon, 1);
eval ("_root." + nomfon)._x = 10;
eval ("_root." + nomfon)._y = 30;
updateAfterEvent();
_root.attachMovie("vaisseau", "vaisseau", 700);
_root.vaisseau._x = 10;
_root.vaisseau._y = 175;
_root.vaisseau.vaisseau.gotoAndPlay(2);
updateAfterEvent();
_root.bossenergie(0);
updateAfterEvent();
if (_level0.niveau == 4) {
_root.attachMovie("demo", "demo", 6300);
}
dep = 12;
_root.profter = 61;
_root.recharge = "ok";
_root.attachMovie("pasx", "pasx", 20);
_root.pasx._x = 550;
_root.pasx._y = 20;
updateAfterEvent();
}
function appamechant() {
i = 0;
while (i < 4) {
pas = pas + 60;
_root.lettre = eval ("_root.posmec" + _level0.niveau)[_root.posit].substr(i, 1);
if (_root.lettre != "0") {
if (_root.lettre == "1") {
appamech1();
} else if (_root.lettre == "2") {
appamech2();
} else if (_root.lettre == "x") {
appaboss();
break;
}
}
i++;
}
if (stoppas != "ok") {
_root.attachMovie("pasx", "pasx", 20);
_root.pasx._x = 550;
_root.pasx._y = 20;
updateAfterEvent();
}
pas = 60;
_root.posit = _root.posit + 1;
}
function energie(incr) {
if (_root.protec != "ok") {
_root.totenergie = _root.totenergie + incr;
if (0 >= _root.totenergie) {
nbvie(-1);
_root.videballe();
_root.vaisseau.vaisseau.gotoAndPlay("boum");
_root.totenergie = 20;
}
if (20 < _root.totenergie) {
_root.totenergie = 20;
}
_root.vaisseau.vaisseau.touch.gotoAndPlay(2);
affenergie(_root.totenergie);
}
}
function affenergie(nb) {
i = 1;
while (20 >= i) {
eval ("_root.interface.ener.baton" + i)._visible = 0;
i++;
}
i = 1;
while (nb >= i) {
eval ("_root.interface.ener.baton" + i)._visible = 1;
i++;
}
}
function nbvie(vie) {
_root.restevie = _root.restevie + vie;
if (5 < _root.restevie) {
_root.restevie = 5;
}
affvie(_root.restevie);
}
function affvie(reste) {
i = 1;
while (5 >= i) {
eval ("_root.interface.comptvie.vie" + i)._visible = 0;
i++;
}
i = 1;
while (reste >= i) {
eval ("_root.interface.comptvie.vie" + i)._visible = 1;
i++;
}
}
function appabulle() {
_root.protec = "ok";
_root.vaisseau.vaisseau.bulle.gotoAndPlay(1);
_root.vaisseau.vaisseau.bulle._visible = 1;
}
function appaperte_vie() {
if (_root.restevie >= 0) {
_root.stopterrain = "ok";
_root.stoppas = "ok";
_root.attachMovie("perte_vie", "perte_vie", 5000);
} else {
verifscore();
}
}
function verifscore() {
loadVariablesNum ("verif_score_algo.php", 0, "POST");
_root.attachMovie("attente", "attente", 6300);
}
function affpanneau(valeur) {
tabnomen = new Array("aide", "scores", "intro");
v1 = valeur;
t = 0;
while (t < 3) {
noms = tabnomen[t];
if (eval (("_root.interface." + noms) + ".sys") == true) {
if (noms == "intro") {
_root.interface.intro.gotoAndStop(1);
_root.interface.intro._visible = 0;
_root.interface.boutintro.gotoAndStop(1);
break;
}
eval ("_root.interface." + noms).play();
v2 = v1;
eval ("_root.interface.bout" + noms).gotoAndStop(1);
break;
}
t++;
}
eval ("_root.interface." + valeur).play();
}
_root.profmec1 = 150;
_root.profpiece = 270;
_root.posit = 0;
_root.posit2 = 0;
_root.totenergie = 20;
_root.restevie = 3;
_level0.client = "perdant";
_level0.niveau = 1;
_level0.credits = 3;
pas = 60;
_root.posmec1 = new Array("000", "000", "000", "000", "000", "0100", "000", "0100", "0100", "000", "0100", "0100", "000", "0100", "1010", "000", "000", "0100", "000", "0100", "0100", "000", "0100", "1010", "000", "0100", "0100", "000", "0100", "1010", "000", "0100", "1010", "000", "000", "0002", "000", "0100", "000", "0100", "0100", "000", "0100", "0100", "000", "0100", "0100", "000", "0100", "1010", "000", "0100", "0100", "000", "0100", "1010", "000", "0100", "0100", "000", "0100", "1010", "000", "0100", "0100", "000", "0100", "0100", "000", "0100", "1010", "000", "0100", "1010", "000", "0100", "1110", "0002", "000", "000", "000", "000", "x");
_root.posterrain1 = new Array("a", "b", "c", "d", "b", "d", "a", "c", "d", "b", "a", "b", "c", "d", "b", "d", "a", "c", "d", "b", "c", "a", "b", "c", "d", "e", "d", "a", "b", "d", "b", "c", "a", "b", "f", "d", "b", "a", "c", "d", "b", "c", "d", "a", "b", "d", "c", "a", "b", "d", "c", "a");
_root.posmec2 = new Array("000", "000", "0002", "0002", "000", "000", "000", "1000", "1000", "000", "0100", "0100", "000", "0010", "0010", "000", "0100", "0100", "000", "0100", "0100", "000", "1010", "1010", "000", "0100", "0100", "000", "0100", "0102", "000", "1000", "1000", "000", "1000", "1000", "000", "0010", "0012", "000", "0010", "0010", "000", "0100", "0100", "000", "1010", "1012", "000", "0100", "0100", "000", "0100", "1110", "000", "0100", "0100", "000", "0010", "1010", "000", "0100", "0100", "000", "0100", "0100", "000", "0100", "1110", "000", "0010", "1010", "000", "000", "0100", "1110", "000", "000", "0102", "000", "000", "000", "x");
_root.posterrain2 = new Array("a", "b", "c", "d", "b", "d", "a", "c", "d", "b", "a", "b", "c", "d", "b", "d", "a", "e", "d", "b", "f", "a", "b", "c", "g", "b", "d", "a", "c", "d", "b", "c", "a", "f", "c", "d", "e", "a", "c", "d", "b", "c", "d", "a", "b", "d", "c", "a", "b", "d", "c", "a");
_root.posmec3 = new Array("000", "000", "000", "000", "0002", "1010", "000", "0010", "0100", "000", "1000", "0100", "000", "0002", "1010", "000", "0010", "1010", "000", "0100", "1010", "000", "0002", "0100", "000", "0002", "0100", "000", "0100", "1010", "000", "0002", "0100", "000", "0010", "0100", "000", "1000", "1110", "000", "0002", "0100", "000", "1000", "0100", "000", "0010", "1110", "000", "0100", "0100", "0002", "000", "1110", "000", "0100", "1110", "000", "0010", "0100", "000", "0002", "1110", "000", "0100", "1110", "000", "0100", "1110", "0002", "000", "0100", "0100", "000", "000", "0002", "0002", "0002", "000", "000", "000", "000", "x");
_root.posterrain3 = new Array("a", "b", "c", "d", "b", "e", "a", "c", "d", "b", "a", "b", "c", "f", "b", "d", "a", "c", "d", "b", "c", "a", "b", "c", "g", "b", "f", "a", "c", "d", "b", "c", "a", "e", "c", "d", "e", "a", "f", "c", "b", "c", "d", "a", "b", "d", "c", "a", "b", "d", "c", "a");
_root.posmec4 = new Array("000", "000", "000", "1002", "0100", "000", "0100", "0010", "0100", "000", "1010", "0010", "0100", "000", "0100", "0100", "1010", "000", "0100", "1002", "1010", "000", "1010", "000", "000", "0010", "0100", "1000", "0102", "000", "1000", "0010", "0100", "000", "1010", "0100", "0100", "000", "1012", "0010", "0100", "1000", "1010", "000", "1000", "0100", "0010", "000", "1010", "0100", "1010", "000", "1110", "000", "1010", "000", "0100", "0010", "1010", "0002", "0100", "0010", "1010", "000", "0100", "0100", "0100", "000", "1010", "000", "1010", "0100", "1110", "000", "0102", "0100", "1010", "1110", "000", "000", "000", "000", "x");
_root.posterrain4 = new Array("a", "b", "c", "d", "b", "d", "a", "c", "d", "b", "a", "b", "c", "d", "b", "d", "a", "c", "d", "b", "c", "a", "b", "c", "d", "e", "d", "a", "b", "d", "b", "c", "a", "b", "f", "d", "b", "a", "c", "d", "b", "c", "d", "a", "b", "d", "c", "a", "b", "d", "c", "a");
_root.posmec5 = new Array("000", "000", "000", "0002", "0100", "0010", "1000", "000", "0100", "1000", "0010", "000", "0100", "0010", "0100", "000", "1010", "0100", "0102", "000", "0100", "0010", "1000", "000", "1000", "0100", "0012", "000", "0010", "1000", "0100", "000", "1010", "0010", "0100", "000", "1110", "1000", "0100", "0010", "1010", "000", "0100", "000", "0102", "0102", "1110", "000", "1010", "000", "000", "1110", "0002", "0100", "0100", "0002", "1110", "000", "0100", "0100", "1010", "000", "0100", "0010", "0100", "1000", "1110", "000", "1012", "000", "000", "1112", "000", "0100", "000", "1112", "0002", "0002", "000", "000", "000", "000", "x");
_root.posterrain5 = new Array("a", "b", "c", "d", "b", "d", "a", "c", "d", "b", "a", "b", "c", "d", "b", "d", "a", "e", "d", "b", "f", "a", "b", "c", "g", "b", "d", "a", "c", "d", "b", "c", "a", "f", "c", "d", "e", "a", "c", "d", "b", "c", "d", "a", "b", "d", "c", "a", "b", "d", "c", "a");
_root.posmec6 = new Array("000", "000", "1112", "000", "000", "0002", "0100", "0100", "0100", "000", "1010", "000", "1012", "000", "1010", "0010", "0100", "1000", "0100", "0002", "1010", "000", "000", "0002", "0100", "000", "1112", "000", "0100", "0100", "0100", "000", "1112", "000", "0100", "0100", "1112", "000", "1110", "0002", "0002", "000", "000", "000", "1110", "000", "1110", "000", "0102", "000", "0002", "0002", "0100", "0100", "0100", "000", "1110", "0002", "1110", "000", "0100", "0002", "1110", "000", "1110", "0002", "1110", "000", "0002", "0002", "0002", "0002", "0002", "000", "1110", "1110", "1110", "0002", "000", "000", "000", "000", "x");
_root.posterrain6 = new Array("a", "b", "c", "d", "b", "e", "a", "c", "d", "b", "a", "b", "c", "f", "b", "d", "a", "c", "d", "b", "c", "a", "b", "c", "g", "b", "f", "a", "c", "d", "b", "c", "a", "e", "c", "d", "e", "a", "f", "c", "b", "c", "d", "a", "b", "d", "c", "a", "b", "d", "c", "a");
_root.posmec7 = new Array("000", "000", "000", "0102", "0102", "0100", "1010", "000", "000", "1012", "0100", "1012", "1010", "000", "0100", "0100", "0100", "000", "1010", "000", "1010", "000", "1010", "000", "000", "0102", "0100", "1010", "0100", "000", "1010", "0002", "0100", "0100", "0100", "0102", "000", "0100", "1010", "0100", "000", "0100", "0100", "1010", "1010", "1110", "1010", "0100", "1010", "0102", "1010", "0100", "0100", "0102", "0100", "0100", "1010", "0102", "1010", "0100", "1010", "0102", "0100", "1010", "1010", "1110", "1010", "0100", "1010", "0102", "1010", "0100", "0100", "1010", "1010", "1110", "0102", "1012", "1110", "000", "000", "000", "x");
_root.posterrain7 = new Array("a", "b", "c", "a", "b", "a", "a", "c", "b", "b", "a", "d", "c", "e", "b", "c", "a", "c", "a", "b", "c", "a", "b", "d", "a", "e", "b", "f", "b", "a", "b", "c", "a", "b", "a", "c", "b", "a", "g", "a", "b", "c", "b", "a", "b", "a", "c", "a", "b", "a", "c", "a");
_root.posmec8 = new Array("000", "000", "000", "0102", "1000", "0100", "0010", "0102", "0102", "1010", "0100", "0100", "1000", "1000", "0010", "0012", "0102", "1010", "0100", "1110", "0100", "1010", "0102", "0100", "1110", "1010", "000", "1110", "000", "0102", "1110", "0100", "1010", "0102", "0102", "1110", "1010", "0002", "1110", "0102", "1110", "000", "1110", "0010", "0100", "1010", "0100", "1110", "0100", "1010", "0102", "0102", "1110", "1010", "000", "1110", "000", "0102", "1110", "0100", "1012", "0100", "0100", "1010", "000", "1112", "000", "0100", "1110", "0100", "1012", "0100", "0100", "1110", "1012", "000", "1110", "0102", "1110", "000", "000", "000", "x");
_root.posterrain8 = new Array("a", "b", "c", "a", "b", "a", "a", "c", "b", "b", "a", "d", "c", "e", "b", "c", "g", "c", "a", "b", "c", "a", "b", "d", "c", "g", "a", "f", "b", "a", "f", "c", "a", "b", "a", "e", "b", "d", "g", "a", "b", "c", "b", "a", "b", "a", "c", "a", "b", "a", "c", "a");
_root.posmec9 = new Array("000", "000", "000", "000", "0100", "0100", "1112", "000", "0100", "0100", "1110", "000", "1012", "1010", "1010", "000", "1010", "0102", "000", "1010", "0102", "000", "000", "1110", "0100", "1112", "0100", "1110", "000", "0102", "1110", "1110", "000", "1110", "1112", "1110", "0100", "0100", "0100", "1112", "1112", "000", "000", "1112", "1110", "1112", "0100", "0100", "0100", "1112", "1112", "000", "000", "1112", "1110", "1112", "0100", "0100", "0100", "1112", "1112", "000", "000", "1112", "1112", "1112", "0100", "0100", "000", "000", "1112", "1112", "1112", "000", "000", "1112", "1112", "1112", "000", "000", "000", "000", "x");
_root.posterrain9 = new Array("a", "b", "c", "a", "b", "a", "a", "e", "f", "e", "a", "b", "c", "g", "a", "g", "b", "c", "e", "a", "f", "b", "e", "a", "c", "b", "a", "d", "b", "e", "f", "c", "b", "c", "a", "c", "b", "e", "g", "a", "b", "c", "b", "a", "b", "a", "c", "a", "b", "a", "c", "a");
dep = 12;
_root.attachMovie("interface", "interface", 7000);
Instance of Symbol 2 MovieClip "terre" in Symbol 3 MovieClip [e3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Symbol 18 Button
on (release) {
_root.posit = 0;
_root.posit2 = 0;
_root.stopterrain = "";
_root.stoppas = "";
_root.appafirst();
_root.revienvaiss();
removeMovieClip("_root.boss");
_level0.niveau = 1;
removeMovieClip("");
}
Symbol 23 MovieClip [game_over] Frame 40
stop();
Symbol 28 Button
on (release) {
_root.concred();
if (_root.lettre != "x") {
_root.stoppas = "";
_root.stopterrain = "";
_root.appamechant();
}
_root.nbvie(5);
_root.revienvaiss();
removeMovieClip(this);
}
Symbol 29 MovieClip [continue] Frame 20
stop();
Instance of Symbol 27 MovieClip in Symbol 29 MovieClip [continue] Frame 20
onClipEvent (load) {
temps1 = new Date();
sec1 = temps1.getSeconds();
compte = 20;
}
onClipEvent (enterFrame) {
temps2 = new Date();
sec2 = temps2.getSeconds();
if (sec2 != sec1) {
compte--;
sec1 = sec2;
}
if (0 >= compte) {
_root.gamover();
_root.concred();
removeMovieClip(_parent);
}
}
Symbol 47 MovieClip [perte_vie] Frame 49
_root.finappaperte_vie();
Symbol 55 Button
on (release) {
_root.posit = 0;
_root.posit2 = 0;
_root.stopterrain = "";
_root.stoppas = "";
_root.niveau = _root.niveau + 1;
_root.appafirst();
_root.appamechant();
_root.revienvaiss();
removeMovieClip("");
}
Symbol 57 MovieClip [next_level] Frame 23
stop();
Symbol 64 Button
on (release) {
removeMovieClip("_root.inscription");
_root.appacontinue();
}
Symbol 67 MovieClip [attente] Frame 5
if ((_level0.client == "gagnant") or (_level0.client == "perdant")) {
if (_level0.client == "gagnant") {
_root.appainscrip();
}
if (_level0.client == "perdant") {
_root.appacontinue();
}
removeMovieClip(_parent);
} else {
gotoAndPlay (1);
}
Symbol 78 Button
on (release) {
gotoAndPlay (339);
}
Symbol 117 Button
on (release) {
_level0.appafirst();
_level0.affvie(_root.restevie);
_parent._visible = 0;
_parent.gotoAndStop(1);
_parent.nomen = "";
}
Symbol 118 MovieClip Frame 40
stop();
Symbol 119 MovieClip Frame 1
stop();
sys = false;
Symbol 119 MovieClip Frame 2
_visible = 1;
sys = true;
play();
Symbol 119 MovieClip Frame 174
stop();
Instance of Symbol 84 MovieClip in Symbol 119 MovieClip Frame 174
onClipEvent (enterFrame) {
retar = retar + 1;
if (retar >= 200) {
_parent.play();
}
}
Symbol 119 MovieClip Frame 218
stop();
Instance of Symbol 89 MovieClip in Symbol 119 MovieClip Frame 218
onClipEvent (enterFrame) {
ret = ret + 1;
_alpha = (100 - (ret / 2));
if (ret >= 200) {
_parent.play();
}
}
Symbol 119 MovieClip Frame 339
stop();
Symbol 123 Button
on (release) {
gotoAndPlay (11);
_parent.boutscores.gotoAndStop(1);
_parent.nomen = "";
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 10
stop();
sys = true;
Symbol 125 MovieClip Frame 17
sys = false;
_root.stopterrain = "";
_root.stoppas = "";
_root.arrt = "";
_root.vaistop = "";
_root.stoincr = "";
_root.stopmec = "";
Symbol 126 Button
on (release) {
gotoAndPlay (14);
_parent.boutaide.gotoAndStop(1);
_parent.nomen = "";
}
Symbol 135 Button
on (release) {
nextFrame();
play();
}
Symbol 166 Button
on (release) {
prevFrame();
play();
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 3
stop();
Symbol 228 MovieClip Frame 4
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 10
stop();
sys = true;
Symbol 229 MovieClip Frame 17
sys = false;
_root.stopterrain = "";
_root.stoppas = "";
_root.arrt = "";
_root.vaistop = "";
_root.stoincr = "";
_root.stopmec = "";
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
stop();
Symbol 267 Button
on (release) {
qualit = 1;
calculqual(qualit);
}
Symbol 268 Button
on (release) {
qualit = 2;
calculqual(qualit);
}
Symbol 269 Button
on (release) {
qualit = 3;
calculqual(qualit);
}
Symbol 270 Button
on (release) {
qualit = 4;
calculqual(qualit);
}
Symbol 271 Button
on (release) {
qualit = qualit - 1;
if (qualit < 1) {
qualit = 1;
}
calculqual(qualit);
}
Symbol 272 Button
on (release) {
qualit = qualit + 1;
if (4 < qualit) {
qualit = 4;
}
calculqual(qualit);
}
Symbol 276 Button
on (release) {
gotoAndStop (2);
_root.affpanneau("aide");
_root.stopterrain = "ok";
_root.stoppas = "ok";
_root.arrt = "ok";
_root.vaistop = "ok";
_root.stoincr = "ok";
_root.stopmec = "ok";
}
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
stop();
Symbol 281 Button
on (release) {
gotoAndStop (2);
_root.affpanneau("scores");
_root.stopterrain = "ok";
_root.stoppas = "ok";
_root.arrt = "ok";
_root.vaistop = "ok";
_root.stoincr = "ok";
_root.stopmec = "ok";
}
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
stop();
Symbol 286 Button
on (release) {
_root.affpanneau("intro");
gotoAndStop (2);
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 290 Button
on (release) {
_root.posit = 0;
_root.posit2 = 0;
_level0.niveau = 1;
_root.stopterrain = "";
_root.stoppas = "";
_level0.appafirst();
_level0.affvie(_root.restevie);
}
Symbol 291 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Instance of Symbol 119 MovieClip "intro" in Symbol 301 MovieClip [interface] Frame 1
onClipEvent (load) {
this._visible = 0;
this.play();
gotoAndPlay (2);
}
Instance of Symbol 238 MovieClip "score" in Symbol 301 MovieClip [interface] Frame 1
onClipEvent (enterFrame) {
long = Number(String(_root.points).length);
affich_score = "";
long = 8 - long;
a = 0;
while (a < long) {
affich_score = affich_score + "0";
a++;
}
affich_score = affich_score + String(_root.points);
}
Instance of Symbol 240 MovieClip in Symbol 301 MovieClip [interface] Frame 1
onClipEvent (enterFrame) {
if (_level0.niveau.length < 2) {
niveausim = "0" + _level0.niveau;
} else {
niveausim = _level0.niveau;
}
}
Instance of Symbol 255 MovieClip in Symbol 301 MovieClip [interface] Frame 1
onClipEvent (enterFrame) {
if (_level0.credits.length < 2) {
credaffi = "0" + _level0.credits;
} else {
credaffi = _level0.credits;
}
}
Instance of Symbol 273 MovieClip "qualite" in Symbol 301 MovieClip [interface] Frame 1
onClipEvent (load) {
function calculqual(qualit) {
_quality = tabqual[qualit - 1];
affichbout(qualit);
}
function affichbout(nb) {
i = 1;
while (4 >= i) {
eval ("bout" + i).gotoAndStop(1);
i++;
}
i = 1;
while (4 >= i) {
Set("couleur" + i, new Color(eval ("chi" + i)));
eval ("couleur" + i).setRGB(16777215);
i++;
}
eval ("bout" + nb).gotoAndStop(2);
eval ("couleur" + nb).setRGB(51);
}
tabqual = new Array("LOW", "MEDIUM", "HIGH", "BEST");
calculqual("3");
}
Instance of Symbol 326 MovieClip [g] "terre" in Symbol 327 MovieClip [g3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 329 MovieClip "terre" in Symbol 330 MovieClip [f3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 331 MovieClip [d] "terre" in Symbol 332 MovieClip [d3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 334 MovieClip "terre" in Symbol 335 MovieClip [c3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 337 MovieClip "terre" in Symbol 338 MovieClip [b3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 340 MovieClip "terre" in Symbol 341 MovieClip [a3] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 347 MovieClip "terre" in Symbol 348 MovieClip [g2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 350 MovieClip "terre" in Symbol 351 MovieClip [f2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 355 MovieClip "terre" in Symbol 356 MovieClip [e2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 358 MovieClip "terre" in Symbol 359 MovieClip [d2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 361 MovieClip "terre" in Symbol 362 MovieClip [c2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 364 MovieClip "terre" in Symbol 365 MovieClip [b2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 367 MovieClip "terre" in Symbol 368 MovieClip [a2] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 370 MovieClip "terre" in Symbol 371 MovieClip [g1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 373 MovieClip "terre" in Symbol 374 MovieClip [f1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 378 MovieClip "terre" in Symbol 379 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 381 MovieClip "terre" in Symbol 382 MovieClip [d1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 384 MovieClip "terre" in Symbol 385 MovieClip [c1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 387 MovieClip "terre" in Symbol 388 MovieClip [b1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 390 MovieClip "terre" in Symbol 391 MovieClip [a1] Frame 1
onClipEvent (enterFrame) {
if (_root.stopterrain != "ok") {
_parent._x = _parent._x - 1;
updateAfterEvent();
if (_parent._x < ((-_parent._width) + 10)) {
_root.appaterrain();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 400 MovieClip in Symbol 401 MovieClip [pasx] Frame 1
onClipEvent (enterFrame) {
if (_root.stoincr != "ok") {
this._x = this._x - 2;
updateAfterEvent();
if (this._x < -43) {
_root.appamechant();
removeMovieClip(_parent);
}
}
}
Instance of Symbol 402 MovieClip "but" in Symbol 403 MovieClip [balle] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + 30;
updateAfterEvent();
if (450 < _parent._x) {
_parent.removeMovieClip();
}
}
Symbol 405 MovieClip Frame 46
stop();
_root.protec = "fini";
Symbol 407 MovieClip Frame 1
stop();
tour = 0;
Symbol 407 MovieClip Frame 4
tour = tour + 1;
if (tour >= 4) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 4
tour = tour + 1;
if (10 < tour) {
_root.appaperte_vie();
stop();
} else {
gotoAndPlay (2);
}
Symbol 416 MovieClip Frame 1
stop();
Instance of Symbol 405 MovieClip "bulle" in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
this.play();
_root.protec = "ok";
}
onClipEvent (enterFrame) {
this._x = _parent.corps._x;
this._y = _parent.corps._y;
}
Symbol 416 MovieClip Frame 2
play();
Symbol 416 MovieClip Frame 7
_root.arrt = "fin";
stop();
_root.img = "norme";
_root.vaistop = "fini";
Symbol 416 MovieClip Frame 9
stop();
_root.img = "bas";
Symbol 416 MovieClip Frame 12
gotoAndStop (7);
Symbol 416 MovieClip Frame 14
stop();
_root.img = "haut";
Symbol 416 MovieClip Frame 17
gotoAndStop (7);
Symbol 416 MovieClip Frame 21
_root.arrt = "ok";
_root.vaistop = "ok";
Symbol 416 MovieClip Frame 27
stop();
_root.stoppas = "ok";
_root.stopterrain = "ok";
Instance of Symbol 415 MovieClip "crash" in Symbol 416 MovieClip Frame 27
onClipEvent (enterFrame) {
_parent._parent._y = _parent._parent._y + 5;
i = 50;
while (i < 80) {
if (this.hitTest(eval ("_root.lettret" + i))) {
this.gotoAndPlay(2);
}
i++;
}
}
Instance of Symbol 416 MovieClip "vaisseau" in Symbol 417 MovieClip [vaisseau] Frame 1
onClipEvent (enterFrame) {
if (_root.vaistop != "ok") {
if (Key.isDown(Key.RIGHT)) {
if (accdr < 5) {
accdr = accdr + moveSpeed;
} else {
accdr = accdr;
}
accdr = accdr + moveSpeed;
_parent._x = _parent._x + accdr;
updateAfterEvent();
accga = 0;
dr = "ok";
ga = "no";
} else if (Key.isDown(Key.LEFT)) {
if (accga < 5) {
accga = accga + moveSpeed;
} else {
accga = accga;
}
_parent._x = _parent._x - accga;
updateAfterEvent();
ga = "ok";
dr = "no";
accdr = 0;
} else {
dr = "no";
ga = "no";
}
if (Key.isDown(Key.DOWN)) {
bas++;
haut = 0;
if (bas == "1") {
this.gotoAndPlay("bas");
updateAfterEvent(keyDown);
}
if (accba < 5) {
accba = accba + moveSpeed;
} else {
accba = accba;
}
accba = accba + moveSpeed;
_parent._y = _parent._y + accba;
updateAfterEvent(keyDown);
acchau = 0;
ba = "ok";
} else if (Key.isDown(Key.UP)) {
updateAfterEvent(keyDown);
haut++;
bas = 0;
if (haut == "1") {
this.gotoAndPlay("haut");
}
if (acchau < 5) {
acchau = acchau + moveSpeed;
} else {
acchau = acchau;
}
acchau = acchau + moveSpeed;
_parent._y = _parent._y - acchau;
updateAfterEvent(keyDown);
accba = 0;
hau = "ok";
} else {
hau = "no";
ba = "no";
if (_root.img != "norme") {
this.play();
}
}
if (hau == "no") {
if (0 < acchau) {
acchau = acchau - (acchau / 2);
_parent._y = _parent._y - acchau;
updateAfterEvent(keyDown);
}
}
if (ba == "no") {
if (0 < accba) {
accba = accba - (accba / 2);
_parent._y = _parent._y + accba;
updateAfterEvent(keyDown);
}
}
if (dr == "no") {
if (0 < accdr) {
accdr = accdr - (accdr / 2);
_parent._x = _parent._x + accdr;
updateAfterEvent(keyDown);
}
}
if (ga == "no") {
if (0 < accga) {
accga = accga - (accga / 2);
_parent._x = _parent._x - accga;
updateAfterEvent(keyDown);
}
}
if (_root.protec != "ok") {
testtoucher();
horschamps();
}
}
}
onClipEvent (keyDown) {
if (_root.arrt != "ok") {
if (Key.isDown(32)) {
tir();
}
}
}
onClipEvent (load) {
function tir() {
_root.attachMovie("balle", "balle" + profbal, profbal);
rata = eval ("_root.balle" add profbal);
rata._x = _root.vaisseau._x;
rata._y = _root.vaisseau._y;
updateAfterEvent(keyDown);
profbal++;
if (profbal >= 330) {
profbal = 300;
}
}
function horschamps() {
if ((((_parent._x < 0) || (450 < _parent._x)) || (335 < _parent._y)) || (_parent._y < 0)) {
if (_parent._x < 0) {
_parent._x = 0;
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
if (450 < _parent._x) {
_parent._x = 450;
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
if (335 < _parent._y) {
_parent._y = 320;
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
if (_parent._y < 0) {
_parent._y = 5;
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
} else {
n = 50;
while (n < 80) {
if (corps.hitTest(eval (("_root.lettret" + n) + ".terre"))) {
if (_root.retard() == "ok") {
_root.energie(-2);
}
return;
}
n++;
}
}
}
moveSpeed = 1.5;
profbal = 300;
_root.laser._visible = false;
laserCounter = 1;
}
Instance of Symbol 419 MovieClip in Symbol 420 MovieClip [tirmec2] Frame 1
onClipEvent (load) {
function testhit() {
if (this.hitTest(_root.vaisseau.vaisseau.corps)) {
_root.energie(-3);
removeMovieClip(_parent);
}
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - 25;
updateAfterEvent();
if (_parent._x < 0) {
removeMovieClip(_parent);
}
testhit();
}
Symbol 429 MovieClip Frame 7
_root.appapiece(_parent._parent._x, _parent._parent._y);
removeMovieClip(_parent._parent);
_level0.points = _level0.points + 50;
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 2
stop();
Instance of Symbol 430 MovieClip in Symbol 431 MovieClip [mechant2] Frame 1
onClipEvent (load) {
function testhit() {
if (cleen.hitTest(_root.vaisseau.vaisseau.corps)) {
this.gotoAndStop(2);
_root.energie(-2);
sens = "stop";
}
}
function hitballe() {
u = 300;
while (330 >= u) {
if (cleen.hitTest("_root.balle" + u)) {
this.gotoAndStop(2);
_level0.points = _level0.points + 30;
sens = "stop";
return;
}
u++;
}
}
function tirvaiss2() {
_root.attachMovie("tirmec2", "tirmec2" + _root.tir2, _root.tir2);
eval ("_root.tirmec2" + _root.tir2)._x = _parent._x - 5;
eval ("_root.tirmec2" + _root.tir2)._y = _parent._y - 5;
updateAfterEvent();
if (_root.tir2 >= 299) {
_root.tir2 = 285;
}
coupe = "ok";
sens = "bas";
}
sens = "haut";
_root.tir2 = 285;
signe = ((random(2) < 1) ? -1 : 1);
rampos = 250 - (signe * (random(3) * 10));
}
onClipEvent (enterFrame) {
if (_root.stopmec != "ok") {
hitballe();
testhit();
testtoucher();
if ((_parent._y < rampos) and (coupe != "ok")) {
tirvaiss2();
}
if (sens == "haut") {
incr = incr - 5;
_parent._x = _parent._x - 10;
_parent._y = _parent._y + incr;
} else if (sens == "bas") {
incr = incr + 5;
_parent._x = _parent._x - 10;
_parent._y = _parent._y + incr;
} else if (sens == "stop") {
incr = 0;
_parent._x = _parent._x - 0;
_parent._y = _parent._y + incr;
}
updateAfterEvent();
}
}
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
sens = "stop";
Symbol 439 MovieClip Frame 9
stop();
_root.appapiece(_parent._x, _parent._y);
_level0.points = _level0.points + 20;
removeMovieClip(_parent);
Instance of Symbol 439 MovieClip "mechant1" in Symbol 440 MovieClip [mechant1] Frame 1
onClipEvent (load) {
function testhit() {
i = 300;
while (330 >= i) {
if (boule.hitTest(eval ("_root.balle" + i))) {
this.gotoAndPlay("fin");
eval ("_root.balle" + i).removeMovieClip();
return;
}
i++;
}
}
function testhitvaiss() {
if (boule.hitTest(_root.vaisseau.vaisseau.corps)) {
this.gotoAndPlay(2);
_root.energie(-1);
sens = "stop";
}
}
ram = random(6) + 6;
}
onClipEvent (enterFrame) {
if (_root.stopmec != "ok") {
if (_parent._x < 0) {
_parent._x = _parent._x - 0;
updateAfterEvent();
removeMovieClip(_parent);
} else if (sens != "stop") {
_parent._x = _parent._x - ram;
updateAfterEvent();
}
testhit();
testhitvaiss();
}
}
Instance of Symbol 441 MovieClip in Symbol 442 MovieClip [bonus_vie] Frame 1
onClipEvent (enterFrame) {
tmps = tmps + 1;
if (tmps >= 50) {
removeMovieClip(_parent);
}
testhit();
}
onClipEvent (load) {
function testhit() {
if (_root.vaisseau.hitTest(this)) {
_root.nbvie(1);
removeMovieClip(_parent);
}
}
}
Instance of Symbol 443 MovieClip in Symbol 444 MovieClip [bonus_nrj] Frame 1
onClipEvent (enterFrame) {
tmps = tmps + 1;
if (tmps >= 50) {
removeMovieClip(_parent);
}
testhit();
}
onClipEvent (load) {
function testhit() {
if (_root.vaisseau.hitTest(this)) {
_root.energie(3);
removeMovieClip(_parent);
}
}
}
Instance of Symbol 445 MovieClip in Symbol 446 MovieClip [bonus_bouclier] Frame 1
onClipEvent (enterFrame) {
tmps = tmps + 1;
if (tmps >= 50) {
removeMovieClip(_parent);
}
testhit();
}
onClipEvent (load) {
function testhit() {
if (_root.vaisseau.hitTest(this)) {
removeMovieClip(_parent);
_root.appabulle();
}
}
}
Instance of Symbol 448 MovieClip in Symbol 449 MovieClip [feu] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x - 10;
if (_parent._x < 0) {
removeMovieClip("");
}
if (this.hitTest("_root.vaisseau.vaisseau.corps")) {
_root.energie(-3);
removeMovieClip(_parent);
}
}
Instance of Symbol 451 MovieClip in Symbol 452 MovieClip [armeboss3] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x - 10;
}
Instance of Symbol 454 MovieClip in Symbol 455 MovieClip [feuboss3] Frame 1
onClipEvent (load) {
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector(no2x, no2y) {
deltaX = no2x - _parent._x;
deltaY = -(no2y - _parent._y);
cosOutput = Math.floor(Math.cos(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
sinOutput = Math.floor(Math.sin(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
if ((90 >= angle) and (angle >= 0)) {
xclip = Math.abs(cosOutput);
yclip = -Math.abs(sinOutput);
rotclip = -angle;
updateAfterEvent();
} else if ((180 >= angle) and (90 < angle)) {
xclip = -Math.abs(cosOutput);
yclip = -Math.abs(sinOutput);
rotclip = -angle;
updateAfterEvent();
} else if ((270 >= angle) and (180 < angle)) {
xclip = -Math.abs(cosOutput);
yclip = Math.abs(sinOutput);
rotclip = -angle;
updateAfterEvent();
} else {
xclip = Math.abs(cosOutput);
xclip = Math.abs(sinOutput);
xclip = -angle;
updateAfterEvent();
}
}
no2x = _root.vaisseau._x;
no2y = _root.vaisseau._y;
calcVector(no2x, no2y);
_parent._rotation = rotclip;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + (20 * xclip);
_parent._y = _parent._y + (20 * yclip);
updateAfterEvent();
if (((_parent._x < 0) || (325 < _parent._y)) || (_parent._y < 0)) {
removeMovieClip(_parent);
}
if (this.hitTest("_root.vaisseau.vaisseau.corps")) {
_root.energie(-3);
removeMovieClip(_parent);
}
}
Instance of Symbol 459 MovieClip "tirbossint" in Symbol 460 MovieClip [bosstir] Frame 1
onClipEvent (load) {
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector(no2x, no2y) {
deltaX = no2x - _parent._x;
deltaY = -(no2y - _parent._y);
cosOutput = Math.floor(Math.cos(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
sinOutput = Math.floor(Math.sin(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
if ((90 >= angle) and (angle >= 0)) {
xclip = Math.abs(cosOutput);
yclip = -Math.abs(sinOutput);
rotclip = -angle;
updateAfterEvent();
} else if ((180 >= angle) and (90 < angle)) {
xclip = -Math.abs(cosOutput);
yclip = -Math.abs(sinOutput);
rotclip = -angle;
updateAfterEvent();
} else if ((270 >= angle) and (180 < angle)) {
xclip = -Math.abs(cosOutput);
yclip = Math.abs(sinOutput);
rotclip = -angle;
updateAfterEvent();
} else {
xclip = Math.abs(cosOutput);
xclip = Math.abs(sinOutput);
xclip = -angle;
updateAfterEvent();
}
}
no2x = _root.vaisseau._x;
no2y = _root.vaisseau._y;
calcVector(no2x, no2y);
_parent._rotation = rotclip;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + (20 * xclip);
_parent._y = _parent._y + (20 * yclip);
updateAfterEvent();
if (((_parent._x < 0) or (325 < _parent._y)) or (_parent._y < 0)) {
removeMovieClip(_parent);
}
if (hit.hitTest("_root.vaisseau.vaisseau.corps")) {
_root.energie(-3);
removeMovieClip(_parent);
}
}
Instance of Symbol 464 MovieClip "corps" in Symbol 470 MovieClip [boss6] Frame 1
onClipEvent (load) {
function depboss1g() {
_parent._x = _parent._x - ((_parent._x - 450) / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 650) {
_level0.points = _level0.points + 700;
removeMovieClip(_parent);
_root.nouvlevel();
}
}
function tremble() {
if (30 >= tour) {
_parent._x = (posbossx + random(10)) - 5;
_parent._y = (posbossy + random(10)) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testhit() {
if (hit.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
function appaflamme() {
pas = -10;
postabx = new Array(-90, -75, -120);
postaby = new Array(90, -25, 50);
z = 0;
while (z < 3) {
_parent.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.flamme" + z)._x = postabx[z];
eval ("_parent.flamme" + z)._y = postaby[z];
updateAfterEvent();
pas = pas - 15;
z++;
}
_parent.tete.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.tete.flamme" + z)._x = -10;
eval ("_parent.tete.flamme" + z)._y = 40;
eval ("_parent.tete.flamme" + z)._rotation = 180;
}
function testtir() {
i = 300;
while (330 >= i) {
if (_parent.tete.hitTest(eval ("_root.balle" + i))) {
tete.eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
_level0.points = _level0.points + 85;
return;
}
i++;
}
}
function tirmiscot() {
_root.attachMovie("armeboss3", "armeboss3" + misi, misi);
eval ("_root.armeboss3" + misi)._x = _parent._x - 15;
eval ("_root.armeboss3" + misi)._y = _parent._y - 5;
misi++;
if (misi >= 410) {
misi = 401;
}
}
function reta() {
retar = retar + 1;
if (retar >= 35) {
retar = 0;
return("ok");
}
}
_root.nibotir = 360;
_level0.vieboss = 40;
misi = 401;
}
onClipEvent (enterFrame) {
testtir();
if (450 < _parent._x) {
depboss1g();
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
tremble();
_root.appabulle();
} else {
appaflamme();
niveau = "second";
_level0.vieboss = 20;
vitesse = 2;
posbossx = _parent._x;
posbossy = _parent._y;
}
}
if (reta() == "ok") {
tirmiscot();
}
}
Instance of Symbol 469 MovieClip "tete" in Symbol 470 MovieClip [boss6] Frame 1
onClipEvent (enterFrame) {
vaispox = _root.vaisseau._x;
vaispoy = _root.vaisseau._y;
calcVector(vaispox, vaispoy);
if (retaboss3() == "ok") {
tirboss();
}
}
onClipEvent (load) {
function tirboss() {
_root.attachMovie("feuboss3", "feuboss3" + _root.nibotir, _root.nibotir);
tetepos2.x = dent._x;
tetepos2.y = dent._y;
localToGlobal(tetepos2);
eval ("_root.feuboss3" + _root.nibotir)._x = tetepos2.x;
eval ("_root.feuboss3" + _root.nibotir)._y = tetepos2.y;
_root.nibotir = _root.nibotir + 1;
if (400 < _root.nibotir) {
_root.nibotir = 360;
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector(no2x, no2y) {
tetepos.x = this._x;
tetepos.y = this._y;
localToGlobal(tetepos);
deltaX = (-no2x) + tetepos.x;
deltaY = no2y - tetepos.y;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
this._rotation = (-angle) + 180;
udapteAfterEvent();
}
function retaboss3() {
retar = retar + 1;
if (retar >= 15) {
retar = 0;
return("ok");
}
}
_root.nibotir = 360;
tetepos = new Object();
tetepos2 = new Object();
}
Instance of Symbol 464 MovieClip "corps" in Symbol 471 MovieClip [boss9] Frame 1
onClipEvent (load) {
function depboss1g() {
_parent._x = _parent._x - ((_parent._x - 450) / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 650) {
_level0.points = _level0.points + 700;
removeMovieClip(_parent);
_root.nouvlevel();
}
}
function tremble() {
if (30 >= tour) {
_parent._x = (posbossx + random(10)) - 5;
_parent._y = (posbossy + random(10)) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testhit() {
if (hit.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
function appaflamme() {
pas = -10;
postabx = new Array(-90, -75, -120);
postaby = new Array(90, -25, 50);
z = 0;
while (z < 3) {
_parent.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.flamme" + z)._x = postabx[z];
eval ("_parent.flamme" + z)._y = postaby[z];
updateAfterEvent();
pas = pas - 15;
z++;
}
_parent.tete.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.tete.flamme" + z)._x = -10;
eval ("_parent.tete.flamme" + z)._y = 40;
eval ("_parent.tete.flamme" + z)._rotation = 180;
}
function testtir() {
i = 300;
while (330 >= i) {
if (_parent.tete.hitTest(eval ("_root.balle" + i))) {
tete.eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
_level0.points = _level0.points + 85;
return;
}
i++;
}
}
function tirmiscot() {
_root.attachMovie("armeboss3", "armeboss3" + misi, misi);
eval ("_root.armeboss3" + misi)._x = _parent._x - 15;
eval ("_root.armeboss3" + misi)._y = _parent._y - 5;
misi++;
if (misi >= 410) {
misi = 401;
}
}
function reta() {
retar = retar + 1;
if (retar >= 35) {
retar = 0;
return("ok");
}
}
_root.nibotir = 360;
_level0.vieboss = 40;
misi = 401;
}
onClipEvent (enterFrame) {
testtir();
if (450 < _parent._x) {
depboss1g();
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
tremble();
_root.appabulle();
} else {
appaflamme();
niveau = "second";
_level0.vieboss = 20;
vitesse = 2;
posbossx = _parent._x;
posbossy = _parent._y;
}
}
if (reta() == "ok") {
tirmiscot();
}
}
Instance of Symbol 469 MovieClip "tete" in Symbol 471 MovieClip [boss9] Frame 1
onClipEvent (enterFrame) {
vaispox = _root.vaisseau._x;
vaispoy = _root.vaisseau._y;
calcVector(vaispox, vaispoy);
if (retaboss3() == "ok") {
tirboss();
}
}
onClipEvent (load) {
function tirboss() {
_root.attachMovie("feuboss3", "feuboss3" + _root.nibotir, _root.nibotir);
tetepos2.x = dent._x;
tetepos2.y = dent._y;
localToGlobal(tetepos2);
eval ("_root.feuboss3" + _root.nibotir)._x = tetepos2.x;
eval ("_root.feuboss3" + _root.nibotir)._y = tetepos2.y;
_root.nibotir = _root.nibotir + 1;
if (400 < _root.nibotir) {
_root.nibotir = 360;
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector(no2x, no2y) {
tetepos.x = this._x;
tetepos.y = this._y;
localToGlobal(tetepos);
deltaX = (-no2x) + tetepos.x;
deltaY = no2y - tetepos.y;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
this._rotation = (-angle) + 180;
udapteAfterEvent();
}
function retaboss3() {
retar = retar + 1;
if (retar >= 15) {
retar = 0;
return("ok");
}
}
_root.nibotir = 360;
tetepos = new Object();
tetepos2 = new Object();
}
Instance of Symbol 464 MovieClip "corps" in Symbol 472 MovieClip [boss3] Frame 1
onClipEvent (load) {
function depboss1g() {
_parent._x = _parent._x - ((_parent._x - 450) / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 650) {
_level0.points = _level0.points + 700;
removeMovieClip(_parent);
_root.nouvlevel();
}
}
function tremble() {
if (30 >= tour) {
_parent._x = (posbossx + random(10)) - 5;
_parent._y = (posbossy + random(10)) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testhit() {
if (hit.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
function appaflamme() {
pas = -10;
postabx = new Array(-90, -75, -120);
postaby = new Array(90, -25, 50);
z = 0;
while (z < 3) {
_parent.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.flamme" + z)._x = postabx[z];
eval ("_parent.flamme" + z)._y = postaby[z];
updateAfterEvent();
pas = pas - 15;
z++;
}
_parent.tete.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.tete.flamme" + z)._x = -10;
eval ("_parent.tete.flamme" + z)._y = 40;
eval ("_parent.tete.flamme" + z)._rotation = 180;
}
function testtir() {
i = 300;
while (330 >= i) {
if (_parent.tete.hitTest(eval ("_root.balle" + i))) {
tete.eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
_level0.points = _level0.points + 85;
return;
}
i++;
}
}
function tirmiscot() {
_root.attachMovie("armeboss3", "armeboss3" + misi, misi);
eval ("_root.armeboss3" + misi)._x = _parent._x - 15;
eval ("_root.armeboss3" + misi)._y = _parent._y - 5;
misi++;
if (misi >= 410) {
misi = 401;
}
}
function reta() {
retar = retar + 1;
if (retar >= 35) {
retar = 0;
return("ok");
}
}
_root.nibotir = 360;
_level0.vieboss = 40;
misi = 401;
}
onClipEvent (enterFrame) {
testtir();
if (450 < _parent._x) {
depboss1g();
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
tremble();
_root.appabulle();
} else {
appaflamme();
niveau = "second";
_level0.vieboss = 20;
vitesse = 2;
posbossx = _parent._x;
posbossy = _parent._y;
}
}
if (reta() == "ok") {
tirmiscot();
}
}
Instance of Symbol 469 MovieClip "tete" in Symbol 472 MovieClip [boss3] Frame 1
onClipEvent (enterFrame) {
vaispox = _root.vaisseau._x;
vaispoy = _root.vaisseau._y;
calcVector(vaispox, vaispoy);
if (retaboss3() == "ok") {
tirboss();
}
}
onClipEvent (load) {
function tirboss() {
_root.attachMovie("feuboss3", "feuboss3" + _root.nibotir, _root.nibotir);
tetepos2.x = dent._x;
tetepos2.y = dent._y;
localToGlobal(tetepos2);
eval ("_root.feuboss3" + _root.nibotir)._x = tetepos2.x;
eval ("_root.feuboss3" + _root.nibotir)._y = tetepos2.y;
_root.nibotir = _root.nibotir + 1;
if (400 < _root.nibotir) {
_root.nibotir = 360;
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector(no2x, no2y) {
tetepos.x = this._x;
tetepos.y = this._y;
localToGlobal(tetepos);
deltaX = (-no2x) + tetepos.x;
deltaY = no2y - tetepos.y;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
this._rotation = (-angle) + 180;
udapteAfterEvent();
}
function retaboss3() {
retar = retar + 1;
if (retar >= 15) {
retar = 0;
return("ok");
}
}
_root.nibotir = 360;
tetepos = new Object();
tetepos2 = new Object();
}
Symbol 484 MovieClip Frame 3
tourecl++;
Instance of Symbol 484 MovieClip "eclair" in Symbol 485 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (tourecl >= 2) {
tourecl = 0;
this._visible = 0;
}
}
Instance of Symbol 477 MovieClip "entier2" in Symbol 488 MovieClip [boss5] Frame 1
onClipEvent (load) {
function deplace() {
if (_root.numpart2 >= 10) {
sens = "retour";
} else if (0 >= _root.numpart2) {
sens = "avant";
}
if (sens == "retour") {
main._x = main._x + 40;
updateAfterEvent();
removeMovieClip("bralon" + desc);
desc++;
_root.numpart2--;
if (desc == 10) {
_root.action2 = "fin";
hamp = 0;
}
} else if (sens == "avant") {
desc = 0;
main._x = main._x - 40;
updateAfterEvent();
this.attachMovie("bralon", "bralon" + _root.numpart2, _root.numpart2);
_root.numpart2++;
z = 0;
while (_root.numpart2 >= z) {
eval ("bralon" + z)._x = eval ("bralon" + z)._x - 40;
z++;
}
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector() {
deltaX = _root.vaisseau._x - this._x;
deltaY = -(_root.vaisseau._y - this._y);
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
this._rotation = (-angle) + 180;
updateAfterEvent();
}
function retar() {
incr++;
if (5 < incr) {
incr = 0;
return("ok");
}
}
_root.numpart2 = 0;
sens = "avant";
desc = 0;
}
onClipEvent (enterFrame) {
if (_root.action2 == "bras") {
if (hamp < 1) {
calcVector();
}
hamp++;
deplace();
}
if (main.hitTest("_root.vaisseau.vaisseau.corps")) {
if (retar() == "ok") {
_root.energie(-3);
}
}
}
Instance of Symbol 485 MovieClip in Symbol 488 MovieClip [boss5] Frame 1
onClipEvent (load) {
function depboss1g() {
_parent._x = _parent._x - (_parent._x / 6);
_parent._y = _parent._y - (_parent._y / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 450) {
_level0.points = _level0.points + 1250;
_root.nouvlevel();
removeMovieClip(_parent);
}
}
function tremble() {
if (30 >= tour) {
_parent._x = random(10) - 5;
_parent._y = random(10) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testtir() {
i = 300;
while (330 >= i) {
if (tete.hitTest(eval ("_root.balle" + i))) {
_level0.points = _level0.points + 120;
eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
return;
}
i++;
}
}
function tirboss2() {
_root.nibotir = _root.nibotir + 1;
comptboule = comptboule + 1;
_root.attachMovie("feu", "feu" + _root.nibotir, _root.nibotir);
eval ("_root.feu" + _root.nibotir)._rotation = (-angle) + 180;
canoncl.x = canon._x;
canoncl.y = canon._y;
localToGlobal(canoncl);
eval ("_root.feu" + _root.nibotir)._x = canoncl.x;
eval ("_root.feu" + _root.nibotir)._y = canoncl.y;
updateAfterEvent();
if (_root.nibotir >= 400) {
_root.nibotir = 360;
}
if (comptboule >= 2) {
chobras();
comptboule = 0;
}
}
function chobras() {
if (random(2) == 1) {
_root.action2 = "bras";
} else {
_root.action = "bras";
}
}
function retaboss2() {
retar = retar + 1;
if (retar >= 30) {
retar = 0;
return("ok");
}
}
function testhit() {
if (corps.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
function canonpos() {
if ((220 < _root.vaisseau._y) and (_root.vaisseau._y < 290)) {
canon._y = _root.vaisseau._y - 175;
updateAfterEvent();
}
}
function appaflamme() {
postabx = new Array(60, -75, -65, 20);
postaby = new Array(25, 130, -85, -160);
z = 0;
while (z < 4) {
this.attachMovie("flamme", "flamme" + z, z);
eval ("this.flamme" + z)._x = postabx[z];
eval ("this.flamme" + z)._y = postaby[z];
updateAfterEvent();
z++;
}
}
_root.nibotir = 360;
canoncl = new Object();
_level0.vieboss = 40;
_root.bossenergie(_level0.vieboss);
}
onClipEvent (enterFrame) {
if (0 < _parent._x) {
depboss1g();
} else if (retaboss2() == "ok") {
tirboss2();
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
eclair._visible = 1;
tremble();
_root.appabulle();
} else {
appaflamme();
niveau = "second";
_level0.vieboss = 20;
}
}
testtir();
testhit();
canonpos();
}
Instance of Symbol 487 MovieClip "entier1" in Symbol 488 MovieClip [boss5] Frame 1
onClipEvent (load) {
function deplace() {
if (_root.numpart >= 10) {
sens = "retour";
} else if (0 >= _root.numpart) {
sens = "avant";
}
if (sens == "retour") {
main._x = main._x + 40;
updateAfterEvent();
removeMovieClip("bralon" + desc);
desc++;
_root.numpart--;
if (desc == 10) {
_root.action = "fin";
hamp = 0;
}
} else if (sens == "avant") {
desc = 0;
main._x = main._x - 40;
updateAfterEvent();
this.attachMovie("bralon", "bralon" + _root.numpart, _root.numpart);
_root.numpart++;
z = 0;
while (_root.numpart >= z) {
eval ("bralon" + z)._x = eval ("bralon" + z)._x - 40;
z++;
}
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector() {
deltaX = _root.vaisseau._x - this._x;
deltaY = this._y - _root.vaisseau._y;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
_parent.angle = angle;
this._rotation = 180 - angle;
}
function retar() {
incr++;
if (5 < incr) {
incr = 0;
return("ok");
}
}
_root.numpart = 0;
sens = "avant";
desc = 0;
}
onClipEvent (enterFrame) {
if (_root.action == "bras") {
if (hamp < 1) {
calcVector();
}
hamp++;
deplace();
}
if (main.hitTest("_root.vaisseau.vaisseau.corps")) {
if (retar() == "ok") {
_root.energie(-3);
}
}
}
Instance of Symbol 477 MovieClip "entier2" in Symbol 489 MovieClip [boss8] Frame 1
onClipEvent (load) {
function deplace() {
if (_root.numpart2 >= 10) {
sens = "retour";
} else if (0 >= _root.numpart2) {
sens = "avant";
}
if (sens == "retour") {
main._x = main._x + 40;
updateAfterEvent();
removeMovieClip("bralon" + desc);
desc++;
_root.numpart2--;
if (desc == 10) {
_root.action2 = "fin";
hamp = 0;
}
} else if (sens == "avant") {
desc = 0;
main._x = main._x - 40;
updateAfterEvent();
this.attachMovie("bralon", "bralon" + _root.numpart2, _root.numpart2);
_root.numpart2++;
z = 0;
while (_root.numpart2 >= z) {
eval ("bralon" + z)._x = eval ("bralon" + z)._x - 40;
z++;
}
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector() {
deltaX = _root.vaisseau._x - this._x;
deltaY = -(_root.vaisseau._y - this._y);
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
this._rotation = (-angle) + 180;
updateAfterEvent();
}
function retar() {
incr++;
if (5 < incr) {
incr = 0;
return("ok");
}
}
_root.numpart2 = 0;
sens = "avant";
desc = 0;
}
onClipEvent (enterFrame) {
if (_root.action2 == "bras") {
if (hamp < 1) {
calcVector();
}
hamp++;
deplace();
}
if (main.hitTest("_root.vaisseau.vaisseau.corps")) {
if (retar() == "ok") {
_root.energie(-3);
}
}
}
Instance of Symbol 485 MovieClip in Symbol 489 MovieClip [boss8] Frame 1
onClipEvent (load) {
function depboss1g() {
_parent._x = _parent._x - (_parent._x / 6);
_parent._y = _parent._y - (_parent._y / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 450) {
_level0.points = _level0.points + 1250;
_root.nouvlevel();
removeMovieClip(_parent);
}
}
function tremble() {
if (30 >= tour) {
_parent._x = random(10) - 5;
_parent._y = random(10) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testtir() {
i = 300;
while (330 >= i) {
if (tete.hitTest(eval ("_root.balle" + i))) {
_level0.points = _level0.points + 120;
eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
return;
}
i++;
}
}
function tirboss2() {
_root.nibotir = _root.nibotir + 1;
comptboule = comptboule + 1;
_root.attachMovie("feu", "feu" + _root.nibotir, _root.nibotir);
eval ("_root.feu" + _root.nibotir)._rotation = (-angle) + 180;
canoncl.x = canon._x;
canoncl.y = canon._y;
localToGlobal(canoncl);
eval ("_root.feu" + _root.nibotir)._x = canoncl.x;
eval ("_root.feu" + _root.nibotir)._y = canoncl.y;
updateAfterEvent();
if (_root.nibotir >= 400) {
_root.nibotir = 360;
}
if (comptboule >= 2) {
chobras();
comptboule = 0;
}
}
function chobras() {
if (random(2) == 1) {
_root.action2 = "bras";
} else {
_root.action = "bras";
}
}
function retaboss2() {
retar = retar + 1;
if (retar >= 30) {
retar = 0;
return("ok");
}
}
function testhit() {
if (corps.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
function canonpos() {
if ((220 < _root.vaisseau._y) and (_root.vaisseau._y < 290)) {
canon._y = _root.vaisseau._y - 175;
updateAfterEvent();
}
}
function appaflamme() {
postabx = new Array(60, -75, -65, 20);
postaby = new Array(25, 130, -85, -160);
z = 0;
while (z < 4) {
this.attachMovie("flamme", "flamme" + z, z);
eval ("this.flamme" + z)._x = postabx[z];
eval ("this.flamme" + z)._y = postaby[z];
updateAfterEvent();
z++;
}
}
_root.nibotir = 360;
canoncl = new Object();
_level0.vieboss = 40;
_root.bossenergie(_level0.vieboss);
}
onClipEvent (enterFrame) {
if (0 < _parent._x) {
depboss1g();
} else if (retaboss2() == "ok") {
tirboss2();
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
eclair._visible = 1;
tremble();
_root.appabulle();
} else {
appaflamme();
niveau = "second";
_level0.vieboss = 20;
}
}
testtir();
testhit();
canonpos();
}
Instance of Symbol 487 MovieClip "entier1" in Symbol 489 MovieClip [boss8] Frame 1
onClipEvent (load) {
function deplace() {
if (_root.numpart >= 10) {
sens = "retour";
} else if (0 >= _root.numpart) {
sens = "avant";
}
if (sens == "retour") {
main._x = main._x + 40;
updateAfterEvent();
removeMovieClip("bralon" + desc);
desc++;
_root.numpart--;
if (desc == 10) {
_root.action = "fin";
hamp = 0;
}
} else if (sens == "avant") {
desc = 0;
main._x = main._x - 40;
updateAfterEvent();
this.attachMovie("bralon", "bralon" + _root.numpart, _root.numpart);
_root.numpart++;
z = 0;
while (_root.numpart >= z) {
eval ("bralon" + z)._x = eval ("bralon" + z)._x - 40;
z++;
}
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector() {
deltaX = _root.vaisseau._x - this._x;
deltaY = this._y - _root.vaisseau._y;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
_parent.angle = angle;
this._rotation = 180 - angle;
}
function retar() {
incr++;
if (5 < incr) {
incr = 0;
return("ok");
}
}
_root.numpart = 0;
sens = "avant";
desc = 0;
}
onClipEvent (enterFrame) {
if (_root.action == "bras") {
if (hamp < 1) {
calcVector();
}
hamp++;
deplace();
}
if (main.hitTest("_root.vaisseau.vaisseau.corps")) {
if (retar() == "ok") {
_root.energie(-3);
}
}
}
Instance of Symbol 477 MovieClip "entier2" in Symbol 490 MovieClip [boss2] Frame 1
onClipEvent (load) {
function deplace() {
if (_root.numpart2 >= 10) {
sens = "retour";
} else if (0 >= _root.numpart2) {
sens = "avant";
}
if (sens == "retour") {
main._x = main._x + 40;
updateAfterEvent();
removeMovieClip("bralon" + desc);
desc++;
_root.numpart2--;
if (desc == 10) {
_root.action2 = "fin";
hamp = 0;
}
} else if (sens == "avant") {
desc = 0;
main._x = main._x - 40;
updateAfterEvent();
this.attachMovie("bralon", "bralon" + _root.numpart2, _root.numpart2);
_root.numpart2++;
z = 0;
while (_root.numpart2 >= z) {
eval ("bralon" + z)._x = eval ("bralon" + z)._x - 40;
z++;
}
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector() {
deltaX = _root.vaisseau._x - this._x;
deltaY = -(_root.vaisseau._y - this._y);
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
this._rotation = (-angle) + 180;
updateAfterEvent();
}
function retar() {
incr++;
if (5 < incr) {
incr = 0;
return("ok");
}
}
_root.numpart2 = 0;
sens = "avant";
desc = 0;
}
onClipEvent (enterFrame) {
if (_root.action2 == "bras") {
if (hamp < 1) {
calcVector();
}
hamp++;
deplace();
}
if (main.hitTest("_root.vaisseau.vaisseau.corps")) {
if (retar() == "ok") {
_root.energie(-3);
}
}
}
Instance of Symbol 485 MovieClip in Symbol 490 MovieClip [boss2] Frame 1
onClipEvent (load) {
function depboss1g() {
_parent._x = _parent._x - (_parent._x / 6);
_parent._y = _parent._y - (_parent._y / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 450) {
_level0.points = _level0.points + 1250;
_root.nouvlevel();
removeMovieClip(_parent);
}
}
function tremble() {
if (30 >= tour) {
_parent._x = random(10) - 5;
_parent._y = random(10) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testtir() {
i = 300;
while (330 >= i) {
if (tete.hitTest(eval ("_root.balle" + i))) {
_level0.points = _level0.points + 120;
eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
return;
}
i++;
}
}
function tirboss2() {
_root.nibotir = _root.nibotir + 1;
comptboule = comptboule + 1;
_root.attachMovie("feu", "feu" + _root.nibotir, _root.nibotir);
eval ("_root.feu" + _root.nibotir)._rotation = (-angle) + 180;
canoncl.x = canon._x;
canoncl.y = canon._y;
localToGlobal(canoncl);
eval ("_root.feu" + _root.nibotir)._x = canoncl.x;
eval ("_root.feu" + _root.nibotir)._y = canoncl.y;
updateAfterEvent();
if (_root.nibotir >= 400) {
_root.nibotir = 360;
}
if (comptboule >= 2) {
chobras();
comptboule = 0;
}
}
function chobras() {
if (random(2) == 1) {
_root.action2 = "bras";
} else {
_root.action = "bras";
}
}
function retaboss2() {
retar = retar + 1;
if (retar >= 30) {
retar = 0;
return("ok");
}
}
function testhit() {
if (corps.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
function canonpos() {
if ((220 < _root.vaisseau._y) and (_root.vaisseau._y < 290)) {
canon._y = _root.vaisseau._y - 175;
updateAfterEvent();
}
}
function appaflamme() {
postabx = new Array(60, -75, -65, 20);
postaby = new Array(25, 130, -85, -160);
z = 0;
while (z < 4) {
this.attachMovie("flamme", "flamme" + z, z);
eval ("this.flamme" + z)._x = postabx[z];
eval ("this.flamme" + z)._y = postaby[z];
updateAfterEvent();
z++;
}
}
_root.nibotir = 360;
canoncl = new Object();
_level0.vieboss = 40;
_root.bossenergie(_level0.vieboss);
}
onClipEvent (enterFrame) {
if (0 < _parent._x) {
depboss1g();
} else if (retaboss2() == "ok") {
tirboss2();
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
eclair._visible = 1;
tremble();
_root.appabulle();
} else {
appaflamme();
niveau = "second";
_level0.vieboss = 20;
}
}
testtir();
testhit();
canonpos();
}
Instance of Symbol 487 MovieClip "entier1" in Symbol 490 MovieClip [boss2] Frame 1
onClipEvent (load) {
function deplace() {
if (_root.numpart >= 10) {
sens = "retour";
} else if (0 >= _root.numpart) {
sens = "avant";
}
if (sens == "retour") {
main._x = main._x + 40;
updateAfterEvent();
removeMovieClip("bralon" + desc);
desc++;
_root.numpart--;
if (desc == 10) {
_root.action = "fin";
hamp = 0;
}
} else if (sens == "avant") {
desc = 0;
main._x = main._x - 40;
updateAfterEvent();
this.attachMovie("bralon", "bralon" + _root.numpart, _root.numpart);
_root.numpart++;
z = 0;
while (_root.numpart >= z) {
eval ("bralon" + z)._x = eval ("bralon" + z)._x - 40;
z++;
}
}
}
function radiansToDegrees(radians) {
return((radians / Math.PI) * 180);
}
function calcVector() {
deltaX = _root.vaisseau._x - this._x;
deltaY = this._y - _root.vaisseau._y;
angle2 = Math.floor(radiansToDegrees(Math.atan2(deltaY, deltaX)) * 1000) / 1000;
if (angle2 < 0) {
angle = 360 + angle2;
} else {
angle = angle2;
}
_parent.angle = angle;
this._rotation = 180 - angle;
}
function retar() {
incr++;
if (5 < incr) {
incr = 0;
return("ok");
}
}
_root.numpart = 0;
sens = "avant";
desc = 0;
}
onClipEvent (enterFrame) {
if (_root.action == "bras") {
if (hamp < 1) {
calcVector();
}
hamp++;
deplace();
}
if (main.hitTest("_root.vaisseau.vaisseau.corps")) {
if (retar() == "ok") {
_root.energie(-3);
}
}
}
Symbol 492 MovieClip Frame 3
tourecl++;
Instance of Symbol 492 MovieClip "eclair" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 500 MovieClip Frame 9
gotoAndStop (1);
eclair._visible = 0;
Symbol 507 MovieClip Frame 5
gotoAndStop (1);
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip [boss4] Frame 1
onClipEvent (load) {
function tirboss1() {
_root.attachMovie("bosstir", "bosstir" + (_root.nibotir + 1), _root.nibotir++);
eval ("_root.bosstir" + (_root.nibotir + 1))._x = _parent._x - 70;
eval ("_root.bosstir" + (_root.nibotir + 1))._y = _parent._y - 70;
if (_root.nibotir >= 400) {
_root.nibotir = 360;
}
}
function deptetehaut() {
tete._y = tete._y - (tete._y / vitesse);
repere._height = repere._height + ((9 - repere._height) / vitesse);
updateAfterEvent();
}
function deptetebas() {
tete._y = tete._y + ((9 - tete._y) / vitesse);
repere._height = repere._height - (repere._height / vitesse);
updateAfterEvent();
}
function depboss1g() {
_parent._x = _parent._x - ((_parent._x - 450) / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 650) {
_level0.points = _level0.points + 700;
removeMovieClip(_parent);
_root.nouvlevel();
}
}
function tremble() {
if (30 >= tour) {
_parent._x = (450 + random(10)) - 5;
_parent._y = (posbossy + random(10)) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testtir() {
i = 300;
while (330 >= i) {
if (repere.hitTest(eval ("_root.balle" + i))) {
tete.play();
tete.eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
_level0.points = _level0.points + 60;
return;
}
i++;
}
}
function appaflamme() {
pas = -10;
postabx = new Array(-150, -55, -25);
postaby = new Array(25, 95, 45);
z = 0;
while (z < 3) {
_parent.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.flamme" + z)._x = postabx[z];
eval ("_parent.flamme" + z)._y = postaby[z];
updateAfterEvent();
pas = pas - 15;
z++;
}
tete.attachMovie("flamme", "flamme" + z, z);
eval ("tete.flamme" + z)._y = eval ("tete.flamme" + z)._y - 10;
eval ("tete.flamme" + z)._width = eval ("tete.flamme" + z)._width / 5;
eval ("tete.flamme" + z)._height = eval ("tete.flamme" + z)._height / 5;
}
function testhit() {
if (corps.hit.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
tete.gotoAndStop(1);
tete._y = 9;
tir = "ok";
_root.nibotir = 360;
_level0.vieboss = 40;
_root.bossenergie(_level0.vieboss);
vitesse = 3;
posbossy = _parent._y;
_root.bossenergie(_level0.vieboss);
}
onClipEvent (enterFrame) {
testhit();
if (450 < _parent._x) {
depboss1g();
} else if (level0.bosstir != 0) {
monter = "desuite";
}
if (((monter == "desuite") and (0.01 < tete._y)) and (stopa != "ok")) {
deptetehaut();
diams.stop();
if (tete._y < 0.02) {
stopa = "ok";
action = "tir";
tir = "ok";
}
}
if ((action == "tir") and (tir == "ok")) {
tirboss1();
tir = "pasbon";
descend = "enbas";
}
if ((descend == "enbas") and (tete._y < 9)) {
deptetebas();
if (tete._y >= 8.5) {
stopa = "";
descend = "";
}
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
tete.eclair.play;
tete.play;
tremble();
_root.appabulle();
monter = "";
action = "";
tir = "pasbon";
} else {
appaflamme();
niveau = "second";
diams.play();
monter = "";
action = "";
tir = "pasbon";
_level0.vieboss = 20;
vitesse = 2;
}
}
testtir();
}
Instance of Symbol 508 MovieClip in Symbol 510 MovieClip [boss7] Frame 1
onClipEvent (load) {
function tirboss1() {
_root.attachMovie("bosstir", "bosstir" + (_root.nibotir + 1), _root.nibotir++);
eval ("_root.bosstir" + (_root.nibotir + 1))._x = _parent._x - 70;
eval ("_root.bosstir" + (_root.nibotir + 1))._y = _parent._y - 70;
if (_root.nibotir >= 400) {
_root.nibotir = 360;
}
}
function deptetehaut() {
tete._y = tete._y - (tete._y / vitesse);
repere._height = repere._height + ((9 - repere._height) / vitesse);
updateAfterEvent();
}
function deptetebas() {
tete._y = tete._y + ((9 - tete._y) / vitesse);
repere._height = repere._height - (repere._height / vitesse);
updateAfterEvent();
}
function depboss1g() {
_parent._x = _parent._x - ((_parent._x - 450) / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 650) {
_level0.points = _level0.points + 700;
removeMovieClip(_parent);
_root.nouvlevel();
}
}
function tremble() {
if (30 >= tour) {
_parent._x = (450 + random(10)) - 5;
_parent._y = (posbossy + random(10)) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testtir() {
i = 300;
while (330 >= i) {
if (repere.hitTest(eval ("_root.balle" + i))) {
tete.play();
tete.eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
_level0.points = _level0.points + 60;
return;
}
i++;
}
}
function appaflamme() {
pas = -10;
postabx = new Array(-150, -55, -25);
postaby = new Array(25, 95, 45);
z = 0;
while (z < 3) {
_parent.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.flamme" + z)._x = postabx[z];
eval ("_parent.flamme" + z)._y = postaby[z];
updateAfterEvent();
pas = pas - 15;
z++;
}
tete.attachMovie("flamme", "flamme" + z, z);
eval ("tete.flamme" + z)._y = eval ("tete.flamme" + z)._y - 10;
eval ("tete.flamme" + z)._width = eval ("tete.flamme" + z)._width / 5;
eval ("tete.flamme" + z)._height = eval ("tete.flamme" + z)._height / 5;
}
function testhit() {
if (corps.hit.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
tete.gotoAndStop(1);
tete._y = 9;
tir = "ok";
_root.nibotir = 360;
_level0.vieboss = 40;
_root.bossenergie(_level0.vieboss);
vitesse = 3;
posbossy = _parent._y;
_root.bossenergie(_level0.vieboss);
}
onClipEvent (enterFrame) {
testhit();
if (450 < _parent._x) {
depboss1g();
} else if (level0.bosstir != 0) {
monter = "desuite";
}
if (((monter == "desuite") and (0.01 < tete._y)) and (stopa != "ok")) {
deptetehaut();
diams.stop();
if (tete._y < 0.02) {
stopa = "ok";
action = "tir";
tir = "ok";
}
}
if ((action == "tir") and (tir == "ok")) {
tirboss1();
tir = "pasbon";
descend = "enbas";
}
if ((descend == "enbas") and (tete._y < 9)) {
deptetebas();
if (tete._y >= 8.5) {
stopa = "";
descend = "";
}
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
tete.eclair.play;
tete.play;
tremble();
_root.appabulle();
monter = "";
action = "";
tir = "pasbon";
} else {
appaflamme();
niveau = "second";
diams.play();
monter = "";
action = "";
tir = "pasbon";
_level0.vieboss = 20;
vitesse = 2;
}
}
testtir();
}
Instance of Symbol 508 MovieClip in Symbol 511 MovieClip [boss1] Frame 1
onClipEvent (load) {
function tirboss1() {
_root.attachMovie("bosstir", "bosstir" + (_root.nibotir + 1), _root.nibotir++);
eval ("_root.bosstir" + (_root.nibotir + 1))._x = _parent._x - 70;
eval ("_root.bosstir" + (_root.nibotir + 1))._y = _parent._y - 70;
if (_root.nibotir >= 400) {
_root.nibotir = 360;
}
}
function deptetehaut() {
tete._y = tete._y - (tete._y / vitesse);
repere._height = repere._height + ((9 - repere._height) / vitesse);
updateAfterEvent();
}
function deptetebas() {
tete._y = tete._y + ((9 - tete._y) / vitesse);
repere._height = repere._height - (repere._height / vitesse);
updateAfterEvent();
}
function depboss1g() {
_parent._x = _parent._x - ((_parent._x - 450) / 6);
updateAfterEvent();
}
function retchtamer() {
_parent._x = _parent._x + ((850 - _parent._x) / 6);
updateAfterEvent();
if (_parent._x >= 650) {
_level0.points = _level0.points + 700;
removeMovieClip(_parent);
_root.nouvlevel();
}
}
function tremble() {
if (30 >= tour) {
_parent._x = (450 + random(10)) - 5;
_parent._y = (posbossy + random(10)) - 5;
updateAfterEvent();
tour++;
} else {
retchtamer();
}
}
function testtir() {
i = 300;
while (330 >= i) {
if (repere.hitTest(eval ("_root.balle" + i))) {
tete.play();
tete.eclair._visible = 1;
_level0.vieboss--;
_root.bossenergie(_level0.vieboss);
_level0.points = _level0.points + 60;
return;
}
i++;
}
}
function appaflamme() {
pas = -10;
postabx = new Array(-150, -55, -25);
postaby = new Array(25, 95, 45);
z = 0;
while (z < 3) {
_parent.attachMovie("flamme", "flamme" + z, z);
eval ("_parent.flamme" + z)._x = postabx[z];
eval ("_parent.flamme" + z)._y = postaby[z];
updateAfterEvent();
pas = pas - 15;
z++;
}
tete.attachMovie("flamme", "flamme" + z, z);
eval ("tete.flamme" + z)._y = eval ("tete.flamme" + z)._y - 10;
eval ("tete.flamme" + z)._width = eval ("tete.flamme" + z)._width / 5;
eval ("tete.flamme" + z)._height = eval ("tete.flamme" + z)._height / 5;
}
function testhit() {
if (corps.hit.hitTest(_root.vaisseau.vaisseau.corps)) {
if (_root.retard() == "ok") {
_root.energie(-5);
}
}
}
tete.gotoAndStop(1);
tete._y = 9;
tir = "ok";
_root.nibotir = 360;
_level0.vieboss = 40;
_root.bossenergie(_level0.vieboss);
vitesse = 3;
posbossy = _parent._y;
_root.bossenergie(_level0.vieboss);
}
onClipEvent (enterFrame) {
testhit();
if (450 < _parent._x) {
depboss1g();
} else if (level0.bosstir != 0) {
monter = "desuite";
}
if (((monter == "desuite") and (0.01 < tete._y)) and (stopa != "ok")) {
deptetehaut();
diams.stop();
if (tete._y < 0.02) {
stopa = "ok";
action = "tir";
tir = "ok";
}
}
if ((action == "tir") and (tir == "ok")) {
tirboss1();
tir = "pasbon";
descend = "enbas";
}
if ((descend == "enbas") and (tete._y < 9)) {
deptetebas();
if (tete._y >= 8.5) {
stopa = "";
descend = "";
}
}
if (0 >= _level0.vieboss) {
if (niveau == "second") {
tete.eclair.play;
tete.play;
tremble();
_root.appabulle();
monter = "";
action = "";
tir = "pasbon";
} else {
appaflamme();
niveau = "second";
diams.play();
monter = "";
action = "";
tir = "pasbon";
_level0.vieboss = 20;
vitesse = 2;
}
}
testtir();
}
Symbol 513 Button
on (release) {
_root.posit = 0;
_root.posit2 = 0;
_level0.niveau = 1;
_root.stopterrain = "";
_root.stoppas = "";
_level0.removclips();
_level0.appafirst();
_level0.affvie(_root.restevie);
removeMovieClip("");
}
Symbol 514 MovieClip [demo] Frame 19
stop();