Frame 1
stop();
list = "";
i = "0";
while (i < "13") {
j = "1";
while ("4" >= j) {
list = (list add chr("65" + i)) add j;
j = j + "1";
}
i = i + "1";
}
n = "1";
while ("52" >= n) {
NO = random(length(list) / "2");
Set("C" add n, substring(list, (NO * "2") + "1", "2"));
list = (substring(list, "1", NO * "2")) add (substring(list, (NO * "2") + "3", "-1"));
n = n + "1";
}
if (/chip:BET == "0") {
loadMovie ("chip.swf", "/chip");
}
tellTarget ("/chip") {
gotoAndStop (1);
};
Frame 2
T1 = /P1/C1/:T + /P1/C2/:T;
T2 = /P1/C1/:T + /P1/C2/:T;
if ((/P1/C1/:T == "1") and (/P1/C2/:T == "10")) {
setProperty("/musk", _visible , "0");
BJ = "1";
T2 = T1 + "10";
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("10");
} else if ((/P1/C1/:T == "10") and (/P1/C2/:T == "1")) {
setProperty("/musk", _visible , "0");
BJ = "1";
T2 = T1 + "10";
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("10");
} else if (/P1/C1/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
} else if (/P1/C2/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
}
Frame 3
T1 = T1 + /P1/C3/:T;
T2 = T2 + /P1/C3/:T;
if (/P1/C3/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
}
if ("21" < T2) {
setProperty("/musk", _visible , "1");
}
if ("21" < T1) {
tellTarget ("/message") {
gotoAndStop (2);
};
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("12");
}
Frame 4
T1 = T1 + /P1/C4/:T;
T2 = T2 + /P1/C4/:T;
if (/P1/C4/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
}
if ("21" < T2) {
setProperty("/musk", _visible , "1");
}
if ("21" < T1) {
tellTarget ("/message") {
gotoAndStop (2);
};
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("12");
}
Frame 5
T1 = T1 + /P1/C5/:T;
T2 = T2 + /P1/C5/:T;
if (/P1/C5/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
}
if ("21" < T2) {
setProperty("/musk", _visible , "1");
}
if ("21" < T1) {
tellTarget ("/message") {
gotoAndStop (2);
};
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("12");
}
Frame 6
T1 = T1 + /P1/C6/:T;
T2 = T2 + /P1/C6/:T;
if (/P1/C6/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
}
if ("21" < T2) {
setProperty("/musk", _visible , "1");
}
if ("21" < T1) {
tellTarget ("/message") {
gotoAndStop (2);
};
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("12");
}
Frame 7
T1 = T1 + /P1/C7/:T;
T2 = T2 + /P1/C7/:T;
if (/P1/C7/:T == "1") {
T2 = T1 + "10";
setProperty("/musk", _visible , "0");
}
if ("21" < T2) {
setProperty("/musk", _visible , "1");
}
if ("21" < T1) {
tellTarget ("/message") {
gotoAndStop (2);
};
tellTarget ("/P2/C11") {
gotoAndStop(eval ("/:" add _name));
};
call("12");
}
Frame 10
tellTarget ("/P2") {
nextFrame();
};
Frame 12
if (T2 < "22") {
SF = T2;
} else if (T1 < "22") {
SF = T1;
}
if (T4 < "22") {
GA = T4;
} else if (T3 < "22") {
GA = T3;
}
if ((GA < SF) and (BJ == "0")) {
tellTarget ("/message") {
gotoAndStop (4);
};
W = "2";
} else if ((SF < GA) and (T1 < "22")) {
tellTarget ("/message") {
gotoAndStop (6);
};
W = "0";
} else if ((BJ == "1") and (/P2/:BJ == "1")) {
tellTarget ("/message") {
gotoAndStop (3);
};
W = "1";
} else if ((BJ == "0") and (/P2/:BJ == "1")) {
tellTarget ("/message") {
gotoAndStop (6);
};
W = "0";
} else if ((BJ == "1") and (/P2/:BJ == "0")) {
tellTarget ("/message") {
gotoAndStop (3);
};
W = "2.5";
} else if ("21" < T1) {
W = "0";
tellTarget ("/message") {
gotoAndStop (2);
};
} else {
W = "1";
}
Set("chip/:GET", int(/chip:BET * W));
gotoAndStop (1);
Symbol 13 Button
on (release) {
call("10");
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 2
T = "1";
T = "1";
Symbol 68 MovieClip Frame 3
T = "2";
T = "2";
Symbol 68 MovieClip Frame 4
T = "3";
T = "3";
Symbol 68 MovieClip Frame 5
T = "4";
T = "4";
Symbol 68 MovieClip Frame 6
T = "5";
T = "5";
Symbol 68 MovieClip Frame 7
T = "6";
T = "6";
Symbol 68 MovieClip Frame 8
T = "7";
T = "7";
Symbol 68 MovieClip Frame 9
T = "8";
T = "8";
Symbol 68 MovieClip Frame 10
T = "9";
T = "9";
Symbol 68 MovieClip Frame 11
T = "10";
T = "10";
Symbol 68 MovieClip Frame 12
T = "10";
T = "10";
Symbol 68 MovieClip Frame 13
T = "10";
Symbol 68 MovieClip Frame 14
T = "10";
Symbol 68 MovieClip Frame 15
T = "1";
Symbol 68 MovieClip Frame 16
T = "2";
Symbol 68 MovieClip Frame 17
T = "3";
Symbol 68 MovieClip Frame 18
T = "4";
Symbol 68 MovieClip Frame 19
T = "5";
Symbol 68 MovieClip Frame 20
T = "6";
Symbol 68 MovieClip Frame 21
T = "7";
Symbol 68 MovieClip Frame 22
T = "8";
Symbol 68 MovieClip Frame 23
T = "9";
Symbol 68 MovieClip Frame 24
T = "10";
Symbol 68 MovieClip Frame 25
T = "10";
Symbol 68 MovieClip Frame 26
T = "10";
Symbol 68 MovieClip Frame 27
T = "10";
Symbol 68 MovieClip Frame 28
T = "1";
Symbol 68 MovieClip Frame 29
T = "2";
Symbol 68 MovieClip Frame 30
T = "3";
Symbol 68 MovieClip Frame 31
T = "4";
Symbol 68 MovieClip Frame 32
T = "5";
Symbol 68 MovieClip Frame 33
T = "6";
Symbol 68 MovieClip Frame 34
T = "7";
Symbol 68 MovieClip Frame 35
T = "8";
Symbol 68 MovieClip Frame 36
T = "9";
Symbol 68 MovieClip Frame 37
T = "10";
Symbol 68 MovieClip Frame 38
T = "10";
Symbol 68 MovieClip Frame 39
T = "10";
Symbol 68 MovieClip Frame 40
T = "10";
Symbol 68 MovieClip Frame 41
T = "1";
Symbol 68 MovieClip Frame 42
T = "2";
Symbol 68 MovieClip Frame 43
T = "3";
Symbol 68 MovieClip Frame 44
T = "4";
Symbol 68 MovieClip Frame 45
T = "5";
Symbol 68 MovieClip Frame 46
T = "6";
Symbol 68 MovieClip Frame 47
T = "7";
Symbol 68 MovieClip Frame 48
T = "8";
Symbol 68 MovieClip Frame 49
T = "9";
Symbol 68 MovieClip Frame 50
T = "10";
Symbol 68 MovieClip Frame 51
T = "10";
Symbol 68 MovieClip Frame 52
T = "10";
Symbol 68 MovieClip Frame 53
T = "10";
Symbol 69 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
T = "1";
T = "1";
Symbol 70 MovieClip Frame 3
T = "2";
T = "2";
Symbol 70 MovieClip Frame 4
T = "3";
T = "3";
Symbol 70 MovieClip Frame 5
T = "4";
T = "4";
Symbol 70 MovieClip Frame 6
T = "5";
T = "5";
Symbol 70 MovieClip Frame 7
T = "6";
T = "6";
Symbol 70 MovieClip Frame 8
T = "7";
T = "7";
Symbol 70 MovieClip Frame 9
T = "8";
T = "8";
Symbol 70 MovieClip Frame 10
T = "9";
T = "9";
Symbol 70 MovieClip Frame 11
T = "10";
T = "10";
Symbol 70 MovieClip Frame 12
T = "10";
T = "10";
Symbol 70 MovieClip Frame 13
T = "10";
Symbol 70 MovieClip Frame 14
T = "10";
Symbol 70 MovieClip Frame 15
T = "1";
Symbol 70 MovieClip Frame 16
T = "2";
Symbol 70 MovieClip Frame 17
T = "3";
Symbol 70 MovieClip Frame 18
T = "4";
Symbol 70 MovieClip Frame 19
T = "5";
Symbol 70 MovieClip Frame 20
T = "6";
Symbol 70 MovieClip Frame 21
T = "7";
Symbol 70 MovieClip Frame 22
T = "8";
Symbol 70 MovieClip Frame 23
T = "9";
Symbol 70 MovieClip Frame 24
T = "10";
Symbol 70 MovieClip Frame 25
T = "10";
Symbol 70 MovieClip Frame 26
T = "10";
Symbol 70 MovieClip Frame 27
T = "10";
Symbol 70 MovieClip Frame 28
T = "1";
Symbol 70 MovieClip Frame 29
T = "2";
Symbol 70 MovieClip Frame 30
T = "3";
Symbol 70 MovieClip Frame 31
T = "4";
Symbol 70 MovieClip Frame 32
T = "5";
Symbol 70 MovieClip Frame 33
T = "6";
Symbol 70 MovieClip Frame 34
T = "7";
Symbol 70 MovieClip Frame 35
T = "8";
Symbol 70 MovieClip Frame 36
T = "9";
Symbol 70 MovieClip Frame 37
T = "10";
Symbol 70 MovieClip Frame 38
T = "10";
Symbol 70 MovieClip Frame 39
T = "10";
Symbol 70 MovieClip Frame 40
T = "10";
Symbol 70 MovieClip Frame 41
T = "1";
Symbol 70 MovieClip Frame 42
T = "2";
Symbol 70 MovieClip Frame 43
T = "3";
Symbol 70 MovieClip Frame 44
T = "4";
Symbol 70 MovieClip Frame 45
T = "5";
Symbol 70 MovieClip Frame 46
T = "6";
Symbol 70 MovieClip Frame 47
T = "7";
Symbol 70 MovieClip Frame 48
T = "8";
Symbol 70 MovieClip Frame 49
T = "9";
Symbol 70 MovieClip Frame 50
T = "10";
Symbol 70 MovieClip Frame 51
T = "10";
Symbol 70 MovieClip Frame 52
T = "10";
Symbol 70 MovieClip Frame 53
T = "10";
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 3
tellTarget ("C11") {
gotoAndStop (1);
};
Symbol 71 MovieClip Frame 4
tellTarget ("C11") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
Symbol 71 MovieClip Frame 5
if (C11/:T == "1") {
A2 = "1";
setProperty("../musk2", _visible , "0");
}
if (C12/:T == "1") {
A2 = "1";
setProperty("../musk2", _visible , "0");
}
if ((C11/:T == "1") and (C12/:T == "10")) {
tellTarget ("../message2") {
gotoAndStop (3);
};
BJ = "1";
tellTarget ("../") {
call("12");
};
} else if ((C11/:T == "10") and (C12/:T == "1")) {
tellTarget ("../message2") {
gotoAndStop (3);
};
BJ = "1";
tellTarget ("../") {
call("12");
};
}
Set("../:T3", C11/:T + C12/:T);
Set("../:T4", (C11/:T + C12/:T) + (A2 * "10"));
if ((../:T4 < "17") and (BJ == "0")) {
nextFrame();
} else if (((../:T3 + (A2 * "10")) < "17") and (BJ == "0")) {
nextFrame();
} else {
tellTarget ("../") {
call("12");
};
}
Symbol 71 MovieClip Frame 6
tellTarget ("C13") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
Symbol 71 MovieClip Frame 7
if ((C13/:T == "1") and (A2 == "0")) {
A2 = "1";
Set("../:T4", (../:T4 + C13/:T) + (A2 * "10"));
setProperty("../musk2", _visible , "0");
} else {
Set("../:T4", ../:T4 + C13/:T);
}
Set("../:T3", ../:T3 + C13/:T);
if ("21" < ../:T3) {
tellTarget ("../message2") {
gotoAndStop (5);
};
tellTarget ("../") {
call("12");
};
}
if (../:T4 < "17") {
nextFrame();
} else if ((../:T3 < "17") and ("21" < ../:T4)) {
nextFrame();
} else {
tellTarget ("../") {
call("12");
};
}
if ("21" < ../:T4) {
setProperty("../musk2", _visible , "1");
}
Symbol 71 MovieClip Frame 8
tellTarget ("C14") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
Symbol 71 MovieClip Frame 9
if ((C14/:T == "1") and (A2 == "0")) {
A2 = "1";
Set("../:T4", (../:T4 + C14/:T) + (A2 * "10"));
setProperty("../musk2", _visible , "0");
} else {
Set("../:T4", ../:T4 + C14/:T);
}
Set("../:T3", ../:T3 + C14/:T);
if ("21" < ../:T3) {
tellTarget ("../message2") {
gotoAndStop (5);
};
tellTarget ("../") {
call("12");
};
}
if (../:T4 < "17") {
nextFrame();
} else if ((../:T3 < "17") and ("21" < ../:T4)) {
nextFrame();
} else {
tellTarget ("../") {
call("12");
};
}
if ("21" < ../:T4) {
setProperty("../musk2", _visible , "1");
}
Symbol 71 MovieClip Frame 10
tellTarget ("C15") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
Symbol 71 MovieClip Frame 11
if ((C15/:T == "1") and (A2 == "0")) {
A2 = "1";
Set("../:T4", (../:T4 + C15/:T) + (A2 * "10"));
setProperty("../musk2", _visible , "0");
} else {
Set("../:T4", ../:T4 + C15/:T);
}
Set("../:T3", ../:T3 + C15/:T);
if ("21" < ../:T3) {
tellTarget ("../message2") {
gotoAndStop (5);
};
tellTarget ("../") {
call("12");
};
}
if (../:T4 < "17") {
nextFrame();
} else if ((../:T3 < "17") and ("21" < ../:T4)) {
nextFrame();
} else {
tellTarget ("../") {
call("12");
};
}
if ("21" < ../:T4) {
setProperty("../musk2", _visible , "1");
}
Symbol 71 MovieClip Frame 12
tellTarget ("C16") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
Symbol 71 MovieClip Frame 13
if ((C16/:T == "1") and (A2 == "0")) {
A2 = "1";
Set("../:T4", (../:T4 + C16/:T) + (A2 * "10"));
setProperty("../musk2", _visible , "0");
} else {
Set("../:T4", ../:T4 + C16/:T);
}
Set("../:T3", ../:T3 + C16/:T);
if ("21" < ../:T3) {
tellTarget ("../message2") {
gotoAndStop (5);
};
tellTarget ("../") {
call("12");
};
}
if (../:T4 < "17") {
nextFrame();
} else if ((../:T3 < "17") and ("21" < ../:T4)) {
nextFrame();
} else {
tellTarget ("../") {
call("12");
};
}
if ("21" < ../:T4) {
setProperty("../musk2", _visible , "1");
}
Symbol 71 MovieClip Frame 14
tellTarget ("C17") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
Symbol 71 MovieClip Frame 15
if ((C17/:T == "1") and (A2 == "0")) {
A2 = "1";
Set("../:T4", (../:T4 + C17/:T) + (A2 * "10"));
setProperty("../musk2", _visible , "0");
} else {
Set("../:T4", ../:T4 + C17/:T);
}
Set("../:T3", ../:T3 + C17/:T);
if ("21" < ../:T3) {
tellTarget ("../message2") {
gotoAndStop (5);
};
tellTarget ("../") {
call("12");
};
}
if (../:T4 < "17") {
nextFrame();
} else if ((../:T3 < "17") and ("21" < ../:T4)) {
nextFrame();
} else {
tellTarget ("../") {
call("12");
};
}
if ("21" < ../:T4) {
setProperty("../musk2", _visible , "1");
}
Symbol 97 MovieClip Frame 1
stop();
Symbol 100 Button
on (release) {
W = "0";
SF = "";
GA = "";
BJ = "0";
Set("/P2/:BJ", "0");
T1 = "";
T2 = "";
T3 = "";
T4 = "";
Set("/P2/:A2", "0");
setProperty("/musk", _visible , "1");
setProperty("/musk2", _visible , "1");
tellTarget ("/message") {
gotoAndStop (1);
};
tellTarget ("/message2") {
gotoAndStop (1);
};
tellTarget ("/P1") {
gotoAndStop (3);
};
tellTarget ("/P2") {
gotoAndStop (3);
};
tellTarget ("/P2/C11") {
gotoAndStop (1);
};
n = "1";
while ("2" >= n) {
tellTarget ("/P1/C" add n) {
gotoAndStop(eval ("/:" add _name));
};
if (n == "2") {
tellTarget ("/P2/C1" add n) {
gotoAndStop(eval ("/:" add _name));
};
}
n = n + "1";
}
tellTarget ("/chip") {
gotoAndStop("L" add BET);
};
tellTarget ("/chip/TC") {
Set("../:TC", ../:TC + ../:GET);
gotoAndStop(../:TC);
};
tellTarget ("/chip/TC") {
Set("../:TC", ../:TC - ../:BET);
gotoAndStop(../:TC);
if ("0" >= ../:TC) {
setProperty("/chip/TC", _visible , "0");
} else {
setProperty("/chip/TC", _visible , "1");
}
};
nextFrame();
}
Symbol 109 Button
on (release) {
getURL ("http://homepage2.nifty.com/chavinet/", "_blank");
}
Symbol 114 Button
on (release) {
tellTarget ("/P1") {
nextFrame();
};
tellTarget ("/P1/C3") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
}
Symbol 115 Button
on (release) {
tellTarget ("/P1") {
nextFrame();
};
tellTarget ("/P1/C4") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
}
Symbol 116 Button
on (release) {
tellTarget ("/P1") {
nextFrame();
};
tellTarget ("/P1/C5") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
}
Symbol 117 Button
on (release) {
tellTarget ("/P1") {
nextFrame();
};
tellTarget ("/P1/C6") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
}
Symbol 118 Button
on (release) {
tellTarget ("/P1") {
nextFrame();
};
tellTarget ("/P1/C7") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
}
Symbol 119 Button
on (release) {
tellTarget ("/P1") {
nextFrame();
};
tellTarget ("/P1/C8") {
gotoAndStop(eval ("/:" add _name));
};
nextFrame();
}