Frame 2
if (getBytesLoaded() != getBytesTotal()) {
gotoAndPlay (1);
} else {
gotoAndStop (3);
}
Frame 3
sonpion = new Sound();
sonpion.attachSound("pion");
sonno = new Sound();
sonno.attachSound("no");
sonwin = new Sound();
sonwin.attachSound("win");
stop();
Frame 4
jetons = ["rond2", "rond2", "rond2", "rond2", "rond3", "rond3", "rond3", "rond3", "rond4", "rond4", "rond4", "rond4", "rond5", "rond5", "rond5", "rond5", "rond6", "rond6", "rond6", "rond6", "rond7", "rond7", "rond7", "rond7", "rond8", "rond8", "rond8", "rond8", "rond9", "rond9", "rond9", "rond9", "trait2", "trait2", "trait2", "trait2", "trait3", "trait3", "trait3", "trait3", "trait4", "trait4", "trait4", "trait4", "trait5", "trait5", "trait5", "trait5", "trait6", "trait6", "trait6", "trait6", "trait7", "trait7", "trait7", "trait7", "trait8", "trait8", "trait8", "trait8", "trait9", "trait9", "trait9", "trait9", "chine1", "chine1", "chine1", "chine1", "chine2", "chine2", "chine2", "chine2", "chine3", "chine3", "chine3", "chine3", "chine4", "chine4", "chine4", "chine4", "chine5", "chine5", "chine5", "chine5", "chine6", "chine6", "chine6", "chine6", "chine7", "chine7", "chine7", "chine7", "chine8", "chine8", "chine8", "chine8", "chine9", "chine9", "chine9", "chine9", "rouge", "rouge", "rouge", "rouge", "vert", "vert", "vert", "vert", "ecu", "ecu", "ecu", "ecu", "bird", "bird", "bird", "bird", "nord", "nord", "nord", "nord", "sud", "sud", "sud", "sud", "est", "est", "est", "est", "ouest", "ouest", "ouest", "ouest", "vide", "vide", "vide", "vide", "jkr1", "jkr2", "jkr3", "jkr4", "jkv1", "jkv2", "jkv3", "jkv4"];
pieces = new Array();
j = 1;
while (j <= 144) {
rdm = random(jetons.length);
pieces.push(jetons[rdm]);
jetons.splice(rdm, 1);
j++;
}
gotoAndPlay (5);
stop();
Frame 5
function jouerson(param) {
if (param == "ok") {
sonpion.start();
}
if (param == "no") {
sonno.start();
}
if (param == "win") {
sonwin.start();
}
}
function erreur() {
jouerson("no");
if (selection1 != "") {
_root["piece" + selection1].contour._visible = 0;
selection1 = "";
}
if (selection2 != "") {
_root["piece" + selection2].contour._visible = 0;
selection2 = "";
}
}
function affecterselection1(piece) {
selection1 = piece;
_root["piece" + piece].contour._visible = 1;
jouerson("ok");
}
function gagner(piece) {
_root["piece" + piece]._visible = 0;
_root["piece" + selection1]._visible = 0;
_root["btn" + piece]._visible = 0;
_root["btn" + selection1]._visible = 0;
jouerson("win");
nbpiece = nbpiece - 2;
if (nbpiece == 0) {
messwin._visible = true;
pensee = proverbe[random(42)];
}
}
function mauvaisepaire(piece) {
_root["piece" + selection1].contour._visible = 0;
_root["piece" + piece].contour._visible = 0;
jouerson("no");
}
function testergagner(piece) {
if (((pieces[selection1 - 1] == pieces[piece - 1]) || ((pieces[selection1 - 1].substr(0, 3) == "jkv") && (pieces[piece - 1].substr(0, 3) == "jkv"))) || ((pieces[selection1 - 1].substr(0, 3) == "jkr") && (pieces[piece - 1].substr(0, 3) == "jkr"))) {
gagner(piece);
} else {
mauvaisepaire(piece);
}
selection1 = "";
selection2 = "";
}
function deselectionner(piece) {
_root["piece" + piece].contour._visible = 0;
selection1 = "";
selection2 = "";
jouerson("ok");
}
function testerselection2(piece) {
if (selection1 != idx) {
testergagner(piece);
} else {
deselectionner(piece);
}
}
function testerselection(piece) {
if (selection1 == "") {
affecterselection1(piece);
} else {
testerselection2(piece);
}
}
i = 0;
while (i < 144) {
_root["piece" + (i + 1)].contour._visible = 0;
_root["piece" + (i + 1)].gotoAndStop(pieces[i]);
i++;
}
pensee = "";
proverbe = ["#1 - Celui dont la pens\u00E9e ne va pas loin verra ses ennuis de pr\u00E8s.", "#2 - Celui qui pose une question risque cinq minutes d'avoir l'air b\u00EAte, celui qui ne pose pas de question restera b\u00EAte toute sa vie.", "#3 - Chaumi\u00E8re o\u00F9 l'on rit, vaut mieux que palais o\u00F9 l'on pleure.", "#4 - Frappe ta t\u00EAte contre une cruche. Si tu obtiens un son creux, n'en d\u00E9duis pas que c'est forc\u00E9ment la cruche qui est vide.", "#5 - Il n'y a pas d'\u00E9conomie \u00E0 se coucher de bonne heure pour \u00E9pargner la chandelle, s'il en r\u00E9sulte des jumeaux.", "#6 - La langue bute toujours sur la dent qui fait mal.", "#7 - L'eau renvers\u00E9e est difficile \u00E0 rattraper.", "#8 - Le boeuf est lent, mais la terre est patiente.", "#9 - Le boeuf mange la paille, et la souris le bl\u00E9.", "#10 - Le cerisier qui fleurit en hiver est un imb\u00E9cile.", "#11 - Le malheur n'entre gu\u00E8re que par la porte qu'on lui a ouverte.", "#12 - Le pauvre devine ce que donne la richesse, le riche ne sait pas ce que signifie la pauvret\u00E9.", "#13 - Le pied de la lampe est le moins \u00E9clair\u00E9.", "#14 - Le plus beau lendemain ne nous rend pas la veille.", "#15 - Le sage respecte tout. Avant tout, il se respecte lui-m\u00EAme.", "#16 - Les bonnes actions ne sont pas \u00E9bruit\u00E9es, les mauvaises, font le tour du monde.", "#17 - Les exc\u00E8s tuent plus s\u00FBrement que les \u00E9p\u00E9es.", "#18 - Les maladies entrent par la bouche, les malheurs en sortent.", "#19 - Le sot jacasse, le singe \u00E9coute.", "#20 - L'espace d'une vie est le m\u00EAme qu'on le passe en chantant ou en pleurant.", "#21 - Les plats du premier service sont toujours les plus chauds.", "#22 - Les plus jolis oiseaux sont en cage.", "#23 - Le travail de la pens\u00E9e ressemble au forage d'un puits : l'eau est trouble d'abord, puis elle se clarifie.", "#24 - L'oeil le plus juste ne vaut pas la r\u00E8gle.", "#25 - Lorsque l'on tombe, ce n'est pas le pied qui a tort.", "#26 - L'ouvrier qui veut bien faire son travail doit commencer par aiguiser ses instruments.", "#27 - M\u00EAme avec neuf femmes, on ne peut pas faire un enfant en un mois.", "#28 - On ne peut marcher en regardant les \u00E9toiles quand on a une pierre dans son soulier.", "#29 - On peut \u00EAtre intelligent toute sa vie et stupide un instant.", "#30 - On peut gu\u00E9rir d'un coup d'\u00E9p\u00E9e, mais gu\u00E8re d'un coup de langue.", "#31 - Plus l'\u00E9pi est riche de grains, et plus il plie la t\u00EAte.", "#32 - Plus on prend de la hauteur et plus on voit loin.", "#33 - Quand le doigt montre la lune, l'imb\u00E9cile regarde le doigt.", "#34 - Quand les gros maigrissent, les maigres meurent.", "#35 - Quand on ach\u00E8te une maison, on regarde les poutres. Quand on prend une femme, il faut regarder la m\u00E8re.", "#36 - Quand tout va mal, regarde-toi dans le miroir.", "#37 - Qui fait l'\u00E2ne ne doit pas s'\u00E9tonner si les autres lui montent dessus.", "#38 - Qui voit le ciel dans l'eau, voit les poissons sur les arbres.", "#39 - Si la pierre tombe sur l'oeuf, Malheur \u00E0 l'oeuf. Si l'oeuf tombe sur la pierre, Malheur \u00E0 l'oeuf.", "#40 - Si per\u00E7ante soit la vue, on ne se voit jamais de dos.", "#41 - Si tu donnes un poisson \u00E0 un homme, il mangera un jour. Si tu lui apprend \u00E0 p\u00EAcher, il mangera toujours.", "#42 - Un voyage de mille kilom\u00E8tres commence toujours par un premier pas."];
messwin._visible = false;
nbpiece = 144;
selection1 = "";
selection2 = "";
stop();
Frame 6
stop();
Symbol 10 Button
on (release) {
gotoAndStop (4);
}
Symbol 13 Button
on (release) {
gotoAndStop (6);
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 3
stop();
Symbol 63 MovieClip Frame 4
stop();
Symbol 63 MovieClip Frame 5
stop();
Symbol 63 MovieClip Frame 6
stop();
Symbol 63 MovieClip Frame 7
stop();
Symbol 63 MovieClip Frame 8
stop();
Symbol 63 MovieClip Frame 9
stop();
Symbol 63 MovieClip Frame 10
stop();
Symbol 63 MovieClip Frame 11
stop();
Symbol 63 MovieClip Frame 12
stop();
Symbol 63 MovieClip Frame 13
stop();
Symbol 63 MovieClip Frame 14
stop();
Symbol 63 MovieClip Frame 15
stop();
Symbol 63 MovieClip Frame 16
stop();
Symbol 63 MovieClip Frame 17
stop();
Symbol 63 MovieClip Frame 18
stop();
Symbol 63 MovieClip Frame 19
stop();
Symbol 63 MovieClip Frame 20
stop();
Symbol 63 MovieClip Frame 21
stop();
Symbol 63 MovieClip Frame 22
stop();
Symbol 63 MovieClip Frame 23
stop();
Symbol 63 MovieClip Frame 24
stop();
Symbol 63 MovieClip Frame 25
stop();
Symbol 63 MovieClip Frame 26
stop();
Symbol 63 MovieClip Frame 27
stop();
Symbol 63 MovieClip Frame 28
stop();
Symbol 63 MovieClip Frame 29
stop();
Symbol 63 MovieClip Frame 30
stop();
Symbol 63 MovieClip Frame 31
stop();
Symbol 63 MovieClip Frame 32
stop();
Symbol 63 MovieClip Frame 33
stop();
Symbol 63 MovieClip Frame 34
stop();
Symbol 63 MovieClip Frame 35
stop();
Symbol 63 MovieClip Frame 36
stop();
Symbol 63 MovieClip Frame 37
stop();
Symbol 63 MovieClip Frame 38
stop();
Symbol 63 MovieClip Frame 39
stop();
Symbol 63 MovieClip Frame 40
stop();
Symbol 63 MovieClip Frame 41
stop();
Symbol 63 MovieClip Frame 42
stop();
Symbol 64 Button
on (release) {
idx = 58;
testerselection(idx);
}
Symbol 65 Button
on (release) {
idx = 59;
if ((piece58._visible == 0) || (piece60._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 66 Button
on (release) {
idx = 60;
if ((piece59._visible == 0) || (piece61._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 67 Button
on (release) {
idx = 61;
if ((piece60._visible == 0) || (piece62._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 68 Button
on (release) {
idx = 62;
if ((piece61._visible == 0) || (piece63._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 69 Button
on (release) {
idx = 63;
if ((piece62._visible == 0) || (piece64._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 70 Button
on (release) {
idx = 64;
if ((piece63._visible == 0) || (piece65._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 71 Button
on (release) {
idx = 65;
if ((piece64._visible == 0) || (piece66._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 72 Button
on (release) {
idx = 66;
if ((piece65._visible == 0) || (piece67._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 73 Button
on (release) {
idx = 67;
if ((piece66._visible == 0) || (piece68._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 74 Button
on (release) {
idx = 68;
if ((piece67._visible == 0) || (piece69._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 75 Button
on (release) {
idx = 69;
testerselection(idx);
}
Symbol 76 Button
on (release) {
idx = 70;
testerselection(idx);
}
Symbol 77 Button
on (release) {
idx = 71;
if ((piece22._visible == 0) && ((piece70._visible == 0) || (piece72._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 78 Button
on (release) {
idx = 72;
if ((piece23._visible == 0) && ((piece71._visible == 0) || (piece73._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 79 Button
on (release) {
idx = 73;
if ((piece24._visible == 0) && ((piece72._visible == 0) || (piece74._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 80 Button
on (release) {
idx = 74;
if ((piece25._visible == 0) && ((piece73._visible == 0) || (piece75._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 81 Button
on (release) {
idx = 75;
if ((piece26._visible == 0) && ((piece74._visible == 0) || (piece76._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 82 Button
on (release) {
idx = 76;
if ((piece27._visible == 0) && ((piece75._visible == 0) || (piece77._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 83 Button
on (release) {
idx = 77;
testerselection(idx);
}
Symbol 84 Button
on (release) {
idx = 87;
testerselection(idx);
}
Symbol 85 Button
on (release) {
idx = 86;
if ((piece85._visible == 0) || (piece87._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 86 Button
on (release) {
idx = 85;
if ((piece33._visible == 0) && ((piece84._visible == 0) || (piece86._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 87 Button
on (release) {
idx = 84;
if ((piece32._visible == 0) && ((piece83._visible == 0) || (piece85._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 88 Button
on (release) {
idx = 83;
if ((piece31._visible == 0) && ((piece82._visible == 0) || (piece84._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 89 Button
on (release) {
idx = 82;
if ((piece30._visible == 0) && ((piece81._visible == 0) || (piece83._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 90 Button
on (release) {
idx = 81;
if ((piece29._visible == 0) && ((piece80._visible == 0) || (piece82._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 91 Button
on (release) {
idx = 80;
if ((piece28._visible == 0) && ((piece79._visible == 0) || (piece81._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 92 Button
on (release) {
idx = 79;
if ((piece78._visible == 0) || (piece80._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 93 Button
on (release) {
idx = 78;
testerselection(idx);
}
Symbol 94 Button
on (release) {
idx = 142;
testerselection(idx);
}
Symbol 95 Button
on (release) {
idx = 88;
if ((piece142._visible == 0) || (piece89._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 96 Button
on (release) {
idx = 89;
if ((piece88._visible == 0) || (piece90._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 97 Button
on (release) {
idx = 90;
if ((piece89._visible == 0) || (piece91._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 98 Button
on (release) {
idx = 91;
if ((piece34._visible == 0) && ((piece90._visible == 0) || (piece92._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 99 Button
on (release) {
idx = 92;
if ((piece35._visible == 0) && ((piece91._visible == 0) || (piece93._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 100 Button
on (release) {
idx = 93;
if ((piece36._visible == 0) && ((piece92._visible == 0) || (piece94._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 101 Button
on (release) {
idx = 94;
if ((piece37._visible == 0) && ((piece93._visible == 0) || (piece95._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 102 Button
on (release) {
idx = 95;
if ((piece38._visible == 0) && ((piece94._visible == 0) || (piece96._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 103 Button
on (release) {
idx = 96;
if ((piece39._visible == 0) && ((piece95._visible == 0) || (piece97._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 104 Button
on (release) {
idx = 97;
if ((piece96._visible == 0) || (piece98._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 105 Button
on (release) {
idx = 98;
if ((piece97._visible == 0) || (piece99._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 106 Button
on (release) {
idx = 99;
if ((piece98._visible == 0) || (piece143._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 107 Button
on (release) {
idx = 143;
if (((piece99._visible == 0) || (piece111._visible == 0)) || (piece144._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 108 Button
on (release) {
idx = 144;
testerselection(idx);
}
Symbol 109 Button
on (release) {
idx = 111;
if ((piece110._visible == 0) || (piece143._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 110 Button
on (release) {
idx = 110;
if ((piece109._visible == 0) || (piece111._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 111 Button
on (release) {
idx = 109;
if ((piece108._visible == 0) || (piece110._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 112 Button
on (release) {
idx = 108;
if ((piece45._visible == 0) && ((piece107._visible == 0) || (piece109._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 113 Button
on (release) {
idx = 107;
if ((piece44._visible == 0) && ((piece106._visible == 0) || (piece108._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 114 Button
on (release) {
idx = 106;
if ((piece43._visible == 0) && ((piece105._visible == 0) || (piece107._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 115 Button
on (release) {
idx = 105;
if ((piece42._visible == 0) && ((piece104._visible == 0) || (piece106._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 116 Button
on (release) {
idx = 104;
if ((piece41._visible == 0) && ((piece103._visible == 0) || (piece105._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 117 Button
on (release) {
idx = 103;
if ((piece40._visible == 0) && ((piece102._visible == 0) || (piece104._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 118 Button
on (release) {
idx = 102;
if ((piece101._visible == 0) || (piece103._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 119 Button
on (release) {
idx = 101;
if ((piece100._visible == 0) || (piece102._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 120 Button
on (release) {
idx = 100;
if ((piece142._visible == 0) || (piece101._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 121 Button
on (release) {
idx = 112;
testerselection(idx);
}
Symbol 122 Button
on (release) {
idx = 113;
if ((piece112._visible == 0) || (piece114._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 123 Button
on (release) {
idx = 114;
if ((piece46._visible == 0) && ((piece113._visible == 0) || (piece115._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 124 Button
on (release) {
idx = 115;
if ((piece47._visible == 0) && ((piece114._visible == 0) || (piece116._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 125 Button
on (release) {
idx = 122;
testerselection(idx);
}
Symbol 126 Button
on (release) {
idx = 123;
if ((piece52._visible == 0) && ((piece122._visible == 0) || (piece124._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 127 Button
on (release) {
idx = 124;
if ((piece53._visible == 0) && ((piece123._visible == 0) || (piece125._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 128 Button
on (release) {
idx = 116;
if ((piece48._visible == 0) && ((piece115._visible == 0) || (piece117._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 129 Button
on (release) {
idx = 117;
if ((piece49._visible == 0) && ((piece116._visible == 0) || (piece118._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 130 Button
on (release) {
idx = 118;
if ((piece50._visible == 0) && ((piece117._visible == 0) || (piece119._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 131 Button
on (release) {
idx = 119;
if ((piece51._visible == 0) && ((piece118._visible == 0) || (piece120._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 132 Button
on (release) {
idx = 125;
if ((piece54._visible == 0) && ((piece124._visible == 0) || (piece126._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 133 Button
on (release) {
idx = 126;
if ((piece55._visible == 0) && ((piece125._visible == 0) || (piece127._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 134 Button
on (release) {
idx = 127;
if ((piece56._visible == 0) && ((piece126._visible == 0) || (piece128._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 135 Button
on (release) {
idx = 128;
if ((piece57._visible == 0) && ((piece127._visible == 0) || (piece129._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 136 Button
on (release) {
idx = 120;
if ((piece119._visible == 0) || (piece121._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 137 Button
on (release) {
idx = 121;
testerselection(idx);
}
Symbol 138 Button
on (release) {
idx = 129;
testerselection(idx);
}
Symbol 139 Button
on (release) {
idx = 130;
testerselection(idx);
}
Symbol 140 Button
on (release) {
idx = 131;
if ((piece130._visible == 0) || (piece132._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 141 Button
on (release) {
idx = 132;
if ((piece131._visible == 0) || (piece133._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 142 Button
on (release) {
idx = 133;
if ((piece132._visible == 0) || (piece134._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 143 Button
on (release) {
idx = 134;
if ((piece133._visible == 0) || (piece135._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 144 Button
on (release) {
idx = 135;
if ((piece134._visible == 0) || (piece136._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 145 Button
on (release) {
idx = 136;
if ((piece135._visible == 0) || (piece137._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 146 Button
on (release) {
idx = 137;
if ((piece136._visible == 0) || (piece138._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 147 Button
on (release) {
idx = 138;
if ((piece137._visible == 0) || (piece139._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 148 Button
on (release) {
idx = 139;
if ((piece138._visible == 0) || (piece140._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 149 Button
on (release) {
idx = 140;
if ((piece139._visible == 0) || (piece141._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 150 Button
on (release) {
idx = 141;
testerselection(idx);
}
Symbol 151 Button
on (release) {
idx = 22;
testerselection(idx);
}
Symbol 152 Button
on (release) {
idx = 23;
if ((piece22._visible == 0) || (piece24._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 153 Button
on (release) {
idx = 24;
if ((piece23._visible == 0) || (piece25._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 154 Button
on (release) {
idx = 25;
if ((piece24._visible == 0) || (piece26._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 155 Button
on (release) {
idx = 28;
testerselection(idx);
}
Symbol 156 Button
on (release) {
idx = 29;
if ((piece6._visible == 0) && ((piece28._visible == 0) || (piece30._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 157 Button
on (release) {
idx = 30;
if ((piece7._visible == 0) && ((piece29._visible == 0) || (piece31._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 158 Button
on (release) {
idx = 31;
if ((piece8._visible == 0) && ((piece30._visible == 0) || (piece32._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 159 Button
on (release) {
idx = 26;
if ((piece25._visible == 0) || (piece27._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 160 Button
on (release) {
idx = 27;
testerselection(idx);
}
Symbol 161 Button
on (release) {
idx = 32;
if ((piece9._visible == 0) && ((piece31._visible == 0) || (piece33._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 162 Button
on (release) {
idx = 33;
testerselection(idx);
}
Symbol 163 Button
on (release) {
idx = 34;
testerselection(idx);
}
Symbol 164 Button
on (release) {
idx = 35;
if ((piece10._visible == 0) && ((piece34._visible == 0) || (piece36._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 165 Button
on (release) {
idx = 36;
if ((piece11._visible == 0) && ((piece35._visible == 0) || (piece37._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 166 Button
on (release) {
idx = 37;
if ((piece12._visible == 0) && ((piece36._visible == 0) || (piece38._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 167 Button
on (release) {
idx = 40;
testerselection(idx);
}
Symbol 168 Button
on (release) {
idx = 41;
if ((piece14._visible == 0) && ((piece40._visible == 0) || (piece42._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 169 Button
on (release) {
idx = 42;
if ((piece15._visible == 0) && ((piece41._visible == 0) || (piece43._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 170 Button
on (release) {
idx = 43;
if ((piece16._visible == 0) && ((piece42._visible == 0) || (piece44._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 171 Button
on (release) {
idx = 38;
if ((piece13._visible == 0) && ((piece37._visible == 0) || (piece39._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 172 Button
on (release) {
idx = 39;
testerselection(idx);
}
Symbol 173 Button
on (release) {
idx = 44;
if ((piece17._visible == 0) && ((piece43._visible == 0) || (piece45._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 174 Button
on (release) {
idx = 45;
testerselection(idx);
}
Symbol 175 Button
on (release) {
idx = 46;
testerselection(idx);
}
Symbol 176 Button
on (release) {
idx = 47;
if ((piece18._visible == 0) && ((piece46._visible == 0) || (piece48._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 177 Button
on (release) {
idx = 48;
if ((piece19._visible == 0) && ((piece47._visible == 0) || (piece49._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 178 Button
on (release) {
idx = 49;
if ((piece20._visible == 0) && ((piece48._visible == 0) || (piece50._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 179 Button
on (release) {
idx = 52;
testerselection(idx);
}
Symbol 180 Button
on (release) {
idx = 53;
if ((piece52._visible == 0) || (piece54._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 181 Button
on (release) {
idx = 54;
if ((piece53._visible == 0) || (piece55._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 182 Button
on (release) {
idx = 55;
if ((piece54._visible == 0) || (piece56._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 183 Button
on (release) {
idx = 50;
if ((piece21._visible == 0) && ((piece49._visible == 0) || (piece51._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 184 Button
on (release) {
idx = 51;
testerselection(idx);
}
Symbol 185 Button
on (release) {
idx = 56;
if ((piece54._visible == 0) || (piece57._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 186 Button
on (release) {
idx = 57;
testerselection(idx);
}
Symbol 187 Button
on (release) {
idx = 6;
testerselection(idx);
}
Symbol 188 Button
on (release) {
idx = 7;
if ((piece6._visible == 0) || (piece8._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 189 Button
on (release) {
idx = 8;
if ((piece7._visible == 0) || (piece9._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 190 Button
on (release) {
idx = 9;
testerselection(idx);
}
Symbol 191 Button
on (release) {
idx = 10;
testerselection(idx);
}
Symbol 192 Button
on (release) {
idx = 11;
if ((piece2._visible == 0) && ((piece10._visible == 0) || (piece12._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 193 Button
on (release) {
idx = 12;
if ((piece3._visible == 0) && ((piece11._visible == 0) || (piece13._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 194 Button
on (release) {
idx = 13;
testerselection(idx);
}
Symbol 195 Button
on (release) {
idx = 14;
testerselection(idx);
}
Symbol 196 Button
on (release) {
idx = 15;
if ((piece4._visible == 0) && ((piece14._visible == 0) || (piece16._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 197 Button
on (release) {
idx = 16;
if ((piece5._visible == 0) && ((piece15._visible == 0) || (piece17._visible == 0))) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 198 Button
on (release) {
idx = 17;
testerselection(idx);
}
Symbol 199 Button
on (release) {
idx = 18;
testerselection(idx);
}
Symbol 200 Button
on (release) {
idx = 19;
if ((piece18._visible == 0) || (piece20._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 201 Button
on (release) {
idx = 20;
if ((piece19._visible == 0) || (piece21._visible == 0)) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 202 Button
on (release) {
idx = 21;
testerselection(idx);
}
Symbol 203 Button
on (release) {
idx = 2;
if (piece1._visible == 0) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 204 Button
on (release) {
idx = 3;
if (piece1._visible == 0) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 205 Button
on (release) {
idx = 4;
if (piece1._visible == 0) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 206 Button
on (release) {
idx = 5;
if (piece1._visible == 0) {
testerselection(idx);
} else {
erreur();
}
}
Symbol 207 Button
on (release) {
idx = 1;
testerselection(idx);
}
Symbol 210 Button
on (release) {
gotoAndStop (3);
}
Symbol 222 Button
on (release) {
gotoAndStop (3);
}