Frame 2
ifFrameLoaded (456) {
Loading = 1;
}
Frame 29
if (Loading == 1) {
play();
} else {
gotoAndPlay (2);
}
Frame 92
gotoAndPlay (93);
Frame 94
Scoring = 0;
Frame 101
stop();
Frame 107
stop();
Frame 114
stop();
Frame 121
stopAllSounds();
gotoAndPlay (250);
Frame 122
Mouse.show();
stopAllSounds();
i = 1;
while (12 >= i) {
ObjMonstreTest = eval ("MonstreNum" + i);
if (ObjMonstreTest._currentFrame != 1) {
ObjMonstreTest.gotoAndStop(1);
}
i++;
}
i = 1;
while (MaxiBoule >= i) {
ObjBoule = eval ("TirBoss" + i);
ObjBoule._x = -100;
i++;
}
play();
Frame 136
stop();
Frame 141
Mouse.show();
gotoAndPlay (142);
Frame 143
Score = Scoring;
uid = 16;
stop();
Frame 145
Ecran.gotoAndStop(1);
Poutre1._visible = 1;
Poutre2._visible = 0;
selec._x = 217.9;
DirMonstreDroite = -1;
DirMonstreGauche = 1;
Profondeur = 0;
Casse = 0;
Kill = 0;
VarMort = 0;
aTuer = 20;
NoMonstre = 0;
StopMonstre = 0;
TirEnCours = 0;
var ObjArme;
ArmeEnCours = "Arme1";
ImgArme = 1;
MuniArme1 = "~";
MuniArme2 = 0;
MuniArme3 = 0;
MuniArme4 = 0;
var ObjEtat;
NiveauVieThi = 0;
var ObjMonstre;
var ObjMonstre2;
TableMonstrePresent = new Array();
i = 1;
while (6 >= i) {
Profondeur++;
ObjDupli = eval ("Monstre" + i);
duplicateMovieClip (ObjDupli, "MonstreNum" + i, Profondeur);
Profondeur++;
j = i + 6;
duplicateMovieClip (ObjDupli, "MonstreNum" + j, Profondeur);
i++;
}
gotoAndPlay (149);
Frame 146
Tube._visible = 0;
Poutre1._visible = 0;
Arma._visible = 0;
Poutre2._visible = 1;
Ecran.gotoAndStop(2);
ClipThi.ClipArme.gotoAndStop(ImgArme);
ClipThi.ClipTir.gotoAndStop(ImgArme);
Kill = 0;
VarMort = 0;
aTuer = 25;
NoMonstre = 0;
StopMonstre = 0;
TirEnCours = 0;
var ObjEtat;
gotoAndPlay (151);
Frame 147
Tube._visible = 0;
Poutre1._visible = 0;
Poutre2._visible = 0;
Arma._visible = 0;
Ecran.gotoAndStop(3);
ClipThi.ClipArme.gotoAndStop(ImgArme);
ClipThi.ClipTir.gotoAndStop(ImgArme);
Kill = 0;
VarMort = 0;
aTuer = 30;
NoMonstre = 0;
StopMonstre = 0;
TirEnCours = 0;
var ObjEtat;
gotoAndPlay (153);
Frame 148
play();
Frame 149
call("action");
play();
Frame 150
call("action");
prevFrame();
Frame 151
call("action2");
play();
Frame 152
call("action2");
prevFrame();
Frame 153
call("action3");
play();
Frame 154
call("action3");
prevFrame();
Frame 155
NiveauVie.gotoAndStop(NiveauVieThi);
if ((StopMonstre == 0) and ((Tube.ClipTube._currentFrame == 16) or (Tube.ClipTube._currentFrame == 1))) {
call("RandomMonstre");
}
NoMonstre = 0;
i = 1;
while (12 >= i) {
ObjNoMonstre = eval ("MonstreNum" + i);
if (ObjNoMonstre._currentFrame == 1) {
NoMonstre++;
}
i++;
}
if (Kill >= aTuer) {
gotoAndPlay (322);
} else if (VarMort == 1) {
gotoAndPlay (122);
}
i = 1;
while (12 >= i) {
ObjMonstreTest = eval ("MonstreNum" + i);
if (ObjMonstreTest.ClipMonstre._currentFrame == 3) {
ObjMonstreTest.ClipMonstre.gotoAndStop(1);
ObjMonstreTest.gotoAndStop(1);
}
i++;
}
if (Casse == 1) {
Tube.ClipTube.gotoAndStop(16);
} else if (Casse == 2) {
Tube.ClipTube.play();
} else if ((NbTirAvantCasse == 10) and (Casse == 0)) {
Casse = 2;
NbTirAvantCasse = 0;
Tube.ClipTube.Play();
}
if (Casse == 0) {
if (_root.TirEnCours == 0) {
if (_xmouse < 300) {
ClipThi.gotoAndStop("AttenteGauche");
} else if (_xmouse >= 300) {
ClipThi.gotoAndStop("AttenteDroite");
}
}
} else if (_root.TirEnCours == 0) {
if (_xmouse < 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteGaucheHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteGauche");
} else {
ClipThi.gotoAndStop("AttenteGaucheBas");
}
} else if (_xmouse >= 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteDroiteHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteDroite");
} else {
ClipThi.gotoAndStop("AttenteDroiteBas");
}
}
}
Frame 161
NiveauVie.gotoAndStop(NiveauVieThi);
if (StopMonstre == 0) {
call("RandomMonstre");
}
NoMonstre = 0;
i = 1;
while (12 >= i) {
ObjNoMonstre = eval ("MonstreNum" + i);
if (ObjNoMonstre._currentFrame == 1) {
NoMonstre++;
}
i++;
}
if (Kill >= aTuer) {
gotoAndPlay (456);
} else if (VarMort == 1) {
gotoAndPlay (122);
}
i = 1;
while (12 >= i) {
ObjMonstreTest = eval ("MonstreNum" + i);
if (ObjMonstreTest.ClipMonstre._currentFrame == 3) {
ObjMonstreTest.ClipMonstre.gotoAndStop(1);
ObjMonstreTest.gotoAndStop(1);
}
i++;
}
if (_root.TirEnCours == 0) {
if (_xmouse < 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteGaucheHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteGauche");
} else {
ClipThi.gotoAndStop("AttenteGaucheBas");
}
} else if (_xmouse >= 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteDroiteHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteDroite");
} else {
ClipThi.gotoAndStop("AttenteDroiteBas");
}
}
}
Frame 168
NiveauVie.gotoAndStop(NiveauVieThi);
if (StopMonstre == 0) {
call("RandomMonstre");
}
NoMonstre = 0;
i = 1;
while (12 >= i) {
ObjNoMonstre = eval ("MonstreNum" + i);
if (ObjNoMonstre._currentFrame == 1) {
NoMonstre++;
}
i++;
}
if (Kill >= aTuer) {
gotoAndPlay (590);
} else if (VarMort == 1) {
gotoAndPlay (122);
}
i = 1;
while (12 >= i) {
ObjMonstreTest = eval ("MonstreNum" + i);
if (ObjMonstreTest.ClipMonstre._currentFrame == 3) {
ObjMonstreTest.ClipMonstre.gotoAndStop(1);
ObjMonstreTest.gotoAndStop(1);
}
i++;
}
if (_root.TirEnCours == 0) {
if (_xmouse < 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteGaucheHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteGauche");
} else {
ClipThi.gotoAndStop("AttenteGaucheBas");
}
} else if (_xmouse >= 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteDroiteHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteDroite");
} else {
ClipThi.gotoAndStop("AttenteDroiteBas");
}
}
}
Frame 175
if (EcranImage == 1) {
if (Casse == 0) {
RandomFrequenceDepart = random(10) + 1;
} else {
RandomFrequenceDepart = random(40) + 1;
}
if (RandomFrequenceDepart == 1) {
RandomPositionDepart = random(6) + 1;
if (Casse == 0) {
if (RandomPositionDepart == 2) {
ObjMonstre = eval ("MonstreNum" + RandomPositionDepart);
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
} else {
ObjMonstre = eval ("MonstreNum" + (RandomPositionDepart + 6));
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
}
}
}
} else {
ObjMonstre = eval ("MonstreNum" + RandomPositionDepart);
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
} else {
ObjMonstre = eval ("MonstreNum" + (RandomPositionDepart + 6));
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
}
}
}
}
} else if (EcranImage == 2) {
RandomFrequenceDepart = random(30) + 1;
if (RandomFrequenceDepart == 1) {
RandomPositionDepart = random(6) + 1;
ObjMonstre = eval ("MonstreNum" + RandomPositionDepart);
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
} else {
ObjMonstre = eval ("MonstreNum" + (RandomPositionDepart + 6));
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
}
}
}
} else if (EcranImage == 3) {
RandomFrequenceDepart = random(20) + 1;
if (RandomFrequenceDepart == 1) {
RandomPositionDepart = random(6) + 1;
ObjMonstre = eval ("MonstreNum" + RandomPositionDepart);
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
} else {
ObjMonstre = eval ("MonstreNum" + (RandomPositionDepart + 6));
if (ObjMonstre._currentFrame == 1) {
ObjMonstre.play();
}
}
}
}
Frame 187
if (ImgArme == 4) {
i = 1;
while (12 >= i) {
ObjMonstreTest = eval ("MonstreNum" + i);
VarHitMonstre = _root.ClipThi.ClipTir.Eclair.hitTest(ObjMonstreTest);
if (VarHitMonstre) {
if ((i >= 10) or ((i >= 4) and (6 >= i))) {
CoordBonusX = (-ObjMonstreTest.ClipMonstre._x) + ObjMonstreTest._x;
CoordBonusY = (ObjMonstreTest.ClipMonstre._y + ObjMonstreTest._y) - 20;
} else {
CoordBonusX = ObjMonstreTest.ClipMonstre._x + ObjMonstreTest._x;
CoordBonusY = (ObjMonstreTest.ClipMonstre._y + ObjMonstreTest._y) - 20;
}
ObjMonstreTest.ClipMonstre.gotoAndPlay(2);
ObjMonstreTest.stop();
}
i++;
}
} else {
i = 1;
while (12 >= i) {
ObjMonstreTest = eval ("MonstreNum" + i);
if (ObjMonstreTest._currentFrame != 1) {
VarHitMonstre = ObjMonstreTest.hitTest(xCollision, yCollision, true);
if (VarHitMonstre) {
if ((i >= 10) or ((i >= 4) and (6 >= i))) {
CoordBonusX = (-ObjMonstreTest.ClipMonstre._x) + ObjMonstreTest._x;
CoordBonusY = (ObjMonstreTest.ClipMonstre._y + ObjMonstreTest._y) - 20;
} else {
CoordBonusX = ObjMonstreTest.ClipMonstre._x + ObjMonstreTest._x;
CoordBonusY = (ObjMonstreTest.ClipMonstre._y + ObjMonstreTest._y) - 20;
}
ObjMonstreTest.ClipMonstre.gotoAndPlay(2);
ObjMonstreTest.stop();
}
}
i++;
}
}
if (EcranImage == 1) {
gotoAndPlay (149);
} else if (EcranImage == 2) {
gotoAndPlay (151);
} else if (EcranImage == 3) {
gotoAndPlay (153);
}
Frame 198
ClipThi.ClipArme.gotoAndStop(ImgArme);
ClipThi.ClipTir.gotoAndStop(ImgArme);
VitTirBoss = 6;
ObjDirectionBoss = "Tremble1";
Kill = 0;
VarMort = 0;
aTuer = 29;
NoMonstre = 0;
StopMonstre = 0;
MaxiBoule = 12;
i = 1;
while (MaxiBoule >= i) {
duplicateMovieClip ("TirBoss", "TirBoss" + i, i);
ObjBoule = eval ("TirBoss" + i);
ObjBoule._visible = 0;
i++;
}
TirEnCours = 0;
var ObjEtat;
Frame 199
play();
Frame 200
call("action4");
play();
Frame 201
call("action4");
prevFrame();
Frame 202
JaugeBoss.gotoAndStop(Kill);
i = 1;
while (MaxiBoule >= i) {
ObjDir = eval ("Direction" + i);
ObjBoule = eval ("TirBoss" + i);
ObjBoule._x = ObjBoule._x + (VitTirBoss * ObjDir);
if (((ObjBoule._x >= 290) and (ObjDir == 1)) and (ObjBoule._visible == 1)) {
NiveauVieThi++;
ObjBoule._visible = 0;
} else if (((310 >= ObjBoule._x) and (ObjDir == -1)) and (ObjBoule._visible == 1)) {
NiveauVieThi++;
ObjBoule._visible = 0;
}
i++;
}
if (Key.isDown(17)) {
if (_xmouse < 300) {
ClipThi.gotoAndPlay("FrappeGauche");
if ((BossOK == 2) and (EtatBoss == "pres3")) {
Boss.gotoAndPlay("Touche3");
}
} else if (_xmouse >= 300) {
ClipThi.gotoAndPlay("FrappeDroite");
if ((BossOK == 2) and (EtatBoss == "pres4")) {
Boss.gotoAndPlay("Touche4");
}
}
}
NiveauVie.gotoAndStop(NiveauVieThi);
if (BossOK != 1) {
call("RandomMove4");
}
if (Kill >= aTuer) {
gotoAndPlay (724);
} else if (VarMort == 1) {
gotoAndPlay (122);
}
if (_root.TirEnCours == 0) {
if (_xmouse < 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteGaucheHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteGauche");
} else {
ClipThi.gotoAndStop("AttenteGaucheBas");
}
} else if (_xmouse >= 300) {
if (_ymouse < 100) {
ClipThi.gotoAndStop("AttenteDroiteHaut");
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ClipThi.gotoAndStop("AttenteDroite");
} else {
ClipThi.gotoAndStop("AttenteDroiteBas");
}
}
}
Frame 209
if (BossOK == 0) {
RandomPositionMove = random(4) + 1;
Boss.gotoAndPlay("Tremble" + RandomPositionMove);
} else if (BossOK == 2) {
RandMove = random(100) + 1;
if (RandMove == 1) {
RandomPositionMove = random(4) + 1;
Boss.gotoAndPlay("Tremble" + RandomPositionMove);
}
}
Frame 221
if (ImgArme == 4) {
i = 1;
while (MaxiBoule >= i) {
ObjBouleTest = eval ("TirBoss" + i);
VarHitBoule = _root.ClipThi.ClipTir.Eclair.hitTest(ObjBouleTest);
if (VarHitBoule) {
ObjBouleTest._visible = 0;
Scoring = Scoring + 50;
}
i++;
}
} else {
i = 1;
while (MaxiBoule >= i) {
ObjBouleTest = eval ("TirBoss" + i);
VarHitBoule = ObjBouleTest.hitTest(xCollision, yCollision, true);
if (VarHitBoule) {
ObjBouleTest._visible = 0;
Scoring = Scoring + 50;
}
i++;
}
}
Frame 232
if (BalanceBoule >= MaxiBoule) {
BalanceBoule = 1;
} else {
BalanceBoule++;
}
if (Boss._currentFrame == 9) {
ObjBoule = eval ("TirBoss" + BalanceBoule);
ObjBoule._visible = 1;
ObjBoule._x = Boss._x + 10;
ObjBoule._y = Boss._y;
Set("Direction" + BalanceBoule, 1);
} else if (Boss._currentFrame == 17) {
ObjBoule = eval ("TirBoss" + BalanceBoule);
ObjBoule._visible = 1;
ObjBoule._x = Boss.Perso._x + 20;
ObjBoule._y = Boss._y;
Set("Direction" + BalanceBoule, -1);
}
gotoAndPlay (200);
Frame 239
if (ImgArme == 4) {
if ((EtatBoss == "loin") and (BossOK == 2)) {
VarHitMonstre = _root.ClipThi.ClipTir.Eclair.hitTest(Boss);
if (VarHitMonstre) {
if (RandomPositionMove == 1) {
Boss.gotoAndPlay("Touche1");
} else if (RandomPositionMove == 2) {
Boss.gotoAndPlay("Touche2");
}
}
}
} else if ((EtatBoss == "loin") and (BossOK == 2)) {
VarHitMonstre = Boss.hitTest(xCollision, yCollision, true);
if (VarHitMonstre) {
if (RandomPositionMove == 1) {
Boss.gotoAndPlay("Touche1");
} else if (RandomPositionMove == 2) {
Boss.gotoAndPlay("Touche2");
}
}
}
call("TestCollBoule");
gotoAndPlay (200);
Frame 250
play();
Frame 321
EcranImage = 1;
gotoAndPlay (145);
Frame 322
play();
Frame 455
EcranImage = 2;
gotoAndPlay (146);
Frame 456
play();
Frame 589
EcranImage = 3;
gotoAndPlay (147);
Frame 590
play();
Frame 723
stopAllSounds();
gotoAndPlay (197);
Frame 724
stopAllSounds();
i = 1;
while (MaxiBoule >= i) {
removeMovieClip("TirBoss" + i);
i++;
}
play();
Frame 791
stopAllSounds();
Frame 935
NbAvionVie = 4;
gotoAndPlay (936);
Frame 936
NbAvionVie--;
play();
Frame 966
Gentil._x = 145;
Gentil._y = 150;
level = 1;
startDrag ("Gentil", true);
NbMaxiMechant = 5;
NbMaxiBonus = 5;
NbMaxiTirGentil = 20;
NbMaxiTirMechant = 20;
VitesseTir = 30;
DecalageGentil = Gentil._width / 2;
DecalageMechant = Mechant._width / 2;
VarArmeGentil = 1;
VarBonusEnCours1 = 0;
VarBonusEnCours2 = 0;
VarBonusEnCours3 = 0;
VarBonusEnCours4 = 0;
VarBonusEnCours5 = 0;
i = 1;
while (NbMaxiMechant >= i) {
duplicateMovieClip ("Mechant", "Mechant" + i, i);
i++;
}
i = 1;
while (NbMaxiTirGentil >= i) {
duplicateMovieClip ("TirGentil", "TirGentil" + i, i + NbMaxiMechant);
duplicateMovieClip ("TirMechant", "TirMechant" + i, (i + NbMaxiMechant) + NbMaxiTirGentil);
Set("VarClipTirEnCours" + i, 0);
Set("VarClipTirEnCoursMechant" + i, 0);
i++;
}
Frame 967
if (NbAvionVie == 0) {
i = 1;
while ((NbMaxiTirGentil + 1) >= i) {
ObjTirMove = eval ("TirGentil" + i);
ObjTirMove._x = -100;
ObjTirMove = eval ("TirMechant" + i);
ObjTirMove._x = -100;
i++;
}
j = 1;
while (NbMaxiMechant >= j) {
MegaBomb.play();
ObjAvion = eval ("Mechant" + j);
if (ObjAvion.Explo.VarExplo == 0) {
ObjAvion.Explo.play();
}
j++;
}
gotoAndPlay (122);
}
if (KillMechant >= 40) {
j = 1;
while (NbMaxiMechant >= j) {
MegaBomb.play();
ObjAvion = eval ("Mechant" + j);
if (ObjAvion.Explo.VarExplo == 0) {
ObjAvion.Explo.play();
}
j++;
}
gotoAndPlay (990);
}
call("RandTirMechant");
RandomAvionGentil = random(10) + 1;
if (RandomAvionGentil == 1) {
NbAvion++;
ObjAvion = eval ("Mechant" + NbAvion);
if (ObjAvion._currentFrame == 1) {
YRandomPosition = random(300) + 1;
RandomTraj = random(3) + 1;
ObjAvion._y = YRandomPosition;
if (RandomTraj == 1) {
ObjAvion.gotoAndPlay("Traj1");
} else if (RandomTraj == 2) {
ObjAvion.gotoAndPlay("Traj2");
} else {
ObjAvion.gotoAndPlay("Traj3");
}
if (NbAvion == NbMaxiMechant) {
NbAvion = 0;
}
} else {
NbAvion--;
}
}
i = 1;
while (NbMaxiTirGentil >= i) {
ObjTirMove = eval ("TirGentil" + i);
EvalTirEnCours = eval ("VarClipTirEnCours" + i);
if (EvalTirEnCours == 1) {
ObjTirMove._x = ObjTirMove._x + VitesseTir;
}
if (ObjTirMove._x >= 610) {
ObjTirMove._y = 1000;
Set("VarClipTirEnCours" + i, 0);
}
j = 1;
while (NbMaxiMechant >= j) {
ObjAvion = eval ("Mechant" + j);
VarHit = ObjTirMove.hitTest(ObjAvion);
if (VarHit) {
ObjAvion.Explo.play();
xBonus = ObjAvion.Explo._x + ObjAvion._x;
yBonus = ObjAvion.Explo._y + ObjAvion._y;
call("Bonus");
}
j++;
}
i++;
}
i = 1;
while (NbMaxiTirMechant >= i) {
ObjTirMove = eval ("TirMechant" + i);
EvalTirEnCours = eval ("VarClipTirEnCoursMechant" + i);
if (EvalTirEnCours == 1) {
ObjTirMove._x = ObjTirMove._x - VitesseTir;
}
if (-10 >= ObjTirMove._x) {
ObjTirMove._y = 1000;
Set("VarClipTirEnCoursMechant" + i, 0);
}
VarHit = ObjTirMove.hitTest(Gentil);
if (VarHit) {
Gentil.ExploGentil.play();
}
i++;
}
i = 1;
while (NbMaxiBonus >= i) {
ObjMoveBonus = eval ("Bonus" + i);
EvalBonusEnCours = eval ("VarBonusEnCours" + i);
if (EvalBonusEnCours == 1) {
ObjMoveBonus._x = ObjMoveBonus._x - 10;
}
if (-10 >= ObjMoveBonus._x) {
ObjMoveBonus._y = 1000;
Set("VarBonusEnCours" + i, 0);
}
VarHit = ObjMoveBonus.hitTest(Gentil);
if (VarHit) {
if (i == 1) {
VarArmeGentil = 2;
} else if (i == 4) {
VarArmeGentil = 1;
} else if (i == 3) {
VarArmeGentil = 3;
} else if (i == 2) {
ObjMoveBonus._x = 1000;
j = 1;
while (NbMaxiMechant >= j) {
MegaBomb.play();
ObjAvion = eval ("Mechant" + j);
if (ObjAvion.Explo.VarExplo == 0) {
ObjAvion.Explo.play();
}
j++;
}
}
Set("VarBonusEnCours" + i, 0);
ObjMoveBonus._x = 1000;
}
i++;
}
i = 1;
while (NbMaxiMechant >= i) {
ObjAvion = eval ("Mechant" + i);
VarHit = Gentil.hitTest(ObjAvion);
if (VarHit) {
ObjAvion.Explo.play();
Gentil.ExploGentil.play();
}
i++;
}
play();
Frame 968
prevFrame();
Frame 969
RandTirMechantVar = random(10) + 1;
RandMechantVar = random(5) + 1;
ObjTireur = eval ("Mechant" + RandMechantVar);
if (((ObjTireur.Explo.VarExplo == 0) and (RandTirMechantVar == 1)) and (ObjTireur._currentFrame != 1)) {
NbTirMechant++;
ObjTirMechant = eval ("TirMechant" + NbTirMechant);
SonTirMechant.play();
VarTirTestMechant = eval ("VarClipTirEnCoursMechant" + NbTirMechant);
if (19 >= NbTirMechant) {
ObjTirMechant._x = (ObjTireur.Explo._x + ObjTireur._x) + DecalageMechant;
ObjTirMechant._y = ObjTireur.Explo._y + ObjTireur._y;
Set("VarClipTirEnCoursMechant" + NbTirMechant, 1);
if (NbTirMechant == NbMaxiTirMechant) {
NbTirMechant = 0;
}
} else {
ObjTirMechant._x = (ObjTireur.Explo._x + ObjTireur._x) + DecalageMechant;
ObjTirMechant._y = ObjTireur.Explo._y + ObjTireur._y;
Set("VarClipTirEnCoursMechant" + NbTirMechant, 1);
if (NbTirMechant == NbMaxiTirMechant) {
NbTirMechant = 0;
}
NbTirMechant = 0;
}
}
Frame 982
RandBonus = random(5) + 1;
RandBonusVar = random(5) + 1;
ObjBonus = eval ("Bonus" + RandBonusVar);
Eval = eval ("VarBonusEnCours" + RandBonusVar);
if ((RandBonus == 1) and (Eval == 0)) {
if (19 >= NbTirMechant) {
ObjBonus._x = xBonus;
ObjBonus._y = yBonus;
Set("VarBonusEnCours" + RandBonusVar, 1);
}
}
Frame 990
i = 1;
while ((NbMaxiTirGentil + 1) >= i) {
ObjTirMove = eval ("TirGentil" + i);
ObjTirMove._x = -100;
ObjTirMove = eval ("TirMechant" + i);
ObjTirMove._x = -100;
i++;
}
j = 1;
while (NbMaxiMechant >= j) {
MegaBomb.play();
ObjAvion = eval ("Mechant" + j);
if (ObjAvion.Explo.VarExplo == 0) {
ObjAvion.Explo.play();
}
j++;
}
Frame 1020
stopAllSounds();
i = 1;
while ((NbMaxiTirGentil + 1) >= i) {
ObjTirMove = eval ("TirGentil" + i);
ObjTirMove._x = -100;
ObjTirMove = eval ("TirMechant" + i);
ObjTirMove._x = -100;
i++;
}
j = 1;
while (NbMaxiMechant >= j) {
MegaBomb.play();
ObjAvion = eval ("Mechant" + j);
if (ObjAvion.Explo.VarExplo == 0) {
ObjAvion.Explo.play();
}
j++;
}
play();
Frame 1046
startDrag ("Gentil", true);
level = 2;
HitCorps = 1;
NbMaxiMechant = 5;
NbMaxiBonus = 5;
NbMaxiTirGentil = 20;
NbMaxiTirMechant = 20;
VitesseTir = 30;
DecalageGentil = Gentil._width / 2;
DecalageMechant = Mechant._width / 2;
FinC1 = 0;
FinC2 = 0;
FinC3 = 0;
FinC4 = 0;
FinC5 = 0;
VarBonusEnCours1 = 0;
VarBonusEnCours2 = 0;
VarBonusEnCours3 = 0;
VarBonusEnCours4 = 0;
VarBonusEnCours5 = 0;
HitCanon1 = 0;
HitCanon2 = 0;
HitCanon3 = 0;
HitCanon4 = 0;
HitCanon5 = 0;
NbCoupDonner = 15;
Gentil._x = 60;
Gentil._y = 150;
i = 1;
while (NbMaxiMechant >= i) {
duplicateMovieClip ("Mechant", "Mechant" + i, i);
i++;
}
i = 1;
while (NbMaxiTirGentil >= i) {
duplicateMovieClip ("TirGentil", "TirGentil" + i, (i + NbMaxiMechant) + 100);
duplicateMovieClip ("TirMechant", "TirMechant" + i, ((i + NbMaxiMechant) + NbMaxiTirGentil) + 100);
Set("VarClipTirEnCours" + i, 0);
Set("VarClipTirEnCoursMechant" + i, 0);
i++;
}
Frame 1047
VarHitSurBoss = Boss.HitTest(Gentil._x, Gentil._y, true);
if (VarHitSurBoss) {
Gentil.ExploGentil.play();
}
JaugeBoss2.gotoAndStop(HitCorps);
if ((FinC1 == 1) and (InviC1 == 1)) {
Boss.Canon1._visible = 0;
}
if ((FinC2 == 1) and (InviC1 == 2)) {
Boss.Canon2._visible = 0;
}
if ((FinC3 == 1) and (InviC1 == 3)) {
Boss.Canon3._visible = 0;
}
if ((FinC4 == 1) and (InviC1 == 4)) {
Boss.Canon4._visible = 0;
}
if ((FinC5 == 1) and (InviC1 == 5)) {
Boss.Canon5._visible = 0;
}
if (FinC1 == 0) {
InviC1 = 0;
}
if (FinC2 == 0) {
InviC2 = 0;
}
if (FinC3 == 0) {
InviC3 = 0;
}
if (FinC4 == 0) {
InviC4 = 0;
}
if (FinC5 == 0) {
InviC5 = 0;
}
if (NbAvionVie == 0) {
i = 1;
while ((NbMaxiTirGentil + 1) >= i) {
ObjTirMove = eval ("TirGentil" + i);
ObjTirMove._x = -100;
ObjTirMove = eval ("TirMechant" + i);
ObjTirMove._x = -100;
i++;
}
gotoAndPlay (122);
}
if (((((HitCanon1 >= NbCoupDonner) and (HitCanon2 >= NbCoupDonner)) and (HitCanon3 >= NbCoupDonner)) and (HitCanon4 >= NbCoupDonner)) and (HitCanon5 >= NbCoupDonner)) {
call("RandTirBoss2");
} else {
call("RandTirBoss");
}
if (HitCorps >= 39) {
i = 1;
while (NbMaxiTirMechant >= i) {
ObjTirMove = eval ("TirMechant" + i);
removeMovieClip(ObjTirMove);
i++;
}
gotoAndPlay (1070);
}
if ((HitCanon1 >= NbCoupDonner) and (FinC1 == 0)) {
Boss.Canon1.gotoAndPlay("FinCanon");
FinC1 = 1;
}
if ((HitCanon2 >= NbCoupDonner) and (FinC2 == 0)) {
Boss.Canon2.gotoAndPlay("FinCanon");
FinC2 = 1;
}
if ((HitCanon3 >= NbCoupDonner) and (FinC3 == 0)) {
Boss.Canon3.gotoAndPlay("FinCanon");
FinC3 = 1;
}
if ((HitCanon4 >= NbCoupDonner) and (FinC4 == 0)) {
Boss.Canon4.gotoAndPlay("FinCanon");
FinC4 = 1;
}
if ((HitCanon5 >= NbCoupDonner) and (FinC5 == 0)) {
Boss.Canon5.gotoAndPlay("FinCanon");
FinC5 = 1;
}
i = 1;
while (NbMaxiTirGentil >= i) {
ObjTirMove = eval ("TirGentil" + i);
EvalTirEnCours = eval ("VarClipTirEnCours" + i);
if (EvalTirEnCours == 1) {
ObjTirMove._x = ObjTirMove._x + VitesseTir;
}
if (ObjTirMove._x >= 610) {
ObjTirMove._y = 1000;
Set("VarClipTirEnCours" + i, 0);
}
if (((((HitCanon1 >= NbCoupDonner) and (HitCanon2 >= NbCoupDonner)) and (HitCanon3 >= NbCoupDonner)) and (HitCanon4 >= NbCoupDonner)) and (HitCanon5 >= NbCoupDonner)) {
VarHitCorps = Boss.Corps.Test.hitTest(ObjTirMove);
if (VarHitCorps) {
ObjTirMove._x = 1000;
Set("VarClipTirEnCours" + i, 0);
HitCorps++;
Boss.Corps.play();
}
} else {
VarHitCanon1 = Boss.Canon1.hitTest(ObjTirMove);
VarHitCanon2 = Boss.Canon2.hitTest(ObjTirMove);
VarHitCanon3 = Boss.Canon3.hitTest(ObjTirMove);
VarHitCanon4 = Boss.Canon4.hitTest(ObjTirMove);
VarHitCanon5 = Boss.Canon5.hitTest(ObjTirMove);
if (VarHitCanon1) {
if (HitCanon1 < NbCoupDonner) {
ObjTirMove._x = 1000;
Set("VarClipTirEnCours" + i, 0);
HitCanon1++;
Boss.Canon1.play();
}
}
if (VarHitCanon2) {
if (HitCanon2 < NbCoupDonner) {
ObjTirMove._x = 1000;
Set("VarClipTirEnCours" + i, 0);
HitCanon2++;
Boss.Canon2.play();
}
}
if (VarHitCanon3) {
if (HitCanon3 < NbCoupDonner) {
ObjTirMove._x = 1000;
Set("VarClipTirEnCours" + i, 0);
HitCanon3++;
Boss.Canon3.play();
}
}
if (VarHitCanon4) {
if (HitCanon4 < NbCoupDonner) {
ObjTirMove._x = 1000;
Set("VarClipTirEnCours" + i, 0);
HitCanon4++;
Boss.Canon4.play();
}
}
if (VarHitCanon5) {
if (HitCanon5 < NbCoupDonner) {
ObjTirMove._x = 1000;
Set("VarClipTirEnCours" + i, 0);
HitCanon5++;
Boss.Canon5.play();
}
}
}
i++;
}
if (((((HitCanon1 >= NbCoupDonner) and (HitCanon2 >= NbCoupDonner)) and (HitCanon3 >= NbCoupDonner)) and (HitCanon4 >= NbCoupDonner)) and (HitCanon5 >= NbCoupDonner)) {
i = 1;
while (NbMaxiTirMechant >= i) {
ObjTirMove = eval ("TirMechant" + i);
EvalTirEnCours = eval ("VarClipTirEnCoursMechant" + i);
RandDir = random(2);
RandTraj = random(15) + 1;
if (RandDir == 0) {
RandDir = -1;
}
if (EvalTirEnCours == 1) {
ObjTirMove._x = ObjTirMove._x - (VitesseTir / 2);
ObjTirMove._y = ObjTirMove._y - (RandTraj * RandDir);
}
if (-10 >= ObjTirMove._x) {
ObjTirMove._y = 1000;
Set("VarClipTirEnCoursMechant" + i, 0);
}
VarHit = ObjTirMove.hitTest(Gentil);
if (VarHit) {
Gentil.ExploGentil.play();
}
i++;
}
} else {
i = 1;
while (NbMaxiTirMechant >= i) {
ObjTirMove = eval ("TirMechant" + i);
EvalTirEnCours = eval ("VarClipTirEnCoursMechant" + i);
if (EvalTirEnCours == 1) {
ObjTirMove._x = ObjTirMove._x - (VitesseTir / 2);
}
if (-10 >= ObjTirMove._x) {
ObjTirMove._y = 1000;
Set("VarClipTirEnCoursMechant" + i, 0);
}
VarHit = ObjTirMove.hitTest(Gentil);
if (VarHit) {
Gentil.ExploGentil.play();
}
i++;
}
}
play();
Frame 1048
prevFrame();
Frame 1049
RandTirMechantVar = random(8) + 1;
RandMechantVar = random(5) + 1;
if ((RandMechantVar == 1) and (FinC1 == 1)) {
RandTirMechantVar = 0;
} else if ((RandMechantVar == 2) and (FinC2 == 1)) {
RandTirMechantVar = 0;
} else if ((RandMechantVar == 3) and (FinC3 == 1)) {
RandTirMechantVar = 0;
} else if ((RandMechantVar == 4) and (FinC4 == 1)) {
RandTirMechantVar = 0;
} else if ((RandMechantVar == 5) and (FinC5 == 1)) {
RandTirMechantVar = 0;
}
if (RandTirMechantVar == 1) {
NbTirMechant++;
ObjTirMechant = eval ("TirMechant" + NbTirMechant);
VarTirTestMechant = eval ("VarClipTirEnCoursMechant" + NbTirMechant);
if (19 >= NbTirMechant) {
if (RandMechantVar == 1) {
ObjTirMechant._x = Boss.Canon1._x + Boss._x;
ObjTirMechant._y = Boss.Canon1._y + Boss._y;
} else if (RandMechantVar == 2) {
ObjTirMechant._x = Boss.Canon2._x + Boss._x;
ObjTirMechant._y = Boss.Canon2._y + Boss._y;
} else if (RandMechantVar == 3) {
ObjTirMechant._x = Boss.Canon3._x + Boss._x;
ObjTirMechant._y = Boss.Canon3._y + Boss._y;
} else if (RandMechantVar == 4) {
ObjTirMechant._x = Boss.Canon4._x + Boss._x;
ObjTirMechant._y = Boss.Canon4._y + Boss._y;
} else if (RandMechantVar == 5) {
ObjTirMechant._x = Boss.Canon5._x + Boss._x;
ObjTirMechant._y = Boss.Canon5._y + Boss._y;
}
Set("VarClipTirEnCoursMechant" + NbTirMechant, 1);
SonTirMechant.play();
if (NbTirMechant == NbMaxiTirMechant) {
NbTirMechant = 0;
}
} else {
if (RandMechantVar == 1) {
ObjTirMechant._x = Boss.Canon1._x + Boss._x;
ObjTirMechant._y = Boss.Canon1._y + Boss._y;
} else if (RandMechantVar == 2) {
ObjTirMechant._x = Boss.Canon2._x + Boss._x;
ObjTirMechant._y = Boss.Canon2._y + Boss._y;
} else if (RandMechantVar == 3) {
ObjTirMechant._x = Boss.Canon3._x + Boss._x;
ObjTirMechant._y = Boss.Canon3._y + Boss._y;
} else if (RandMechantVar == 4) {
ObjTirMechant._x = Boss.Canon4._x + Boss._x;
ObjTirMechant._y = Boss.Canon4._y + Boss._y;
} else if (RandMechantVar == 5) {
ObjTirMechant._x = Boss.Canon5._x + Boss._x;
ObjTirMechant._y = Boss.Canon5._y + Boss._y;
}
Set("VarClipTirEnCoursMechant" + NbTirMechant, 1);
if (NbTirMechant == NbMaxiTirMechant) {
NbTirMechant = 0;
}
NbTirMechant = 0;
}
}
Frame 1059
RandTirMechantVar = random(10) + 1;
if (RandTirMechantVar == 1) {
NbTirMechant++;
ObjTirMechant = eval ("TirMechant" + NbTirMechant);
Boss.Corps.play();
VarTirTestMechant = eval ("VarClipTirEnCoursMechant" + NbTirMechant);
if (19 >= NbTirMechant) {
ObjTirMechant._x = (Boss.Corps.Test._x + Boss.Corps._x) + Boss._x;
ObjTirMechant._y = (Boss.Corps.Test._y + Boss.Corps._y) + Boss._y;
Set("VarClipTirEnCoursMechant" + NbTirMechant, 1);
if (NbTirMechant == NbMaxiTirMechant) {
NbTirMechant = 0;
}
} else {
ObjTirMechant._x = (Boss.Corps.Test._x + Boss.Corps._x) + Boss._x;
ObjTirMechant._y = (Boss.Corps.Test._y + Boss.Corps._y) + Boss._y;
Set("VarClipTirEnCoursMechant" + NbTirMechant, 1);
if (NbTirMechant == NbMaxiTirMechant) {
NbTirMechant = 0;
}
NbTirMechant = 0;
}
}
Frame 1070
i = 1;
while ((NbMaxiTirGentil + 1) >= i) {
ObjTirMove = eval ("TirGentil" + i);
ObjTirMove._x = -100;
ObjTirMove = eval ("TirMechant" + i);
ObjTirMove._x = -100;
i++;
}
Scoring = Scoring + 100;
MegaBomb.play();
Frame 1086
Boss._visible = 0;
Frame 1264
stopAllSounds();
Frame 1265
level = 1;
Mouse.hide();
startDrag ("Viseur", true);
NbMonstre = 7;
var ObjetClipTest;
Vie = 0;
LimiteLevel = 10;
LimiteVie = 100;
Score = 0;
Perfect = 0;
Kill = 0;
NbBombeH = 0;
Arrivee = 0;
Instance of Symbol 499 MovieClip "MechantAttak6" in Frame 1265
/* no clip actions */
Frame 1266
if (Kill >= 40) {
gotoAndPlay (1290);
}
if (Vie >= LimiteVie) {
gotoAndPlay (122);
}
if ((400 >= _root._xmouse) and (200 < _root._xmouse)) {
Fusil.gotoAndStop("PointeMilieu");
} else if (400 < _root._xmouse) {
Fusil.gotoAndStop("PointeDroite");
} else {
Fusil.gotoAndStop("PointeGauche");
}
Jauge.gotoAndStop(Vie);
RandAttak1 = random(50) + 1;
RandAttak2 = random(50) + 1;
RandAttak3 = random(50) + 1;
RandAttak4 = random(50) + 1;
RandPosiX4 = random(115) + 300;
RandAttak5 = random(50) + 1;
RandAttak6 = random(50) + 1;
RandPosiX6 = random(400) + 650;
RandAttak7 = random(50) + 1;
if ((RandAttak1 == 1) and (MechantAttak1._currentFrame == 1)) {
MechantAttak1.play();
}
if ((RandAttak2 == 1) and (MechantAttak2._currentFrame == 1)) {
MechantAttak2.play();
}
if ((RandAttak3 == 1) and (MechantAttak3._currentFrame == 1)) {
MechantAttak3.play();
}
if ((RandAttak4 == 1) and (MechantAttak4._currentFrame == 1)) {
MechantAttak4._x = RandPosiX4;
MechantAttak4.play();
}
if ((RandAttak5 == 1) and (MechantAttak5._currentFrame == 1)) {
MechantAttak5.play();
}
if ((RandAttak6 == 1) and (MechantAttak6._currentFrame == 1)) {
MechantAttak6._x = RandPosiX6;
MechantAttak6.play();
}
if ((RandAttak7 == 1) and (MechantAttak7._currentFrame == 1)) {
MechantAttak7.play();
}
play();
Frame 1267
prevFrame();
Frame 1268
i = 1;
while (NbMonstre >= i) {
ObjetClipTest = eval ("MechantAttak" + i);
VarHit = ObjetClipTest.hitTest(xCollision, yCollision, true);
if (VarHit) {
xMonstre = ObjetClipTest.Monstre._x;
ObjetClipTest.Mort._y = ObjetClipTest.Monstre._y;
FrameEnCours = ObjetClipTest._currentFrame;
ObjetClipTest.gotoAndPlay("fin");
if (i == 7) {
MechantAttak7.Mort._x = xMonstre;
}
RandBomb = random(10) + 1;
RandMedical = random(10) + 1;
if ((RandBomb == 1) and (Bomb._currentFrame == 1)) {
Bomb._x = xCollision;
Bomb._y = yCollision;
Bomb.play();
}
if ((RandMedical == 1) and (Medical._currentFrame == 1)) {
Medical._x = xCollision;
Medical._y = yCollision;
Medical.play();
}
if (10 >= FrameEnCours) {
Score = Score + 50;
Perfect = Perfect + 1;
} else {
Score = Score + 25;
}
}
i++;
}
gotoAndPlay (1266);
Frame 1279
i = 1;
while (NbMonstre >= i) {
Score = Score + 150;
ObjetClipTest = eval ("MechantAttak" + i);
FrameEnCours = ObjetClipTest._currentFrame;
if (FrameEnCours >= 2) {
ObjetClipTest.gotoAndPlay("fin");
}
i++;
}
gotoAndPlay (1266);
Frame 1290
Fusil.gotoAndStop("PointeMilieu");
Frame 1324
play();
Frame 1325
level = 2;
BossGrotte = 0;
BossPresent = 0;
Mouse.hide();
startDrag ("Viseur", true);
NbMonstre = 7;
var ObjetClipTest;
LimiteLevel = 30;
LimiteVie = 100;
Score = 0;
Perfect = 0;
Kill = 0;
NbBombeH = 0;
Arrivee = 0;
Frame 1326
if ((Kill >= 40) and (BossPresent == 0)) {
BossGrotte = 1;
BossPresent = 1;
stopAllSounds();
MusicBoss.play();
i = 1;
while (NbMonstre >= i) {
ObjetClipTest = eval ("MechantAttak" + i);
FrameEnCours = ObjetClipTest._currentFrame;
if (FrameEnCours >= 2) {
ObjetClipTest.gotoAndPlay("fin");
}
i++;
}
}
if (Vie >= LimiteVie) {
gotoAndPlay (122);
}
if (KillBoss >= 24) {
gotoAndStop (1350);
}
if ((400 >= _root._xmouse) and (200 < _root._xmouse)) {
Fusil.gotoAndStop("PointeMilieu");
} else if (400 < _root._xmouse) {
Fusil.gotoAndStop("PointeDroite");
} else {
Fusil.gotoAndStop("PointeGauche");
}
Jauge.gotoAndStop(Vie);
JaugeB.gotoAndStop(KillBoss);
if (BossGrotte == 0) {
RandAttak1 = random(50) + 1;
RandAttak2 = random(50) + 1;
RandAttak3 = random(50) + 1;
RandAttak4 = random(50) + 1;
RandAttak5 = random(50) + 1;
RandPosiX5 = random(400) + 200;
RandAttak6 = random(50) + 1;
RandPosiX6 = random(400) + 650;
RandAttak7 = random(50) + 1;
if ((RandAttak1 == 1) and (MechantAttak1._currentFrame == 1)) {
MechantAttak1.play();
}
if ((RandAttak2 == 1) and (MechantAttak2._currentFrame == 1)) {
MechantAttak2.play();
}
if ((RandAttak3 == 1) and (MechantAttak3._currentFrame == 1)) {
MechantAttak3.play();
}
if ((RandAttak4 == 1) and (MechantAttak4._currentFrame == 1)) {
MechantAttak4.play();
}
if ((RandAttak5 == 1) and (MechantAttak5._currentFrame == 1)) {
MechantAttak5._x = RandPosiX5;
MechantAttak5.play();
}
if ((RandAttak6 == 1) and (MechantAttak6._currentFrame == 1)) {
MechantAttak6._x = RandPosiX6;
MechantAttak6.play();
}
if ((RandAttak7 == 1) and (MechantAttak7._currentFrame == 1)) {
MechantAttak7.play();
}
}
play();
Frame 1327
prevFrame();
Frame 1328
if (BossGrotte == 1) {
VarHit = ClipBossGrotte.hitTest(xCollision, yCollision, true);
if (VarHit) {
KillBoss++;
ClipBossGrotte.gotoAndPlay(1);
}
} else {
i = 1;
while (NbMonstre >= i) {
ObjetClipTest = eval ("MechantAttak" + i);
VarHit = ObjetClipTest.hitTest(xCollision, yCollision, true);
if (VarHit) {
xMonstre = ObjetClipTest.Monstre._x;
ObjetClipTest.Mort._y = ObjetClipTest.Monstre._y;
FrameEnCours = ObjetClipTest._currentFrame;
ObjetClipTest.gotoAndPlay("fin");
if (i == 7) {
MechantAttak7.Mort._x = xMonstre;
}
RandBomb = random(10) + 1;
RandMedical = random(10) + 1;
if ((RandBomb == 1) and (Bomb._currentFrame == 1)) {
Bomb._x = xCollision;
Bomb._y = yCollision;
Bomb.play();
}
if ((RandMedical == 1) and (Medical._currentFrame == 1)) {
Medical._x = xCollision;
Medical._y = yCollision;
Medical.play();
}
if (10 >= FrameEnCours) {
Score = Score + 50;
Perfect = Perfect + 1;
} else {
Score = Score + 25;
}
}
i++;
}
}
gotoAndPlay (1326);
Frame 1339
i = 1;
while (NbMonstre >= i) {
Score = Score + 150;
ObjetClipTest = eval ("MechantAttak" + i);
FrameEnCours = ObjetClipTest._currentFrame;
if (FrameEnCours >= 2) {
ObjetClipTest.gotoAndPlay("fin");
}
i++;
}
gotoAndPlay (1326);
Frame 1350
play();
Frame 1394
Mouse.show();
stopAllSounds();
gotoAndPlay (142);
Symbol 29 MovieClip Frame 1
i = 1;
max = 40;
Symbol 29 MovieClip Frame 3
i = Number(i) + 1;
duplicateMovieClip ("line" add (i - 1), "line" add i, i);
setProperty("line" add i, _x , getProperty("line" add (i - 1), _x) + 15);
Symbol 29 MovieClip Frame 4
if (Number(i) == Number(max)) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 43 Button
on (release) {
_root.gotoAndPlay("credits");
}
Symbol 48 Button
on (release) {
loadMovieNum ("intro.swf", 1);
}
Symbol 52 Button
on (release) {
_root.gotoAndPlay("jouer");
}
Symbol 58 Button
on (release) {
_root.gotoAndPlay("regles");
}
Symbol 69 Button
on (release) {
stopAllSounds();
gotoAndPlay (93);
}
Symbol 80 Button
on (release) {
if (_currentframe == 1) {
nextFrame();
} else {
prevFrame();
}
}
Symbol 81 MovieClip Frame 1
Set("/:DroitDiffusion", 1);
stop();
Symbol 81 MovieClip Frame 2
Set("/:DroitDiffusion", 0);
stop();
Symbol 84 Button
on (release) {
nextFrame();
}
Symbol 85 Button
on (release) {
prevFrame();
}
Symbol 86 MovieClip Frame 1
Set("/:Sexe", "M");
stop();
Symbol 86 MovieClip Frame 2
Set("/:Sexe", "F");
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
play();
Symbol 90 MovieClip Frame 20
gotoAndStop (1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
play();
Symbol 92 MovieClip Frame 20
gotoAndStop (1);
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
play();
Symbol 100 MovieClip Frame 20
gotoAndStop (1);
Symbol 104 Button
on (release) {
if (((31 < d1) or (12 < d2)) or (2001 < d3)) {
ErreurDate.play();
} else if ((((((Nom ne "") && (Prenom ne "")) && (Email ne "")) && (d1 ne "")) && (d2 ne "")) && (d3 ne "")) {
var chaine = new String(Email);
var index;
index = chaine.indexOf("@");
if (index == -1) {
completerEmail.play();
} else {
index = chaine.indexOf(".", index);
indexTxt = index;
if (index == -1) {
completerEmail.play();
} else if (chaine.length >= 5) {
DateNaissance = (((d1 add "/") add d2) add "/") add d3;
loadVariablesNum ("addplayer.asp", 0, "POST");
stopAllSounds();
gotoAndPlay (93);
Mouse.show();
} else {
completerEmail.play();
}
}
} else {
completer.play();
}
delete chaine;
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 3
stop();
Symbol 143 MovieClip Frame 4
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
stop();
Symbol 159 MovieClip Frame 3
stop();
Symbol 159 MovieClip Frame 4
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 13
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 15
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteGauche");
Symbol 163 MovieClip Frame 16
stop();
Symbol 163 MovieClip Frame 27
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 29
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteDroite");
Symbol 163 MovieClip Frame 30
stop();
Symbol 163 MovieClip Frame 43
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 45
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteDroiteHaut");
Symbol 163 MovieClip Frame 46
stop();
Symbol 163 MovieClip Frame 60
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 62
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteGaucheHaut");
Symbol 163 MovieClip Frame 63
stop();
Symbol 163 MovieClip Frame 75
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 77
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteDroiteBas");
Symbol 163 MovieClip Frame 78
stop();
Symbol 163 MovieClip Frame 92
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 94
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteGaucheBas");
Symbol 163 MovieClip Frame 95
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 97
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteGauche");
Symbol 163 MovieClip Frame 98
_root.TirEnCours = 1;
Symbol 163 MovieClip Frame 100
_root.TirEnCours = 0;
_root.ClipThi.gotoAndStop("AttenteDroite");
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 3
_root.Anim1Tir1._x = -100;
_root.Anim1Tir1._y = -100;
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 3
_root.Anim1Tir2._x = -100;
_root.Anim1Tir2._y = -100;
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 3
_root.Anim1Tir3._x = -100;
_root.Anim1Tir3._y = -100;
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 3
_root.Anim3Tir1._x = -100;
_root.Anim3Tir1._y = -100;
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 3
_root.Anim3Tir2._x = -100;
_root.Anim3Tir2._y = -100;
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 3
_root.Anim3Tir3._x = -100;
_root.Anim3Tir3._y = -100;
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
_root.Anim2Tir3._x = -100;
_root.Anim2Tir3._y = -100;
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
_root.Anim2Tir2._x = -100;
_root.Anim2Tir2._y = -100;
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
_root.Anim2Tir1._x = -100;
_root.Anim2Tir1._y = -100;
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
_root.Scoring = _root.Scoring + 25;
Symbol 185 MovieClip Frame 5
_root.BonusArme4._x = -100;
_root.MuniArme4 = _root.MuniArme4 + 10;
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 2
_root.Scoring = _root.Scoring + 25;
Symbol 187 MovieClip Frame 5
_root.BonusArme2._x = -100;
_root.MuniArme2 = _root.MuniArme2 + 10;
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
_root.Scoring = _root.Scoring + 25;
Symbol 189 MovieClip Frame 5
_root.BonusArme3._x = -100;
_root.MuniArme3 = _root.MuniArme3 + 10;
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 16
_root.Casse = 1;
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
_root.Scoring = _root.Scoring + 50;
_root.Kill++;
_root.RandomFrequenceBonus = random(10) + 1;
_root.RandomBonus = random(3) + 2;
if (_root.RandomFrequenceBonus == 1) {
if (_root.RandomBonus == 2) {
_root.BonusArme2._x = _root.CoordBonusX;
_root.BonusArme2._y = _root.CoordBonusY;
_root.BonusArme2.play();
}
if (_root.RandomBonus == 3) {
_root.BonusArme3._x = _root.CoordBonusX;
_root.BonusArme3._y = _root.CoordBonusY;
_root.BonusArme3.play();
}
if (_root.RandomBonus == 4) {
_root.BonusArme4._x = _root.CoordBonusX;
_root.BonusArme4._y = _root.CoordBonusY;
_root.BonusArme4.play();
}
}
Symbol 232 MovieClip Frame 3
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
_root.NoMonstre = 0;
play();
Symbol 233 MovieClip Frame 30
if (_root.Kill < _root.aTuer) {
_root.NiveauVieThi++;
}
_root.NbMonstreEnCours--;
gotoAndStop (1);
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
_root.Kill++;
_root.Scoring = _root.Scoring + 25;
_root.RandomFrequenceBonus = random(10) + 1;
_root.RandomBonus = random(3) + 2;
if (_root.RandomFrequenceBonus == 1) {
if (_root.RandomBonus == 2) {
_root.BonusArme2._x = _root.CoordBonusX;
_root.BonusArme2._y = _root.CoordBonusY;
_root.BonusArme2.play();
}
if (_root.RandomBonus == 3) {
_root.BonusArme3._x = _root.CoordBonusX;
_root.BonusArme3._y = _root.CoordBonusY;
_root.BonusArme3.play();
}
if (_root.RandomBonus == 4) {
_root.BonusArme4._x = _root.CoordBonusX;
_root.BonusArme4._y = _root.CoordBonusY;
_root.BonusArme4.play();
}
}
Symbol 235 MovieClip Frame 3
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
_root.NoMonstre = 0;
play();
Symbol 236 MovieClip Frame 34
if (_root.Kill < _root.aTuer) {
_root.NiveauVieThi++;
}
_root.NbMonstreEnCours--;
gotoAndStop (1);
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
_root.NoMonstre = 0;
play();
Symbol 237 MovieClip Frame 35
if (_root.Kill < _root.aTuer) {
_root.NiveauVieThi++;
}
_root.NbMonstreEnCours--;
gotoAndStop (1);
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 20
_root.VarMort = 1;
Symbol 249 MovieClip Frame 1
stop();
Symbol 251 Button
on (release) {
if (ImgArme == 1) {
selec._x = 217.9;
} else if (ImgArme == 2) {
selec._x = 276.4;
} else if (ImgArme == 3) {
selec._x = 334.9;
} else if (ImgArme == 4) {
selec._x = 394.8;
}
ObjMuni = eval ("MuniArme" + ImgArme);
if (ObjMuni >= 1) {
if (Casse == 0) {
NbTirAvantCasse++;
if (_xmouse < 300) {
ObjEtat = "TirGaucheMilieu";
} else if (_xmouse >= 300) {
ObjEtat = "TirDroiteMilieu";
}
} else if (_xmouse < 300) {
if (_ymouse < 100) {
ObjEtat = "TirGaucheHaut";
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ObjEtat = "TirGaucheMilieu";
} else {
ObjEtat = "TirGaucheBas";
}
} else if (_xmouse >= 300) {
if (_ymouse < 100) {
ObjEtat = "TirDroiteHaut";
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ObjEtat = "TirDroiteMilieu";
} else {
ObjEtat = "TirDroiteBas";
}
}
ClipThi.gotoAndPlay(ObjEtat);
ClipThi.ClipTir.gotoAndStop(ImgArme);
if (TamponTir1 == 3) {
TamponTir1 = 1;
} else {
TamponTir1++;
}
ObjAnimTir = eval ((("Anim" + ImgArme) + "Tir") + TamponTir1);
ObjAnimTir._x = _xmouse;
ObjAnimTir._y = _ymouse;
ObjAnimTir.play();
xCollision = _xmouse;
yCollision = _ymouse;
gotoAndPlay (187);
ObjMuni = ObjMuni - 1;
if (ImgArme == 2) {
MuniArme2 = ObjMuni;
} else if (ImgArme == 3) {
MuniArme3 = ObjMuni;
} else if (ImgArme == 4) {
MuniArme4 = ObjMuni;
}
if (ObjMuni == 0) {
ArmeEnCours = "Arme1";
TirEnCours = "Tir1";
ImgArme = 1;
ClipThi.ClipArme.gotoAndPlay(ImgArme);
}
}
}
Symbol 252 Button
on (keyPress "<Space>") {
if (ImgArme != 4) {
TmpImgArme = ImgArme + 1;
} else {
TmpImgArme = 1;
}
MuniAffichage = eval ("MuniArme" + TmpImgArme);
if (MuniAffichage >= 1) {
ImgArme = TmpImgArme;
ArmeEnCours = eval ("Arme" + ImgArme);
TirEnCours = eval ("Tir" + ImgArme);
} else {
if (2 >= ImgArme) {
TmpImgArme = ImgArme + 2;
} else {
TmpImgArme = (ImgArme + 2) - 4;
}
MuniAffichage = eval ("MuniArme" + TmpImgArme);
if (MuniAffichage >= 1) {
ImgArme = TmpImgArme;
ArmeEnCours = eval ("Arme" + ImgArme);
TirEnCours = eval ("Tir" + ImgArme);
} else {
if (ImgArme == 1) {
TmpImgArme = ImgArme + 3;
} else {
TmpImgArme = (ImgArme + 3) - 4;
}
MuniAffichage = eval ("MuniArme" + TmpImgArme);
if (MuniAffichage >= 1) {
ImgArme = TmpImgArme;
ArmeEnCours = eval ("Arme" + ImgArme);
TirEnCours = eval ("Tir" + ImgArme);
}
}
}
if (ImgArme == 1) {
selec._x = 217.9;
} else if (ImgArme == 2) {
selec._x = 276.4;
} else if (ImgArme == 3) {
selec._x = 334.9;
} else if (ImgArme == 4) {
selec._x = 394.8;
}
ClipThi.ClipArme.gotoAndStop(ImgArme);
}
Symbol 261 MovieClip Frame 3
stop();
Symbol 266 MovieClip Frame 4
_root.gotoAndPlay("NBoule");
Symbol 267 MovieClip Frame 5
_root.NiveauVieThi++;
trace("vie 2");
Symbol 270 MovieClip Frame 1
_root.BossOK = 0;
stop();
Symbol 270 MovieClip Frame 2
_root.BossOK = 1;
Symbol 270 MovieClip Frame 9
_root.EtatBoss = "loin";
_root.BossOK = 2;
stop();
Symbol 270 MovieClip Frame 10
_root.BossOK = 1;
Symbol 270 MovieClip Frame 17
_root.EtatBoss = "loin";
_root.BossOK = 2;
stop();
Symbol 270 MovieClip Frame 18
_root.BossOK = 1;
Symbol 270 MovieClip Frame 25
_root.EtatBoss = "pres3";
_root.BossOK = 2;
stop();
Symbol 270 MovieClip Frame 26
_root.BossOK = 1;
Symbol 270 MovieClip Frame 33
_root.EtatBoss = "pres4";
_root.BossOK = 2;
stop();
Symbol 270 MovieClip Frame 34
_root.Kill++;
_root.Scoring = _root.Scoring + 50;
_root.BossOK = 1;
play();
Symbol 270 MovieClip Frame 39
gotoAndPlay (1);
Symbol 270 MovieClip Frame 40
_root.Kill++;
_root.Scoring = _root.Scoring + 50;
_root.BossOK = 1;
play();
Symbol 270 MovieClip Frame 45
gotoAndPlay (1);
Symbol 270 MovieClip Frame 46
_root.Kill++;
_root.Scoring = _root.Scoring + 25;
_root.BossOK = 1;
play();
Symbol 270 MovieClip Frame 51
gotoAndPlay (1);
Symbol 270 MovieClip Frame 52
_root.Kill++;
_root.Scoring = _root.Scoring + 25;
_root.BossOK = 1;
play();
Symbol 270 MovieClip Frame 57
gotoAndPlay (1);
Symbol 278 MovieClip Frame 1
stop();
Symbol 279 Button
on (release) {
if (ImgArme == 1) {
selec._x = 217.9;
} else if (ImgArme == 2) {
selec._x = 276.4;
} else if (ImgArme == 3) {
selec._x = 334.9;
} else if (ImgArme == 4) {
selec._x = 394.8;
}
ObjMuni = eval ("MuniArme" + ImgArme);
if (ObjMuni >= 1) {
if (_xmouse < 300) {
if (_ymouse < 100) {
ObjEtat = "TirGaucheHaut";
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ObjEtat = "TirGaucheMilieu";
} else {
ObjEtat = "TirGaucheBas";
}
} else if (_xmouse >= 300) {
if (_ymouse < 100) {
ObjEtat = "TirDroiteHaut";
} else if ((_ymouse < 200) and (100 < _ymouse)) {
ObjEtat = "TirDroiteMilieu";
} else {
ObjEtat = "TirDroiteBas";
}
}
ClipThi.gotoAndPlay(ObjEtat);
CLipThi.ClipTir.gotoAndStop(ImgArme);
if (TamponTir1 == 3) {
TamponTir1 = 1;
} else {
TamponTir1++;
}
ObjAnimTir = eval ((("Anim" + ImgArme) + "Tir") + TamponTir1);
ObjAnimTir._x = _xmouse;
ObjAnimTir._y = _ymouse;
ObjAnimTir.play();
xCollision = _xmouse;
yCollision = _ymouse;
gotoAndPlay (239);
ObjMuni = ObjMuni - 1;
if (ImgArme == 2) {
MuniArme2 = ObjMuni;
} else if (ImgArme == 3) {
MuniArme3 = ObjMuni;
} else if (ImgArme == 4) {
MuniArme4 = ObjMuni;
}
if (ObjMuni == 0) {
ArmeEnCours = "Arme1";
TirEnCours = "Tir1";
ImgArme = 1;
ClipThi.ClipArme.gotoAndPlay(ImgArme);
}
}
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 380
stop();
Symbol 359 MovieClip Frame 484
stop();
Symbol 373 MovieClip Frame 1
_root.GentilMort = 0;
stop();
Symbol 373 MovieClip Frame 2
_root.GentilMort = 1;
Symbol 373 MovieClip Frame 14
_root.VarArmeGentil = 1;
_root.NbAvionVie--;
gotoAndStop (1);
Symbol 373 MovieClip Frame 15
if (_root.level == 1) {
_root.gotoAndPlay("retour");
} else if (_root.level == 2) {
_root.gotoAndPlay("retour2");
}
stop();
Symbol 376 Button
on (release) {
if (GentilMort == 0) {
SonTirGentil.play();
NbTirGentil++;
ObjTir = eval ("TirGentil" + NbTirGentil);
VarTirTest = eval ("VarClipTirEnCours" + NbTirGentil);
if (19 >= NbTirGentil) {
if (VarArmeGentil == 1) {
ObjTir.gotoAndStop(1);
} else if (VarArmeGentil == 2) {
ObjTir.gotoAndStop(2);
} else if (VarArmeGentil == 3) {
ObjTir.gotoAndStop(3);
}
ObjTir._x = Gentil._x + DecalageGentil;
ObjTir._y = Gentil._y;
Set("VarClipTirEnCours" + NbTirGentil, 1);
if (NbTirGentil == NbMaxiTirGentil) {
NbTirGentil = 0;
}
} else {
if (VarArmeGentil == 1) {
ObjTir.gotoAndStop(1);
} else if (VarArmeGentil == 2) {
ObjTir.gotoAndStop(2);
} else if (VarArmeGentil == 3) {
ObjTir.gotoAndStop(3);
}
ObjTir._x = Gentil._x + DecalageGentil;
ObjTir._y = Gentil._y;
Set("VarClipTirEnCours" + NbTirGentil, 1);
if (NbTirGentil == NbMaxiTirGentil) {
NbTirGentil = 0;
}
NbTirGentil = 0;
}
}
}
Symbol 378 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
VarExplo = 0;
stop();
Symbol 384 MovieClip Frame 2
VarExplo = 1;
Symbol 384 MovieClip Frame 3
_root.Scoring = _root.Scoring + 25;
Symbol 384 MovieClip Frame 6
_root.KillMechant++;
stop();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 2
play();
Symbol 385 MovieClip Frame 40
Explo.gotoAndStop(1);
gotoAndStop (1);
Symbol 385 MovieClip Frame 41
play();
Symbol 385 MovieClip Frame 79
Explo.gotoAndStop(1);
gotoAndStop (1);
Symbol 385 MovieClip Frame 80
play();
Symbol 385 MovieClip Frame 118
Explo.gotoAndStop(1);
gotoAndStop (1);
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 391 MovieClip Frame 3
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 12
gotoAndStop (1);
Symbol 411 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 2
play();
Symbol 421 MovieClip Frame 3
gotoAndStop (1);
Symbol 421 MovieClip Frame 4
_root.Scoring = _root.Scoring + 25;
Symbol 421 MovieClip Frame 10
_root.InviC1 = 1;
_root.InviC2 = 1;
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 6
gotoAndStop (1);
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 2
play();
Symbol 431 MovieClip Frame 3
gotoAndStop (1);
Symbol 431 MovieClip Frame 4
_root.Scoring = _root.Scoring + 25;
Symbol 431 MovieClip Frame 10
_root.InviC5 = 1;
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 2
play();
Symbol 435 MovieClip Frame 3
gotoAndStop (1);
Symbol 435 MovieClip Frame 4
_root.Scoring = _root.Scoring + 25;
Symbol 435 MovieClip Frame 10
_root.InviC3 = 1;
_root.InviC4 = 1;
stop();
Symbol 442 MovieClip Frame 1
stop();
Symbol 477 Button
on (release) {
_root.Scoring = _root.Scoring + 25;
_root.xCollision = _root._xmouse;
_root.yCollision = _root._ymouse;
if (_root.level == 1) {
_root.gotoAndPlay("TestCollisionG");
} else if (_root.level == 2) {
_root.gotoAndPlay("TestCollision2");
}
}
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
_root.Arrivee++;
Symbol 485 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 485 MovieClip Frame 18
_root.Vie++;
_root.Sang.play();
Symbol 485 MovieClip Frame 26
_root.Vie++;
_root.Sang.play();
Symbol 485 MovieClip Frame 33
_root.Manque++;
gotoAndStop (1);
Symbol 485 MovieClip Frame 34
_root.Kill = _root.Kill + 1;
Symbol 485 MovieClip Frame 38
gotoAndStop (1);
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 2
_root.Arrivee++;
Symbol 486 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 486 MovieClip Frame 22
_root.Manque++;
gotoAndStop (1);
Symbol 486 MovieClip Frame 23
_root.Kill = _root.Kill + 1;
Symbol 486 MovieClip Frame 27
gotoAndStop (1);
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 2
_root.Arrivee++;
Symbol 489 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 489 MovieClip Frame 17
_root.Vie++;
_root.Sang.play();
Symbol 489 MovieClip Frame 27
_root.Manque++;
gotoAndStop (1);
Symbol 489 MovieClip Frame 28
_root.Kill = _root.Kill + 1;
Symbol 489 MovieClip Frame 32
gotoAndStop (1);
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
_root.Arrivee++;
Symbol 491 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 491 MovieClip Frame 17
_root.Vie++;
_root.Sang.play();
Symbol 491 MovieClip Frame 29
_root.Manque++;
gotoAndStop (1);
Symbol 491 MovieClip Frame 30
_root.Kill = _root.Kill + 1;
Symbol 491 MovieClip Frame 34
gotoAndStop (1);
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 2
_root.Arrivee++;
Symbol 494 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 494 MovieClip Frame 17
_root.Vie++;
_root.Sang.play();
Symbol 494 MovieClip Frame 26
_root.Manque++;
gotoAndStop (1);
Symbol 494 MovieClip Frame 27
_root.Kill = _root.Kill + 1;
Symbol 494 MovieClip Frame 31
gotoAndStop (1);
Symbol 497 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 2
_root.Arrivee++;
Symbol 497 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 497 MovieClip Frame 17
_root.Vie++;
_root.Sang.play();
Symbol 497 MovieClip Frame 24
_root.Vie++;
_root.Sang.play();
Symbol 497 MovieClip Frame 33
_root.Manque++;
gotoAndStop (1);
Symbol 497 MovieClip Frame 34
_root.Kill = _root.Kill + 1;
Symbol 497 MovieClip Frame 38
gotoAndStop (1);
Symbol 498 Button
on (keyPress "<Tab>") {
a = 1;
}
on (release) {
TirSonClip.play();
}
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 2
_root.Arrivee++;
Symbol 499 MovieClip Frame 10
_root.Vie++;
_root.Sang.play();
Symbol 499 MovieClip Frame 18
_root.Vie++;
_root.Sang.play();
Symbol 499 MovieClip Frame 25
_root.Vie++;
_root.Sang.play();
Symbol 499 MovieClip Frame 33
_root.Vie++;
_root.Sang.play();
Symbol 499 MovieClip Frame 39
_root.Vie++;
_root.Sang.play();
Symbol 499 MovieClip Frame 48
_root.Manque++;
gotoAndStop (1);
Symbol 499 MovieClip Frame 49
_root.Kill = _root.Kill + 1;
Symbol 499 MovieClip Frame 53
gotoAndStop (1);
Symbol 501 Button
on (release) {
_root.NbBombeH++;
_root.Bomb._x = -100;
_root.Bomb._y = -100;
if (_root.level == 1) {
_root.gotoAndPlay("BombeKill");
} else if (_root.level == 2) {
_root.gotoAndPlay("BombeKill2");
}
}
Symbol 502 Button
on (release) {
_root.NbBombeH++;
_root.Bomb._x = -100;
_root.Bomb._y = -100;
_root.gotoAndPlay("BombeKill");
}
Symbol 503 MovieClip Frame 1
_root.Bomb._x = -100;
_root.Bomb._y = -100;
stop();
Symbol 503 MovieClip Frame 30
_root.Bomb._x = -100;
_root.Bomb._y = -100;
Symbol 505 Button
on (release) {
_root.NbMedical++;
_root.Vie = _root.Vie - 5;
_root.Medical._x = -100;
_root.Medical._y = -100;
}
Symbol 506 Button
on (release) {
_root.NbBombeH++;
_root.Bomb._x = -100;
_root.Bomb._y = -100;
_root.gotoAndPlay("BombeKill");
}
Symbol 507 MovieClip Frame 1
_root.Medical._x = -100;
_root.Medical._y = -100;
stop();
Symbol 507 MovieClip Frame 30
_root.Medical._x = -100;
_root.Medical._y = -100;
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 2
stop();
Symbol 510 MovieClip Frame 3
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 3
gotoAndStop (1);
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 100
stop();
Symbol 517 MovieClip Frame 1
stop();
Symbol 527 Button
on (keyPress "<Tab>") {
a = 1;
}
Symbol 537 Button
on (release) {
_root.Scoring = _root.Scoring + 50;
_root.xCollision = _root._xmouse;
_root.yCollision = _root._ymouse;
if (_root.level == 1) {
_root.gotoAndPlay("TestCollision");
} else if (_root.level == 2) {
_root.gotoAndPlay("TestCollision2");
}
}
Symbol 543 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 6
_root.Vie++;
_root.Sang.play();
gotoAndStop (1);
Symbol 550 MovieClip Frame 1
if (_root.BossGrotte == 1) {
RandAttakBoss = random(7) + 1;
if (RandAttakBoss == 1) {
gotoAndPlay (3);
} else if (RandAttakBoss == 2) {
gotoAndPlay (22);
} else if (RandAttakBoss == 3) {
gotoAndPlay (42);
} else if (RandAttakBoss == 4) {
gotoAndPlay (62);
} else if (RandAttakBoss == 5) {
gotoAndPlay (82);
} else if (RandAttakBoss == 6) {
gotoAndPlay (102);
} else if (RandAttakBoss == 7) {
gotoAndPlay (122);
} else {
stop();
}
} else {
play();
}
Symbol 550 MovieClip Frame 2
prevFrame();
Symbol 550 MovieClip Frame 3
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 7
BossClip.play();
Symbol 550 MovieClip Frame 18
gotoAndStop (1);
Symbol 550 MovieClip Frame 19
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 23
BossClip.play();
Symbol 550 MovieClip Frame 34
gotoAndStop (1);
Symbol 550 MovieClip Frame 35
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 39
BossClip.play();
Symbol 550 MovieClip Frame 49
gotoAndStop (1);
Symbol 550 MovieClip Frame 50
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 54
BossClip.play();
Symbol 550 MovieClip Frame 65
gotoAndStop (1);
Symbol 550 MovieClip Frame 66
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 70
BossClip.play();
Symbol 550 MovieClip Frame 80
gotoAndStop (1);
Symbol 550 MovieClip Frame 81
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 85
BossClip.play();
Symbol 550 MovieClip Frame 95
gotoAndStop (1);
Symbol 550 MovieClip Frame 96
_root.RandBossOK = 0;
play();
Symbol 550 MovieClip Frame 100
BossClip.play();
Symbol 550 MovieClip Frame 110
gotoAndStop (1);
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 3
gotoAndStop (1);
Symbol 553 MovieClip Frame 1
stop();
Symbol 553 MovieClip Frame 24
stop();