STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229593
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/60028106?noj=FRM60028106-21DC" width="1" height="1"></div>

Kim Possible Super Villain Face-Off.swf

This is the info page for
Flash #23215

(Click the ID number above for more basic data on this flash file.)


Text
L

O

A

D

I

N

G

Next

Although
Kim Possible makes
it look easy... battling
evil takes some
practice!  Here's your
chance to take on
Kim's super villains!

Although
Kim Possible makes
it look easy... battling
evil takes some
practice!  Here's your
chance to take on
Kim's super villains!

236 478

SCORE

SCORE

DANGER METER

DANGER METER

If a villain reaches
the bottom the game
is over. Try to make
it through all 7 levels!

Match three or more villains in a
row and they will disappear.
Clear all of the villains to move
to the next level.

Check to see which
villain  is next.

Every time the danger
meter reaches the top, the
villains drop down a row.

If a villain reaches
the bottom the game
is over. Try to make
it through all 7 levels!

Defeat as many villains
as you can!

Defeat as many villains
as you can!

Match three or more villains in a
row and they will disappear.
Clear all of the villains to move
to the next level.

Use the arrow keys to aim
Kim's hair dryer at the
super villains then press
the spacebar to send a
villain upward.

Use the arrow keys to aim
Kim's hair dryer at the
super villains then press
the spacebar to send a
villain upward.

Check to see which
villain  is next.

Every time the danger
meter reaches the top, the
villains drop down a row.

Help

Quit

Play

Play

level 1

Kontroller

Die

Interaktjons

Der

sounds heads

ball sound

FACED ENOUGH
VILLAINS?

FACED ENOUGH
VILLAINS?

Submit Score

Cancel

Game
Over

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 2 !
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 2 !
Bonus Points:
Your Score:

236 478

0

Next

level 2

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 3 !
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 3 !
Bonus Points:
Your Score:

236 478

0

level 3

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 4 !
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 4 !
Bonus Points:
Your Score:

236 478

0

level 4

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 5 !
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 5 !
Bonus Points:
Your Score:

236 478

0

level 5

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 6 !
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 6 !
Bonus Points:
Your Score:

236 478

0

level 6

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 7 !
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
But more villains are headed
your way!
Get ready for Level 7 !
Bonus Points:
Your Score:

236 478

0

level 7

EXCELLENT FACE-OFF!
Bonus Points:
Your Score:

EXCELLENT FACE-OFF!
Bonus Points:
Your Score:

236 478

0

Mission accomplished!
Those villains are so defeated,
thanks to you!

Mission accomplished!
Those villains are so defeated,
thanks to you!

Your Score:

Play Again

236 478

SORRY!
The super villains won,
but it's so not the drama.
Keep practicing!

SORRY!
The super villains won,
but it's so not the drama.
Keep practicing!

236 478

ActionScript [AS1/AS2]

