STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229593 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #23215 |
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 1ifFrameLoaded (10) { gotoAndStop (10); }Frame 2ifFrameLoaded (28) { gotoAndStop (13); }Frame 3gotoAndPlay (1);Frame 10stop();Instance of Symbol 16 MovieClip in Frame 10onClipEvent (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 13stop();Frame 17stop();Frame 19function 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 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 19onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 19onClipEvent (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 19onClipEvent (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 19onClipEvent (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 19onClipEvent (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 19onClipEvent (load) { this.swapDepths(5000002); }Instance of Symbol 502 MovieClip "QuitPage" in Frame 19onClipEvent (load) { this.swapDepths(5000); }Frame 20k = 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 35stop(); 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 37LEVEL = 2; TempsDebut = getTimer(); Bonus = 0;Instance of Symbol 382 MovieClip "Hita0a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 37onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 37onClipEvent (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 37onClipEvent (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 37onClipEvent (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 37onClipEvent (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 38k = 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 54stop(); 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 56LEVEL = 3; TempsDebut = getTimer(); Bonus = 0;Instance of Symbol 382 MovieClip "Hita0a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 56onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 56onClipEvent (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 56onClipEvent (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 56onClipEvent (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 56onClipEvent (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 57k = 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 72stop(); 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 74LEVEL = 4; TempsDebut = getTimer(); Bonus = 0;Instance of Symbol 382 MovieClip "Hita0a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 74onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 74onClipEvent (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 74onClipEvent (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 74onClipEvent (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 74onClipEvent (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 75k = 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 90stop(); 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 92LEVEL = 5; TempsDebut = getTimer(); Bonus = 0;Instance of Symbol 382 MovieClip "Hita0a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 92onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 92onClipEvent (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 92onClipEvent (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 92onClipEvent (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 92onClipEvent (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 93k = 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 108stop(); 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 110LEVEL = 70; TempsDebut = getTimer(); Bonus = 0;Instance of Symbol 382 MovieClip "Hita0a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 110onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 110onClipEvent (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 110onClipEvent (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 110onClipEvent (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 110onClipEvent (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 111k = 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 126stop(); 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 128LEVEL = 82; TempsDebut = getTimer(); Bonus = 0;Instance of Symbol 382 MovieClip "Hita0a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a7" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita0a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; RacineExplose = false; }Instance of Symbol 382 MovieClip "Hita1a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita1a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita1a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita1a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a7" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita2a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita3a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita3a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita3a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a7" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita4a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita5a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita5a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita5a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a7" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita6a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita7a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita7a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita7a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a7" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita8a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a5" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a1" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a2" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a4" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 382 MovieClip "Hita9a3" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 383 MovieClip "Hita9a0" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 384 MovieClip "Hita9a6" in Frame 128onClipEvent (load) { Occupied = false; Visite = false; }Instance of Symbol 405 MovieClip "shot" in Frame 128onClipEvent (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 128onClipEvent (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 128onClipEvent (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 128onClipEvent (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 129k = 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 139onClipEvent (load) { this.swapDepths(5000); }Frame 140stop(); 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 145stop();Frame 149i = 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 98tellTarget ("_root") { gotoAndPlay ("Intro"); }; trace("STI");Symbol 16 MovieClip Frame 101tellTarget ("_root") { gotoAndPlay ("Intro"); }; trace("STI");Symbol 16 MovieClip Frame 104tellTarget ("_root") { gotoAndPlay ("Intro"); }; trace("STI");Symbol 214 MovieClip Frame 1stop();Symbol 214 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 214 MovieClip Frame 16this.removeMovieClip();Symbol 215 MovieClip Frame 1stop();Symbol 215 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 215 MovieClip Frame 16this.removeMovieClip();Symbol 216 MovieClip Frame 1stop();Symbol 216 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 216 MovieClip Frame 16this.removeMovieClip();Symbol 279 Buttonon (release) { play(); }Symbol 321 MovieClip Frame 8stop();Symbol 321 MovieClip Frame 16stop();Symbol 321 MovieClip Frame 23stop();Symbol 321 MovieClip Frame 30stop();Symbol 321 MovieClip Frame 37stop();Symbol 321 MovieClip Frame 44stop();Symbol 321 MovieClip Frame 51stop();Symbol 321 MovieClip Frame 58stop();Symbol 321 MovieClip Frame 65stop();Symbol 321 MovieClip Frame 72stop();Symbol 321 MovieClip Frame 80stop();Symbol 355 MovieClip Frame 1stop();Symbol 355 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 355 MovieClip Frame 16this.removeMovieClip();Symbol 357 MovieClip Frame 1stop();Symbol 357 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 357 MovieClip Frame 16this.removeMovieClip();Symbol 358 MovieClip Frame 1stop();Symbol 358 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 358 MovieClip Frame 16this.removeMovieClip();Symbol 359 MovieClip Frame 1stop();Symbol 359 MovieClip Frame 2tellTarget ("_parent." + _root.Variables.BOULETIRE) { play(); };Symbol 359 MovieClip Frame 16this.removeMovieClip();Symbol 360 MovieClip Frame 1stop();Symbol 360 MovieClip Frame 8play();Symbol 360 MovieClip Frame 18stop();Symbol 360 MovieClip Frame 22play();Symbol 360 MovieClip Frame 32stop();Symbol 360 MovieClip Frame 36play();Symbol 360 MovieClip Frame 46stop();Symbol 360 MovieClip Frame 49play();Symbol 360 MovieClip Frame 59stop();Symbol 360 MovieClip Frame 63play();Symbol 360 MovieClip Frame 73stop();Symbol 360 MovieClip Frame 77play();Symbol 360 MovieClip Frame 87stop();Symbol 360 MovieClip Frame 93play();Symbol 360 MovieClip Frame 102stop();Instance of Symbol 360 MovieClip "BouleSechoir" in Symbol 361 MovieClip Frame 1onClipEvent (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 Buttonon (release) { play(); }Symbol 391 MovieClip Frame 1this.removeMovieClip();Symbol 393 MovieClip Frame 1this.removeMovieClip();Symbol 395 MovieClip Frame 1this.removeMovieClip();Symbol 397 MovieClip Frame 1this.removeMovieClip();Symbol 399 MovieClip Frame 1this.removeMovieClip();Symbol 401 MovieClip Frame 1this.removeMovieClip();Symbol 402 MovieClip Frame 1this.removeMovieClip();Symbol 405 MovieClip Frame 8stop();Symbol 405 MovieClip Frame 15stop();Symbol 405 MovieClip Frame 16stop();Symbol 405 MovieClip Frame 22stop();Symbol 405 MovieClip Frame 23stop();Symbol 405 MovieClip Frame 27stop();Symbol 405 MovieClip Frame 28stop();Symbol 405 MovieClip Frame 36stop();Symbol 405 MovieClip Frame 37stop();Symbol 405 MovieClip Frame 44stop();Symbol 405 MovieClip Frame 45stop();Symbol 405 MovieClip Frame 51stop();Symbol 405 MovieClip Frame 52stop();Symbol 405 MovieClip Frame 59stop();Symbol 420 Buttonon (release) { tellTarget ("QuitPage") { gotoAndStop (2); }; }Symbol 421 Buttonon (release) { tellTarget ("Instructions") { gotoAndStop (2); }; }Symbol 430 MovieClip Frame 1stop();Symbol 430 MovieClip Frame 6gotoAndStop (1);Symbol 430 MovieClip Frame 12gotoAndStop (1);Symbol 430 MovieClip Frame 22gotoAndStop (1);Symbol 430 MovieClip Frame 31gotoAndStop (1);Symbol 430 MovieClip Frame 40gotoAndStop (1);Symbol 430 MovieClip Frame 49gotoAndStop (1);Symbol 430 MovieClip Frame 57gotoAndStop (1);Symbol 433 MovieClip Frame 1stop();Symbol 433 MovieClip Frame 4gotoAndStop (1);Symbol 480 Buttonon (release) { gotoAndStop (1); }Symbol 481 MovieClip Frame 1stop(); 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 2stop(); 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 Buttonon (press) { gotoAndStop (1); _root.fsdLaunchScoresDisplay(); }Symbol 501 Buttonon (release) { gotoAndStop (1); }Symbol 502 MovieClip Frame 1stop(); _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 1stop();Symbol 506 MovieClip Frame 2_root.Sechoir.STOPSECHOIRFINJEU = true; _root.Sechoir.BouleSechoir._visible = false; play();Symbol 506 MovieClip Frame 45stop(); 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 Buttonon (release) { gotoAndPlay ("Level2"); }Symbol 530 Buttonon (release) { gotoAndPlay ("Level3"); }Symbol 542 Buttonon (release) { gotoAndPlay ("Level4"); }Symbol 551 Buttonon (release) { gotoAndPlay ("Level5"); }Symbol 563 Buttonon (release) { gotoAndPlay ("Level6"); }Symbol 606 Buttonon (release) { gotoAndPlay ("Level7"); }Symbol 618 Buttonon (release) { gotoAndPlay ("Finale"); }Symbol 683 Buttonon (release) { fsdPlayAgain(); }Symbol 684 Buttonon (press) { fsdLaunchScoresDisplay(); }
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:Timeline |
Symbol 3 Graphic | Used by:10 357 481 Timeline | |
Symbol 4 Graphic | Used by:10 215 481 Timeline | |
Symbol 5 Graphic | Used by:10 358 481 Timeline | |
Symbol 6 Graphic | Used by:10 216 481 Timeline | |
Symbol 7 Graphic | Used by:10 214 481 Timeline | |
Symbol 8 Graphic | Used by:10 355 481 Timeline | |
Symbol 9 Graphic | Used by:10 359 402 481 Timeline | |
Symbol 10 MovieClip | Uses:3 4 5 6 7 8 9 | Used by:Timeline |
Symbol 11 Graphic | Used by:16 | |
Symbol 12 Graphic | Used by:16 | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:16 |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip | Uses:11 12 14 15 | Used by:Timeline |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:Timeline |
Symbol 19 Font | Used 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 Text | Uses:19 | Used by:21 |
Symbol 21 MovieClip | Uses:20 | Used by:34 |
Symbol 22 Text | Uses:19 | Used by:23 |
Symbol 23 MovieClip | Uses:22 | Used by:34 |
Symbol 24 Text | Uses:19 | Used by:25 |
Symbol 25 MovieClip | Uses:24 | Used by:34 |
Symbol 26 Text | Uses:19 | Used by:27 |
Symbol 27 MovieClip | Uses:26 | Used by:34 |
Symbol 28 Text | Uses:19 | Used by:29 |
Symbol 29 MovieClip | Uses:28 | Used by:34 |
Symbol 30 Text | Uses:19 | Used by:31 |
Symbol 31 MovieClip | Uses:30 | Used by:34 |
Symbol 32 Text | Uses:19 | Used by:33 |
Symbol 33 MovieClip | Uses:32 | Used by:34 |
Symbol 34 MovieClip | Uses:21 23 25 27 29 31 33 | Used by:Timeline |
Symbol 35 Graphic | Used by:Timeline | |
Symbol 36 Graphic | Used by:37 | |
Symbol 37 MovieClip | Uses:36 | Used by:72 |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:38 | Used by:72 |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:40 | Used by:72 |
Symbol 42 Graphic | Used by:43 | |
Symbol 43 MovieClip | Uses:42 | Used by:72 |
Symbol 44 Graphic | Used by:45 | |
Symbol 45 MovieClip | Uses:44 | Used by:72 |
Symbol 46 Graphic | Used by:47 | |
Symbol 47 MovieClip | Uses:46 | Used by:72 |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:48 | Used by:72 |
Symbol 50 Graphic | Used by:51 | |
Symbol 51 MovieClip | Uses:50 | Used by:72 |
Symbol 52 Graphic | Used by:53 | |
Symbol 53 MovieClip | Uses:52 | Used by:72 |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip | Uses:54 | Used by:72 |
Symbol 56 Graphic | Used by:57 | |
Symbol 57 MovieClip | Uses:56 | Used by:72 |
Symbol 58 Graphic | Used by:59 | |
Symbol 59 MovieClip | Uses:58 | Used by:72 |
Symbol 60 Graphic | Used by:61 | |
Symbol 61 MovieClip | Uses:60 | Used by:72 |
Symbol 62 Graphic | Used by:63 | |
Symbol 63 MovieClip | Uses:62 | Used by:72 |
Symbol 64 Graphic | Used by:65 | |
Symbol 65 MovieClip | Uses:64 | Used by:72 |
Symbol 66 Graphic | Used by:67 | |
Symbol 67 MovieClip | Uses:66 | Used by:72 |
Symbol 68 Graphic | Used by:69 | |
Symbol 69 MovieClip | Uses:68 | Used by:72 |
Symbol 70 Graphic | Used by:71 | |
Symbol 71 MovieClip | Uses:70 | Used by:72 |
Symbol 72 MovieClip | Uses:37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 | Used by:Timeline |
Symbol 73 Graphic | Used by:74 | |
Symbol 74 MovieClip | Uses:73 | Used by:Timeline |
Symbol 75 Graphic | Used by:76 | |
Symbol 76 MovieClip | Uses:75 | Used by:97 600 |
Symbol 77 Graphic | Used by:78 | |
Symbol 78 MovieClip | Uses:77 | Used by:97 600 |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip | Uses:79 | Used by:97 600 |
Symbol 81 Graphic | Used by:82 | |
Symbol 82 MovieClip | Uses:81 | Used by:97 600 |
Symbol 83 Graphic | Used by:84 | |
Symbol 84 MovieClip | Uses:83 | Used by:97 600 |
Symbol 85 Graphic | Used by:86 | |
Symbol 86 MovieClip | Uses:85 | Used by:97 600 |
Symbol 87 Graphic | Used by:88 | |
Symbol 88 MovieClip | Uses:87 | Used by:97 600 |
Symbol 89 Graphic | Used by:90 | |
Symbol 90 MovieClip | Uses:89 | Used by:97 600 |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip | Uses:91 | Used by:97 600 |
Symbol 93 Graphic | Used by:94 | |
Symbol 94 MovieClip | Uses:93 | Used by:97 600 |
Symbol 95 Graphic | Used by:96 | |
Symbol 96 MovieClip | Uses:95 | Used by:97 600 |
Symbol 97 MovieClip | Uses:76 78 80 82 84 86 88 90 92 94 96 | Used by:Timeline |
Symbol 98 Graphic | Used by:101 | |
Symbol 99 Graphic | Used by:100 | |
Symbol 100 MovieClip | Uses:99 | Used by:101 |
Symbol 101 MovieClip | Uses:98 100 | Used by:111 133 |
Symbol 102 Graphic | Used by:103 | |
Symbol 103 MovieClip | Uses:102 | Used by:108 133 |
Symbol 104 Graphic | Used by:105 | |
Symbol 105 MovieClip | Uses:104 | Used by:108 |
Symbol 106 Graphic | Used by:107 | |
Symbol 107 MovieClip | Uses:106 | Used by:108 |
Symbol 108 MovieClip | Uses:103 105 107 | Used by:133 |
Symbol 109 Graphic | Used by:110 | |
Symbol 110 MovieClip | Uses:109 | Used by:111 |
Symbol 111 MovieClip | Uses:101 110 | Used by:133 |
Symbol 112 Graphic | Used by:113 | |
Symbol 113 MovieClip | Uses:112 | Used by:133 |
Symbol 114 Graphic | Used by:115 118 | |
Symbol 115 MovieClip | Uses:114 | Used by:133 |
Symbol 116 Graphic | Used by:117 | |
Symbol 117 MovieClip | Uses:116 | Used by:133 |
Symbol 118 MovieClip | Uses:114 | Used by:133 |
Symbol 119 Graphic | Used by:120 | |
Symbol 120 MovieClip | Uses:119 | Used by:133 |
Symbol 121 Graphic | Used by:122 | |
Symbol 122 MovieClip | Uses:121 | Used by:127 |
Symbol 123 Graphic | Used by:124 | |
Symbol 124 MovieClip | Uses:123 | Used by:127 478 |
Symbol 125 Graphic | Used by:126 | |
Symbol 126 MovieClip | Uses:125 | Used by:127 |
Symbol 127 MovieClip | Uses:122 124 126 | Used by:133 |
Symbol 128 Graphic | Used by:129 | |
Symbol 129 MovieClip | Uses:128 | Used by:133 |
Symbol 130 Graphic | Used by:131 706 | |
Symbol 131 MovieClip | Uses:130 | Used by:132 |
Symbol 132 MovieClip | Uses:131 | Used by:133 |
Symbol 133 MovieClip | Uses:101 108 111 113 103 115 117 118 120 127 129 132 | Used by:Timeline |
Symbol 134 Graphic | Used by:135 | |
Symbol 135 MovieClip | Uses:134 | Used by:163 |
Symbol 136 Graphic | Used by:137 | |
Symbol 137 MovieClip | Uses:136 | Used by:163 |
Symbol 138 Graphic | Used by:139 | |
Symbol 139 MovieClip | Uses:138 | Used by:163 |
Symbol 140 Graphic | Used by:141 | |
Symbol 141 MovieClip | Uses:140 | Used by:163 |
Symbol 142 Graphic | Used by:143 | |
Symbol 143 MovieClip | Uses:142 | Used by:163 |
Symbol 144 Graphic | Used by:145 | |
Symbol 145 MovieClip | Uses:144 | Used by:163 |
Symbol 146 Graphic | Used by:147 | |
Symbol 147 MovieClip | Uses:146 | Used by:163 |
Symbol 148 Graphic | Used by:149 | |
Symbol 149 MovieClip | Uses:148 | Used by:163 |
Symbol 150 Graphic | Used by:151 | |
Symbol 151 MovieClip | Uses:150 | Used by:163 |
Symbol 152 Graphic | Used by:153 | |
Symbol 153 MovieClip | Uses:152 | Used by:156 |
Symbol 154 Graphic | Used by:155 | |
Symbol 155 MovieClip | Uses:154 | Used by:156 |
Symbol 156 MovieClip | Uses:153 155 | Used by:163 |
Symbol 157 Graphic | Used by:158 | |
Symbol 158 MovieClip | Uses:157 | Used by:163 |
Symbol 159 Graphic | Used by:160 | |
Symbol 160 MovieClip | Uses:159 | Used by:163 |
Symbol 161 Graphic | Used by:162 | |
Symbol 162 MovieClip | Uses:161 | Used by:163 |
Symbol 163 MovieClip | Uses:135 137 139 141 143 145 147 149 151 156 158 160 162 | Used by:Timeline |
Symbol 164 Graphic | Used by:165 | |
Symbol 165 MovieClip | Uses:164 | Used by:Timeline |
Symbol 166 Graphic | Used by:167 | |
Symbol 167 MovieClip | Uses:166 | Used by:206 |
Symbol 168 Graphic | Used by:169 | |
Symbol 169 MovieClip | Uses:168 | Used by:206 |
Symbol 170 Graphic | Used by:171 | |
Symbol 171 MovieClip | Uses:170 | Used by:206 |
Symbol 172 Graphic | Used by:173 | |
Symbol 173 MovieClip | Uses:172 | Used by:206 |
Symbol 174 Graphic | Used by:175 | |
Symbol 175 MovieClip | Uses:174 | Used by:206 |
Symbol 176 Graphic | Used by:177 | |
Symbol 177 MovieClip | Uses:176 | Used by:206 |
Symbol 178 Graphic | Used by:179 | |
Symbol 179 MovieClip | Uses:178 | Used by:206 |
Symbol 180 Graphic | Used by:181 | |
Symbol 181 MovieClip | Uses:180 | Used by:206 |
Symbol 182 Graphic | Used by:183 | |
Symbol 183 MovieClip | Uses:182 | Used by:206 |
Symbol 184 Graphic | Used by:185 | |
Symbol 185 MovieClip | Uses:184 | Used by:206 |
Symbol 186 Graphic | Used by:187 | |
Symbol 187 MovieClip | Uses:186 | Used by:206 |
Symbol 188 Graphic | Used by:189 | |
Symbol 189 MovieClip | Uses:188 | Used by:206 |
Symbol 190 Graphic | Used by:191 | |
Symbol 191 MovieClip | Uses:190 | Used by:206 |
Symbol 192 Graphic | Used by:193 | |
Symbol 193 MovieClip | Uses:192 | Used by:206 |
Symbol 194 Graphic | Used by:195 | |
Symbol 195 MovieClip | Uses:194 | Used by:206 |
Symbol 196 Graphic | Used by:197 | |
Symbol 197 MovieClip | Uses:196 | Used by:206 |
Symbol 198 Graphic | Used by:199 | |
Symbol 199 MovieClip | Uses:198 | Used by:206 |
Symbol 200 Graphic | Used by:201 | |
Symbol 201 MovieClip | Uses:200 | Used by:206 |
Symbol 202 Graphic | Used by:203 | |
Symbol 203 MovieClip | Uses:202 | Used by:206 |
Symbol 204 Graphic | Used by:205 | |
Symbol 205 MovieClip | Uses:204 | Used by:206 |
Symbol 206 MovieClip | Uses:167 169 171 173 175 177 179 181 183 185 187 189 191 193 195 197 199 201 203 205 | Used by:Timeline |
Symbol 207 Graphic | Used by:208 | |
Symbol 208 MovieClip | Uses:207 | Used by:Timeline |
Symbol 209 Graphic | Used by:Timeline | |
Symbol 210 Graphic | Used by:211 | |
Symbol 211 MovieClip | Uses:210 | Used by:214 215 216 354 357 358 359 393 395 397 399 401 402 |
Symbol 212 Graphic | Used by:213 | |
Symbol 213 MovieClip | Uses:212 | Used by:214 215 216 354 357 358 359 393 395 397 399 401 402 |
Symbol 214 MovieClip | Uses:7 211 213 | Used by:360 405 Timeline |
Symbol 215 MovieClip | Uses:4 211 213 | Used by:360 405 Timeline |
Symbol 216 MovieClip | Uses:6 211 213 | Used by:360 405 Timeline |
Symbol 217 Graphic | Used by:218 | |
Symbol 218 MovieClip | Uses:217 | Used by:Timeline |
Symbol 219 Graphic | Used by:Timeline | |
Symbol 220 Graphic | Used by:221 | |
Symbol 221 MovieClip | Uses:220 | Used by:265 |
Symbol 222 Graphic | Used by:223 | |
Symbol 223 MovieClip | Uses:222 | Used by:265 |
Symbol 224 Graphic | Used by:225 | |
Symbol 225 MovieClip | Uses:224 | Used by:265 |
Symbol 226 Graphic | Used by:227 | |
Symbol 227 MovieClip | Uses:226 | Used by:248 |
Symbol 228 Graphic | Used by:229 | |
Symbol 229 MovieClip | Uses:228 | Used by:248 |
Symbol 230 Graphic | Used by:231 | |
Symbol 231 MovieClip | Uses:230 | Used by:248 |
Symbol 232 Graphic | Used by:233 | |
Symbol 233 MovieClip | Uses:232 | Used by:248 |
Symbol 234 Graphic | Used by:235 | |
Symbol 235 MovieClip | Uses:234 | Used by:248 |
Symbol 236 Graphic | Used by:237 | |
Symbol 237 MovieClip | Uses:236 | Used by:248 |
Symbol 238 Graphic | Used by:239 | |
Symbol 239 MovieClip | Uses:238 | Used by:248 |
Symbol 240 Graphic | Used by:241 | |
Symbol 241 MovieClip | Uses:240 | Used by:248 |
Symbol 242 Graphic | Used by:243 | |
Symbol 243 MovieClip | Uses:242 | Used by:248 |
Symbol 244 Graphic | Used by:245 | |
Symbol 245 MovieClip | Uses:244 | Used by:248 |
Symbol 246 Graphic | Used by:247 | |
Symbol 247 MovieClip | Uses:246 | Used by:248 |
Symbol 248 MovieClip | Uses:227 229 231 233 235 237 239 241 243 245 247 | Used by:265 |
Symbol 249 Graphic | Used by:250 | |
Symbol 250 MovieClip | Uses:249 | Used by:265 |
Symbol 251 Graphic | Used by:252 | |
Symbol 252 MovieClip | Uses:251 | Used by:265 |
Symbol 253 Graphic | Used by:254 | |
Symbol 254 MovieClip | Uses:253 | Used by:265 |
Symbol 255 Graphic | Used by:256 | |
Symbol 256 MovieClip | Uses:255 | Used by:265 |
Symbol 257 Graphic | Used by:258 | |
Symbol 258 MovieClip | Uses:257 | Used by:265 |
Symbol 259 Graphic | Used by:260 | |
Symbol 260 MovieClip | Uses:259 | Used by:265 |
Symbol 261 Graphic | Used by:262 | |
Symbol 262 MovieClip | Uses:261 | Used by:265 |
Symbol 263 Graphic | Used by:264 | |
Symbol 264 MovieClip | Uses:263 | Used by:265 |
Symbol 265 MovieClip | Uses:221 223 225 248 250 252 254 256 258 260 262 264 | Used by:481 Timeline |
Symbol 266 Graphic | Used by:267 | |
Symbol 267 MovieClip | Uses:266 | Used by:Timeline |
Symbol 268 Font | Used by:269 302 303 325 326 366 370 676 | |
Symbol 269 Text | Uses:268 | Used by:270 |
Symbol 270 MovieClip | Uses:269 | Used by:279 |
Symbol 271 Graphic | Used by:272 277 | |
Symbol 272 MovieClip | Uses:271 | Used by:279 |
Symbol 273 Graphic | Used by:274 | |
Symbol 274 MovieClip | Uses:273 | Used by:279 375 381 480 |
Symbol 275 Graphic | Used by:277 | |
Symbol 276 Graphic | Used by:277 | |
Symbol 277 MovieClip | Uses:271 275 276 | Used by:279 |
Symbol 278 Graphic | Used by:279 382 383 384 | |
Symbol 279 Button | Uses:270 272 274 277 278 | Used by:Timeline |
Symbol 280 Text | Uses:19 | Used by:Timeline |
Symbol 281 Text | Uses:19 | Used by:Timeline |
Symbol 282 Graphic | Used by:283 | |
Symbol 283 Button | Uses:282 | Used by:481 502 Timeline |
Symbol 284 Bitmap | Used by:285 | |
Symbol 285 Graphic | Uses:284 | Used by:286 |
Symbol 286 MovieClip | Uses:285 | Used by:481 Timeline |
Symbol 287 Graphic | Used by:288 | |
Symbol 288 MovieClip | Uses:287 | Used by:481 Timeline |
Symbol 289 Graphic | Used by:290 | |
Symbol 290 MovieClip | Uses:289 | Used by:481 Timeline |
Symbol 291 Graphic | Used by:292 | |
Symbol 292 MovieClip | Uses:291 | Used by:481 Timeline |
Symbol 293 Graphic | Used by:294 | |
Symbol 294 MovieClip | Uses:293 | Used by:481 Timeline |
Symbol 295 Graphic | Used by:296 | |
Symbol 296 MovieClip | Uses:295 | Used by:481 Timeline |
Symbol 297 Graphic | Used by:298 | |
Symbol 298 MovieClip | Uses:297 | Used by:304 481 Timeline |
Symbol 299 Graphic | Used by:300 | |
Symbol 300 MovieClip | Uses:299 | Used by:304 481 Timeline |
Symbol 301 EditableText | Uses:19 | Used by:304 |
Symbol 302 Text | Uses:268 | Used by:304 481 Timeline |
Symbol 303 Text | Uses:268 | Used by:304 481 Timeline |
Symbol 304 MovieClip | Uses:298 300 301 302 303 | Used by:481 Timeline |
Symbol 305 Graphic | Used by:306 | |
Symbol 306 MovieClip | Uses:305 | Used by:327 |
Symbol 307 Graphic | Used by:308 | |
Symbol 308 MovieClip | Uses:307 | Used by:324 |
Symbol 309 Graphic | Used by:321 | |
Symbol 310 Graphic | Used by:321 | |
Symbol 311 Sound | Used by:321 | |
Symbol 312 Graphic | Used by:321 | |
Symbol 313 Graphic | Used by:321 | |
Symbol 314 Graphic | Used by:321 | |
Symbol 315 Graphic | Used by:321 | |
Symbol 316 Graphic | Used by:321 | |
Symbol 317 Graphic | Used by:321 | |
Symbol 318 Graphic | Used by:321 | |
Symbol 319 Graphic | Used by:321 | |
Symbol 320 Graphic | Used by:321 | |
Symbol 321 MovieClip | Uses:309 310 311 312 313 314 315 316 317 318 319 320 | Used by:324 |
Symbol 322 Graphic | Used by:323 | |
Symbol 323 MovieClip | Uses:322 | Used by:324 |
Symbol 324 MovieClip | Uses:308 321 323 | Used by:327 |
Symbol 325 Text | Uses:268 | Used by:327 |
Symbol 326 Text | Uses:268 | Used by:327 |
Symbol 327 MovieClip | Uses:306 324 325 326 | Used by:481 Timeline |
Symbol 328 Graphic | Used by:481 Timeline | |
Symbol 329 Text | Uses:19 | Used by:481 Timeline |
Symbol 330 Text | Uses:19 | Used by:481 Timeline |
Symbol 331 Text | Uses:19 | Used by:481 Timeline |
Symbol 332 Text | Uses:19 | Used by:481 Timeline |
Symbol 333 Text | Uses:19 | Used by:481 Timeline |
Symbol 334 Text | Uses:19 | Used by:481 Timeline |
Symbol 335 Text | Uses:19 | Used by:481 Timeline |
Symbol 336 Text | Uses:19 | Used by:481 Timeline |
Symbol 337 Text | Uses:19 | Used by:481 Timeline |
Symbol 338 Text | Uses:19 | Used by:481 Timeline |
Symbol 339 Text | Uses:19 | Used by:481 Timeline |
Symbol 340 Text | Uses:19 | Used by:481 Timeline |
Symbol 341 Graphic | Used by:342 | |
Symbol 342 MovieClip | Uses:341 | Used by:481 Timeline |
Symbol 343 Graphic | Used by:344 | |
Symbol 344 MovieClip | Uses:343 | Used by:351 |
Symbol 345 Graphic | Used by:346 | |
Symbol 346 MovieClip | Uses:345 | Used by:351 |
Symbol 347 Graphic | Used by:348 | |
Symbol 348 MovieClip | Uses:347 | Used by:351 |
Symbol 349 Graphic | Used by:350 | |
Symbol 350 MovieClip | Uses:349 | Used by:351 |
Symbol 351 MovieClip | Uses:344 346 348 350 | Used by:481 Timeline |
Symbol 352 Graphic | Used by:361 | |
Symbol 353 Graphic | Used by:354 | |
Symbol 354 MovieClip | Uses:353 211 213 | Used by:355 391 |
Symbol 355 MovieClip | Uses:8 354 | Used by:360 405 Timeline |
Symbol 356 Sound | Used by:360 | |
Symbol 357 MovieClip | Uses:3 211 213 | Used by:360 405 Timeline |
Symbol 358 MovieClip | Uses:5 211 213 | Used by:360 405 Timeline |
Symbol 359 MovieClip | Uses:9 211 213 | Used by:360 405 Timeline |
Symbol 360 MovieClip | Uses:355 356 214 215 357 216 358 359 | Used by:361 |
Symbol 361 MovieClip | Uses:352 360 | Used by:481 Timeline |
Symbol 362 Graphic | Used by:363 | |
Symbol 363 MovieClip | Uses:362 | Used by:420 421 481 Timeline |
Symbol 364 Graphic | Used by:365 | |
Symbol 365 MovieClip | Uses:364 | Used by:420 421 481 Timeline |
Symbol 366 Text | Uses:268 | Used by:367 |
Symbol 367 MovieClip | Uses:366 | Used by:421 481 Timeline |
Symbol 368 Graphic | Used by:369 | |
Symbol 369 MovieClip | Uses:368 | Used by:420 421 481 Timeline |
Symbol 370 Text | Uses:268 | Used by:371 |
Symbol 371 MovieClip | Uses:370 | Used by:420 481 Timeline |
Symbol 372 Graphic | Used by:381 480 | |
Symbol 373 Text | Uses:19 | Used by:374 |
Symbol 374 MovieClip | Uses:373 | Used by:381 480 |
Symbol 375 MovieClip | Uses:274 | Used by:381 480 |
Symbol 376 Graphic | Used by:381 480 | |
Symbol 377 Text | Uses:19 | Used by:378 381 480 |
Symbol 378 MovieClip | Uses:377 | Used by:381 480 |
Symbol 379 Graphic | Used by:381 480 | |
Symbol 380 Graphic | Used by:381 480 | |
Symbol 381 Button | Uses:372 374 375 376 378 274 379 377 380 | Used by:Timeline |
Symbol 382 MovieClip | Uses:278 | Used by:Timeline |
Symbol 383 MovieClip | Uses:278 | Used by:Timeline |
Symbol 384 MovieClip | Uses:278 | Used by:Timeline |
Symbol 385 Bitmap | Used by:386 | |
Symbol 386 Graphic | Uses:385 | Used by:387 |
Symbol 387 MovieClip | Uses:386 | Used by:Timeline |
Symbol 388 Text | Uses:19 | Used by:Timeline |
Symbol 389 Graphic | Used by:390 | |
Symbol 390 MovieClip | Uses:389 | Used by:Timeline |
Symbol 391 MovieClip | Uses:354 | Used by:Timeline |
Symbol 392 Graphic | Used by:393 | |
Symbol 393 MovieClip | Uses:392 211 213 | Used by:Timeline |
Symbol 394 Graphic | Used by:395 | |
Symbol 395 MovieClip | Uses:394 211 213 | Used by:Timeline |
Symbol 396 Graphic | Used by:397 | |
Symbol 397 MovieClip | Uses:396 211 213 | Used by:Timeline |
Symbol 398 Graphic | Used by:399 | |
Symbol 399 MovieClip | Uses:398 211 213 | Used by:Timeline |
Symbol 400 Graphic | Used by:401 | |
Symbol 401 MovieClip | Uses:400 211 213 | Used by:Timeline |
Symbol 402 MovieClip | Uses:9 211 213 | Used by:Timeline |
Symbol 403 Graphic | Used by:404 | |
Symbol 404 MovieClip | Uses:403 | Used by:405 |
Symbol 405 MovieClip | Uses:404 355 214 215 357 216 358 359 | Used by:Timeline |
Symbol 406 Graphic | Used by:407 | |
Symbol 407 MovieClip | Uses:406 | Used by:Timeline |
Symbol 408 Graphic | Used by:412 | |
Symbol 409 Font | Used by:410 411 414 415 422 431 | |
Symbol 410 EditableText | Uses:409 | Used by:412 |
Symbol 411 EditableText | Uses:409 | Used by:412 |
Symbol 412 MovieClip | Uses:408 410 411 | Used by:Timeline |
Symbol 413 Graphic | Used by:416 | |
Symbol 414 EditableText | Uses:409 | Used by:416 |
Symbol 415 EditableText | Uses:409 | Used by:416 |
Symbol 416 MovieClip | Uses:413 414 415 | Used by:Timeline |
Symbol 417 Graphic | Used by:418 | |
Symbol 418 MovieClip | Uses:417 | Used by:420 421 |
Symbol 419 Graphic | Used by:420 421 | |
Symbol 420 Button | Uses:363 365 371 369 418 419 | Used by:Timeline |
Symbol 421 Button | Uses:363 365 367 369 418 419 | Used by:Timeline |
Symbol 422 Text | Uses:409 | Used by:430 |
Symbol 423 Sound | Used by:430 | |
Symbol 424 Sound | Used by:430 | |
Symbol 425 Sound | Used by:430 | |
Symbol 426 Sound | Used by:430 | |
Symbol 427 Sound | Used by:430 | |
Symbol 428 Sound | Used by:430 | |
Symbol 429 Sound | Used by:430 | |
Symbol 430 MovieClip | Uses:422 423 424 425 426 427 428 429 | Used by:Timeline |
Symbol 431 Text | Uses:409 | Used by:433 |
Symbol 432 Sound | Used by:433 | |
Symbol 433 MovieClip | Uses:431 432 | Used by:Timeline |
Symbol 434 Graphic | Used by:435 | |
Symbol 435 MovieClip | Uses:434 | Used by:478 |
Symbol 436 Graphic | Used by:437 | |
Symbol 437 MovieClip | Uses:436 | Used by:478 |
Symbol 438 Graphic | Used by:439 | |
Symbol 439 MovieClip | Uses:438 | Used by:478 |
Symbol 440 Graphic | Used by:441 | |
Symbol 441 MovieClip | Uses:440 | Used by:478 |
Symbol 442 Graphic | Used by:443 | |
Symbol 443 MovieClip | Uses:442 | Used by:478 |
Symbol 444 Graphic | Used by:445 | |
Symbol 445 MovieClip | Uses:444 | Used by:478 |
Symbol 446 Graphic | Used by:447 | |
Symbol 447 MovieClip | Uses:446 | Used by:478 |
Symbol 448 Graphic | Used by:449 | |
Symbol 449 MovieClip | Uses:448 | Used by:478 |
Symbol 450 Graphic | Used by:451 | |
Symbol 451 MovieClip | Uses:450 | Used by:478 |
Symbol 452 Graphic | Used by:453 | |
Symbol 453 MovieClip | Uses:452 | Used by:478 |
Symbol 454 Graphic | Used by:455 | |
Symbol 455 MovieClip | Uses:454 | Used by:478 |
Symbol 456 Graphic | Used by:457 | |
Symbol 457 MovieClip | Uses:456 | Used by:478 |
Symbol 458 Graphic | Used by:459 | |
Symbol 459 MovieClip | Uses:458 | Used by:478 |
Symbol 460 Graphic | Used by:461 | |
Symbol 461 MovieClip | Uses:460 | Used by:478 |
Symbol 462 Graphic | Used by:463 | |
Symbol 463 MovieClip | Uses:462 | Used by:478 |
Symbol 464 Graphic | Used by:465 | |
Symbol 465 MovieClip | Uses:464 | Used by:478 |
Symbol 466 Graphic | Used by:467 | |
Symbol 467 MovieClip | Uses:466 | Used by:478 |
Symbol 468 Graphic | Used by:469 | |
Symbol 469 MovieClip | Uses:468 | Used by:478 |
Symbol 470 Graphic | Used by:471 | |
Symbol 471 MovieClip | Uses:470 | Used by:478 |
Symbol 472 Graphic | Used by:473 | |
Symbol 473 MovieClip | Uses:472 | Used by:478 |
Symbol 474 Graphic | Used by:475 | |
Symbol 475 MovieClip | Uses:474 | Used by:478 |
Symbol 476 Graphic | Used by:477 | |
Symbol 477 MovieClip | Uses:476 | Used by:478 |
Symbol 478 MovieClip | Uses:435 437 439 441 443 445 447 449 451 453 455 457 459 461 463 124 465 467 469 471 473 475 477 | Used by:Timeline |
Symbol 479 Graphic | Used by:Timeline | |
Symbol 480 Button | Uses:372 374 375 376 378 274 379 377 380 | Used by:481 |
Symbol 481 MovieClip | Uses: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 480 | Used by:Timeline |
Symbol 482 Graphic | Used by:483 | |
Symbol 483 MovieClip | Uses:482 | Used by:502 Timeline |
Symbol 484 Text | Uses:19 | Used by:502 |
Symbol 485 Text | Uses:19 | Used by:502 |
Symbol 486 Graphic | Used by:487 | |
Symbol 487 MovieClip | Uses:486 | Used by:502 Timeline |
Symbol 488 Graphic | Used by:494 684 | |
Symbol 489 Text | Uses:19 | Used by:490 |
Symbol 490 MovieClip | Uses:489 | Used by:494 684 |
Symbol 491 Graphic | Used by:494 684 | |
Symbol 492 Graphic | Used by:494 684 | |
Symbol 493 Graphic | Used by:494 684 | |
Symbol 494 Button | Uses:488 490 491 492 493 | Used by:502 |
Symbol 495 Graphic | Used by:501 | |
Symbol 496 Text | Uses:19 | Used by:497 |
Symbol 497 MovieClip | Uses:496 | Used by:501 |
Symbol 498 Graphic | Used by:501 | |
Symbol 499 Graphic | Used by:501 | |
Symbol 500 Graphic | Used by:501 | |
Symbol 501 Button | Uses:495 497 498 499 500 | Used by:502 |
Symbol 502 MovieClip | Uses:283 483 484 485 487 494 501 | Used by:Timeline |
Symbol 503 Text | Uses:19 | Used by:504 |
Symbol 504 MovieClip | Uses:503 | Used by:506 |
Symbol 505 Sound | Used by:506 | |
Symbol 506 MovieClip | Uses:504 505 | Used by:Timeline |
Symbol 507 Font | Used by:674 675 676 738 739 | |
Symbol 508 Text | Uses:19 | Used by:Timeline |
Symbol 509 Text | Uses:19 | Used by:Timeline |
Symbol 510 EditableText | Uses:19 | Used by:Timeline |
Symbol 511 EditableText | Uses:19 | Used by:Timeline |
Symbol 512 Graphic | Used by:518 530 542 551 563 606 618 | |
Symbol 513 Text | Uses:19 | Used by:514 |
Symbol 514 MovieClip | Uses:513 | Used by:518 530 542 551 563 606 618 |
Symbol 515 Graphic | Used by:518 530 542 551 563 606 618 | |
Symbol 516 Graphic | Used by:518 530 542 551 563 606 618 | |
Symbol 517 Graphic | Used by:518 530 542 551 563 606 618 | |
Symbol 518 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 519 Bitmap | Used by:520 | |
Symbol 520 Graphic | Uses:519 | Used by:521 |
Symbol 521 MovieClip | Uses:520 | Used by:Timeline |
Symbol 522 Text | Uses:19 | Used by:Timeline |
Symbol 523 Graphic | Used by:524 | |
Symbol 524 MovieClip | Uses:523 | Used by:Timeline |
Symbol 525 Graphic | Used by:Timeline | |
Symbol 526 Text | Uses:19 | Used by:Timeline |
Symbol 527 Text | Uses:19 | Used by:Timeline |
Symbol 528 EditableText | Uses:19 | Used by:Timeline |
Symbol 529 EditableText | Uses:19 | Used by:Timeline |
Symbol 530 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 531 Bitmap | Used by:532 | |
Symbol 532 Graphic | Uses:531 | Used by:533 |
Symbol 533 MovieClip | Uses:532 | Used by:Timeline |
Symbol 534 Text | Uses:19 | Used by:Timeline |
Symbol 535 Graphic | Used by:536 | |
Symbol 536 MovieClip | Uses:535 | Used by:Timeline |
Symbol 537 Graphic | Used by:Timeline | |
Symbol 538 Text | Uses:19 | Used by:Timeline |
Symbol 539 Text | Uses:19 | Used by:Timeline |
Symbol 540 EditableText | Uses:19 | Used by:Timeline |
Symbol 541 EditableText | Uses:19 | Used by:Timeline |
Symbol 542 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 543 Text | Uses:19 | Used by:Timeline |
Symbol 544 Graphic | Used by:545 | |
Symbol 545 MovieClip | Uses:544 | Used by:Timeline |
Symbol 546 Graphic | Used by:Timeline | |
Symbol 547 Text | Uses:19 | Used by:Timeline |
Symbol 548 Text | Uses:19 | Used by:Timeline |
Symbol 549 EditableText | Uses:19 | Used by:Timeline |
Symbol 550 EditableText | Uses:19 | Used by:Timeline |
Symbol 551 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 552 Bitmap | Used by:553 | |
Symbol 553 Graphic | Uses:552 | Used by:554 |
Symbol 554 MovieClip | Uses:553 | Used by:Timeline |
Symbol 555 Text | Uses:19 | Used by:Timeline |
Symbol 556 Graphic | Used by:557 | |
Symbol 557 MovieClip | Uses:556 | Used by:Timeline |
Symbol 558 Graphic | Used by:Timeline | |
Symbol 559 Text | Uses:19 | Used by:Timeline |
Symbol 560 Text | Uses:19 | Used by:Timeline |
Symbol 561 EditableText | Uses:19 | Used by:Timeline |
Symbol 562 EditableText | Uses:19 | Used by:Timeline |
Symbol 563 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 564 Bitmap | Used by:565 | |
Symbol 565 Graphic | Uses:564 | Used by:566 |
Symbol 566 MovieClip | Uses:565 | Used by:Timeline |
Symbol 567 Text | Uses:19 | Used by:Timeline |
Symbol 568 Graphic | Used by:569 | |
Symbol 569 MovieClip | Uses:568 | Used by:600 |
Symbol 570 Graphic | Used by:571 | |
Symbol 571 MovieClip | Uses:570 | Used by:600 |
Symbol 572 Graphic | Used by:573 | |
Symbol 573 MovieClip | Uses:572 | Used by:600 |
Symbol 574 Graphic | Used by:575 | |
Symbol 575 MovieClip | Uses:574 | Used by:600 |
Symbol 576 Graphic | Used by:577 | |
Symbol 577 MovieClip | Uses:576 | Used by:600 |
Symbol 578 Graphic | Used by:579 | |
Symbol 579 MovieClip | Uses:578 | Used by:600 |
Symbol 580 Graphic | Used by:581 | |
Symbol 581 MovieClip | Uses:580 | Used by:600 |
Symbol 582 Graphic | Used by:583 | |
Symbol 583 MovieClip | Uses:582 | Used by:600 |
Symbol 584 Graphic | Used by:585 | |
Symbol 585 MovieClip | Uses:584 | Used by:600 |
Symbol 586 Graphic | Used by:587 | |
Symbol 587 MovieClip | Uses:586 | Used by:600 |
Symbol 588 Graphic | Used by:589 | |
Symbol 589 MovieClip | Uses:588 | Used by:600 |
Symbol 590 Graphic | Used by:591 | |
Symbol 591 MovieClip | Uses:590 | Used by:600 |
Symbol 592 Graphic | Used by:593 | |
Symbol 593 MovieClip | Uses:592 | Used by:600 |
Symbol 594 Graphic | Used by:595 | |
Symbol 595 MovieClip | Uses:594 | Used by:600 |
Symbol 596 Graphic | Used by:597 | |
Symbol 597 MovieClip | Uses:596 | Used by:600 |
Symbol 598 Graphic | Used by:599 | |
Symbol 599 MovieClip | Uses:598 | Used by:600 |
Symbol 600 MovieClip | Uses: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 599 | Used by:Timeline |
Symbol 601 Graphic | Used by:Timeline | |
Symbol 602 Text | Uses:19 | Used by:Timeline |
Symbol 603 Text | Uses:19 | Used by:Timeline |
Symbol 604 EditableText | Uses:19 | Used by:Timeline |
Symbol 605 EditableText | Uses:19 | Used by:Timeline |
Symbol 606 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 607 Bitmap | Used by:608 | |
Symbol 608 Graphic | Uses:607 | Used by:609 |
Symbol 609 MovieClip | Uses:608 | Used by:Timeline |
Symbol 610 Text | Uses:19 | Used by:Timeline |
Symbol 611 Graphic | Used by:612 | |
Symbol 612 MovieClip | Uses:611 | Used by:Timeline |
Symbol 613 Graphic | Used by:Timeline | |
Symbol 614 Text | Uses:19 | Used by:Timeline |
Symbol 615 Text | Uses:19 | Used by:Timeline |
Symbol 616 EditableText | Uses:19 | Used by:Timeline |
Symbol 617 EditableText | Uses:19 | Used by:Timeline |
Symbol 618 Button | Uses:512 514 515 516 517 | Used by:Timeline |
Symbol 619 Graphic | Used by:Timeline | |
Symbol 620 Graphic | Used by:621 | |
Symbol 621 MovieClip | Uses:620 | Used by:Timeline |
Symbol 622 Graphic | Used by:623 | |
Symbol 623 MovieClip | Uses:622 | Used by:Timeline |
Symbol 624 Graphic | Used by:625 | |
Symbol 625 MovieClip | Uses:624 | Used by:Timeline |
Symbol 626 Graphic | Used by:627 | |
Symbol 627 MovieClip | Uses:626 | Used by:Timeline |
Symbol 628 Graphic | Used by:629 | |
Symbol 629 MovieClip | Uses:628 | Used by:Timeline |
Symbol 630 Graphic | Used by:631 | |
Symbol 631 MovieClip | Uses:630 | Used by:Timeline |
Symbol 632 Graphic | Used by:633 | |
Symbol 633 MovieClip | Uses:632 | Used by:Timeline |
Symbol 634 Graphic | Used by:635 | |
Symbol 635 MovieClip | Uses:634 | Used by:Timeline |
Symbol 636 Graphic | Used by:637 | |
Symbol 637 MovieClip | Uses:636 | Used by:Timeline |
Symbol 638 Graphic | Used by:639 | |
Symbol 639 MovieClip | Uses:638 | Used by:Timeline |
Symbol 640 Graphic | Used by:641 | |
Symbol 641 MovieClip | Uses:640 | Used by:Timeline |
Symbol 642 Graphic | Used by:643 | |
Symbol 643 MovieClip | Uses:642 | Used by:Timeline |
Symbol 644 Graphic | Used by:645 | |
Symbol 645 MovieClip | Uses:644 | Used by:Timeline |
Symbol 646 Graphic | Used by:647 | |
Symbol 647 MovieClip | Uses:646 | Used by:Timeline |
Symbol 648 Graphic | Used by:649 | |
Symbol 649 MovieClip | Uses:648 | Used by:Timeline |
Symbol 650 Graphic | Used by:651 | |
Symbol 651 MovieClip | Uses:650 | Used by:Timeline |
Symbol 652 Graphic | Used by:653 | |
Symbol 653 MovieClip | Uses:652 | Used by:Timeline |
Symbol 654 Graphic | Used by:655 | |
Symbol 655 MovieClip | Uses:654 | Used by:Timeline |
Symbol 656 Graphic | Used by:657 | |
Symbol 657 MovieClip | Uses:656 | Used by:Timeline |
Symbol 658 Graphic | Used by:659 | |
Symbol 659 MovieClip | Uses:658 | Used by:Timeline |
Symbol 660 Graphic | Used by:661 | |
Symbol 661 MovieClip | Uses:660 | Used by:Timeline |
Symbol 662 Graphic | Used by:663 | |
Symbol 663 MovieClip | Uses:662 | Used by:Timeline |
Symbol 664 Graphic | Used by:665 | |
Symbol 665 MovieClip | Uses:664 | Used by:Timeline |
Symbol 666 Graphic | Used by:667 | |
Symbol 667 MovieClip | Uses:666 | Used by:Timeline |
Symbol 668 Graphic | Used by:669 | |
Symbol 669 MovieClip | Uses:668 | Used by:Timeline |
Symbol 670 Graphic | Used by:671 | |
Symbol 671 MovieClip | Uses:670 | Used by:Timeline |
Symbol 672 Graphic | Used by:673 | |
Symbol 673 MovieClip | Uses:672 | Used by:Timeline |
Symbol 674 Text | Uses:19 507 | Used by:Timeline |
Symbol 675 Text | Uses:19 507 | Used by:Timeline |
Symbol 676 Text | Uses:268 507 | Used by:Timeline |
Symbol 677 Graphic | Used by:683 | |
Symbol 678 Text | Uses:19 | Used by:679 |
Symbol 679 MovieClip | Uses:678 | Used by:683 |
Symbol 680 Graphic | Used by:683 | |
Symbol 681 Graphic | Used by:683 | |
Symbol 682 Graphic | Used by:683 | |
Symbol 683 Button | Uses:677 679 680 681 682 | Used by:Timeline |
Symbol 684 Button | Uses:488 490 491 492 493 | Used by:Timeline |
Symbol 685 Graphic | Used by:Timeline | |
Symbol 686 Graphic | Used by:687 | |
Symbol 687 MovieClip | Uses:686 | Used by:Timeline |
Symbol 688 Graphic | Used by:689 | |
Symbol 689 MovieClip | Uses:688 | Used by:Timeline |
Symbol 690 Graphic | Used by:691 | |
Symbol 691 MovieClip | Uses:690 | Used by:Timeline |
Symbol 692 Graphic | Used by:693 | |
Symbol 693 MovieClip | Uses:692 | Used by:Timeline |
Symbol 694 Graphic | Used by:695 | |
Symbol 695 MovieClip | Uses:694 | Used by:Timeline |
Symbol 696 Graphic | Used by:697 | |
Symbol 697 MovieClip | Uses:696 | Used by:Timeline |
Symbol 698 Graphic | Used by:699 | |
Symbol 699 MovieClip | Uses:698 | Used by:Timeline |
Symbol 700 Graphic | Used by:701 | |
Symbol 701 MovieClip | Uses:700 | Used by:Timeline |
Symbol 702 Graphic | Used by:703 | |
Symbol 703 MovieClip | Uses:702 | Used by:Timeline |
Symbol 704 Graphic | Used by:705 | |
Symbol 705 MovieClip | Uses:704 | Used by:Timeline |
Symbol 706 MovieClip | Uses:130 | Used by:Timeline |
Symbol 707 Graphic | Used by:708 | |
Symbol 708 MovieClip | Uses:707 | Used by:Timeline |
Symbol 709 Graphic | Used by:710 | |
Symbol 710 MovieClip | Uses:709 | Used by:Timeline |
Symbol 711 Graphic | Used by:712 | |
Symbol 712 MovieClip | Uses:711 | Used by:Timeline |
Symbol 713 Graphic | Used by:714 | |
Symbol 714 MovieClip | Uses:713 | Used by:Timeline |
Symbol 715 Graphic | Used by:716 | |
Symbol 716 MovieClip | Uses:715 | Used by:Timeline |
Symbol 717 Graphic | Used by:718 | |
Symbol 718 MovieClip | Uses:717 | Used by:Timeline |
Symbol 719 Graphic | Used by:720 | |
Symbol 720 MovieClip | Uses:719 | Used by:Timeline |
Symbol 721 Graphic | Used by:722 | |
Symbol 722 MovieClip | Uses:721 | Used by:Timeline |
Symbol 723 Graphic | Used by:724 | |
Symbol 724 MovieClip | Uses:723 | Used by:Timeline |
Symbol 725 Graphic | Used by:726 | |
Symbol 726 MovieClip | Uses:725 | Used by:Timeline |
Symbol 727 EditableText | Uses:19 | Used by:Timeline |
Symbol 728 Graphic | Used by:Timeline | |
Symbol 729 Graphic | Used by:730 | |
Symbol 730 MovieClip | Uses:729 | Used by:Timeline |
Symbol 731 Graphic | Used by:732 | |
Symbol 732 MovieClip | Uses:731 | Used by:Timeline |
Symbol 733 Graphic | Used by:734 | |
Symbol 734 MovieClip | Uses:733 | Used by:Timeline |
Symbol 735 Graphic | Used by:736 | |
Symbol 736 MovieClip | Uses:735 | Used by:Timeline |
Symbol 737 Graphic | Used by:Timeline | |
Symbol 738 Text | Uses:19 507 | Used by:Timeline |
Symbol 739 Text | Uses:19 507 | Used by:Timeline |
Symbol 740 EditableText | Uses:19 | Used by:Timeline |
Symbol 741 Graphic | Used by:742 | |
Symbol 742 MovieClip | Uses:741 | Used by:Timeline |
Symbol 743 MovieClip | Used by:Timeline |
Instance Names
"Hita0a1" | Frame 19 | Symbol 382 MovieClip |
"Hita0a2" | Frame 19 | Symbol 382 MovieClip |
"Hita0a3" | Frame 19 | Symbol 382 MovieClip |
"Hita0a4" | Frame 19 | Symbol 382 MovieClip |
"Hita0a5" | Frame 19 | Symbol 382 MovieClip |
"Hita0a6" | Frame 19 | Symbol 382 MovieClip |
"Hita0a7" | Frame 19 | Symbol 382 MovieClip |
"Hita0a0" | Frame 19 | Symbol 382 MovieClip |
"Hita1a5" | Frame 19 | Symbol 382 MovieClip |
"Hita1a1" | Frame 19 | Symbol 382 MovieClip |
"Hita1a2" | Frame 19 | Symbol 382 MovieClip |
"Hita1a4" | Frame 19 | Symbol 382 MovieClip |
"Hita1a3" | Frame 19 | Symbol 382 MovieClip |
"Hita1a0" | Frame 19 | Symbol 383 MovieClip |
"Hita1a6" | Frame 19 | Symbol 384 MovieClip |
"Hita2a1" | Frame 19 | Symbol 382 MovieClip |
"Hita2a2" | Frame 19 | Symbol 382 MovieClip |
"Hita2a3" | Frame 19 | Symbol 382 MovieClip |
"Hita2a4" | Frame 19 | Symbol 382 MovieClip |
"Hita2a5" | Frame 19 | Symbol 382 MovieClip |
"Hita2a6" | Frame 19 | Symbol 382 MovieClip |
"Hita2a7" | Frame 19 | Symbol 382 MovieClip |
"Hita2a0" | Frame 19 | Symbol 382 MovieClip |
"Hita3a5" | Frame 19 | Symbol 382 MovieClip |
"Hita3a1" | Frame 19 | Symbol 382 MovieClip |
"Hita3a2" | Frame 19 | Symbol 382 MovieClip |
"Hita3a4" | Frame 19 | Symbol 382 MovieClip |
"Hita3a3" | Frame 19 | Symbol 382 MovieClip |
"Hita3a0" | Frame 19 | Symbol 383 MovieClip |
"Hita3a6" | Frame 19 | Symbol 384 MovieClip |
"Hita4a1" | Frame 19 | Symbol 382 MovieClip |
"Hita4a2" | Frame 19 | Symbol 382 MovieClip |
"Hita4a3" | Frame 19 | Symbol 382 MovieClip |
"Hita4a4" | Frame 19 | Symbol 382 MovieClip |
"Hita4a5" | Frame 19 | Symbol 382 MovieClip |
"Hita4a6" | Frame 19 | Symbol 382 MovieClip |
"Hita4a7" | Frame 19 | Symbol 382 MovieClip |
"Hita4a0" | Frame 19 | Symbol 382 MovieClip |
"Hita5a5" | Frame 19 | Symbol 382 MovieClip |
"Hita5a1" | Frame 19 | Symbol 382 MovieClip |
"Hita5a2" | Frame 19 | Symbol 382 MovieClip |
"Hita5a4" | Frame 19 | Symbol 382 MovieClip |
"Hita5a3" | Frame 19 | Symbol 382 MovieClip |
"Hita5a0" | Frame 19 | Symbol 383 MovieClip |
"Hita5a6" | Frame 19 | Symbol 384 MovieClip |
"Hita6a1" | Frame 19 | Symbol 382 MovieClip |
"Hita6a2" | Frame 19 | Symbol 382 MovieClip |
"Hita6a3" | Frame 19 | Symbol 382 MovieClip |
"Hita6a4" | Frame 19 | Symbol 382 MovieClip |
"Hita6a5" | Frame 19 | Symbol 382 MovieClip |
"Hita6a6" | Frame 19 | Symbol 382 MovieClip |
"Hita6a7" | Frame 19 | Symbol 382 MovieClip |
"Hita6a0" | Frame 19 | Symbol 382 MovieClip |
"Hita7a5" | Frame 19 | Symbol 382 MovieClip |
"Hita7a1" | Frame 19 | Symbol 382 MovieClip |
"Hita7a2" | Frame 19 | Symbol 382 MovieClip |
"Hita7a4" | Frame 19 | Symbol 382 MovieClip |
"Hita7a3" | Frame 19 | Symbol 382 MovieClip |
"Hita7a0" | Frame 19 | Symbol 383 MovieClip |
"Hita7a6" | Frame 19 | Symbol 384 MovieClip |
"Hita8a1" | Frame 19 | Symbol 382 MovieClip |
"Hita8a2" | Frame 19 | Symbol 382 MovieClip |
"Hita8a3" | Frame 19 | Symbol 382 MovieClip |
"Hita8a4" | Frame 19 | Symbol 382 MovieClip |
"Hita8a5" | Frame 19 | Symbol 382 MovieClip |
"Hita8a6" | Frame 19 | Symbol 382 MovieClip |
"Hita8a7" | Frame 19 | Symbol 382 MovieClip |
"Hita8a0" | Frame 19 | Symbol 382 MovieClip |
"Hita9a5" | Frame 19 | Symbol 382 MovieClip |
"Hita9a1" | Frame 19 | Symbol 382 MovieClip |
"Hita9a2" | Frame 19 | Symbol 382 MovieClip |
"Hita9a4" | Frame 19 | Symbol 382 MovieClip |
"Hita9a3" | Frame 19 | Symbol 382 MovieClip |
"Hita9a0" | Frame 19 | Symbol 383 MovieClip |
"Hita9a6" | Frame 19 | Symbol 384 MovieClip |
"Boule1" | Frame 19 | Symbol 355 MovieClip |
"Boule2" | Frame 19 | Symbol 214 MovieClip |
"Boule3" | Frame 19 | Symbol 215 MovieClip |
"Boule4" | Frame 19 | Symbol 357 MovieClip |
"Boule5" | Frame 19 | Symbol 216 MovieClip |
"Boule6" | Frame 19 | Symbol 358 MovieClip |
"Boule7" | Frame 19 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 19 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 19 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 19 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 19 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 19 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 19 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 19 | Symbol 402 MovieClip |
"shot" | Frame 19 | Symbol 405 MovieClip |
"Plafond" | Frame 19 | Symbol 407 MovieClip |
"Sechoir" | Frame 19 | Symbol 361 MovieClip |
"Screen" | Frame 19 | Symbol 327 MovieClip |
"Variables" | Frame 19 | Symbol 412 MovieClip |
"VillainViewer" | Frame 19 | Symbol 405 MovieClip |
"Messages" | Frame 19 | Symbol 416 MovieClip |
"Sound" | Frame 19 | Symbol 430 MovieClip |
"BSound" | Frame 19 | Symbol 433 MovieClip |
"instructions" | Frame 19 | Symbol 481 MovieClip |
"QuitPage" | Frame 19 | Symbol 502 MovieClip |
"AllerAGameOver" | Frame 19 | Symbol 506 MovieClip |
"Hita0a1" | Frame 37 | Symbol 382 MovieClip |
"Hita0a2" | Frame 37 | Symbol 382 MovieClip |
"Hita0a3" | Frame 37 | Symbol 382 MovieClip |
"Hita0a4" | Frame 37 | Symbol 382 MovieClip |
"Hita0a5" | Frame 37 | Symbol 382 MovieClip |
"Hita0a6" | Frame 37 | Symbol 382 MovieClip |
"Hita0a7" | Frame 37 | Symbol 382 MovieClip |
"Hita0a0" | Frame 37 | Symbol 382 MovieClip |
"Hita1a5" | Frame 37 | Symbol 382 MovieClip |
"Hita1a1" | Frame 37 | Symbol 382 MovieClip |
"Hita1a2" | Frame 37 | Symbol 382 MovieClip |
"Hita1a4" | Frame 37 | Symbol 382 MovieClip |
"Hita1a3" | Frame 37 | Symbol 382 MovieClip |
"Hita1a0" | Frame 37 | Symbol 383 MovieClip |
"Hita1a6" | Frame 37 | Symbol 384 MovieClip |
"Hita2a1" | Frame 37 | Symbol 382 MovieClip |
"Hita2a2" | Frame 37 | Symbol 382 MovieClip |
"Hita2a3" | Frame 37 | Symbol 382 MovieClip |
"Hita2a4" | Frame 37 | Symbol 382 MovieClip |
"Hita2a5" | Frame 37 | Symbol 382 MovieClip |
"Hita2a6" | Frame 37 | Symbol 382 MovieClip |
"Hita2a7" | Frame 37 | Symbol 382 MovieClip |
"Hita2a0" | Frame 37 | Symbol 382 MovieClip |
"Hita3a5" | Frame 37 | Symbol 382 MovieClip |
"Hita3a1" | Frame 37 | Symbol 382 MovieClip |
"Hita3a2" | Frame 37 | Symbol 382 MovieClip |
"Hita3a4" | Frame 37 | Symbol 382 MovieClip |
"Hita3a3" | Frame 37 | Symbol 382 MovieClip |
"Hita3a0" | Frame 37 | Symbol 383 MovieClip |
"Hita3a6" | Frame 37 | Symbol 384 MovieClip |
"Hita4a1" | Frame 37 | Symbol 382 MovieClip |
"Hita4a2" | Frame 37 | Symbol 382 MovieClip |
"Hita4a3" | Frame 37 | Symbol 382 MovieClip |
"Hita4a4" | Frame 37 | Symbol 382 MovieClip |
"Hita4a5" | Frame 37 | Symbol 382 MovieClip |
"Hita4a6" | Frame 37 | Symbol 382 MovieClip |
"Hita4a7" | Frame 37 | Symbol 382 MovieClip |
"Hita4a0" | Frame 37 | Symbol 382 MovieClip |
"Hita5a5" | Frame 37 | Symbol 382 MovieClip |
"Hita5a1" | Frame 37 | Symbol 382 MovieClip |
"Hita5a2" | Frame 37 | Symbol 382 MovieClip |
"Hita5a4" | Frame 37 | Symbol 382 MovieClip |
"Hita5a3" | Frame 37 | Symbol 382 MovieClip |
"Hita5a0" | Frame 37 | Symbol 383 MovieClip |
"Hita5a6" | Frame 37 | Symbol 384 MovieClip |
"Hita6a1" | Frame 37 | Symbol 382 MovieClip |
"Hita6a2" | Frame 37 | Symbol 382 MovieClip |
"Hita6a3" | Frame 37 | Symbol 382 MovieClip |
"Hita6a4" | Frame 37 | Symbol 382 MovieClip |
"Hita6a5" | Frame 37 | Symbol 382 MovieClip |
"Hita6a6" | Frame 37 | Symbol 382 MovieClip |
"Hita6a7" | Frame 37 | Symbol 382 MovieClip |
"Hita6a0" | Frame 37 | Symbol 382 MovieClip |
"Hita7a5" | Frame 37 | Symbol 382 MovieClip |
"Hita7a1" | Frame 37 | Symbol 382 MovieClip |
"Hita7a2" | Frame 37 | Symbol 382 MovieClip |
"Hita7a4" | Frame 37 | Symbol 382 MovieClip |
"Hita7a3" | Frame 37 | Symbol 382 MovieClip |
"Hita7a0" | Frame 37 | Symbol 383 MovieClip |
"Hita7a6" | Frame 37 | Symbol 384 MovieClip |
"Hita8a1" | Frame 37 | Symbol 382 MovieClip |
"Hita8a2" | Frame 37 | Symbol 382 MovieClip |
"Hita8a3" | Frame 37 | Symbol 382 MovieClip |
"Hita8a4" | Frame 37 | Symbol 382 MovieClip |
"Hita8a5" | Frame 37 | Symbol 382 MovieClip |
"Hita8a6" | Frame 37 | Symbol 382 MovieClip |
"Hita8a7" | Frame 37 | Symbol 382 MovieClip |
"Hita8a0" | Frame 37 | Symbol 382 MovieClip |
"Hita9a5" | Frame 37 | Symbol 382 MovieClip |
"Hita9a1" | Frame 37 | Symbol 382 MovieClip |
"Hita9a2" | Frame 37 | Symbol 382 MovieClip |
"Hita9a4" | Frame 37 | Symbol 382 MovieClip |
"Hita9a3" | Frame 37 | Symbol 382 MovieClip |
"Hita9a0" | Frame 37 | Symbol 383 MovieClip |
"Hita9a6" | Frame 37 | Symbol 384 MovieClip |
"Boule1" | Frame 37 | Symbol 355 MovieClip |
"Boule2" | Frame 37 | Symbol 214 MovieClip |
"Boule3" | Frame 37 | Symbol 215 MovieClip |
"Boule4" | Frame 37 | Symbol 357 MovieClip |
"Boule5" | Frame 37 | Symbol 216 MovieClip |
"Boule6" | Frame 37 | Symbol 358 MovieClip |
"Boule7" | Frame 37 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 37 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 37 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 37 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 37 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 37 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 37 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 37 | Symbol 402 MovieClip |
"shot" | Frame 37 | Symbol 405 MovieClip |
"Variables" | Frame 37 | Symbol 412 MovieClip |
"Messages" | Frame 37 | Symbol 416 MovieClip |
"Plafond" | Frame 37 | Symbol 407 MovieClip |
"Sound" | Frame 37 | Symbol 430 MovieClip |
"BSound" | Frame 37 | Symbol 433 MovieClip |
"Sechoir" | Frame 37 | Symbol 361 MovieClip |
"Hita0a1" | Frame 56 | Symbol 382 MovieClip |
"Hita0a2" | Frame 56 | Symbol 382 MovieClip |
"Hita0a3" | Frame 56 | Symbol 382 MovieClip |
"Hita0a4" | Frame 56 | Symbol 382 MovieClip |
"Hita0a5" | Frame 56 | Symbol 382 MovieClip |
"Hita0a6" | Frame 56 | Symbol 382 MovieClip |
"Hita0a7" | Frame 56 | Symbol 382 MovieClip |
"Hita0a0" | Frame 56 | Symbol 382 MovieClip |
"Hita1a5" | Frame 56 | Symbol 382 MovieClip |
"Hita1a1" | Frame 56 | Symbol 382 MovieClip |
"Hita1a2" | Frame 56 | Symbol 382 MovieClip |
"Hita1a4" | Frame 56 | Symbol 382 MovieClip |
"Hita1a3" | Frame 56 | Symbol 382 MovieClip |
"Hita1a0" | Frame 56 | Symbol 383 MovieClip |
"Hita1a6" | Frame 56 | Symbol 384 MovieClip |
"Hita2a1" | Frame 56 | Symbol 382 MovieClip |
"Hita2a2" | Frame 56 | Symbol 382 MovieClip |
"Hita2a3" | Frame 56 | Symbol 382 MovieClip |
"Hita2a4" | Frame 56 | Symbol 382 MovieClip |
"Hita2a5" | Frame 56 | Symbol 382 MovieClip |
"Hita2a6" | Frame 56 | Symbol 382 MovieClip |
"Hita2a7" | Frame 56 | Symbol 382 MovieClip |
"Hita2a0" | Frame 56 | Symbol 382 MovieClip |
"Hita3a5" | Frame 56 | Symbol 382 MovieClip |
"Hita3a1" | Frame 56 | Symbol 382 MovieClip |
"Hita3a2" | Frame 56 | Symbol 382 MovieClip |
"Hita3a4" | Frame 56 | Symbol 382 MovieClip |
"Hita3a3" | Frame 56 | Symbol 382 MovieClip |
"Hita3a0" | Frame 56 | Symbol 383 MovieClip |
"Hita3a6" | Frame 56 | Symbol 384 MovieClip |
"Hita4a1" | Frame 56 | Symbol 382 MovieClip |
"Hita4a2" | Frame 56 | Symbol 382 MovieClip |
"Hita4a3" | Frame 56 | Symbol 382 MovieClip |
"Hita4a4" | Frame 56 | Symbol 382 MovieClip |
"Hita4a5" | Frame 56 | Symbol 382 MovieClip |
"Hita4a6" | Frame 56 | Symbol 382 MovieClip |
"Hita4a7" | Frame 56 | Symbol 382 MovieClip |
"Hita4a0" | Frame 56 | Symbol 382 MovieClip |
"Hita5a5" | Frame 56 | Symbol 382 MovieClip |
"Hita5a1" | Frame 56 | Symbol 382 MovieClip |
"Hita5a2" | Frame 56 | Symbol 382 MovieClip |
"Hita5a4" | Frame 56 | Symbol 382 MovieClip |
"Hita5a3" | Frame 56 | Symbol 382 MovieClip |
"Hita5a0" | Frame 56 | Symbol 383 MovieClip |
"Hita5a6" | Frame 56 | Symbol 384 MovieClip |
"Hita6a1" | Frame 56 | Symbol 382 MovieClip |
"Hita6a2" | Frame 56 | Symbol 382 MovieClip |
"Hita6a3" | Frame 56 | Symbol 382 MovieClip |
"Hita6a4" | Frame 56 | Symbol 382 MovieClip |
"Hita6a5" | Frame 56 | Symbol 382 MovieClip |
"Hita6a6" | Frame 56 | Symbol 382 MovieClip |
"Hita6a7" | Frame 56 | Symbol 382 MovieClip |
"Hita6a0" | Frame 56 | Symbol 382 MovieClip |
"Hita7a5" | Frame 56 | Symbol 382 MovieClip |
"Hita7a1" | Frame 56 | Symbol 382 MovieClip |
"Hita7a2" | Frame 56 | Symbol 382 MovieClip |
"Hita7a4" | Frame 56 | Symbol 382 MovieClip |
"Hita7a3" | Frame 56 | Symbol 382 MovieClip |
"Hita7a0" | Frame 56 | Symbol 383 MovieClip |
"Hita7a6" | Frame 56 | Symbol 384 MovieClip |
"Hita8a1" | Frame 56 | Symbol 382 MovieClip |
"Hita8a2" | Frame 56 | Symbol 382 MovieClip |
"Hita8a3" | Frame 56 | Symbol 382 MovieClip |
"Hita8a4" | Frame 56 | Symbol 382 MovieClip |
"Hita8a5" | Frame 56 | Symbol 382 MovieClip |
"Hita8a6" | Frame 56 | Symbol 382 MovieClip |
"Hita8a7" | Frame 56 | Symbol 382 MovieClip |
"Hita8a0" | Frame 56 | Symbol 382 MovieClip |
"Hita9a5" | Frame 56 | Symbol 382 MovieClip |
"Hita9a1" | Frame 56 | Symbol 382 MovieClip |
"Hita9a2" | Frame 56 | Symbol 382 MovieClip |
"Hita9a4" | Frame 56 | Symbol 382 MovieClip |
"Hita9a3" | Frame 56 | Symbol 382 MovieClip |
"Hita9a0" | Frame 56 | Symbol 383 MovieClip |
"Hita9a6" | Frame 56 | Symbol 384 MovieClip |
"Boule1" | Frame 56 | Symbol 355 MovieClip |
"Boule2" | Frame 56 | Symbol 214 MovieClip |
"Boule3" | Frame 56 | Symbol 215 MovieClip |
"Boule4" | Frame 56 | Symbol 357 MovieClip |
"Boule5" | Frame 56 | Symbol 216 MovieClip |
"Boule6" | Frame 56 | Symbol 358 MovieClip |
"Boule7" | Frame 56 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 56 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 56 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 56 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 56 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 56 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 56 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 56 | Symbol 402 MovieClip |
"shot" | Frame 56 | Symbol 405 MovieClip |
"Plafond" | Frame 56 | Symbol 407 MovieClip |
"Variables" | Frame 56 | Symbol 412 MovieClip |
"Sound" | Frame 56 | Symbol 430 MovieClip |
"BSound" | Frame 56 | Symbol 433 MovieClip |
"Messages" | Frame 56 | Symbol 416 MovieClip |
"Sechoir" | Frame 56 | Symbol 361 MovieClip |
"Hita0a1" | Frame 74 | Symbol 382 MovieClip |
"Hita0a2" | Frame 74 | Symbol 382 MovieClip |
"Hita0a3" | Frame 74 | Symbol 382 MovieClip |
"Hita0a4" | Frame 74 | Symbol 382 MovieClip |
"Hita0a5" | Frame 74 | Symbol 382 MovieClip |
"Hita0a6" | Frame 74 | Symbol 382 MovieClip |
"Hita0a7" | Frame 74 | Symbol 382 MovieClip |
"Hita0a0" | Frame 74 | Symbol 382 MovieClip |
"Hita1a5" | Frame 74 | Symbol 382 MovieClip |
"Hita1a1" | Frame 74 | Symbol 382 MovieClip |
"Hita1a2" | Frame 74 | Symbol 382 MovieClip |
"Hita1a4" | Frame 74 | Symbol 382 MovieClip |
"Hita1a3" | Frame 74 | Symbol 382 MovieClip |
"Hita1a0" | Frame 74 | Symbol 383 MovieClip |
"Hita1a6" | Frame 74 | Symbol 384 MovieClip |
"Hita2a1" | Frame 74 | Symbol 382 MovieClip |
"Hita2a2" | Frame 74 | Symbol 382 MovieClip |
"Hita2a3" | Frame 74 | Symbol 382 MovieClip |
"Hita2a4" | Frame 74 | Symbol 382 MovieClip |
"Hita2a5" | Frame 74 | Symbol 382 MovieClip |
"Hita2a6" | Frame 74 | Symbol 382 MovieClip |
"Hita2a7" | Frame 74 | Symbol 382 MovieClip |
"Hita2a0" | Frame 74 | Symbol 382 MovieClip |
"Hita3a5" | Frame 74 | Symbol 382 MovieClip |
"Hita3a1" | Frame 74 | Symbol 382 MovieClip |
"Hita3a2" | Frame 74 | Symbol 382 MovieClip |
"Hita3a4" | Frame 74 | Symbol 382 MovieClip |
"Hita3a3" | Frame 74 | Symbol 382 MovieClip |
"Hita3a0" | Frame 74 | Symbol 383 MovieClip |
"Hita3a6" | Frame 74 | Symbol 384 MovieClip |
"Hita4a1" | Frame 74 | Symbol 382 MovieClip |
"Hita4a2" | Frame 74 | Symbol 382 MovieClip |
"Hita4a3" | Frame 74 | Symbol 382 MovieClip |
"Hita4a4" | Frame 74 | Symbol 382 MovieClip |
"Hita4a5" | Frame 74 | Symbol 382 MovieClip |
"Hita4a6" | Frame 74 | Symbol 382 MovieClip |
"Hita4a7" | Frame 74 | Symbol 382 MovieClip |
"Hita4a0" | Frame 74 | Symbol 382 MovieClip |
"Hita5a5" | Frame 74 | Symbol 382 MovieClip |
"Hita5a1" | Frame 74 | Symbol 382 MovieClip |
"Hita5a2" | Frame 74 | Symbol 382 MovieClip |
"Hita5a4" | Frame 74 | Symbol 382 MovieClip |
"Hita5a3" | Frame 74 | Symbol 382 MovieClip |
"Hita5a0" | Frame 74 | Symbol 383 MovieClip |
"Hita5a6" | Frame 74 | Symbol 384 MovieClip |
"Hita6a1" | Frame 74 | Symbol 382 MovieClip |
"Hita6a2" | Frame 74 | Symbol 382 MovieClip |
"Hita6a3" | Frame 74 | Symbol 382 MovieClip |
"Hita6a4" | Frame 74 | Symbol 382 MovieClip |
"Hita6a5" | Frame 74 | Symbol 382 MovieClip |
"Hita6a6" | Frame 74 | Symbol 382 MovieClip |
"Hita6a7" | Frame 74 | Symbol 382 MovieClip |
"Hita6a0" | Frame 74 | Symbol 382 MovieClip |
"Hita7a5" | Frame 74 | Symbol 382 MovieClip |
"Hita7a1" | Frame 74 | Symbol 382 MovieClip |
"Hita7a2" | Frame 74 | Symbol 382 MovieClip |
"Hita7a4" | Frame 74 | Symbol 382 MovieClip |
"Hita7a3" | Frame 74 | Symbol 382 MovieClip |
"Hita7a0" | Frame 74 | Symbol 383 MovieClip |
"Hita7a6" | Frame 74 | Symbol 384 MovieClip |
"Hita8a1" | Frame 74 | Symbol 382 MovieClip |
"Hita8a2" | Frame 74 | Symbol 382 MovieClip |
"Hita8a3" | Frame 74 | Symbol 382 MovieClip |
"Hita8a4" | Frame 74 | Symbol 382 MovieClip |
"Hita8a5" | Frame 74 | Symbol 382 MovieClip |
"Hita8a6" | Frame 74 | Symbol 382 MovieClip |
"Hita8a7" | Frame 74 | Symbol 382 MovieClip |
"Hita8a0" | Frame 74 | Symbol 382 MovieClip |
"Hita9a5" | Frame 74 | Symbol 382 MovieClip |
"Hita9a1" | Frame 74 | Symbol 382 MovieClip |
"Hita9a2" | Frame 74 | Symbol 382 MovieClip |
"Hita9a4" | Frame 74 | Symbol 382 MovieClip |
"Hita9a3" | Frame 74 | Symbol 382 MovieClip |
"Hita9a0" | Frame 74 | Symbol 383 MovieClip |
"Hita9a6" | Frame 74 | Symbol 384 MovieClip |
"Boule1" | Frame 74 | Symbol 355 MovieClip |
"Boule2" | Frame 74 | Symbol 214 MovieClip |
"Boule3" | Frame 74 | Symbol 215 MovieClip |
"Boule4" | Frame 74 | Symbol 357 MovieClip |
"Boule5" | Frame 74 | Symbol 216 MovieClip |
"Boule6" | Frame 74 | Symbol 358 MovieClip |
"Boule7" | Frame 74 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 74 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 74 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 74 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 74 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 74 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 74 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 74 | Symbol 402 MovieClip |
"shot" | Frame 74 | Symbol 405 MovieClip |
"Plafond" | Frame 74 | Symbol 407 MovieClip |
"Variables" | Frame 74 | Symbol 412 MovieClip |
"Sound" | Frame 74 | Symbol 430 MovieClip |
"BSound" | Frame 74 | Symbol 433 MovieClip |
"Messages" | Frame 74 | Symbol 416 MovieClip |
"Sechoir" | Frame 74 | Symbol 361 MovieClip |
"Hita0a1" | Frame 92 | Symbol 382 MovieClip |
"Hita0a2" | Frame 92 | Symbol 382 MovieClip |
"Hita0a3" | Frame 92 | Symbol 382 MovieClip |
"Hita0a4" | Frame 92 | Symbol 382 MovieClip |
"Hita0a5" | Frame 92 | Symbol 382 MovieClip |
"Hita0a6" | Frame 92 | Symbol 382 MovieClip |
"Hita0a7" | Frame 92 | Symbol 382 MovieClip |
"Hita0a0" | Frame 92 | Symbol 382 MovieClip |
"Hita1a5" | Frame 92 | Symbol 382 MovieClip |
"Hita1a1" | Frame 92 | Symbol 382 MovieClip |
"Hita1a2" | Frame 92 | Symbol 382 MovieClip |
"Hita1a4" | Frame 92 | Symbol 382 MovieClip |
"Hita1a3" | Frame 92 | Symbol 382 MovieClip |
"Hita1a0" | Frame 92 | Symbol 383 MovieClip |
"Hita1a6" | Frame 92 | Symbol 384 MovieClip |
"Hita2a1" | Frame 92 | Symbol 382 MovieClip |
"Hita2a2" | Frame 92 | Symbol 382 MovieClip |
"Hita2a3" | Frame 92 | Symbol 382 MovieClip |
"Hita2a4" | Frame 92 | Symbol 382 MovieClip |
"Hita2a5" | Frame 92 | Symbol 382 MovieClip |
"Hita2a6" | Frame 92 | Symbol 382 MovieClip |
"Hita2a7" | Frame 92 | Symbol 382 MovieClip |
"Hita2a0" | Frame 92 | Symbol 382 MovieClip |
"Hita3a5" | Frame 92 | Symbol 382 MovieClip |
"Hita3a1" | Frame 92 | Symbol 382 MovieClip |
"Hita3a2" | Frame 92 | Symbol 382 MovieClip |
"Hita3a4" | Frame 92 | Symbol 382 MovieClip |
"Hita3a3" | Frame 92 | Symbol 382 MovieClip |
"Hita3a0" | Frame 92 | Symbol 383 MovieClip |
"Hita3a6" | Frame 92 | Symbol 384 MovieClip |
"Hita4a1" | Frame 92 | Symbol 382 MovieClip |
"Hita4a2" | Frame 92 | Symbol 382 MovieClip |
"Hita4a3" | Frame 92 | Symbol 382 MovieClip |
"Hita4a4" | Frame 92 | Symbol 382 MovieClip |
"Hita4a5" | Frame 92 | Symbol 382 MovieClip |
"Hita4a6" | Frame 92 | Symbol 382 MovieClip |
"Hita4a7" | Frame 92 | Symbol 382 MovieClip |
"Hita4a0" | Frame 92 | Symbol 382 MovieClip |
"Hita5a5" | Frame 92 | Symbol 382 MovieClip |
"Hita5a1" | Frame 92 | Symbol 382 MovieClip |
"Hita5a2" | Frame 92 | Symbol 382 MovieClip |
"Hita5a4" | Frame 92 | Symbol 382 MovieClip |
"Hita5a3" | Frame 92 | Symbol 382 MovieClip |
"Hita5a0" | Frame 92 | Symbol 383 MovieClip |
"Hita5a6" | Frame 92 | Symbol 384 MovieClip |
"Hita6a1" | Frame 92 | Symbol 382 MovieClip |
"Hita6a2" | Frame 92 | Symbol 382 MovieClip |
"Hita6a3" | Frame 92 | Symbol 382 MovieClip |
"Hita6a4" | Frame 92 | Symbol 382 MovieClip |
"Hita6a5" | Frame 92 | Symbol 382 MovieClip |
"Hita6a6" | Frame 92 | Symbol 382 MovieClip |
"Hita6a7" | Frame 92 | Symbol 382 MovieClip |
"Hita6a0" | Frame 92 | Symbol 382 MovieClip |
"Hita7a5" | Frame 92 | Symbol 382 MovieClip |
"Hita7a1" | Frame 92 | Symbol 382 MovieClip |
"Hita7a2" | Frame 92 | Symbol 382 MovieClip |
"Hita7a4" | Frame 92 | Symbol 382 MovieClip |
"Hita7a3" | Frame 92 | Symbol 382 MovieClip |
"Hita7a0" | Frame 92 | Symbol 383 MovieClip |
"Hita7a6" | Frame 92 | Symbol 384 MovieClip |
"Hita8a1" | Frame 92 | Symbol 382 MovieClip |
"Hita8a2" | Frame 92 | Symbol 382 MovieClip |
"Hita8a3" | Frame 92 | Symbol 382 MovieClip |
"Hita8a4" | Frame 92 | Symbol 382 MovieClip |
"Hita8a5" | Frame 92 | Symbol 382 MovieClip |
"Hita8a6" | Frame 92 | Symbol 382 MovieClip |
"Hita8a7" | Frame 92 | Symbol 382 MovieClip |
"Hita8a0" | Frame 92 | Symbol 382 MovieClip |
"Hita9a5" | Frame 92 | Symbol 382 MovieClip |
"Hita9a1" | Frame 92 | Symbol 382 MovieClip |
"Hita9a2" | Frame 92 | Symbol 382 MovieClip |
"Hita9a4" | Frame 92 | Symbol 382 MovieClip |
"Hita9a3" | Frame 92 | Symbol 382 MovieClip |
"Hita9a0" | Frame 92 | Symbol 383 MovieClip |
"Hita9a6" | Frame 92 | Symbol 384 MovieClip |
"Boule1" | Frame 92 | Symbol 355 MovieClip |
"Boule2" | Frame 92 | Symbol 214 MovieClip |
"Boule3" | Frame 92 | Symbol 215 MovieClip |
"Boule4" | Frame 92 | Symbol 357 MovieClip |
"Boule5" | Frame 92 | Symbol 216 MovieClip |
"Boule6" | Frame 92 | Symbol 358 MovieClip |
"Boule7" | Frame 92 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 92 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 92 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 92 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 92 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 92 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 92 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 92 | Symbol 402 MovieClip |
"shot" | Frame 92 | Symbol 405 MovieClip |
"Plafond" | Frame 92 | Symbol 407 MovieClip |
"Variables" | Frame 92 | Symbol 412 MovieClip |
"Sound" | Frame 92 | Symbol 430 MovieClip |
"BSound" | Frame 92 | Symbol 433 MovieClip |
"Messages" | Frame 92 | Symbol 416 MovieClip |
"Sechoir" | Frame 92 | Symbol 361 MovieClip |
"Hita0a1" | Frame 110 | Symbol 382 MovieClip |
"Hita0a2" | Frame 110 | Symbol 382 MovieClip |
"Hita0a3" | Frame 110 | Symbol 382 MovieClip |
"Hita0a4" | Frame 110 | Symbol 382 MovieClip |
"Hita0a5" | Frame 110 | Symbol 382 MovieClip |
"Hita0a6" | Frame 110 | Symbol 382 MovieClip |
"Hita0a7" | Frame 110 | Symbol 382 MovieClip |
"Hita0a0" | Frame 110 | Symbol 382 MovieClip |
"Hita1a5" | Frame 110 | Symbol 382 MovieClip |
"Hita1a1" | Frame 110 | Symbol 382 MovieClip |
"Hita1a2" | Frame 110 | Symbol 382 MovieClip |
"Hita1a4" | Frame 110 | Symbol 382 MovieClip |
"Hita1a3" | Frame 110 | Symbol 382 MovieClip |
"Hita1a0" | Frame 110 | Symbol 383 MovieClip |
"Hita1a6" | Frame 110 | Symbol 384 MovieClip |
"Hita2a1" | Frame 110 | Symbol 382 MovieClip |
"Hita2a2" | Frame 110 | Symbol 382 MovieClip |
"Hita2a3" | Frame 110 | Symbol 382 MovieClip |
"Hita2a4" | Frame 110 | Symbol 382 MovieClip |
"Hita2a5" | Frame 110 | Symbol 382 MovieClip |
"Hita2a6" | Frame 110 | Symbol 382 MovieClip |
"Hita2a7" | Frame 110 | Symbol 382 MovieClip |
"Hita2a0" | Frame 110 | Symbol 382 MovieClip |
"Hita3a5" | Frame 110 | Symbol 382 MovieClip |
"Hita3a1" | Frame 110 | Symbol 382 MovieClip |
"Hita3a2" | Frame 110 | Symbol 382 MovieClip |
"Hita3a4" | Frame 110 | Symbol 382 MovieClip |
"Hita3a3" | Frame 110 | Symbol 382 MovieClip |
"Hita3a0" | Frame 110 | Symbol 383 MovieClip |
"Hita3a6" | Frame 110 | Symbol 384 MovieClip |
"Hita4a1" | Frame 110 | Symbol 382 MovieClip |
"Hita4a2" | Frame 110 | Symbol 382 MovieClip |
"Hita4a3" | Frame 110 | Symbol 382 MovieClip |
"Hita4a4" | Frame 110 | Symbol 382 MovieClip |
"Hita4a5" | Frame 110 | Symbol 382 MovieClip |
"Hita4a6" | Frame 110 | Symbol 382 MovieClip |
"Hita4a7" | Frame 110 | Symbol 382 MovieClip |
"Hita4a0" | Frame 110 | Symbol 382 MovieClip |
"Hita5a5" | Frame 110 | Symbol 382 MovieClip |
"Hita5a1" | Frame 110 | Symbol 382 MovieClip |
"Hita5a2" | Frame 110 | Symbol 382 MovieClip |
"Hita5a4" | Frame 110 | Symbol 382 MovieClip |
"Hita5a3" | Frame 110 | Symbol 382 MovieClip |
"Hita5a0" | Frame 110 | Symbol 383 MovieClip |
"Hita5a6" | Frame 110 | Symbol 384 MovieClip |
"Hita6a1" | Frame 110 | Symbol 382 MovieClip |
"Hita6a2" | Frame 110 | Symbol 382 MovieClip |
"Hita6a3" | Frame 110 | Symbol 382 MovieClip |
"Hita6a4" | Frame 110 | Symbol 382 MovieClip |
"Hita6a5" | Frame 110 | Symbol 382 MovieClip |
"Hita6a6" | Frame 110 | Symbol 382 MovieClip |
"Hita6a7" | Frame 110 | Symbol 382 MovieClip |
"Hita6a0" | Frame 110 | Symbol 382 MovieClip |
"Hita7a5" | Frame 110 | Symbol 382 MovieClip |
"Hita7a1" | Frame 110 | Symbol 382 MovieClip |
"Hita7a2" | Frame 110 | Symbol 382 MovieClip |
"Hita7a4" | Frame 110 | Symbol 382 MovieClip |
"Hita7a3" | Frame 110 | Symbol 382 MovieClip |
"Hita7a0" | Frame 110 | Symbol 383 MovieClip |
"Hita7a6" | Frame 110 | Symbol 384 MovieClip |
"Hita8a1" | Frame 110 | Symbol 382 MovieClip |
"Hita8a2" | Frame 110 | Symbol 382 MovieClip |
"Hita8a3" | Frame 110 | Symbol 382 MovieClip |
"Hita8a4" | Frame 110 | Symbol 382 MovieClip |
"Hita8a5" | Frame 110 | Symbol 382 MovieClip |
"Hita8a6" | Frame 110 | Symbol 382 MovieClip |
"Hita8a7" | Frame 110 | Symbol 382 MovieClip |
"Hita8a0" | Frame 110 | Symbol 382 MovieClip |
"Hita9a5" | Frame 110 | Symbol 382 MovieClip |
"Hita9a1" | Frame 110 | Symbol 382 MovieClip |
"Hita9a2" | Frame 110 | Symbol 382 MovieClip |
"Hita9a4" | Frame 110 | Symbol 382 MovieClip |
"Hita9a3" | Frame 110 | Symbol 382 MovieClip |
"Hita9a0" | Frame 110 | Symbol 383 MovieClip |
"Hita9a6" | Frame 110 | Symbol 384 MovieClip |
"Boule1" | Frame 110 | Symbol 355 MovieClip |
"Boule2" | Frame 110 | Symbol 214 MovieClip |
"Boule3" | Frame 110 | Symbol 215 MovieClip |
"Boule4" | Frame 110 | Symbol 357 MovieClip |
"Boule5" | Frame 110 | Symbol 216 MovieClip |
"Boule6" | Frame 110 | Symbol 358 MovieClip |
"Boule7" | Frame 110 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 110 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 110 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 110 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 110 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 110 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 110 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 110 | Symbol 402 MovieClip |
"shot" | Frame 110 | Symbol 405 MovieClip |
"Plafond" | Frame 110 | Symbol 407 MovieClip |
"Variables" | Frame 110 | Symbol 412 MovieClip |
"Sound" | Frame 110 | Symbol 430 MovieClip |
"BSound" | Frame 110 | Symbol 433 MovieClip |
"Messages" | Frame 110 | Symbol 416 MovieClip |
"Sechoir" | Frame 110 | Symbol 361 MovieClip |
"Hita0a1" | Frame 128 | Symbol 382 MovieClip |
"Hita0a2" | Frame 128 | Symbol 382 MovieClip |
"Hita0a3" | Frame 128 | Symbol 382 MovieClip |
"Hita0a4" | Frame 128 | Symbol 382 MovieClip |
"Hita0a5" | Frame 128 | Symbol 382 MovieClip |
"Hita0a6" | Frame 128 | Symbol 382 MovieClip |
"Hita0a7" | Frame 128 | Symbol 382 MovieClip |
"Hita0a0" | Frame 128 | Symbol 382 MovieClip |
"Hita1a5" | Frame 128 | Symbol 382 MovieClip |
"Hita1a1" | Frame 128 | Symbol 382 MovieClip |
"Hita1a2" | Frame 128 | Symbol 382 MovieClip |
"Hita1a4" | Frame 128 | Symbol 382 MovieClip |
"Hita1a3" | Frame 128 | Symbol 382 MovieClip |
"Hita1a0" | Frame 128 | Symbol 383 MovieClip |
"Hita1a6" | Frame 128 | Symbol 384 MovieClip |
"Hita2a1" | Frame 128 | Symbol 382 MovieClip |
"Hita2a2" | Frame 128 | Symbol 382 MovieClip |
"Hita2a3" | Frame 128 | Symbol 382 MovieClip |
"Hita2a4" | Frame 128 | Symbol 382 MovieClip |
"Hita2a5" | Frame 128 | Symbol 382 MovieClip |
"Hita2a6" | Frame 128 | Symbol 382 MovieClip |
"Hita2a7" | Frame 128 | Symbol 382 MovieClip |
"Hita2a0" | Frame 128 | Symbol 382 MovieClip |
"Hita3a5" | Frame 128 | Symbol 382 MovieClip |
"Hita3a1" | Frame 128 | Symbol 382 MovieClip |
"Hita3a2" | Frame 128 | Symbol 382 MovieClip |
"Hita3a4" | Frame 128 | Symbol 382 MovieClip |
"Hita3a3" | Frame 128 | Symbol 382 MovieClip |
"Hita3a0" | Frame 128 | Symbol 383 MovieClip |
"Hita3a6" | Frame 128 | Symbol 384 MovieClip |
"Hita4a1" | Frame 128 | Symbol 382 MovieClip |
"Hita4a2" | Frame 128 | Symbol 382 MovieClip |
"Hita4a3" | Frame 128 | Symbol 382 MovieClip |
"Hita4a4" | Frame 128 | Symbol 382 MovieClip |
"Hita4a5" | Frame 128 | Symbol 382 MovieClip |
"Hita4a6" | Frame 128 | Symbol 382 MovieClip |
"Hita4a7" | Frame 128 | Symbol 382 MovieClip |
"Hita4a0" | Frame 128 | Symbol 382 MovieClip |
"Hita5a5" | Frame 128 | Symbol 382 MovieClip |
"Hita5a1" | Frame 128 | Symbol 382 MovieClip |
"Hita5a2" | Frame 128 | Symbol 382 MovieClip |
"Hita5a4" | Frame 128 | Symbol 382 MovieClip |
"Hita5a3" | Frame 128 | Symbol 382 MovieClip |
"Hita5a0" | Frame 128 | Symbol 383 MovieClip |
"Hita5a6" | Frame 128 | Symbol 384 MovieClip |
"Hita6a1" | Frame 128 | Symbol 382 MovieClip |
"Hita6a2" | Frame 128 | Symbol 382 MovieClip |
"Hita6a3" | Frame 128 | Symbol 382 MovieClip |
"Hita6a4" | Frame 128 | Symbol 382 MovieClip |
"Hita6a5" | Frame 128 | Symbol 382 MovieClip |
"Hita6a6" | Frame 128 | Symbol 382 MovieClip |
"Hita6a7" | Frame 128 | Symbol 382 MovieClip |
"Hita6a0" | Frame 128 | Symbol 382 MovieClip |
"Hita7a5" | Frame 128 | Symbol 382 MovieClip |
"Hita7a1" | Frame 128 | Symbol 382 MovieClip |
"Hita7a2" | Frame 128 | Symbol 382 MovieClip |
"Hita7a4" | Frame 128 | Symbol 382 MovieClip |
"Hita7a3" | Frame 128 | Symbol 382 MovieClip |
"Hita7a0" | Frame 128 | Symbol 383 MovieClip |
"Hita7a6" | Frame 128 | Symbol 384 MovieClip |
"Hita8a1" | Frame 128 | Symbol 382 MovieClip |
"Hita8a2" | Frame 128 | Symbol 382 MovieClip |
"Hita8a3" | Frame 128 | Symbol 382 MovieClip |
"Hita8a4" | Frame 128 | Symbol 382 MovieClip |
"Hita8a5" | Frame 128 | Symbol 382 MovieClip |
"Hita8a6" | Frame 128 | Symbol 382 MovieClip |
"Hita8a7" | Frame 128 | Symbol 382 MovieClip |
"Hita8a0" | Frame 128 | Symbol 382 MovieClip |
"Hita9a5" | Frame 128 | Symbol 382 MovieClip |
"Hita9a1" | Frame 128 | Symbol 382 MovieClip |
"Hita9a2" | Frame 128 | Symbol 382 MovieClip |
"Hita9a4" | Frame 128 | Symbol 382 MovieClip |
"Hita9a3" | Frame 128 | Symbol 382 MovieClip |
"Hita9a0" | Frame 128 | Symbol 383 MovieClip |
"Hita9a6" | Frame 128 | Symbol 384 MovieClip |
"Boule1" | Frame 128 | Symbol 355 MovieClip |
"Boule2" | Frame 128 | Symbol 214 MovieClip |
"Boule3" | Frame 128 | Symbol 215 MovieClip |
"Boule4" | Frame 128 | Symbol 357 MovieClip |
"Boule5" | Frame 128 | Symbol 216 MovieClip |
"Boule6" | Frame 128 | Symbol 358 MovieClip |
"Boule7" | Frame 128 | Symbol 359 MovieClip |
"BouleBrise1" | Frame 128 | Symbol 391 MovieClip |
"BouleBrise2" | Frame 128 | Symbol 393 MovieClip |
"BouleBrise3" | Frame 128 | Symbol 395 MovieClip |
"BouleBrise4" | Frame 128 | Symbol 397 MovieClip |
"BouleBrise5" | Frame 128 | Symbol 399 MovieClip |
"BouleBrise6" | Frame 128 | Symbol 401 MovieClip |
"BouleBrise7" | Frame 128 | Symbol 402 MovieClip |
"shot" | Frame 128 | Symbol 405 MovieClip |
"Plafond" | Frame 128 | Symbol 407 MovieClip |
"Variables" | Frame 128 | Symbol 412 MovieClip |
"Sound" | Frame 128 | Symbol 430 MovieClip |
"BSound" | Frame 128 | Symbol 433 MovieClip |
"Messages" | Frame 128 | Symbol 416 MovieClip |
"Sechoir" | Frame 128 | Symbol 361 MovieClip |
"QuitPage" | Frame 139 | Symbol 502 MovieClip |
"scores" | Frame 157 | Symbol 743 MovieClip |
"Anim" | Symbol 324 MovieClip Frame 1 | Symbol 321 MovieClip |
"Meter" | Symbol 327 MovieClip Frame 1 | Symbol 324 MovieClip |
"S1" | Symbol 360 MovieClip Frame 12 | Symbol 355 MovieClip |
"S2" | Symbol 360 MovieClip Frame 26 | Symbol 214 MovieClip |
"S3" | Symbol 360 MovieClip Frame 40 | Symbol 215 MovieClip |
"S4" | Symbol 360 MovieClip Frame 53 | Symbol 357 MovieClip |
"S5" | Symbol 360 MovieClip Frame 67 | Symbol 216 MovieClip |
"S6" | Symbol 360 MovieClip Frame 81 | Symbol 358 MovieClip |
"S7" | Symbol 360 MovieClip Frame 97 | Symbol 359 MovieClip |
"BouleSechoir" | Symbol 361 MovieClip Frame 1 | Symbol 360 MovieClip |
"Zone" | Symbol 405 MovieClip Frame 8 | Symbol 404 MovieClip |
"shot1" | Symbol 405 MovieClip Frame 8 | Symbol 355 MovieClip |
"shot2" | Symbol 405 MovieClip Frame 16 | Symbol 214 MovieClip |
"shot3" | Symbol 405 MovieClip Frame 23 | Symbol 215 MovieClip |
"shot4" | Symbol 405 MovieClip Frame 28 | Symbol 357 MovieClip |
"shot5" | Symbol 405 MovieClip Frame 37 | Symbol 216 MovieClip |
"shot6" | Symbol 405 MovieClip Frame 45 | Symbol 358 MovieClip |
"shot7" | Symbol 405 MovieClip Frame 52 | Symbol 359 MovieClip |
Special Tags
Protect (24) | Timeline Frame 1 | 31 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.TOTALSCORE | Symbol 301 EditableText | "236 478" |
_root.TOTALSCORE | Symbol 510 EditableText | "236 478" |
Bonus | Symbol 511 EditableText | "0" |
_root.TOTALSCORE | Symbol 528 EditableText | "236 478" |
Bonus | Symbol 529 EditableText | "0" |
_root.TOTALSCORE | Symbol 540 EditableText | "236 478" |
Bonus | Symbol 541 EditableText | "0" |
_root.TOTALSCORE | Symbol 549 EditableText | "236 478" |
Bonus | Symbol 550 EditableText | "0" |
_root.TOTALSCORE | Symbol 561 EditableText | "236 478" |
Bonus | Symbol 562 EditableText | "0" |
_root.TOTALSCORE | Symbol 604 EditableText | "236 478" |
Bonus | Symbol 605 EditableText | "0" |
_root.TOTALSCORE | Symbol 616 EditableText | "236 478" |
Bonus | Symbol 617 EditableText | "0" |
_root.TOTALSCORE | Symbol 727 EditableText | "236 478" |
_root.TOTALSCORE | Symbol 740 EditableText | "236 478" |
|