Frame 1
ifFrameLoaded (10) { gotoAndStop (10); }
Frame 2
ifFrameLoaded (28) { gotoAndStop (13); }
Frame 3
gotoAndPlay (1);
Frame 10
stop();
Instance of Symbol 16 MovieClip in Frame 10
onClipEvent (load) { var totalbytes = 198000; } onClipEvent (enterFrame) { var bytesloaded = _root.getBytesLoaded(); var /:percentage = (bytesloaded / totalbytes); if (int(/:percentage * 100) > 100) { gotoAndPlay (100); } else { gotoAndPlay(int(/:percentage * 100)); } trace(int(/:percentage * 100)); }
Frame 13
stop();
Frame 17
stop();
Frame 19
function fsdPlayAgain() { gotoAndPlay ("Level1"); _root.TOTALSCORE = 0; } function fsdLaunchScoresDisplay() { playerScore = _root.TOTALSCORE; gotoAndStop ("hs_display"); } var playerScore; var eventID = "dc_kpsvfo_3492"; var subject = "Kim Possible - Super Villain Face-Off"; var gamesURL = _level0.gamesURL; LEVEL = 1; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 19
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 19
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 19
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Instance of Symbol 412 MovieClip "Variables" in Frame 19
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { trace(TOTALEXPLOSE); trace(TOTALNONSUPPORTE); _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, GREEN, WHITE, BLUE, GREEN, RED, YELLOW, RED, BLUE, BLUE, RED, RED, WHITE, RED, GREEN, PURPLE, GREEN, BLUE, GREEN, PURPLE, RED, PURPLE, YELLOW, GREEN, GREEN, BLUE, YELLOW, YELLOW, ORANGE, PURPLE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; _root.TOTALSCORE = 0; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 19
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 481 MovieClip "instructions" in Frame 19
onClipEvent (load) { this.swapDepths(5000002); }
Instance of Symbol 502 MovieClip "QuitPage" in Frame 19
onClipEvent (load) { this.swapDepths(5000); }
Frame 20
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Frame 35
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 37
LEVEL = 2; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 37
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 37
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 412 MovieClip "Variables" in Frame 37
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, RED, WHITE, BLUE, RED, RED, RED, RED, BLUE, BLUE, RED, RED, WHITE, RED, RED, PURPLE, BLUE, BLUE, ORANGE, PURPLE, RED, PURPLE, PURPLE, GREEN, GREEN, BLUE, YELLOW, YELLOW, ORANGE, PURPLE, PURPLE, BLUE, ORANGE, PURPLE, ORANGE, BLUE, PURPLE, PURPLE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 37
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 37
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Frame 38
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Frame 54
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 56
LEVEL = 3; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 56
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 56
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 412 MovieClip "Variables" in Frame 56
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, BLUE, WHITE, BLUE, PURPLE, GREEN, PURPLE, RED, WHITE, WHITE, GREEN, RED, PURPLE, WHITE, WHITE, PURPLE, PURPLE, WHITE, ORANGE, GREEN, WHITE, GREEN, WHITE, GREEN, GREEN, PURPLE, YELLOW, YELLOW, GREEN, WHITE, WHITE, BLUE, BLUE, GREEN, YELLOW, GREEN, WHITE, WHITE, PURPLE, WHITE, WHITE, GREEN, GREEN, WHITE, PURPLE, RED, PURPLE, RED, GREEN, RED, GREEN, WHITE, RED, PURPLE, PURPLE, GREEN, GREEN, GREEN, RED, RED, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 56
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 56
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Frame 57
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Frame 72
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 74
LEVEL = 4; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 74
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 74
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 412 MovieClip "Variables" in Frame 74
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, BLUE, WHITE, BLUE, GREEN, GREEN, GREEN, GREEN, BLUE, GREEN, BLUE, RED, BLUE, PURPLE, GREEN, PURPLE, WHITE, RED, ORANGE, WHITE, YELLOW, RED, RED, GREEN, GREEN, BLUE, YELLOW, YELLOW, RED, RED, RED, BLUE, RED, ORANGE, WHITE, BLUE, GREEN, GREEN, PURPLE, GREEN, YELLOW, WHITE, GREEN, GREEN, GREEN, WHITE, WHITE, ORANGE, YELLOW, YELLOW, GREEN, YELLOW, RED, WHITE, YELLOW, RED, YELLOW, WHITE, RED, YELLOW, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 74
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 74
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Frame 75
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Frame 90
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 92
LEVEL = 5; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 92
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 92
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 412 MovieClip "Variables" in Frame 92
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, BLUE, RED, BLUE, BLUE, WHITE, WHITE, ORANGE, RED, RED, RED, WHITE, BLUE, ORANGE, ORANGE, BLUE, WHITE, ORANGE, RED, BLUE, RED, WHITE, RED, RED, RED, YELLOW, RED, RED, GREEN, BLUE, BLUE, BLUE, YELLOW, GREEN, GREEN, GREEN, RED, BLUE, RED, WHITE, YELLOW, WHITE, RED, PURPLE, PURPLE, BLUE, RED, WHITE, BLUE, WHITE, RED, BLUE, PURPLE, GREEN, GREEN, RED, WHITE, RED, WHITE, RED, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 92
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 92
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Frame 93
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Frame 108
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 110
LEVEL = 70; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 110
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 110
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 412 MovieClip "Variables" in Frame 110
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, PURPLE, WHITE, BLUE, PURPLE, RED, PURPLE, PURPLE, BLUE, BLUE, PURPLE, RED, PURPLE, PURPLE, PURPLE, PURPLE, BLUE, BLUE, ORANGE, PURPLE, PURPLE, RED, RED, GREEN, WHITE, BLUE, YELLOW, WHITE, PURPLE, PURPLE, BLUE, BLUE, PURPLE, BLUE, PURPLE, BLUE, PURPLE, PURPLE, BLUE, BLUE, PURPLE, BLUE, GREEN, PURPLE, PURPLE, PURPLE, ORANGE, YELLOW, BLUE, GREEN, GREEN, PURPLE, PURPLE, PURPLE, PURPLE, PURPLE, WHITE, PURPLE, RED, PURPLE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 110
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 110
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Frame 111
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Frame 126
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 128
LEVEL = 82; TempsDebut = getTimer(); Bonus = 0;
Instance of Symbol 382 MovieClip "Hita0a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a7" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita0a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }
Instance of Symbol 382 MovieClip "Hita1a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita1a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita1a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita1a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a7" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita2a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita3a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita3a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita3a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a7" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita4a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita5a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita5a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita5a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a7" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita6a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita7a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita7a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita7a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a7" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita8a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a5" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a1" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a2" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a4" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 382 MovieClip "Hita9a3" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 383 MovieClip "Hita9a0" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 384 MovieClip "Hita9a6" in Frame 128
onClipEvent (load) { Occupied = false; Visite = false; }
Instance of Symbol 405 MovieClip "shot" in Frame 128
onClipEvent (load) { VITESSE = 20; DERNIERMURFRAPPE = null; MURGAUCHE = 1; MURDROIT = 2; left = _root.Variables.world.left; right = _root.Variables.world.right; top = _root.Variables.world.top; centreDuCanon = 290; if (String(_name) != "shot") { cannonLength = 50; sechoirPoint = _root.Sechoir._rotation + 90; angle = ((sechoirPoint / 360) * 2) * Math.PI; xcomponent = cannonLength * Math.sin(angle); ycomponent = (-cannonLength) * Math.cos(angle); this._x = xcomponent + _root.Sechoir._x; this._y = ycomponent + _root.Sechoir._y; xmove = (xcomponent / cannonLength) * VITESSE; ymove = (ycomponent / cannonLength) * VITESSE; if (_x < centreDuCanon) { TirGauche = true; } else { TirDroit = true; } } } onClipEvent (enterFrame) { if (String(_name) != "shot") { if (TirGauche == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } else if (TirDroit == true) { this._x = this._x + xmove; this._y = this._y + ymove; PositionCourantX = Math.floor(this._x); PositionCourantY = Math.floor(this._y); if (_x > right) { DERNIERMURFRAPPE = MURDROIT; xcomponent = cannonLength * Math.sin(-angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } else if (_x < left) { DERNIERMURFRAPPE = MURGAUCHE; xcomponent = cannonLength * Math.sin(angle); xmove = (xcomponent / cannonLength) * VITESSE; ycomponent = (-cannonLength) * Math.cos(angle); ymove = (ycomponent / cannonLength) * VITESSE; } } } }
Instance of Symbol 412 MovieClip "Variables" in Frame 128
onClipEvent (load) { function FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur) { PositionEnY = eval (("_root." + NomTir) + "._y"); ObjetCourant = eval ("_root." + NomTir); PositionEnY = Math.floor(PositionEnY); NUMEROMUR = _root.shot1.DERNIERMURFRAPPE; if ((LIGNE9MIN <= PositionEnY) && (PositionEnY <= LIGNE9MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE8MIN <= PositionEnY) && (PositionEnY <= LIGNE8MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE7MIN <= PositionEnY) && (PositionEnY <= LIGNE7MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE6MIN <= PositionEnY) && (PositionEnY <= LIGNE6MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE5MIN <= PositionEnY) && (PositionEnY <= LIGNE5MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE4MIN <= PositionEnY) && (PositionEnY <= LIGNE4MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE3MIN <= PositionEnY) && (PositionEnY <= LIGNE3MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE2MIN <= PositionEnY) && (PositionEnY <= LIGNE2MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE1MIN <= PositionEnY) && (PositionEnY <= LIGNE1MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; i = 0; while (i < (largeurMatrice - 1)) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNE0MIN <= PositionEnY) && (PositionEnY <= LIGNE0MAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else if ((LIGNEPLAFONDMIN < PositionEnY) && (PositionEnY <= LIGNEPLAFONDMAX)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; i = 0; while (i < largeurMatrice) { tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.hitTest(ObjetCourant.Zone)) { if (TempoTotal.Occupied == true) { Etat = true; HitZoneTrouve = TempoTotal; ObjetFrappe = ObjetCourant; ObjetFrappePosX = ObjetCourant._x; ObjetFrappePosY = ObjetCourant._y; ObjetFrappeCouleur = ObjetCourantCouleur; removeMovieClip(ObjetCourant); return(Etat); } ObjetCourant._x = TempoTotal._x; ObjetCourant._y = TempoTotal._y; TempoTotal.Occupied = true; temp = "Boule"; temp = temp + "a"; temp = temp + 0; temp = temp + "a"; temp = temp + i; BOULETIRE = temp; BOULETIRECOULEUR = ObjetCourantCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetCourant._x; _parent[temp]._y = ObjetCourant._y; removeMovieClip(ObjetCourant); ObjetFrappeCouleur = ObjetCourantCouleur; HitZonePlace = TempoTotal; matrice[0][i] = new Object(); matrice[0][i].x = TempoTotal._x; matrice[0][i].y = TempoTotal._y; matrice[0][i].clip = temp; matrice[0][i].exist = true; matrice[0][i].color = ObjetCourantCouleur; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; Etat = false; return(Etat); } tempo = substring(tempo, 0, 6); i++; } } else { Etat = false; return(Etat); } } function NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur) { j = int(substring(HitZoneTrouve, 13, 1)); i = int(substring(HitZoneTrouve, 15, 1)); if (((j % 2) == 0) || (j == 0)) { if ((j == 8) && (_root.Messages.DESCENTE == 1)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 6) && (_root.Messages.DESCENTE == 3)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 4) && (_root.Messages.DESCENTE == 5)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 2) && (_root.Messages.DESCENTE == 7)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 0) && (_root.Messages.DESCENTE == 9)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (j == 10) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else if (ObjetFrappePosX <= HitZoneTrouve._x) { j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } else if ((j % 2) != 0) { if ((j == 9) && (_root.Messages.DESCENTE == 0)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 7) && (_root.Messages.DESCENTE == 2)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 5) && (_root.Messages.DESCENTE == 4)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 3) && (_root.Messages.DESCENTE == 6)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if ((j == 1) && (_root.Messages.DESCENTE == 8)) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } if (NUMEROMUR == 1) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (NUMEROMUR == 2) { if ((i == 0) || (i == 7)) { if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } if (i == 7) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } else { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (ObjetFrappePosX <= HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } if (i == 0) { j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } else if (ObjetFrappePosX > HitZoneTrouve._x) { if (i == (largeurMatrice - 2)) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } else if (i == 0) { j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } j = j + 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { j = j - 1; i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } if (TempoTotal.Occupied == true) { i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { ObjetFrappePosX = TempoTotal._x; ObjetFrappePosY = TempoTotal._y; TempoTotal.Occupied = true; HitZonePlace = TempoTotal; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; matrice[j][i] = new Object(); matrice[j][i].x = TempoTotal._x; matrice[j][i].y = TempoTotal._y; matrice[j][i].clip = temp; matrice[j][i].exist = true; matrice[j][i].color = ObjetFrappeCouleur; BOULETIRE = temp; BOULETIRECOULEUR = ObjetFrappeCouleur; BOULETIRECOULEURX = TempoTotal._x; BOULETIRECOULEURY = TempoTotal._y; BOULESURLEJEU = true; _parent.d++; tampon = "Boule"; tampon = tampon + ObjetCourantCouleur; TamponTotal = eval ("_root." + tampon); duplicateMovieClip (TamponTotal, temp, (_parent.d % 100) + 500); _parent[temp]._x = ObjetFrappePosX; _parent[temp]._y = ObjetFrappePosY; BouleAccroche = true; return(BouleAccroche); } } } } } } } function DetectionCouleurSemblable(ObjetFrappeCouleur) { j = int(substring(HitZonePlace, 13, 1)); i = int(substring(HitZonePlace, 15, 1)); PileVoisinsMemeCouleur = []; pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = true; COMPTEURVRAIBOULES = 0; SPECIAL = false; while (CptrVoisinsMemeCouleur != 0) { popped = PileVoisinsMemeCouleur.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeExplosion[PtrListeExplosion] = popped; CptrVoisinsMemeCouleur--; PtrListeExplosion++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((ObjetFrappeCouleur == matrice[j][i].color) && (TempoTotal.Visite == false)) { pushed = PileVoisinsMemeCouleur.push(matrice[j][i].clip); CptrVoisinsMemeCouleur++; TempoTotal.Visite = true; } } } z = 0; while (z < PtrListeExplosion) { tampon = ListeExplosion[z]; BouleTest = tampon.substring(0, 5); if (BouleTest == "Boule") { COMPTEURVRAIBOULES++; if (tampon == "Boulea0a0") { SPECIAL = true; } } z++; } if (COMPTEURVRAIBOULES < 3) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if ((SPECIAL == true) && (COMPTEURVRAIBOULES == 1)) { ListeExplosion = new Array(); PtrListeExplosion = 0; } if (PtrListeExplosion >= 3) { DetectionCouleur = true; return(DetectionCouleur); } DetectionCouleur = false; return(DetectionCouleur); } function RegardeRacine() { if (PtrListeExplosion >= 3) { k = 0; while (k < PtrListeExplosion) { tampon = ListeExplosion[k]; j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); if (j == 0) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.RacineExplose = true; } k++; } } } function DetectionSupporte() { PileSupporte = []; CptrPileSupporte = 0; i = 0; while (i < largeurMatrice) { j = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (((TempoTotal.Occupied == true) && (matrice[j][i].exist == true)) && (TempoTotal.RacineExplose == false)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; while (CptrPileSupporte != 0) { popped = PileSupporte.pop(); j = int(substring(popped, 7, 1)); i = int(substring(popped, 9, 1)); ListeSupporte[PtrListeSupporte] = popped; CptrPileSupporte--; PtrListeSupporte++; if (j == 0) { i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) == 0) { j = j - 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } else if ((j % 2) != 0) { j = j - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 2; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } j = j + 1; i = i - 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } i = i + 1; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Visite == false) && (matrice[j][i].exist == true)) { pushed = PileSupporte.push(matrice[j][i].clip); CptrPileSupporte++; TempoTotal.Visite = true; } } } } i++; } BouleSupporte = true; return(BouleSupporte); } function DetectionNonSupporte() { j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { if (matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if ((TempoTotal.Occupied == true) && (TempoTotal.Visite == false)) { ListeNonSupporte[PtrListeNonSupporte] = matrice[j][i].clip; PtrListeNonSupporte++; } } i++; } } j++; } BouleNonSupporte = true; return(BouleNonSupporte); } function Explosion() { TOTALEXPLOSE = 0; TOTALNONEXPLOSE = 0; COMPTEUR = 0; if (PtrListeExplosion >= 3) { COMPTEUR++; k = 0; while (k < PtrListeExplosion) { if (COMPTEUR == 1) { TOTALEXPLOSE = PtrListeExplosion * POINTSEXPLOSION; _root.TOTALSCORE = _root.TOTALSCORE + TOTALEXPLOSE; COMPTEUR++; } tampon = ListeExplosion[k]; if (tampon == BOULETIRE) { removeMovieClip(TamponTotal); if (BOULETIRECOULEUR == BLUE) { _root.Sound.gotoAndStop("Drakken"); } else if (BOULETIRECOULEUR == GREEN) { _root.Sound.gotoAndStop("Shego"); } else if (BOULETIRECOULEUR == YELLOW) { _root.Sound.gotoAndStop("Gill"); } else if (BOULETIRECOULEUR == PURPLE) { _root.Sound.gotoAndStop("Monkey"); } else if (BOULETIRECOULEUR == WHITE) { _root.Sound.gotoAndStop("Senior"); } else if (BOULETIRECOULEUR == RED) { _root.Sound.gotoAndStop("Duff"); } else if (BOULETIRECOULEUR == ORANGE) { _root.Sound.gotoAndStop("Junior"); } } else if (tampon != BOULETIRE) { TamponTotal = eval ("_root." + tampon); TamponTotal.play(); } j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } k = 0; while (k < PtrListeNonSupporte) { if ((COMPTEUR = 2)) { TOTALNONSUPPORTE = PtrListeNonSupporte * POINTSNONSUPPORTE; COMPTEUR++; } tampon = ListeNonSupporte[k]; TamponTotal = eval ("_root." + tampon); TamponTotal.play(); j = int(substring(tampon, 7, 1)); i = int(substring(tampon, 9, 1)); delete matrice[j][i]; matrice[j][i] = new Object(); matrice[j][i].exist = false; matrice[j][i].color = 0; tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; TempoTotal.Visite = false; k++; } _root.Sechoir.COMPTEURBALLETIRE = _root.Sechoir.COMPTEURBALLETIRE - PtrListeNonSupporte; if (_root.Sechoir.COMPTEURBALLETIRE <= 0) { _root.Sechoir.COMPTEURBALLETIRE = 0; } if (COMPTEUR == 3) { _root.TOTALSCORE = _root.TOTALSCORE + TOTALNONSUPPORTE; COMPTEUR++; } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = true; return(BouleExplose); } ListeExplosion = new Array(level); PtrListeExplosion = 0; ListeNonSupporte = new Array(level); PtrListeNonSupporte = 0; BouleExplose = false; return(BouleExplose); } function ReInitialisationParam() { Etat = null; HitFlag = false; HitZoneTrouve = _root.Hita0a0; HitZonePlace = _root.Hita0a0; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); j = 0; while (j < hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; if (j == 0) { TempoTotal.RacineExplose = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Visite = false; i++; } } j++; } } world = new Object(); world.left = 195; world.right = 385; world.top = 0; world.bottom = 225; timer = 0; d = 0; NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; positionX = 0; positionY = 0; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; LIGNE9MIN = 209; LIGNE9MAX = 229; LIGNE8MIN = 187; LIGNE8MAX = 207; LIGNE7MIN = 165; LIGNE7MAX = 185; LIGNE6MIN = 143; LIGNE6MAX = 163; LIGNE5MIN = 121; LIGNE5MAX = 141; LIGNE4MIN = 99; LIGNE4MAX = 119; LIGNE3MIN = 77; LIGNE3MAX = 97; LIGNE2MIN = 55; LIGNE2MAX = 75; LIGNE1MIN = 33; LIGNE1MAX = 53; LIGNE0MIN = 11; LIGNE0MAX = 31; LIGNEPLAFONDMIN = 0; LIGNEPLAFONDMAX = 11; NomTir = "shot"; RandomColor = NONE; Etat = null; HitFlag = false; HitZoneTrouve = null; HitZonePlace = null; ObjetFrappe = null; ObjetFrappePosX = 0; ObjetFrappePosY = 0; ObjetFrappeCouleur = NONE; BienAccroche = false; BouleSupporte = false; BouleNonSupporte = false; BouleExplose = false; ObjetCourant = null; BOULETIRE = null; BOULETIRECOULEUR = 0; BOULETIRECOULEURX = 0; BOULETIRECOULEURY = 0; BOULESURLEJEU = true; PARTIECOMMENCE = false; NUMEROMUR = null; type = new Array(BLUE, GREEN, WHITE, BLUE, PURPLE, RED, PURPLE, GREEN, BLUE, BLUE, PURPLE, RED, PURPLE, GREEN, PURPLE, PURPLE, ORANGE, BLUE, ORANGE, GREEN, GREEN, RED, RED, GREEN, WHITE, WHITE, YELLOW, WHITE, WHITE, GREEN, BLUE, BLUE, GREEN, BLUE, PURPLE, BLUE, ORANGE, GREEN, BLUE, BLUE, PURPLE, BLUE, GREEN, GREEN, GREEN, YELLOW, ORANGE, YELLOW, BLUE, GREEN, GREEN, YELLOW, ORANGE, YELLOW, ORANGE, RED, WHITE, RED, ORANGE, PURPLE, BLUE, RED, BLUE, RED, BLUE, RED, BLUE, RED, NONE, NONE, NONE, NONE, NONE, NONE, NONE); CptrVoisinsMemeCouleur = 0; PtrListeExplosion = 0; ListeExplosion = new Array(level); DetectionCouleur = false; PtrListeSupporte = 0; ListeSupporte = new Array(level); PtrListeNonSupporte = 0; ListeNonSupporte = new Array(level); POINTSEXPLOSION = 50; POINTSNONSUPPORTE = 100; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = "Boulea" + tampon; matrice[j][i].exist = false; i++; } } j++; } } onClipEvent (enterFrame) { if (String(NomTir) != "shot") { PARTIECOMMENCE = true; ReInitialisationParam(); ObjetCourantCouleur = _root.Sechoir.VILLAINSHOT; Etat = FrappeHitZoneOccupe(NomTir, ObjetCourantCouleur); if (Etat == true) { BienAccroche = NewPlaceShot(HitZoneTrouve, ObjetFrappe, ObjetFrappePosX, ObjetFrappePosY, ObjetFrappeCouleur); _root.Sechoir.COMPTEURBALLETIRE++; NUMEROMUR = null; if (BienAccroche == true) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } else if (Etat == false) { DetectionCouleur = DetectionCouleurSemblable(ObjetFrappeCouleur); if (DetectionCouleur == true) { RegardeRacine(); BouleSupporte = DetectionSupporte(); if (BouleSupporte == true) { BouleNonSupporte = DetectionNonSupporte(); if (BouleNonSupporte == true) { BouleExplose = Explosion(); } } } } } }
Instance of Symbol 416 MovieClip "Messages" in Frame 128
onClipEvent (load) { function RegardeCouleurs() { var _local1 = _root; k = 0; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; j = 0; while (j < _local1.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _local1.Variables.largeurMatrice) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_local1.Variables.largeurMatrice - 1)) { ListeCouleursPresentes[k] = _local1.Variables.matrice[j][i].color; if (ListeCouleursPresentes[k] == BLUE) { FLAGBLUE = true; } else if (ListeCouleursPresentes[k] == GREEN) { FLAGGREEN = true; } else if (ListeCouleursPresentes[k] == YELLOW) { FLAGYELLOW = true; } else if (ListeCouleursPresentes[k] == PURPLE) { FLAGPURPLE = true; } else if (ListeCouleursPresentes[k] == WHITE) { FLAGWHITE = true; } else if (ListeCouleursPresentes[k] == RED) { FLAGRED = true; } else if (ListeCouleursPresentes[k] == ORANGE) { FLAGORANGE = true; } k++; i++; } } j++; } } function BouleRandom() { BouleTrouve = false; i = 0; while (i < 200) { NumeroBoule = Math.floor(Math.random() * 7) + 1; if (NumeroBoule == BLUE) { if (FLAGBLUE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == GREEN) { if (FLAGGREEN == true) { BouleTrouve = true; break; } } else if (NumeroBoule == YELLOW) { if (FLAGYELLOW == true) { BouleTrouve = true; break; } } else if (NumeroBoule == PURPLE) { if (FLAGPURPLE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == WHITE) { if (FLAGWHITE == true) { BouleTrouve = true; break; } } else if (NumeroBoule == RED) { if (FLAGRED == true) { return(NumeroBoule); } } else if (NumeroBoule == ORANGE) { if (FLAGORANGE == true) { return(NumeroBoule); } } i++; } return(NumeroBoule); } function AfficheBouleSechoir(NumeroBouleSechoir) { var _local1 = _root; var _local2 = NumeroBouleSechoir; BouleAffiche = false; if (_local2 == BLUE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Drakken"); } else if (_local2 == GREEN) { _local1.Sechoir.BouleSechoir.gotoAndStop("Shego"); } else if (_local2 == YELLOW) { _local1.Sechoir.BouleSechoir.gotoAndStop("Gill"); } else if (_local2 == PURPLE) { _local1.Sechoir.BouleSechoir.gotoAndStop("Monkey"); } else if (_local2 == WHITE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorSr"); } else if (_local2 == RED) { _local1.Sechoir.BouleSechoir.gotoAndStop("Duff"); } else if (_local2 == ORANGE) { _local1.Sechoir.BouleSechoir.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function AfficheBouleViewer(NumeroBouleViewer) { var _local1 = NumeroBouleViewer; var _local2 = _root; BouleAffiche = false; if (_local1 == BLUE) { _local2.VillainViewer.gotoAndStop("Drakken"); } else if (_local1 == GREEN) { _local2.VillainViewer.gotoAndStop("Shego"); } else if (_local1 == YELLOW) { _local2.VillainViewer.gotoAndStop("Gill"); } else if (_local1 == PURPLE) { _local2.VillainViewer.gotoAndStop("Monkey"); } else if (_local1 == WHITE) { _local2.VillainViewer.gotoAndStop("SenorSr"); } else if (_local1 == RED) { _local2.VillainViewer.gotoAndStop("Duff"); } else if (_local1 == ORANGE) { _local2.VillainViewer.gotoAndStop("SenorJr"); } BouleAffiche = true; return(BouleAffiche); } function DangerMeterTimer() { TEMPO = TEMPO + 24; BaremeTemps = TEMPO; return(BaremeTemps); } function AfficheDangerMeter() { var _local1 = _root; if (_local1.Sechoir.COMPTEURBALLETIRE <= 0) { _local1.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; COMPTEURBALLETIRE = 0; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 1) { _local1.Screen.Meter.Anim.gotoAndStop("Level1"); LEVEL = 1; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 2) { _local1.Screen.Meter.Anim.gotoAndStop("Level2"); LEVEL = 2; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 3) { _local1.Screen.Meter.Anim.gotoAndStop("Level3"); LEVEL = 3; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 4) { _local1.Screen.Meter.Anim.gotoAndStop("Level4"); LEVEL = 4; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 5) { _local1.Screen.Meter.Anim.gotoAndStop("Level5"); LEVEL = 5; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 6) { _local1.Screen.Meter.Anim.gotoAndStop("Level6"); LEVEL = 6; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 7) { _local1.Screen.Meter.Anim.gotoAndStop("Level7"); LEVEL = 7; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 8) { _local1.Screen.Meter.Anim.gotoAndStop("Level8"); LEVEL = 8; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 9) { _local1.Screen.Meter.Anim.gotoAndStop("Level9"); LEVEL = 9; } else if (_local1.Sechoir.COMPTEURBALLETIRE == 10) { _local1.Screen.Meter.Anim.gotoAndStop("Level10"); LEVEL = 10; DESCENTE++; } } function PlafondDescend(DESCENTE) { if (LEVEL == 10) { if (DESCENTE == 1) { ACTIONDESCENDRE = true; _root.Plafond._y = 29; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 9; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 2) { ACTIONDESCENDRE = true; _root.Plafond._y = 51; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 8; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 3) { ACTIONDESCENDRE = true; _root.Plafond._y = 73; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 7; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 4) { ACTIONDESCENDRE = true; _root.Plafond._y = 95; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 6; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 5) { ACTIONDESCENDRE = true; _root.Plafond._y = 117; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 5; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 6) { ACTIONDESCENDRE = true; _root.Plafond._y = 139; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 4; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 7) { ACTIONDESCENDRE = true; _root.Plafond._y = 161; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 3; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 8) { ACTIONDESCENDRE = true; _root.Plafond._y = 183; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 2; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 9) { ACTIONDESCENDRE = true; _root.Plafond._y = 205; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < (largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 1; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } else if (DESCENTE == 10) { ACTIONDESCENDRE = true; _root.Plafond._y = 227; _root.Sechoir.COMPTEURBALLETIRE = 0; if (_root.Sechoir.COMPTEURBALLETIRE == 0) { _root.Screen.Meter.Anim.gotoAndStop("Level0"); LEVEL = 0; } i = 0; while (i < largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + 0; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == true) { LINEGAMEOVER = true; return(LINEGAMEOVER); } i++; } ACTIONDESCENDRE = false; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempoTotal = eval ("_root." + temp); TempoTotal._y = TempoTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal._y = TempoTotal._y + 22; temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; TempTotal = eval ("_root." + temp); TempTotal._y = TempTotal._y + 22; matrice[j][i].y = matrice[j][i].y + 22; i++; } } j++; } _root.Variables.LIGNE9MIN = _root.Variables.LIGNE9MIN + 22; _root.Variables.LIGNE9MAX = _root.Variables.LIGNE9MAX + 22; _root.Variables.LIGNE8MIN = _root.Variables.LIGNE8MIN + 22; _root.Variables.LIGNE8MAX = _root.Variables.LIGNE8MAX + 22; _root.Variables.LIGNE7MIN = _root.Variables.LIGNE7MIN + 22; _root.Variables.LIGNE7MAX = _root.Variables.LIGNE7MAX + 22; _root.Variables.LIGNE6MIN = _root.Variables.LIGNE6MIN + 22; _root.Variables.LIGNE6MAX = _root.Variables.LIGNE6MAX + 22; _root.Variables.LIGNE5MIN = _root.Variables.LIGNE5MIN + 22; _root.Variables.LIGNE5MAX = _root.Variables.LIGNE5MAX + 22; _root.Variables.LIGNE4MIN = _root.Variables.LIGNE4MIN + 22; _root.Variables.LIGNE4MAX = _root.Variables.LIGNE4MAX + 22; _root.Variables.LIGNE3MIN = _root.Variables.LIGNE3MIN + 22; _root.Variables.LIGNE3MAX = _root.Variables.LIGNE3MAX + 22; _root.Variables.LIGNE2MIN = _root.Variables.LIGNE2MIN + 22; _root.Variables.LIGNE2MAX = _root.Variables.LIGNE2MAX + 22; _root.Variables.LIGNE1MIN = _root.Variables.LIGNE1MIN + 22; _root.Variables.LIGNE1MAX = _root.Variables.LIGNE1MAX + 22; _root.Variables.LIGNE0MIN = _root.Variables.LIGNE0MIN + 22; _root.Variables.LIGNE0MAX = _root.Variables.LIGNE0MAX + 22; _root.Variables.LIGNEPLAFONDMIN = _root.Variables.LIGNEPLAFONDMIN + 22; _root.Variables.LIGNEPLAFONDMAX = _root.Variables.LIGNEPLAFONDMAX + 22; } } function RegardeLevelFini() { CompteurHitNonOccupe = 0; j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); if (TempoTotal.Occupied == false) { CompteurHitNonOccupe++; } i++; } } j++; } if (CompteurHitNonOccupe == 75) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; LEVELFINI = true; return(LEVELFINI); } LEVELFINI = false; return(LEVELFINI); } NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; NEXTVILLAIN = 0; CURRENTVILLAIN = 0; NumeroBouleSechoir = 0; NumeroBouleViewer = 0; BouleAffiche = false; SechoirArme = false; DepartSechoir = true; FLAGNONE = false; FLAGBLUE = false; FLAGGREEN = false; FLAGYELLOW = false; FLAGPURPLE = false; FLAGWHITE = false; FLAGRED = false; FLAGORANGE = false; hauteurMatrice = 10; largeurMatrice = 8; level = hauteurMatrice * largeurMatrice; ListeCouleursPresentes = new Array(level); BaremeTemps = 0; LEVEL = 1; DESCENTE = 0; LINEGAMEOVER = false; ACTIONDESCENDRE = false; LEVELFINI = false; } onClipEvent (enterFrame) { if (_root.Variables.PARTIECOMMENCE == true) { LEVELFINI = RegardeLevelFini(); if (LEVELFINI == true) { j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.play(); } } AfficheDangerMeter(); if (LEVEL == 10) { PlafondDescend(DESCENTE); if (LINEGAMEOVER == true) { NomTir._visible = false; _root.Sechoir.STOPSECHOIRFINJEU = true; matrice = new Array(hauteurMatrice); j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; matrice[j][i] = new Object(); matrice[j][i].x = positionX; matrice[j][i].y = positionY; matrice[j][i].clip = tampon; matrice[j][i].exist = false; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.AllerAGameOver.gotoAndStop("GameOver"); } LEVEL = 0; _root.Screen.Meter.Anim.gotoAndStop("Level0"); TamponTimer = 0; BaremeTemps = 0; TEMPO = 0; } if ((SechoirArme == false) && (DepartSechoir == true)) { BouleAffiche = false; RegardeCouleurs(); NumeroBouleSechoir = BouleRandom(); CURRENTVILLAIN = NumeroBouleSechoir; BouleAfficheSechoir = AfficheBouleSechoir(NumeroBouleSechoir); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } else if ((SechoirArme == false) && (DepartSechoir == false)) { BouleAffiche = false; RegardeCouleurs(); CURRENTVILLAIN = NEXTVILLAIN; BouleAfficheSechoir = AfficheBouleSechoir(NEXTVILLAIN); NumeroBouleViewer = BouleRandom(); NEXTVILLAIN = NumeroBouleViewer; BouleAfficheViewer = AfficheBouleViewer(NumeroBouleViewer); SechoirArme = true; } DepartSechoir = false; }
Instance of Symbol 361 MovieClip "Sechoir" in Frame 128
onClipEvent (load) { NONE = 0; BLUE = 1; GREEN = 2; YELLOW = 3; PURPLE = 4; WHITE = 5; RED = 6; ORANGE = 7; VILLAINSHOT = 0; COMPTEURBALLETIRE = 0; STOPSECHOIRFINJEU = false; } onClipEvent (enterFrame) { if ((this._rotation + 90) >= -69) { if (Key.isDown(37)) { this._rotation = this._rotation - 3; } } if ((this._rotation + 90) <= 69) { if (Key.isDown(39)) { this._rotation = this._rotation + 3; } } if ((((((Key.isDown(32) && (shotTimer <= 0)) && (_root.Messages.SechoirArme == true)) && (_root.Variables.BOULESURLEJEU == true)) && (_root.Messages.ACTIONDESCENDRE == false)) && (_root.Sechoir.STOPSECHOIRFINJEU == false)) && (_root.GameStopped != true)) { _root.BSound.Play(); _root.Messages.SechoirArme = false; _root.Variables.BOULESURLEJEU = false; shotCount++; ShotName = "shot" + shotCount; _root.Variables.NomTir = ShotName; duplicateMovieClip (_root.shot, ShotName, (shotCount % 100) + 1100); NomTir = eval ("_root." + ShotName); VILLAINSHOT = _root.Messages.CURRENTVILLAIN; if (VILLAINSHOT == BLUE) { NomTir.gotoAndStop("Drakken"); } else if (VILLAINSHOT == GREEN) { NomTir.gotoAndStop("Shego"); } else if (VILLAINSHOT == YELLOW) { NomTir.gotoAndStop("Gill"); } else if (VILLAINSHOT == PURPLE) { NomTir.gotoAndStop("Monkey"); } else if (VILLAINSHOT == WHITE) { NomTir.gotoAndStop("SenorSr"); } else if (VILLAINSHOT == RED) { NomTir.gotoAndStop("Duff"); } else if (VILLAINSHOT == ORANGE) { NomTir.gotoAndStop("SenorJr"); } shotTimer = 20; shotCount = 0; } shotTimer--; }
Frame 129
k = 0; z = 0; positionX = 198; positionY = 21; MaxTableauType = _root.Variables.hauteurMatrice * _root.Variables.largeurMatrice; j = 0; while (j < _root.Variables.hauteurMatrice) { positionX = 198; if ((j % 2) != 0) { positionX = 211; } if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } else { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { if (_root.Variables.type[k] != 0) { tampon = j; tampon = (tampon + "a") + i; _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].x = positionX; _root.Variables.matrice[j][i].y = positionY; _root.Variables.matrice[j][i].clip = "Boulea" + tampon; _root.Variables.matrice[j][i].exist = true; _root.Variables.matrice[j][i].color = _root.Variables.type[k]; temp = "Boule" + _root.Variables.type[k]; duplicateMovieClip (_root.temp, "Boulea" + tampon, k); positionX = positionX + 26; k++; } else { _root.Variables.matrice[j][i] = new Object(); _root.Variables.matrice[j][i].exist = false; _root.Variables.matrice[j][i].color = 0; positionX = positionX + 26; k++; } i++; } } positionY = positionY + 22; j++; } j = 0; while (j < _root.Variables.hauteurMatrice) { if (((j % 2) == 0) || (j == 0)) { i = 0; while (i < _root.Variables.largeurMatrice) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } else if ((j % 2) != 0) { i = 0; while (i < (_root.Variables.largeurMatrice - 1)) { temp = "Boule"; temp = temp + "a"; temp = temp + j; temp = temp + "a"; temp = temp + i; setProperty(temp, _x , _root.Variables.matrice[j][i].x); setProperty(temp, _y , _root.Variables.matrice[j][i].y); if (_root.Variables.matrice[j][i].exist == true) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = true; } else if (_root.Variables.matrice[j][i].exist == false) { tempo = "Hit"; tempo = tempo + "a"; tempo = tempo + j; tempo = tempo + "a"; tempo = tempo + i; TempoTotal = eval ("_root." + tempo); TempoTotal.Occupied = false; } i++; } } j++; } stop();
Instance of Symbol 502 MovieClip "QuitPage" in Frame 139
onClipEvent (load) { this.swapDepths(5000); }
Frame 140
stop(); TempsFin = getTimer(); TempsFinal = TempsFin - /:TempsDebut; if (TempsFinal > 240000) { Set("/:Bonus", 0); } else { Set("/:Bonus", Math.floor((240000 - TempsFinal) / 100)); } _root.TOTALSCORE = _root.TOTALSCORE + Bonus;
Frame 145
stop();
Frame 149
i = 0; while (i < 3) { _root.shot1._visible = false; i++; } stop();
Frame 157
_root.Sechoir.STOPSECHOIRFINJEU = true; _root.Sechoir.BouleSechoir._visible = false; j = 0; while (j < 10) { if ((j % 2) == 0) { i = 0; while (i < 8) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < 7) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } scores.loadMovie(_level0.fsd, "1"); stop();
Symbol 16 MovieClip Frame 98
tellTarget ("_root") { gotoAndPlay ("Intro"); }; trace("STI");
Symbol 16 MovieClip Frame 101
tellTarget ("_root") { gotoAndPlay ("Intro"); }; trace("STI");
Symbol 16 MovieClip Frame 104
tellTarget ("_root") { gotoAndPlay ("Intro"); }; trace("STI");
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 214 MovieClip Frame 16
this.removeMovieClip();
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 215 MovieClip Frame 16
this.removeMovieClip();
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 216 MovieClip Frame 16
this.removeMovieClip();
Symbol 279 Button
on (release) { play(); }
Symbol 321 MovieClip Frame 8
stop();
Symbol 321 MovieClip Frame 16
stop();
Symbol 321 MovieClip Frame 23
stop();
Symbol 321 MovieClip Frame 30
stop();
Symbol 321 MovieClip Frame 37
stop();
Symbol 321 MovieClip Frame 44
stop();
Symbol 321 MovieClip Frame 51
stop();
Symbol 321 MovieClip Frame 58
stop();
Symbol 321 MovieClip Frame 65
stop();
Symbol 321 MovieClip Frame 72
stop();
Symbol 321 MovieClip Frame 80
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 355 MovieClip Frame 16
this.removeMovieClip();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 357 MovieClip Frame 16
this.removeMovieClip();
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 358 MovieClip Frame 16
this.removeMovieClip();
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };
Symbol 359 MovieClip Frame 16
this.removeMovieClip();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 8
play();
Symbol 360 MovieClip Frame 18
stop();
Symbol 360 MovieClip Frame 22
play();
Symbol 360 MovieClip Frame 32
stop();
Symbol 360 MovieClip Frame 36
play();
Symbol 360 MovieClip Frame 46
stop();
Symbol 360 MovieClip Frame 49
play();
Symbol 360 MovieClip Frame 59
stop();
Symbol 360 MovieClip Frame 63
play();
Symbol 360 MovieClip Frame 73
stop();
Symbol 360 MovieClip Frame 77
play();
Symbol 360 MovieClip Frame 87
stop();
Symbol 360 MovieClip Frame 93
play();
Symbol 360 MovieClip Frame 102
stop();
Instance of Symbol 360 MovieClip "BouleSechoir" in Symbol 361 MovieClip Frame 1
onClipEvent (enterFrame) { if (Key.isDown(37)) { this._rotation = this._rotation + 3; if (_root.Sechoir._rotation <= -161) { this._rotation = 161; } } if (Key.isDown(39)) { this._rotation = this._rotation - 3; if (_root.Sechoir._rotation >= -21) { this._rotation = 21; } } }
Symbol 381 Button
on (release) { play(); }
Symbol 391 MovieClip Frame 1
this.removeMovieClip();
Symbol 393 MovieClip Frame 1
this.removeMovieClip();
Symbol 395 MovieClip Frame 1
this.removeMovieClip();
Symbol 397 MovieClip Frame 1
this.removeMovieClip();
Symbol 399 MovieClip Frame 1
this.removeMovieClip();
Symbol 401 MovieClip Frame 1
this.removeMovieClip();
Symbol 402 MovieClip Frame 1
this.removeMovieClip();
Symbol 405 MovieClip Frame 8
stop();
Symbol 405 MovieClip Frame 15
stop();
Symbol 405 MovieClip Frame 16
stop();
Symbol 405 MovieClip Frame 22
stop();
Symbol 405 MovieClip Frame 23
stop();
Symbol 405 MovieClip Frame 27
stop();
Symbol 405 MovieClip Frame 28
stop();
Symbol 405 MovieClip Frame 36
stop();
Symbol 405 MovieClip Frame 37
stop();
Symbol 405 MovieClip Frame 44
stop();
Symbol 405 MovieClip Frame 45
stop();
Symbol 405 MovieClip Frame 51
stop();
Symbol 405 MovieClip Frame 52
stop();
Symbol 405 MovieClip Frame 59
stop();
Symbol 420 Button
on (release) { tellTarget ("QuitPage") { gotoAndStop (2); }; }
Symbol 421 Button
on (release) { tellTarget ("Instructions") { gotoAndStop (2); }; }
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 6
gotoAndStop (1);
Symbol 430 MovieClip Frame 12
gotoAndStop (1);
Symbol 430 MovieClip Frame 22
gotoAndStop (1);
Symbol 430 MovieClip Frame 31
gotoAndStop (1);
Symbol 430 MovieClip Frame 40
gotoAndStop (1);
Symbol 430 MovieClip Frame 49
gotoAndStop (1);
Symbol 430 MovieClip Frame 57
gotoAndStop (1);
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 4
gotoAndStop (1);
Symbol 480 Button
on (release) { gotoAndStop (1); }
Symbol 481 MovieClip Frame 1
stop(); hauteurMatrice = 10; largeurMatrice = 8; _root.GameStopped = false; j = 0; while (j < hauteurMatrice) { if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = true; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = true; i++; } } j++; }
Symbol 481 MovieClip Frame 2
stop(); hauteurMatrice = 10; largeurMatrice = 8; _root.GameStopped = true; _root.GameStopped = false; j = 0; while (j < hauteurMatrice) { matrice[j] = new Array(largeurMatrice); if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = false; i++; } } j++; }
Symbol 494 Button
on (press) { gotoAndStop (1); _root.fsdLaunchScoresDisplay(); }
Symbol 501 Button
on (release) { gotoAndStop (1); }
Symbol 502 MovieClip Frame 1
stop(); _root.GameStopped = false; hauteurMatrice = 10; largeurMatrice = 8; _root.GameStopped = false; j = 0; while (j < hauteurMatrice) { if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = true; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = true; i++; } } j++; }
Symbol 502 MovieClip Frame 2
_root.GameStopped = true; hauteurMatrice = 10; largeurMatrice = 8; j = 0; while (j < hauteurMatrice) { if ((j % 2) == 0) { i = 0; while (i < largeurMatrice) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = false; i++; } } else { i = 0; while (i < (largeurMatrice - 1)) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); TamponTotal._visible = false; i++; } } j++; }
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
_root.Sechoir.STOPSECHOIRFINJEU = true; _root.Sechoir.BouleSechoir._visible = false; play();
Symbol 506 MovieClip Frame 45
stop(); j = 0; while (j < 10) { if ((j % 2) == 0) { i = 0; while (i < 8) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } else { i = 0; while (i < 7) { tampon = j; tampon = (tampon + "a") + i; tampon = "Boulea" + tampon; TamponTotal = eval ("_root." + tampon); removeMovieClip(TamponTotal); i++; } } j++; } _root.gotoAndStop("GameOver");
Symbol 518 Button
on (release) { gotoAndPlay ("Level2"); }
Symbol 530 Button
on (release) { gotoAndPlay ("Level3"); }
Symbol 542 Button
on (release) { gotoAndPlay ("Level4"); }
Symbol 551 Button
on (release) { gotoAndPlay ("Level5"); }
Symbol 563 Button
on (release) { gotoAndPlay ("Level6"); }
Symbol 606 Button
on (release) { gotoAndPlay ("Level7"); }
Symbol 618 Button
on (release) { gotoAndPlay ("Finale"); }
Symbol 683 Button
on (release) { fsdPlayAgain(); }
Symbol 684 Button
on (press) { fsdLaunchScoresDisplay(); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 GraphicUsed by:10 357 481  Timeline
Symbol 4 GraphicUsed by:10 215 481  Timeline
Symbol 5 GraphicUsed by:10 358 481  Timeline
Symbol 6 GraphicUsed by:10 216 481  Timeline
Symbol 7 GraphicUsed by:10 214 481  Timeline
Symbol 8 GraphicUsed by:10 355 481  Timeline
Symbol 9 GraphicUsed by:10 359 402 481  Timeline
Symbol 10 MovieClipUses:3 4 5 6 7 8 9Used by:Timeline
Symbol 11 GraphicUsed by:16
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:11 12 14 15Used by:Timeline
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:Timeline
Symbol 19 FontUsed by:20 22 24 26 28 30 32 280 281 301 329 330 331 332 333 334 335 336 337 338 339 340 373 377 388 484 485 489 496 503 508 509 510 511 513 522 526 527 528 529 534 538 539 540 541 543 547 548 549 550 555 559 560 561 562 567 602 603 604 605 610 614 615 616 617 674 675 678 727 738 739 740
Symbol 20 TextUses:19Used by:21
Symbol 21 MovieClipUses:20Used by:34
Symbol 22 TextUses:19Used by:23
Symbol 23 MovieClipUses:22Used by:34
Symbol 24 TextUses:19Used by:25
Symbol 25 MovieClipUses:24Used by:34
Symbol 26 TextUses:19Used by:27
Symbol 27 MovieClipUses:26Used by:34
Symbol 28 TextUses:19Used by:29
Symbol 29 MovieClipUses:28Used by:34
Symbol 30 TextUses:19Used by:31
Symbol 31 MovieClipUses:30Used by:34
Symbol 32 TextUses:19Used by:33
Symbol 33 MovieClipUses:32Used by:34
Symbol 34 MovieClipUses:21 23 25 27 29 31 33Used by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:72
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:72
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:72
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:72
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:72
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:72
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:72
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:72
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:72
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:72
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:72
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:72
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:72
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:72
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:72
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:72
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:72
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:72
Symbol 72 MovieClipUses:37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71Used by:Timeline
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:Timeline
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:97 600
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:97 600
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:97 600
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:97 600
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:97 600
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:97 600
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:97 600
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:97 600
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:97 600
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:97 600
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:97 600
Symbol 97 MovieClipUses:76 78 80 82 84 86 88 90 92 94 96Used by:Timeline
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:101
Symbol 101 MovieClipUses:98 100Used by:111 133
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:108 133
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:108
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClipUses:103 105 107Used by:133
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:111
Symbol 111 MovieClipUses:101 110Used by:133
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:133
Symbol 114 GraphicUsed by:115 118
Symbol 115 MovieClipUses:114Used by:133
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:133
Symbol 118 MovieClipUses:114Used by:133
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:133
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:127
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:127 478
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:127
Symbol 127 MovieClipUses:122 124 126Used by:133
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:133
Symbol 130 GraphicUsed by:131 706
Symbol 131 MovieClipUses:130Used by:132
Symbol 132 MovieClipUses:131Used by:133
Symbol 133 MovieClipUses:101 108 111 113 103 115 117 118 120 127 129 132Used by:Timeline
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:163
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:163
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:163
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:163
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:163
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:163
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:163
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:163
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:163
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:156
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:156
Symbol 156 MovieClipUses:153 155Used by:163
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:163
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:163
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:163
Symbol 163 MovieClipUses:135 137 139 141 143 145 147 149 151 156 158 160 162Used by:Timeline
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:Timeline
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:206
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:168Used by:206
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:206
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:206
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:206
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:206
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:206
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:206
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:206
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:184Used by:206
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186Used by:206
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:188Used by:206
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:206
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:206
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:206
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:196Used by:206
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClipUses:198Used by:206
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:206
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:202Used by:206
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:204Used by:206
Symbol 206 MovieClipUses:167 169 171 173 175 177 179 181 183 185 187 189 191 193 195 197 199 201 203 205Used by:Timeline
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:Timeline
Symbol 209 GraphicUsed by:Timeline
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:214 215 216 354 357 358 359 393 395 397 399 401 402
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:214 215 216 354 357 358 359 393 395 397 399 401 402
Symbol 214 MovieClipUses:7 211 213Used by:360 405  Timeline
Symbol 215 MovieClipUses:4 211 213Used by:360 405  Timeline
Symbol 216 MovieClipUses:6 211 213Used by:360 405  Timeline
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217Used by:Timeline
Symbol 219 GraphicUsed by:Timeline
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:220Used by:265
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:265
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:265
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:226Used by:248
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:248
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:248
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:248
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:248
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:248
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:248
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:248
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:248
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:248
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:246Used by:248
Symbol 248 MovieClipUses:227 229 231 233 235 237 239 241 243 245 247Used by:265
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:265
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:265
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:253Used by:265
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:265
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClipUses:257Used by:265
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:265
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:265
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:263Used by:265
Symbol 265 MovieClipUses:221 223 225 248 250 252 254 256 258 260 262 264Used by:481  Timeline
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:Timeline
Symbol 268 FontUsed by:269 302 303 325 326 366 370 676
Symbol 269 TextUses:268Used by:270
Symbol 270 MovieClipUses:269Used by:279
Symbol 271 GraphicUsed by:272 277
Symbol 272 MovieClipUses:271Used by:279
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:273Used by:279 375 381 480
Symbol 275 GraphicUsed by:277
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:271 275 276Used by:279
Symbol 278 GraphicUsed by:279 382 383 384
Symbol 279 ButtonUses:270 272 274 277 278Used by:Timeline
Symbol 280 TextUses:19Used by:Timeline
Symbol 281 TextUses:19Used by:Timeline
Symbol 282 GraphicUsed by:283
Symbol 283 ButtonUses:282Used by:481 502  Timeline
Symbol 284 BitmapUsed by:285
Symbol 285 GraphicUses:284Used by:286
Symbol 286 MovieClipUses:285Used by:481  Timeline
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:287Used by:481  Timeline
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289Used by:481  Timeline
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:481  Timeline
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:481  Timeline
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:481  Timeline
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297Used by:304 481  Timeline
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:299Used by:304 481  Timeline
Symbol 301 EditableTextUses:19Used by:304
Symbol 302 TextUses:268Used by:304 481  Timeline
Symbol 303 TextUses:268Used by:304 481  Timeline
Symbol 304 MovieClipUses:298 300 301 302 303Used by:481  Timeline
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:305Used by:327
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307Used by:324
Symbol 309 GraphicUsed by:321
Symbol 310 GraphicUsed by:321
Symbol 311 SoundUsed by:321
Symbol 312 GraphicUsed by:321
Symbol 313 GraphicUsed by:321
Symbol 314 GraphicUsed by:321
Symbol 315 GraphicUsed by:321
Symbol 316 GraphicUsed by:321
Symbol 317 GraphicUsed by:321
Symbol 318 GraphicUsed by:321
Symbol 319 GraphicUsed by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:309 310 311 312 313 314 315 316 317 318 319 320Used by:324
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:324
Symbol 324 MovieClipUses:308 321 323Used by:327
Symbol 325 TextUses:268Used by:327
Symbol 326 TextUses:268Used by:327
Symbol 327 MovieClipUses:306 324 325 326Used by:481  Timeline
Symbol 328 GraphicUsed by:481  Timeline
Symbol 329 TextUses:19Used by:481  Timeline
Symbol 330 TextUses:19Used by:481  Timeline
Symbol 331 TextUses:19Used by:481  Timeline
Symbol 332 TextUses:19Used by:481  Timeline
Symbol 333 TextUses:19Used by:481  Timeline
Symbol 334 TextUses:19Used by:481  Timeline
Symbol 335 TextUses:19Used by:481  Timeline
Symbol 336 TextUses:19Used by:481  Timeline
Symbol 337 TextUses:19Used by:481  Timeline
Symbol 338 TextUses:19Used by:481  Timeline
Symbol 339 TextUses:19Used by:481  Timeline
Symbol 340 TextUses:19Used by:481  Timeline
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:341Used by:481  Timeline
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:343Used by:351
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:351
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:351
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:351
Symbol 351 MovieClipUses:344 346 348 350Used by:481  Timeline
Symbol 352 GraphicUsed by:361
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353 211 213Used by:355 391
Symbol 355 MovieClipUses:8 354Used by:360 405  Timeline
Symbol 356 SoundUsed by:360
Symbol 357 MovieClipUses:3 211 213Used by:360 405  Timeline
Symbol 358 MovieClipUses:5 211 213Used by:360 405  Timeline
Symbol 359 MovieClipUses:9 211 213Used by:360 405  Timeline
Symbol 360 MovieClipUses:355 356 214 215 357 216 358 359Used by:361
Symbol 361 MovieClipUses:352 360Used by:481  Timeline
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:362Used by:420 421 481  Timeline
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:364Used by:420 421 481  Timeline
Symbol 366 TextUses:268Used by:367
Symbol 367 MovieClipUses:366Used by:421 481  Timeline
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:420 421 481  Timeline
Symbol 370 TextUses:268Used by:371
Symbol 371 MovieClipUses:370Used by:420 481  Timeline
Symbol 372 GraphicUsed by:381 480
Symbol 373 TextUses:19Used by:374
Symbol 374 MovieClipUses:373Used by:381 480
Symbol 375 MovieClipUses:274Used by:381 480
Symbol 376 GraphicUsed by:381 480
Symbol 377 TextUses:19Used by:378 381 480
Symbol 378 MovieClipUses:377Used by:381 480
Symbol 379 GraphicUsed by:381 480
Symbol 380 GraphicUsed by:381 480
Symbol 381 ButtonUses:372 374 375 376 378 274 379 377 380Used by:Timeline
Symbol 382 MovieClipUses:278Used by:Timeline
Symbol 383 MovieClipUses:278Used by:Timeline
Symbol 384 MovieClipUses:278Used by:Timeline
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:387
Symbol 387 MovieClipUses:386Used by:Timeline
Symbol 388 TextUses:19Used by:Timeline
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClipUses:389Used by:Timeline
Symbol 391 MovieClipUses:354Used by:Timeline
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClipUses:392 211 213Used by:Timeline
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394 211 213Used by:Timeline
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396 211 213Used by:Timeline
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398 211 213Used by:Timeline
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:400 211 213Used by:Timeline
Symbol 402 MovieClipUses:9 211 213Used by:Timeline
Symbol 403 GraphicUsed by:404
Symbol 404 MovieClipUses:403Used by:405
Symbol 405 MovieClipUses:404 355 214 215 357 216 358 359Used by:Timeline
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:406Used by:Timeline
Symbol 408 GraphicUsed by:412
Symbol 409 FontUsed by:410 411 414 415 422 431
Symbol 410 EditableTextUses:409Used by:412
Symbol 411 EditableTextUses:409Used by:412
Symbol 412 MovieClipUses:408 410 411Used by:Timeline
Symbol 413 GraphicUsed by:416
Symbol 414 EditableTextUses:409Used by:416
Symbol 415 EditableTextUses:409Used by:416
Symbol 416 MovieClipUses:413 414 415Used by:Timeline
Symbol 417 GraphicUsed by:418
Symbol 418 MovieClipUses:417Used by:420 421
Symbol 419 GraphicUsed by:420 421
Symbol 420 ButtonUses:363 365 371 369 418 419Used by:Timeline
Symbol 421 ButtonUses:363 365 367 369 418 419Used by:Timeline
Symbol 422 TextUses:409Used by:430
Symbol 423 SoundUsed by:430
Symbol 424 SoundUsed by:430
Symbol 425 SoundUsed by:430
Symbol 426 SoundUsed by:430
Symbol 427 SoundUsed by:430
Symbol 428 SoundUsed by:430
Symbol 429 SoundUsed by:430
Symbol 430 MovieClipUses:422 423 424 425 426 427 428 429Used by:Timeline
Symbol 431 TextUses:409Used by:433
Symbol 432 SoundUsed by:433
Symbol 433 MovieClipUses:431 432Used by:Timeline
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClipUses:434Used by:478
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:478
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:438Used by:478
Symbol 440 GraphicUsed by:441
Symbol 441 MovieClipUses:440Used by:478
Symbol 442 GraphicUsed by:443
Symbol 443 MovieClipUses:442Used by:478
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:444Used by:478
Symbol 446 GraphicUsed by:447
Symbol 447 MovieClipUses:446Used by:478
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:448Used by:478
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClipUses:450Used by:478
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452Used by:478
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:478
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:478
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:458Used by:478
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:478
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:462Used by:478
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClipUses:464Used by:478
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:466Used by:478
Symbol 468 GraphicUsed by:469
Symbol 469 MovieClipUses:468Used by:478
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:470Used by:478
Symbol 472 GraphicUsed by:473
Symbol 473 MovieClipUses:472Used by:478
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:474Used by:478
Symbol 476 GraphicUsed by:477
Symbol 477 MovieClipUses:476Used by:478
Symbol 478 MovieClipUses:435 437 439 441 443 445 447 449 451 453 455 457 459 461 463 124 465 467 469 471 473 475 477Used by:Timeline
Symbol 479 GraphicUsed by:Timeline
Symbol 480 ButtonUses:372 374 375 376 378 274 379 377 380Used by:481
Symbol 481 MovieClipUses:283 286 288 290 292 8 7 4 3 6 5 9 294 296 304 327 265 328 329 330 331 332 333 334 335 336 337 338 339 340 342 298 300 302 303 351 361 363 365 367 369 371 480Used by:Timeline
Symbol 482 GraphicUsed by:483
Symbol 483 MovieClipUses:482Used by:502  Timeline
Symbol 484 TextUses:19Used by:502
Symbol 485 TextUses:19Used by:502
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:502  Timeline
Symbol 488 GraphicUsed by:494 684
Symbol 489 TextUses:19Used by:490
Symbol 490 MovieClipUses:489Used by:494 684
Symbol 491 GraphicUsed by:494 684
Symbol 492 GraphicUsed by:494 684
Symbol 493 GraphicUsed by:494 684
Symbol 494 ButtonUses:488 490 491 492 493Used by:502
Symbol 495 GraphicUsed by:501
Symbol 496 TextUses:19Used by:497
Symbol 497 MovieClipUses:496Used by:501
Symbol 498 GraphicUsed by:501
Symbol 499 GraphicUsed by:501
Symbol 500 GraphicUsed by:501
Symbol 501 ButtonUses:495 497 498 499 500Used by:502
Symbol 502 MovieClipUses:283 483 484 485 487 494 501Used by:Timeline
Symbol 503 TextUses:19Used by:504
Symbol 504 MovieClipUses:503Used by:506
Symbol 505 SoundUsed by:506
Symbol 506 MovieClipUses:504 505Used by:Timeline
Symbol 507 FontUsed by:674 675 676 738 739
Symbol 508 TextUses:19Used by:Timeline
Symbol 509 TextUses:19Used by:Timeline
Symbol 510 EditableTextUses:19Used by:Timeline
Symbol 511 EditableTextUses:19Used by:Timeline
Symbol 512 GraphicUsed by:518 530 542 551 563 606 618
Symbol 513 TextUses:19Used by:514
Symbol 514 MovieClipUses:513Used by:518 530 542 551 563 606 618
Symbol 515 GraphicUsed by:518 530 542 551 563 606 618
Symbol 516 GraphicUsed by:518 530 542 551 563 606 618
Symbol 517 GraphicUsed by:518 530 542 551 563 606 618
Symbol 518 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:521
Symbol 521 MovieClipUses:520Used by:Timeline
Symbol 522 TextUses:19Used by:Timeline
Symbol 523 GraphicUsed by:524
Symbol 524 MovieClipUses:523Used by:Timeline
Symbol 525 GraphicUsed by:Timeline
Symbol 526 TextUses:19Used by:Timeline
Symbol 527 TextUses:19Used by:Timeline
Symbol 528 EditableTextUses:19Used by:Timeline
Symbol 529 EditableTextUses:19Used by:Timeline
Symbol 530 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 531 BitmapUsed by:532
Symbol 532 GraphicUses:531Used by:533
Symbol 533 MovieClipUses:532Used by:Timeline
Symbol 534 TextUses:19Used by:Timeline
Symbol 535 GraphicUsed by:536
Symbol 536 MovieClipUses:535Used by:Timeline
Symbol 537 GraphicUsed by:Timeline
Symbol 538 TextUses:19Used by:Timeline
Symbol 539 TextUses:19Used by:Timeline
Symbol 540 EditableTextUses:19Used by:Timeline
Symbol 541 EditableTextUses:19Used by:Timeline
Symbol 542 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 543 TextUses:19Used by:Timeline
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:544Used by:Timeline
Symbol 546 GraphicUsed by:Timeline
Symbol 547 TextUses:19Used by:Timeline
Symbol 548 TextUses:19Used by:Timeline
Symbol 549 EditableTextUses:19Used by:Timeline
Symbol 550 EditableTextUses:19Used by:Timeline
Symbol 551 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:554
Symbol 554 MovieClipUses:553Used by:Timeline
Symbol 555 TextUses:19Used by:Timeline
Symbol 556 GraphicUsed by:557
Symbol 557 MovieClipUses:556Used by:Timeline
Symbol 558 GraphicUsed by:Timeline
Symbol 559 TextUses:19Used by:Timeline
Symbol 560 TextUses:19Used by:Timeline
Symbol 561 EditableTextUses:19Used by:Timeline
Symbol 562 EditableTextUses:19Used by:Timeline
Symbol 563 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 564 BitmapUsed by:565
Symbol 565 GraphicUses:564Used by:566
Symbol 566 MovieClipUses:565Used by:Timeline
Symbol 567 TextUses:19Used by:Timeline
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:600
Symbol 570 GraphicUsed by:571
Symbol 571 MovieClipUses:570Used by:600
Symbol 572 GraphicUsed by:573
Symbol 573 MovieClipUses:572Used by:600
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClipUses:574Used by:600
Symbol 576 GraphicUsed by:577
Symbol 577 MovieClipUses:576Used by:600
Symbol 578 GraphicUsed by:579
Symbol 579 MovieClipUses:578Used by:600
Symbol 580 GraphicUsed by:581
Symbol 581 MovieClipUses:580Used by:600
Symbol 582 GraphicUsed by:583
Symbol 583 MovieClipUses:582Used by:600
Symbol 584 GraphicUsed by:585
Symbol 585 MovieClipUses:584Used by:600
Symbol 586 GraphicUsed by:587
Symbol 587 MovieClipUses:586Used by:600
Symbol 588 GraphicUsed by:589
Symbol 589 MovieClipUses:588Used by:600
Symbol 590 GraphicUsed by:591
Symbol 591 MovieClipUses:590Used by:600
Symbol 592 GraphicUsed by:593
Symbol 593 MovieClipUses:592Used by:600
Symbol 594 GraphicUsed by:595
Symbol 595 MovieClipUses:594Used by:600
Symbol 596 GraphicUsed by:597
Symbol 597 MovieClipUses:596Used by:600
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:600
Symbol 600 MovieClipUses:76 78 80 82 569 571 573 84 86 575 88 577 579 581 583 585 587 589 591 593 90 595 597 92 94 96 599Used by:Timeline
Symbol 601 GraphicUsed by:Timeline
Symbol 602 TextUses:19Used by:Timeline
Symbol 603 TextUses:19Used by:Timeline
Symbol 604 EditableTextUses:19Used by:Timeline
Symbol 605 EditableTextUses:19Used by:Timeline
Symbol 606 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:609
Symbol 609 MovieClipUses:608Used by:Timeline
Symbol 610 TextUses:19Used by:Timeline
Symbol 611 GraphicUsed by:612
Symbol 612 MovieClipUses:611Used by:Timeline
Symbol 613 GraphicUsed by:Timeline
Symbol 614 TextUses:19Used by:Timeline
Symbol 615 TextUses:19Used by:Timeline
Symbol 616 EditableTextUses:19Used by:Timeline
Symbol 617 EditableTextUses:19Used by:Timeline
Symbol 618 ButtonUses:512 514 515 516 517Used by:Timeline
Symbol 619 GraphicUsed by:Timeline
Symbol 620 GraphicUsed by:621
Symbol 621 MovieClipUses:620Used by:Timeline
Symbol 622 GraphicUsed by:623
Symbol 623 MovieClipUses:622Used by:Timeline
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:624Used by:Timeline
Symbol 626 GraphicUsed by:627
Symbol 627 MovieClipUses:626Used by:Timeline
Symbol 628 GraphicUsed by:629
Symbol 629 MovieClipUses:628Used by:Timeline
Symbol 630 GraphicUsed by:631
Symbol 631 MovieClipUses:630Used by:Timeline
Symbol 632 GraphicUsed by:633
Symbol 633 MovieClipUses:632Used by:Timeline
Symbol 634 GraphicUsed by:635
Symbol 635 MovieClipUses:634Used by:Timeline
Symbol 636 GraphicUsed by:637
Symbol 637 MovieClipUses:636Used by:Timeline
Symbol 638 GraphicUsed by:639
Symbol 639 MovieClipUses:638Used by:Timeline
Symbol 640 GraphicUsed by:641
Symbol 641 MovieClipUses:640Used by:Timeline
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClipUses:642Used by:Timeline
Symbol 644 GraphicUsed by:645
Symbol 645 MovieClipUses:644Used by:Timeline
Symbol 646 GraphicUsed by:647
Symbol 647 MovieClipUses:646Used by:Timeline
Symbol 648 GraphicUsed by:649
Symbol 649 MovieClipUses:648Used by:Timeline
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:650Used by:Timeline
Symbol 652 GraphicUsed by:653
Symbol 653 MovieClipUses:652Used by:Timeline
Symbol 654 GraphicUsed by:655
Symbol 655 MovieClipUses:654Used by:Timeline
Symbol 656 GraphicUsed by:657
Symbol 657 MovieClipUses:656Used by:Timeline
Symbol 658 GraphicUsed by:659
Symbol 659 MovieClipUses:658Used by:Timeline
Symbol 660 GraphicUsed by:661
Symbol 661 MovieClipUses:660Used by:Timeline
Symbol 662 GraphicUsed by:663
Symbol 663 MovieClipUses:662Used by:Timeline
Symbol 664 GraphicUsed by:665
Symbol 665 MovieClipUses:664Used by:Timeline
Symbol 666 GraphicUsed by:667
Symbol 667 MovieClipUses:666Used by:Timeline
Symbol 668 GraphicUsed by:669
Symbol 669 MovieClipUses:668Used by:Timeline
Symbol 670 GraphicUsed by:671
Symbol 671 MovieClipUses:670Used by:Timeline
Symbol 672 GraphicUsed by:673
Symbol 673 MovieClipUses:672Used by:Timeline
Symbol 674 TextUses:19 507Used by:Timeline
Symbol 675 TextUses:19 507Used by:Timeline
Symbol 676 TextUses:268 507Used by:Timeline
Symbol 677 GraphicUsed by:683
Symbol 678 TextUses:19Used by:679
Symbol 679 MovieClipUses:678Used by:683
Symbol 680 GraphicUsed by:683
Symbol 681 GraphicUsed by:683
Symbol 682 GraphicUsed by:683
Symbol 683 ButtonUses:677 679 680 681 682Used by:Timeline
Symbol 684 ButtonUses:488 490 491 492 493Used by:Timeline
Symbol 685 GraphicUsed by:Timeline
Symbol 686 GraphicUsed by:687
Symbol 687 MovieClipUses:686Used by:Timeline
Symbol 688 GraphicUsed by:689
Symbol 689 MovieClipUses:688Used by:Timeline
Symbol 690 GraphicUsed by:691
Symbol 691 MovieClipUses:690Used by:Timeline
Symbol 692 GraphicUsed by:693
Symbol 693 MovieClipUses:692Used by:Timeline
Symbol 694 GraphicUsed by:695
Symbol 695 MovieClipUses:694Used by:Timeline
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClipUses:696Used by:Timeline
Symbol 698 GraphicUsed by:699
Symbol 699 MovieClipUses:698Used by:Timeline
Symbol 700 GraphicUsed by:701
Symbol 701 MovieClipUses:700Used by:Timeline
Symbol 702 GraphicUsed by:703
Symbol 703 MovieClipUses:702Used by:Timeline
Symbol 704 GraphicUsed by:705
Symbol 705 MovieClipUses:704Used by:Timeline
Symbol 706 MovieClipUses:130Used by:Timeline
Symbol 707 GraphicUsed by:708
Symbol 708 MovieClipUses:707Used by:Timeline
Symbol 709 GraphicUsed by:710
Symbol 710 MovieClipUses:709Used by:Timeline
Symbol 711 GraphicUsed by:712
Symbol 712 MovieClipUses:711Used by:Timeline
Symbol 713 GraphicUsed by:714
Symbol 714 MovieClipUses:713Used by:Timeline
Symbol 715 GraphicUsed by:716
Symbol 716 MovieClipUses:715Used by:Timeline
Symbol 717 GraphicUsed by:718
Symbol 718 MovieClipUses:717Used by:Timeline
Symbol 719 GraphicUsed by:720
Symbol 720 MovieClipUses:719Used by:Timeline
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:721Used by:Timeline
Symbol 723 GraphicUsed by:724
Symbol 724 MovieClipUses:723Used by:Timeline
Symbol 725 GraphicUsed by:726
Symbol 726 MovieClipUses:725Used by:Timeline
Symbol 727 EditableTextUses:19Used by:Timeline
Symbol 728 GraphicUsed by:Timeline
Symbol 729 GraphicUsed by:730
Symbol 730 MovieClipUses:729Used by:Timeline
Symbol 731 GraphicUsed by:732
Symbol 732 MovieClipUses:731Used by:Timeline
Symbol 733 GraphicUsed by:734
Symbol 734 MovieClipUses:733Used by:Timeline
Symbol 735 GraphicUsed by:736
Symbol 736 MovieClipUses:735Used by:Timeline
Symbol 737 GraphicUsed by:Timeline
Symbol 738 TextUses:19 507Used by:Timeline
Symbol 739 TextUses:19 507Used by:Timeline
Symbol 740 EditableTextUses:19Used by:Timeline
Symbol 741 GraphicUsed by:742
Symbol 742 MovieClipUses:741Used by:Timeline
Symbol 743 MovieClipUsed by:Timeline

Instance Names

"Hita0a1"Frame 19Symbol 382 MovieClip
"Hita0a2"Frame 19Symbol 382 MovieClip
"Hita0a3"Frame 19Symbol 382 MovieClip
"Hita0a4"Frame 19Symbol 382 MovieClip
"Hita0a5"Frame 19Symbol 382 MovieClip
"Hita0a6"Frame 19Symbol 382 MovieClip
"Hita0a7"Frame 19Symbol 382 MovieClip
"Hita0a0"Frame 19Symbol 382 MovieClip
"Hita1a5"Frame 19Symbol 382 MovieClip
"Hita1a1"Frame 19Symbol 382 MovieClip
"Hita1a2"Frame 19Symbol 382 MovieClip
"Hita1a4"Frame 19Symbol 382 MovieClip
"Hita1a3"Frame 19Symbol 382 MovieClip
"Hita1a0"Frame 19Symbol 383 MovieClip
"Hita1a6"Frame 19Symbol 384 MovieClip
"Hita2a1"Frame 19Symbol 382 MovieClip
"Hita2a2"Frame 19Symbol 382 MovieClip
"Hita2a3"Frame 19Symbol 382 MovieClip
"Hita2a4"Frame 19Symbol 382 MovieClip
"Hita2a5"Frame 19Symbol 382 MovieClip
"Hita2a6"Frame 19Symbol 382 MovieClip
"Hita2a7"Frame 19Symbol 382 MovieClip
"Hita2a0"Frame 19Symbol 382 MovieClip
"Hita3a5"Frame 19Symbol 382 MovieClip
"Hita3a1"Frame 19Symbol 382 MovieClip
"Hita3a2"Frame 19Symbol 382 MovieClip
"Hita3a4"Frame 19Symbol 382 MovieClip
"Hita3a3"Frame 19Symbol 382 MovieClip
"Hita3a0"Frame 19Symbol 383 MovieClip
"Hita3a6"Frame 19Symbol 384 MovieClip
"Hita4a1"Frame 19Symbol 382 MovieClip
"Hita4a2"Frame 19Symbol 382 MovieClip
"Hita4a3"Frame 19Symbol 382 MovieClip
"Hita4a4"Frame 19Symbol 382 MovieClip
"Hita4a5"Frame 19Symbol 382 MovieClip
"Hita4a6"Frame 19Symbol 382 MovieClip
"Hita4a7"Frame 19Symbol 382 MovieClip
"Hita4a0"Frame 19Symbol 382 MovieClip
"Hita5a5"Frame 19Symbol 382 MovieClip
"Hita5a1"Frame 19Symbol 382 MovieClip
"Hita5a2"Frame 19Symbol 382 MovieClip
"Hita5a4"Frame 19Symbol 382 MovieClip
"Hita5a3"Frame 19Symbol 382 MovieClip
"Hita5a0"Frame 19Symbol 383 MovieClip
"Hita5a6"Frame 19Symbol 384 MovieClip
"Hita6a1"Frame 19Symbol 382 MovieClip
"Hita6a2"Frame 19Symbol 382 MovieClip
"Hita6a3"Frame 19Symbol 382 MovieClip
"Hita6a4"Frame 19Symbol 382 MovieClip
"Hita6a5"Frame 19Symbol 382 MovieClip
"Hita6a6"Frame 19Symbol 382 MovieClip
"Hita6a7"Frame 19Symbol 382 MovieClip
"Hita6a0"Frame 19Symbol 382 MovieClip
"Hita7a5"Frame 19Symbol 382 MovieClip
"Hita7a1"Frame 19Symbol 382 MovieClip
"Hita7a2"Frame 19Symbol 382 MovieClip
"Hita7a4"Frame 19Symbol 382 MovieClip
"Hita7a3"Frame 19Symbol 382 MovieClip
"Hita7a0"Frame 19Symbol 383 MovieClip
"Hita7a6"Frame 19Symbol 384 MovieClip
"Hita8a1"Frame 19Symbol 382 MovieClip
"Hita8a2"Frame 19Symbol 382 MovieClip
"Hita8a3"Frame 19Symbol 382 MovieClip
"Hita8a4"Frame 19Symbol 382 MovieClip
"Hita8a5"Frame 19Symbol 382 MovieClip
"Hita8a6"Frame 19Symbol 382 MovieClip
"Hita8a7"Frame 19Symbol 382 MovieClip
"Hita8a0"Frame 19Symbol 382 MovieClip
"Hita9a5"Frame 19Symbol 382 MovieClip
"Hita9a1"Frame 19Symbol 382 MovieClip
"Hita9a2"Frame 19Symbol 382 MovieClip
"Hita9a4"Frame 19Symbol 382 MovieClip
"Hita9a3"Frame 19Symbol 382 MovieClip
"Hita9a0"Frame 19Symbol 383 MovieClip
"Hita9a6"Frame 19Symbol 384 MovieClip
"Boule1"Frame 19Symbol 355 MovieClip
"Boule2"Frame 19Symbol 214 MovieClip
"Boule3"Frame 19Symbol 215 MovieClip
"Boule4"Frame 19Symbol 357 MovieClip
"Boule5"Frame 19Symbol 216 MovieClip
"Boule6"Frame 19Symbol 358 MovieClip
"Boule7"Frame 19Symbol 359 MovieClip
"BouleBrise1"Frame 19Symbol 391 MovieClip
"BouleBrise2"Frame 19Symbol 393 MovieClip
"BouleBrise3"Frame 19Symbol 395 MovieClip
"BouleBrise4"Frame 19Symbol 397 MovieClip
"BouleBrise5"Frame 19Symbol 399 MovieClip
"BouleBrise6"Frame 19Symbol 401 MovieClip
"BouleBrise7"Frame 19Symbol 402 MovieClip
"shot"Frame 19Symbol 405 MovieClip
"Plafond"Frame 19Symbol 407 MovieClip
"Sechoir"Frame 19Symbol 361 MovieClip
"Screen"Frame 19Symbol 327 MovieClip
"Variables"Frame 19Symbol 412 MovieClip
"VillainViewer"Frame 19Symbol 405 MovieClip
"Messages"Frame 19Symbol 416 MovieClip
"Sound"Frame 19Symbol 430 MovieClip
"BSound"Frame 19Symbol 433 MovieClip
"instructions"Frame 19Symbol 481 MovieClip
"QuitPage"Frame 19Symbol 502 MovieClip
"AllerAGameOver"Frame 19Symbol 506 MovieClip
"Hita0a1"Frame 37Symbol 382 MovieClip
"Hita0a2"Frame 37Symbol 382 MovieClip
"Hita0a3"Frame 37Symbol 382 MovieClip
"Hita0a4"Frame 37Symbol 382 MovieClip
"Hita0a5"Frame 37Symbol 382 MovieClip
"Hita0a6"Frame 37Symbol 382 MovieClip
"Hita0a7"Frame 37Symbol 382 MovieClip
"Hita0a0"Frame 37Symbol 382 MovieClip
"Hita1a5"Frame 37Symbol 382 MovieClip
"Hita1a1"Frame 37Symbol 382 MovieClip
"Hita1a2"Frame 37Symbol 382 MovieClip
"Hita1a4"Frame 37Symbol 382 MovieClip
"Hita1a3"Frame 37Symbol 382 MovieClip
"Hita1a0"Frame 37Symbol 383 MovieClip
"Hita1a6"Frame 37Symbol 384 MovieClip
"Hita2a1"Frame 37Symbol 382 MovieClip
"Hita2a2"Frame 37Symbol 382 MovieClip
"Hita2a3"Frame 37Symbol 382 MovieClip
"Hita2a4"Frame 37Symbol 382 MovieClip
"Hita2a5"Frame 37Symbol 382 MovieClip
"Hita2a6"Frame 37Symbol 382 MovieClip
"Hita2a7"Frame 37Symbol 382 MovieClip
"Hita2a0"Frame 37Symbol 382 MovieClip
"Hita3a5"Frame 37Symbol 382 MovieClip
"Hita3a1"Frame 37Symbol 382 MovieClip
"Hita3a2"Frame 37Symbol 382 MovieClip
"Hita3a4"Frame 37Symbol 382 MovieClip
"Hita3a3"Frame 37Symbol 382 MovieClip
"Hita3a0"Frame 37Symbol 383 MovieClip
"Hita3a6"Frame 37Symbol 384 MovieClip
"Hita4a1"Frame 37Symbol 382 MovieClip
"Hita4a2"Frame 37Symbol 382 MovieClip
"Hita4a3"Frame 37Symbol 382 MovieClip
"Hita4a4"Frame 37Symbol 382 MovieClip
"Hita4a5"Frame 37Symbol 382 MovieClip
"Hita4a6"Frame 37Symbol 382 MovieClip
"Hita4a7"Frame 37Symbol 382 MovieClip
"Hita4a0"Frame 37Symbol 382 MovieClip
"Hita5a5"Frame 37Symbol 382 MovieClip
"Hita5a1"Frame 37Symbol 382 MovieClip
"Hita5a2"Frame 37Symbol 382 MovieClip
"Hita5a4"Frame 37Symbol 382 MovieClip
"Hita5a3"Frame 37Symbol 382 MovieClip
"Hita5a0"Frame 37Symbol 383 MovieClip
"Hita5a6"Frame 37Symbol 384 MovieClip
"Hita6a1"Frame 37Symbol 382 MovieClip
"Hita6a2"Frame 37Symbol 382 MovieClip
"Hita6a3"Frame 37Symbol 382 MovieClip
"Hita6a4"Frame 37Symbol 382 MovieClip
"Hita6a5"Frame 37Symbol 382 MovieClip
"Hita6a6"Frame 37Symbol 382 MovieClip
"Hita6a7"Frame 37Symbol 382 MovieClip
"Hita6a0"Frame 37Symbol 382 MovieClip
"Hita7a5"Frame 37Symbol 382 MovieClip
"Hita7a1"Frame 37Symbol 382 MovieClip
"Hita7a2"Frame 37Symbol 382 MovieClip
"Hita7a4"Frame 37Symbol 382 MovieClip
"Hita7a3"Frame 37Symbol 382 MovieClip
"Hita7a0"Frame 37Symbol 383 MovieClip
"Hita7a6"Frame 37Symbol 384 MovieClip
"Hita8a1"Frame 37Symbol 382 MovieClip
"Hita8a2"Frame 37Symbol 382 MovieClip
"Hita8a3"Frame 37Symbol 382 MovieClip
"Hita8a4"Frame 37Symbol 382 MovieClip
"Hita8a5"Frame 37Symbol 382 MovieClip
"Hita8a6"Frame 37Symbol 382 MovieClip
"Hita8a7"Frame 37Symbol 382 MovieClip
"Hita8a0"Frame 37Symbol 382 MovieClip
"Hita9a5"Frame 37Symbol 382 MovieClip
"Hita9a1"Frame 37Symbol 382 MovieClip
"Hita9a2"Frame 37Symbol 382 MovieClip
"Hita9a4"Frame 37Symbol 382 MovieClip
"Hita9a3"Frame 37Symbol 382 MovieClip
"Hita9a0"Frame 37Symbol 383 MovieClip
"Hita9a6"Frame 37Symbol 384 MovieClip
"Boule1"Frame 37Symbol 355 MovieClip
"Boule2"Frame 37Symbol 214 MovieClip
"Boule3"Frame 37Symbol 215 MovieClip
"Boule4"Frame 37Symbol 357 MovieClip
"Boule5"Frame 37Symbol 216 MovieClip
"Boule6"Frame 37Symbol 358 MovieClip
"Boule7"Frame 37Symbol 359 MovieClip
"BouleBrise1"Frame 37Symbol 391 MovieClip
"BouleBrise2"Frame 37Symbol 393 MovieClip
"BouleBrise3"Frame 37Symbol 395 MovieClip
"BouleBrise4"Frame 37Symbol 397 MovieClip
"BouleBrise5"Frame 37Symbol 399 MovieClip
"BouleBrise6"Frame 37Symbol 401 MovieClip
"BouleBrise7"Frame 37Symbol 402 MovieClip
"shot"Frame 37Symbol 405 MovieClip
"Variables"Frame 37Symbol 412 MovieClip
"Messages"Frame 37Symbol 416 MovieClip
"Plafond"Frame 37Symbol 407 MovieClip
"Sound"Frame 37Symbol 430 MovieClip
"BSound"Frame 37Symbol 433 MovieClip
"Sechoir"Frame 37Symbol 361 MovieClip
"Hita0a1"Frame 56Symbol 382 MovieClip
"Hita0a2"Frame 56Symbol 382 MovieClip
"Hita0a3"Frame 56Symbol 382 MovieClip
"Hita0a4"Frame 56Symbol 382 MovieClip
"Hita0a5"Frame 56Symbol 382 MovieClip
"Hita0a6"Frame 56Symbol 382 MovieClip
"Hita0a7"Frame 56Symbol 382 MovieClip
"Hita0a0"Frame 56Symbol 382 MovieClip
"Hita1a5"Frame 56Symbol 382 MovieClip
"Hita1a1"Frame 56Symbol 382 MovieClip
"Hita1a2"Frame 56Symbol 382 MovieClip
"Hita1a4"Frame 56Symbol 382 MovieClip
"Hita1a3"Frame 56Symbol 382 MovieClip
"Hita1a0"Frame 56Symbol 383 MovieClip
"Hita1a6"Frame 56Symbol 384 MovieClip
"Hita2a1"Frame 56Symbol 382 MovieClip
"Hita2a2"Frame 56Symbol 382 MovieClip
"Hita2a3"Frame 56Symbol 382 MovieClip
"Hita2a4"Frame 56Symbol 382 MovieClip
"Hita2a5"Frame 56Symbol 382 MovieClip
"Hita2a6"Frame 56Symbol 382 MovieClip
"Hita2a7"Frame 56Symbol 382 MovieClip
"Hita2a0"Frame 56Symbol 382 MovieClip
"Hita3a5"Frame 56Symbol 382 MovieClip
"Hita3a1"Frame 56Symbol 382 MovieClip
"Hita3a2"Frame 56Symbol 382 MovieClip
"Hita3a4"Frame 56Symbol 382 MovieClip
"Hita3a3"Frame 56Symbol 382 MovieClip
"Hita3a0"Frame 56Symbol 383 MovieClip
"Hita3a6"Frame 56Symbol 384 MovieClip
"Hita4a1"Frame 56Symbol 382 MovieClip
"Hita4a2"Frame 56Symbol 382 MovieClip
"Hita4a3"Frame 56Symbol 382 MovieClip
"Hita4a4"Frame 56Symbol 382 MovieClip
"Hita4a5"Frame 56Symbol 382 MovieClip
"Hita4a6"Frame 56Symbol 382 MovieClip
"Hita4a7"Frame 56Symbol 382 MovieClip
"Hita4a0"Frame 56Symbol 382 MovieClip
"Hita5a5"Frame 56Symbol 382 MovieClip
"Hita5a1"Frame 56Symbol 382 MovieClip
"Hita5a2"Frame 56Symbol 382 MovieClip
"Hita5a4"Frame 56Symbol 382 MovieClip
"Hita5a3"Frame 56Symbol 382 MovieClip
"Hita5a0"Frame 56Symbol 383 MovieClip
"Hita5a6"Frame 56Symbol 384 MovieClip
"Hita6a1"Frame 56Symbol 382 MovieClip
"Hita6a2"Frame 56Symbol 382 MovieClip
"Hita6a3"Frame 56Symbol 382 MovieClip
"Hita6a4"Frame 56Symbol 382 MovieClip
"Hita6a5"Frame 56Symbol 382 MovieClip
"Hita6a6"Frame 56Symbol 382 MovieClip
"Hita6a7"Frame 56Symbol 382 MovieClip
"Hita6a0"Frame 56Symbol 382 MovieClip
"Hita7a5"Frame 56Symbol 382 MovieClip
"Hita7a1"Frame 56Symbol 382 MovieClip
"Hita7a2"Frame 56Symbol 382 MovieClip
"Hita7a4"Frame 56Symbol 382 MovieClip
"Hita7a3"Frame 56Symbol 382 MovieClip
"Hita7a0"Frame 56Symbol 383 MovieClip
"Hita7a6"Frame 56Symbol 384 MovieClip
"Hita8a1"Frame 56Symbol 382 MovieClip
"Hita8a2"Frame 56Symbol 382 MovieClip
"Hita8a3"Frame 56Symbol 382 MovieClip
"Hita8a4"Frame 56Symbol 382 MovieClip
"Hita8a5"Frame 56Symbol 382 MovieClip
"Hita8a6"Frame 56Symbol 382 MovieClip
"Hita8a7"Frame 56Symbol 382 MovieClip
"Hita8a0"Frame 56Symbol 382 MovieClip
"Hita9a5"Frame 56Symbol 382 MovieClip
"Hita9a1"Frame 56Symbol 382 MovieClip
"Hita9a2"Frame 56Symbol 382 MovieClip
"Hita9a4"Frame 56Symbol 382 MovieClip
"Hita9a3"Frame 56Symbol 382 MovieClip
"Hita9a0"Frame 56Symbol 383 MovieClip
"Hita9a6"Frame 56Symbol 384 MovieClip
"Boule1"Frame 56Symbol 355 MovieClip
"Boule2"Frame 56Symbol 214 MovieClip
"Boule3"Frame 56Symbol 215 MovieClip
"Boule4"Frame 56Symbol 357 MovieClip
"Boule5"Frame 56Symbol 216 MovieClip
"Boule6"Frame 56Symbol 358 MovieClip
"Boule7"Frame 56Symbol 359 MovieClip
"BouleBrise1"Frame 56Symbol 391 MovieClip
"BouleBrise2"Frame 56Symbol 393 MovieClip
"BouleBrise3"Frame 56Symbol 395 MovieClip
"BouleBrise4"Frame 56Symbol 397 MovieClip
"BouleBrise5"Frame 56Symbol 399 MovieClip
"BouleBrise6"Frame 56Symbol 401 MovieClip
"BouleBrise7"Frame 56Symbol 402 MovieClip
"shot"Frame 56Symbol 405 MovieClip
"Plafond"Frame 56Symbol 407 MovieClip
"Variables"Frame 56Symbol 412 MovieClip
"Sound"Frame 56Symbol 430 MovieClip
"BSound"Frame 56Symbol 433 MovieClip
"Messages"Frame 56Symbol 416 MovieClip
"Sechoir"Frame 56Symbol 361 MovieClip
"Hita0a1"Frame 74Symbol 382 MovieClip
"Hita0a2"Frame 74Symbol 382 MovieClip
"Hita0a3"Frame 74Symbol 382 MovieClip
"Hita0a4"Frame 74Symbol 382 MovieClip
"Hita0a5"Frame 74Symbol 382 MovieClip
"Hita0a6"Frame 74Symbol 382 MovieClip
"Hita0a7"Frame 74Symbol 382 MovieClip
"Hita0a0"Frame 74Symbol 382 MovieClip
"Hita1a5"Frame 74Symbol 382 MovieClip
"Hita1a1"Frame 74Symbol 382 MovieClip
"Hita1a2"Frame 74Symbol 382 MovieClip
"Hita1a4"Frame 74Symbol 382 MovieClip
"Hita1a3"Frame 74Symbol 382 MovieClip
"Hita1a0"Frame 74Symbol 383 MovieClip
"Hita1a6"Frame 74Symbol 384 MovieClip
"Hita2a1"Frame 74Symbol 382 MovieClip
"Hita2a2"Frame 74Symbol 382 MovieClip
"Hita2a3"Frame 74Symbol 382 MovieClip
"Hita2a4"Frame 74Symbol 382 MovieClip
"Hita2a5"Frame 74Symbol 382 MovieClip
"Hita2a6"Frame 74Symbol 382 MovieClip
"Hita2a7"Frame 74Symbol 382 MovieClip
"Hita2a0"Frame 74Symbol 382 MovieClip
"Hita3a5"Frame 74Symbol 382 MovieClip
"Hita3a1"Frame 74Symbol 382 MovieClip
"Hita3a2"Frame 74Symbol 382 MovieClip
"Hita3a4"Frame 74Symbol 382 MovieClip
"Hita3a3"Frame 74Symbol 382 MovieClip
"Hita3a0"Frame 74Symbol 383 MovieClip
"Hita3a6"Frame 74Symbol 384 MovieClip
"Hita4a1"Frame 74Symbol 382 MovieClip
"Hita4a2"Frame 74Symbol 382 MovieClip
"Hita4a3"Frame 74Symbol 382 MovieClip
"Hita4a4"Frame 74Symbol 382 MovieClip
"Hita4a5"Frame 74Symbol 382 MovieClip
"Hita4a6"Frame 74Symbol 382 MovieClip
"Hita4a7"Frame 74Symbol 382 MovieClip
"Hita4a0"Frame 74Symbol 382 MovieClip
"Hita5a5"Frame 74Symbol 382 MovieClip
"Hita5a1"Frame 74Symbol 382 MovieClip
"Hita5a2"Frame 74Symbol 382 MovieClip
"Hita5a4"Frame 74Symbol 382 MovieClip
"Hita5a3"Frame 74Symbol 382 MovieClip
"Hita5a0"Frame 74Symbol 383 MovieClip
"Hita5a6"Frame 74Symbol 384 MovieClip
"Hita6a1"Frame 74Symbol 382 MovieClip
"Hita6a2"Frame 74Symbol 382 MovieClip
"Hita6a3"Frame 74Symbol 382 MovieClip
"Hita6a4"Frame 74Symbol 382 MovieClip
"Hita6a5"Frame 74Symbol 382 MovieClip
"Hita6a6"Frame 74Symbol 382 MovieClip
"Hita6a7"Frame 74Symbol 382 MovieClip
"Hita6a0"Frame 74Symbol 382 MovieClip
"Hita7a5"Frame 74Symbol 382 MovieClip
"Hita7a1"Frame 74Symbol 382 MovieClip
"Hita7a2"Frame 74Symbol 382 MovieClip
"Hita7a4"Frame 74Symbol 382 MovieClip
"Hita7a3"Frame 74Symbol 382 MovieClip
"Hita7a0"Frame 74Symbol 383 MovieClip
"Hita7a6"Frame 74Symbol 384 MovieClip
"Hita8a1"Frame 74Symbol 382 MovieClip
"Hita8a2"Frame 74Symbol 382 MovieClip
"Hita8a3"Frame 74Symbol 382 MovieClip
"Hita8a4"Frame 74Symbol 382 MovieClip
"Hita8a5"Frame 74Symbol 382 MovieClip
"Hita8a6"Frame 74Symbol 382 MovieClip
"Hita8a7"Frame 74Symbol 382 MovieClip
"Hita8a0"Frame 74Symbol 382 MovieClip
"Hita9a5"Frame 74Symbol 382 MovieClip
"Hita9a1"Frame 74Symbol 382 MovieClip
"Hita9a2"Frame 74Symbol 382 MovieClip
"Hita9a4"Frame 74Symbol 382 MovieClip
"Hita9a3"Frame 74Symbol 382 MovieClip
"Hita9a0"Frame 74Symbol 383 MovieClip
"Hita9a6"Frame 74Symbol 384 MovieClip
"Boule1"Frame 74Symbol 355 MovieClip
"Boule2"Frame 74Symbol 214 MovieClip
"Boule3"Frame 74Symbol 215 MovieClip
"Boule4"Frame 74Symbol 357 MovieClip
"Boule5"Frame 74Symbol 216 MovieClip
"Boule6"Frame 74Symbol 358 MovieClip
"Boule7"Frame 74Symbol 359 MovieClip
"BouleBrise1"Frame 74Symbol 391 MovieClip
"BouleBrise2"Frame 74Symbol 393 MovieClip
"BouleBrise3"Frame 74Symbol 395 MovieClip
"BouleBrise4"Frame 74Symbol 397 MovieClip
"BouleBrise5"Frame 74Symbol 399 MovieClip
"BouleBrise6"Frame 74Symbol 401 MovieClip
"BouleBrise7"Frame 74Symbol 402 MovieClip
"shot"Frame 74Symbol 405 MovieClip
"Plafond"Frame 74Symbol 407 MovieClip
"Variables"Frame 74Symbol 412 MovieClip
"Sound"Frame 74Symbol 430 MovieClip
"BSound"Frame 74Symbol 433 MovieClip
"Messages"Frame 74Symbol 416 MovieClip
"Sechoir"Frame 74Symbol 361 MovieClip
"Hita0a1"Frame 92Symbol 382 MovieClip
"Hita0a2"Frame 92Symbol 382 MovieClip
"Hita0a3"Frame 92Symbol 382 MovieClip
"Hita0a4"Frame 92Symbol 382 MovieClip
"Hita0a5"Frame 92Symbol 382 MovieClip
"Hita0a6"Frame 92Symbol 382 MovieClip
"Hita0a7"Frame 92Symbol 382 MovieClip
"Hita0a0"Frame 92Symbol 382 MovieClip
"Hita1a5"Frame 92Symbol 382 MovieClip
"Hita1a1"Frame 92Symbol 382 MovieClip
"Hita1a2"Frame 92Symbol 382 MovieClip
"Hita1a4"Frame 92Symbol 382 MovieClip
"Hita1a3"Frame 92Symbol 382 MovieClip
"Hita1a0"Frame 92Symbol 383 MovieClip
"Hita1a6"Frame 92Symbol 384 MovieClip
"Hita2a1"Frame 92Symbol 382 MovieClip
"Hita2a2"Frame 92Symbol 382 MovieClip
"Hita2a3"Frame 92Symbol 382 MovieClip
"Hita2a4"Frame 92Symbol 382 MovieClip
"Hita2a5"Frame 92Symbol 382 MovieClip
"Hita2a6"Frame 92Symbol 382 MovieClip
"Hita2a7"Frame 92Symbol 382 MovieClip
"Hita2a0"Frame 92Symbol 382 MovieClip
"Hita3a5"Frame 92Symbol 382 MovieClip
"Hita3a1"Frame 92Symbol 382 MovieClip
"Hita3a2"Frame 92Symbol 382 MovieClip
"Hita3a4"Frame 92Symbol 382 MovieClip
"Hita3a3"Frame 92Symbol 382 MovieClip
"Hita3a0"Frame 92Symbol 383 MovieClip
"Hita3a6"Frame 92Symbol 384 MovieClip
"Hita4a1"Frame 92Symbol 382 MovieClip
"Hita4a2"Frame 92Symbol 382 MovieClip
"Hita4a3"Frame 92Symbol 382 MovieClip
"Hita4a4"Frame 92Symbol 382 MovieClip
"Hita4a5"Frame 92Symbol 382 MovieClip
"Hita4a6"Frame 92Symbol 382 MovieClip
"Hita4a7"Frame 92Symbol 382 MovieClip
"Hita4a0"Frame 92Symbol 382 MovieClip
"Hita5a5"Frame 92Symbol 382 MovieClip
"Hita5a1"Frame 92Symbol 382 MovieClip
"Hita5a2"Frame 92Symbol 382 MovieClip
"Hita5a4"Frame 92Symbol 382 MovieClip
"Hita5a3"Frame 92Symbol 382 MovieClip
"Hita5a0"Frame 92Symbol 383 MovieClip
"Hita5a6"Frame 92Symbol 384 MovieClip
"Hita6a1"Frame 92Symbol 382 MovieClip
"Hita6a2"Frame 92Symbol 382 MovieClip
"Hita6a3"Frame 92Symbol 382 MovieClip
"Hita6a4"Frame 92Symbol 382 MovieClip
"Hita6a5"Frame 92Symbol 382 MovieClip
"Hita6a6"Frame 92Symbol 382 MovieClip
"Hita6a7"Frame 92Symbol 382 MovieClip
"Hita6a0"Frame 92Symbol 382 MovieClip
"Hita7a5"Frame 92Symbol 382 MovieClip
"Hita7a1"Frame 92Symbol 382 MovieClip
"Hita7a2"Frame 92Symbol 382 MovieClip
"Hita7a4"Frame 92Symbol 382 MovieClip
"Hita7a3"Frame 92Symbol 382 MovieClip
"Hita7a0"Frame 92Symbol 383 MovieClip
"Hita7a6"Frame 92Symbol 384 MovieClip
"Hita8a1"Frame 92Symbol 382 MovieClip
"Hita8a2"Frame 92Symbol 382 MovieClip
"Hita8a3"Frame 92Symbol 382 MovieClip
"Hita8a4"Frame 92Symbol 382 MovieClip
"Hita8a5"Frame 92Symbol 382 MovieClip
"Hita8a6"Frame 92Symbol 382 MovieClip
"Hita8a7"Frame 92Symbol 382 MovieClip
"Hita8a0"Frame 92Symbol 382 MovieClip
"Hita9a5"Frame 92Symbol 382 MovieClip
"Hita9a1"Frame 92Symbol 382 MovieClip
"Hita9a2"Frame 92Symbol 382 MovieClip
"Hita9a4"Frame 92Symbol 382 MovieClip
"Hita9a3"Frame 92Symbol 382 MovieClip
"Hita9a0"Frame 92Symbol 383 MovieClip
"Hita9a6"Frame 92Symbol 384 MovieClip
"Boule1"Frame 92Symbol 355 MovieClip
"Boule2"Frame 92Symbol 214 MovieClip
"Boule3"Frame 92Symbol 215 MovieClip
"Boule4"Frame 92Symbol 357 MovieClip
"Boule5"Frame 92Symbol 216 MovieClip
"Boule6"Frame 92Symbol 358 MovieClip
"Boule7"Frame 92Symbol 359 MovieClip
"BouleBrise1"Frame 92Symbol 391 MovieClip
"BouleBrise2"Frame 92Symbol 393 MovieClip
"BouleBrise3"Frame 92Symbol 395 MovieClip
"BouleBrise4"Frame 92Symbol 397 MovieClip
"BouleBrise5"Frame 92Symbol 399 MovieClip
"BouleBrise6"Frame 92Symbol 401 MovieClip
"BouleBrise7"Frame 92Symbol 402 MovieClip
"shot"Frame 92Symbol 405 MovieClip
"Plafond"Frame 92Symbol 407 MovieClip
"Variables"Frame 92Symbol 412 MovieClip
"Sound"Frame 92Symbol 430 MovieClip
"BSound"Frame 92Symbol 433 MovieClip
"Messages"Frame 92Symbol 416 MovieClip
"Sechoir"Frame 92Symbol 361 MovieClip
"Hita0a1"Frame 110Symbol 382 MovieClip
"Hita0a2"Frame 110Symbol 382 MovieClip
"Hita0a3"Frame 110Symbol 382 MovieClip
"Hita0a4"Frame 110Symbol 382 MovieClip
"Hita0a5"Frame 110Symbol 382 MovieClip
"Hita0a6"Frame 110Symbol 382 MovieClip
"Hita0a7"Frame 110Symbol 382 MovieClip
"Hita0a0"Frame 110Symbol 382 MovieClip
"Hita1a5"Frame 110Symbol 382 MovieClip
"Hita1a1"Frame 110Symbol 382 MovieClip
"Hita1a2"Frame 110Symbol 382 MovieClip
"Hita1a4"Frame 110Symbol 382 MovieClip
"Hita1a3"Frame 110Symbol 382 MovieClip
"Hita1a0"Frame 110Symbol 383 MovieClip
"Hita1a6"Frame 110Symbol 384 MovieClip
"Hita2a1"Frame 110Symbol 382 MovieClip
"Hita2a2"Frame 110Symbol 382 MovieClip
"Hita2a3"Frame 110Symbol 382 MovieClip
"Hita2a4"Frame 110Symbol 382 MovieClip
"Hita2a5"Frame 110Symbol 382 MovieClip
"Hita2a6"Frame 110Symbol 382 MovieClip
"Hita2a7"Frame 110Symbol 382 MovieClip
"Hita2a0"Frame 110Symbol 382 MovieClip
"Hita3a5"Frame 110Symbol 382 MovieClip
"Hita3a1"Frame 110Symbol 382 MovieClip
"Hita3a2"Frame 110Symbol 382 MovieClip
"Hita3a4"Frame 110Symbol 382 MovieClip
"Hita3a3"Frame 110Symbol 382 MovieClip
"Hita3a0"Frame 110Symbol 383 MovieClip
"Hita3a6"Frame 110Symbol 384 MovieClip
"Hita4a1"Frame 110Symbol 382 MovieClip
"Hita4a2"Frame 110Symbol 382 MovieClip
"Hita4a3"Frame 110Symbol 382 MovieClip
"Hita4a4"Frame 110Symbol 382 MovieClip
"Hita4a5"Frame 110Symbol 382 MovieClip
"Hita4a6"Frame 110Symbol 382 MovieClip
"Hita4a7"Frame 110Symbol 382 MovieClip
"Hita4a0"Frame 110Symbol 382 MovieClip
"Hita5a5"Frame 110Symbol 382 MovieClip
"Hita5a1"Frame 110Symbol 382 MovieClip
"Hita5a2"Frame 110Symbol 382 MovieClip
"Hita5a4"Frame 110Symbol 382 MovieClip
"Hita5a3"Frame 110Symbol 382 MovieClip
"Hita5a0"Frame 110Symbol 383 MovieClip
"Hita5a6"Frame 110Symbol 384 MovieClip
"Hita6a1"Frame 110Symbol 382 MovieClip
"Hita6a2"Frame 110Symbol 382 MovieClip
"Hita6a3"Frame 110Symbol 382 MovieClip
"Hita6a4"Frame 110Symbol 382 MovieClip
"Hita6a5"Frame 110Symbol 382 MovieClip
"Hita6a6"Frame 110Symbol 382 MovieClip
"Hita6a7"Frame 110Symbol 382 MovieClip
"Hita6a0"Frame 110Symbol 382 MovieClip
"Hita7a5"Frame 110Symbol 382 MovieClip
"Hita7a1"Frame 110Symbol 382 MovieClip
"Hita7a2"Frame 110Symbol 382 MovieClip
"Hita7a4"Frame 110Symbol 382 MovieClip
"Hita7a3"Frame 110Symbol 382 MovieClip
"Hita7a0"Frame 110Symbol 383 MovieClip
"Hita7a6"Frame 110Symbol 384 MovieClip
"Hita8a1"Frame 110Symbol 382 MovieClip
"Hita8a2"Frame 110Symbol 382 MovieClip
"Hita8a3"Frame 110Symbol 382 MovieClip
"Hita8a4"Frame 110Symbol 382 MovieClip
"Hita8a5"Frame 110Symbol 382 MovieClip
"Hita8a6"Frame 110Symbol 382 MovieClip
"Hita8a7"Frame 110Symbol 382 MovieClip
"Hita8a0"Frame 110Symbol 382 MovieClip
"Hita9a5"Frame 110Symbol 382 MovieClip
"Hita9a1"Frame 110Symbol 382 MovieClip
"Hita9a2"Frame 110Symbol 382 MovieClip
"Hita9a4"Frame 110Symbol 382 MovieClip
"Hita9a3"Frame 110Symbol 382 MovieClip
"Hita9a0"Frame 110Symbol 383 MovieClip
"Hita9a6"Frame 110Symbol 384 MovieClip
"Boule1"Frame 110Symbol 355 MovieClip
"Boule2"Frame 110Symbol 214 MovieClip
"Boule3"Frame 110Symbol 215 MovieClip
"Boule4"Frame 110Symbol 357 MovieClip
"Boule5"Frame 110Symbol 216 MovieClip
"Boule6"Frame 110Symbol 358 MovieClip
"Boule7"Frame 110Symbol 359 MovieClip
"BouleBrise1"Frame 110Symbol 391 MovieClip
"BouleBrise2"Frame 110Symbol 393 MovieClip
"BouleBrise3"Frame 110Symbol 395 MovieClip
"BouleBrise4"Frame 110Symbol 397 MovieClip
"BouleBrise5"Frame 110Symbol 399 MovieClip
"BouleBrise6"Frame 110Symbol 401 MovieClip
"BouleBrise7"Frame 110Symbol 402 MovieClip
"shot"Frame 110Symbol 405 MovieClip
"Plafond"Frame 110Symbol 407 MovieClip
"Variables"Frame 110Symbol 412 MovieClip
"Sound"Frame 110Symbol 430 MovieClip
"BSound"Frame 110Symbol 433 MovieClip
"Messages"Frame 110Symbol 416 MovieClip
"Sechoir"Frame 110Symbol 361 MovieClip
"Hita0a1"Frame 128Symbol 382 MovieClip
"Hita0a2"Frame 128Symbol 382 MovieClip
"Hita0a3"Frame 128Symbol 382 MovieClip
"Hita0a4"Frame 128Symbol 382 MovieClip
"Hita0a5"Frame 128Symbol 382 MovieClip
"Hita0a6"Frame 128Symbol 382 MovieClip
"Hita0a7"Frame 128Symbol 382 MovieClip
"Hita0a0"Frame 128Symbol 382 MovieClip
"Hita1a5"Frame 128Symbol 382 MovieClip
"Hita1a1"Frame 128Symbol 382 MovieClip
"Hita1a2"Frame 128Symbol 382 MovieClip
"Hita1a4"Frame 128Symbol 382 MovieClip
"Hita1a3"Frame 128Symbol 382 MovieClip
"Hita1a0"Frame 128Symbol 383 MovieClip
"Hita1a6"Frame 128Symbol 384 MovieClip
"Hita2a1"Frame 128Symbol 382 MovieClip
"Hita2a2"Frame 128Symbol 382 MovieClip
"Hita2a3"Frame 128Symbol 382 MovieClip
"Hita2a4"Frame 128Symbol 382 MovieClip
"Hita2a5"Frame 128Symbol 382 MovieClip
"Hita2a6"Frame 128Symbol 382 MovieClip
"Hita2a7"Frame 128Symbol 382 MovieClip
"Hita2a0"Frame 128Symbol 382 MovieClip
"Hita3a5"Frame 128Symbol 382 MovieClip
"Hita3a1"Frame 128Symbol 382 MovieClip
"Hita3a2"Frame 128Symbol 382 MovieClip
"Hita3a4"Frame 128Symbol 382 MovieClip
"Hita3a3"Frame 128Symbol 382 MovieClip
"Hita3a0"Frame 128Symbol 383 MovieClip
"Hita3a6"Frame 128Symbol 384 MovieClip
"Hita4a1"Frame 128Symbol 382 MovieClip
"Hita4a2"Frame 128Symbol 382 MovieClip
"Hita4a3"Frame 128Symbol 382 MovieClip
"Hita4a4"Frame 128Symbol 382 MovieClip
"Hita4a5"Frame 128Symbol 382 MovieClip
"Hita4a6"Frame 128Symbol 382 MovieClip
"Hita4a7"Frame 128Symbol 382 MovieClip
"Hita4a0"Frame 128Symbol 382 MovieClip
"Hita5a5"Frame 128Symbol 382 MovieClip
"Hita5a1"Frame 128Symbol 382 MovieClip
"Hita5a2"Frame 128Symbol 382 MovieClip
"Hita5a4"Frame 128Symbol 382 MovieClip
"Hita5a3"Frame 128Symbol 382 MovieClip
"Hita5a0"Frame 128Symbol 383 MovieClip
"Hita5a6"Frame 128Symbol 384 MovieClip
"Hita6a1"Frame 128Symbol 382 MovieClip
"Hita6a2"Frame 128Symbol 382 MovieClip
"Hita6a3"Frame 128Symbol 382 MovieClip
"Hita6a4"Frame 128Symbol 382 MovieClip
"Hita6a5"Frame 128Symbol 382 MovieClip
"Hita6a6"Frame 128Symbol 382 MovieClip
"Hita6a7"Frame 128Symbol 382 MovieClip
"Hita6a0"Frame 128Symbol 382 MovieClip
"Hita7a5"Frame 128Symbol 382 MovieClip
"Hita7a1"Frame 128Symbol 382 MovieClip
"Hita7a2"Frame 128Symbol 382 MovieClip
"Hita7a4"Frame 128Symbol 382 MovieClip
"Hita7a3"Frame 128Symbol 382 MovieClip
"Hita7a0"Frame 128Symbol 383 MovieClip
"Hita7a6"Frame 128Symbol 384 MovieClip
"Hita8a1"Frame 128Symbol 382 MovieClip
"Hita8a2"Frame 128Symbol 382 MovieClip
"Hita8a3"Frame 128Symbol 382 MovieClip
"Hita8a4"Frame 128Symbol 382 MovieClip
"Hita8a5"Frame 128Symbol 382 MovieClip
"Hita8a6"Frame 128Symbol 382 MovieClip
"Hita8a7"Frame 128Symbol 382 MovieClip
"Hita8a0"Frame 128Symbol 382 MovieClip
"Hita9a5"Frame 128Symbol 382 MovieClip
"Hita9a1"Frame 128Symbol 382 MovieClip
"Hita9a2"Frame 128Symbol 382 MovieClip
"Hita9a4"Frame 128Symbol 382 MovieClip
"Hita9a3"Frame 128Symbol 382 MovieClip
"Hita9a0"Frame 128Symbol 383 MovieClip
"Hita9a6"Frame 128Symbol 384 MovieClip
"Boule1"Frame 128Symbol 355 MovieClip
"Boule2"Frame 128Symbol 214 MovieClip
"Boule3"Frame 128Symbol 215 MovieClip
"Boule4"Frame 128Symbol 357 MovieClip
"Boule5"Frame 128Symbol 216 MovieClip
"Boule6"Frame 128Symbol 358 MovieClip
"Boule7"Frame 128Symbol 359 MovieClip
"BouleBrise1"Frame 128Symbol 391 MovieClip
"BouleBrise2"Frame 128Symbol 393 MovieClip
"BouleBrise3"Frame 128Symbol 395 MovieClip
"BouleBrise4"Frame 128Symbol 397 MovieClip
"BouleBrise5"Frame 128Symbol 399 MovieClip
"BouleBrise6"Frame 128Symbol 401 MovieClip
"BouleBrise7"Frame 128Symbol 402 MovieClip
"shot"Frame 128Symbol 405 MovieClip
"Plafond"Frame 128Symbol 407 MovieClip
"Variables"Frame 128Symbol 412 MovieClip
"Sound"Frame 128Symbol 430 MovieClip
"BSound"Frame 128Symbol 433 MovieClip
"Messages"Frame 128Symbol 416 MovieClip
"Sechoir"Frame 128Symbol 361 MovieClip
"QuitPage"Frame 139Symbol 502 MovieClip
"scores"Frame 157Symbol 743 MovieClip
"Anim"Symbol 324 MovieClip Frame 1Symbol 321 MovieClip
"Meter"Symbol 327 MovieClip Frame 1Symbol 324 MovieClip
"S1"Symbol 360 MovieClip Frame 12Symbol 355 MovieClip
"S2"Symbol 360 MovieClip Frame 26Symbol 214 MovieClip
"S3"Symbol 360 MovieClip Frame 40Symbol 215 MovieClip
"S4"Symbol 360 MovieClip Frame 53Symbol 357 MovieClip
"S5"Symbol 360 MovieClip Frame 67Symbol 216 MovieClip
"S6"Symbol 360 MovieClip Frame 81Symbol 358 MovieClip
"S7"Symbol 360 MovieClip Frame 97Symbol 359 MovieClip
"BouleSechoir"Symbol 361 MovieClip Frame 1Symbol 360 MovieClip
"Zone"Symbol 405 MovieClip Frame 8Symbol 404 MovieClip
"shot1"Symbol 405 MovieClip Frame 8Symbol 355 MovieClip
"shot2"Symbol 405 MovieClip Frame 16Symbol 214 MovieClip
"shot3"Symbol 405 MovieClip Frame 23Symbol 215 MovieClip
"shot4"Symbol 405 MovieClip Frame 28Symbol 357 MovieClip
"shot5"Symbol 405 MovieClip Frame 37Symbol 216 MovieClip
"shot6"Symbol 405 MovieClip Frame 45Symbol 358 MovieClip
"shot7"Symbol 405 MovieClip Frame 52Symbol 359 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$Pd$DhuLTZYlvxhcQ5V6Kotcw0."

Labels

"Intro"Frame 13
"Level1"Frame 19
"ToL2"Frame 34
"Level2"Frame 37
"ToL3"Frame 53
"Level3"Frame 56
"ToL4"Frame 71
"Level4"Frame 74
"ToL5"Frame 89
"Level5"Frame 92
"ToL6"Frame 107
"Level6"Frame 110
"ToL7"Frame 125
"Level7"Frame 128
"ToFinale"Frame 139
"Finale"Frame 144
"GameOver"Frame 149
"hs_display"Frame 157
"Level0"Symbol 321 MovieClip Frame 1
"Level1"Symbol 321 MovieClip Frame 9
"Level2"Symbol 321 MovieClip Frame 17
"Level3"Symbol 321 MovieClip Frame 24
"Level4"Symbol 321 MovieClip Frame 31
"Level5"Symbol 321 MovieClip Frame 38
"Level6"Symbol 321 MovieClip Frame 45
"Level7"Symbol 321 MovieClip Frame 52
"Level8"Symbol 321 MovieClip Frame 59
"Level9"Symbol 321 MovieClip Frame 66
"Level10"Symbol 321 MovieClip Frame 73
"None"Symbol 360 MovieClip Frame 1
"Drakken"Symbol 360 MovieClip Frame 8
"Shego"Symbol 360 MovieClip Frame 22
"Gill"Symbol 360 MovieClip Frame 36
"Monkey"Symbol 360 MovieClip Frame 49
"SenorSr"Symbol 360 MovieClip Frame 63
"Duff"Symbol 360 MovieClip Frame 77
"SenorJr"Symbol 360 MovieClip Frame 93
"None"Symbol 405 MovieClip Frame 1
"Drakken"Symbol 405 MovieClip Frame 8
"Shego"Symbol 405 MovieClip Frame 16
"Gill"Symbol 405 MovieClip Frame 23
"Monkey"Symbol 405 MovieClip Frame 28
"SenorSr"Symbol 405 MovieClip Frame 37
"Duff"Symbol 405 MovieClip Frame 45
"SenorJr"Symbol 405 MovieClip Frame 52
"Shego"Symbol 430 MovieClip Frame 5
"Monkey"Symbol 430 MovieClip Frame 11
"Gill"Symbol 430 MovieClip Frame 21
"Duff"Symbol 430 MovieClip Frame 30
"Drakken"Symbol 430 MovieClip Frame 39
"Senior"Symbol 430 MovieClip Frame 48
"Junior"Symbol 430 MovieClip Frame 56
"LanceBoule"Symbol 433 MovieClip Frame 2
"GameOver"Symbol 506 MovieClip Frame 2

Dynamic Text Variables

_root.TOTALSCORESymbol 301 EditableText"236 478"
_root.TOTALSCORESymbol 510 EditableText"236 478"
BonusSymbol 511 EditableText"0"
_root.TOTALSCORESymbol 528 EditableText"236 478"
BonusSymbol 529 EditableText"0"
_root.TOTALSCORESymbol 540 EditableText"236 478"
BonusSymbol 541 EditableText"0"
_root.TOTALSCORESymbol 549 EditableText"236 478"
BonusSymbol 550 EditableText"0"
_root.TOTALSCORESymbol 561 EditableText"236 478"
BonusSymbol 562 EditableText"0"
_root.TOTALSCORESymbol 604 EditableText"236 478"
BonusSymbol 605 EditableText"0"
_root.TOTALSCORESymbol 616 EditableText"236 478"
BonusSymbol 617 EditableText"0"
_root.TOTALSCORESymbol 727 EditableText"236 478"
_root.TOTALSCORESymbol 740 EditableText"236 478"




http://swfchan.com/5/23215/info.shtml
Created: 26/5 -2019 08:51:35 Last modified: 26/5 -2019 08:51:35 Server time: 21/12 -2024 17:16:41