Frame 1
if (_framesloaded >= _totalframes) {
this.gotoAndStop(3);
}
Frame 2
this.gotoAndPlay(1);
Frame 3
this.stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
T = 1;
Symbol 48 MovieClip Frame 3
T = 2;
Symbol 48 MovieClip Frame 4
T = 3;
Symbol 48 MovieClip Frame 5
T = 4;
Symbol 48 MovieClip Frame 6
T = 5;
Symbol 48 MovieClip Frame 7
T = 6;
Symbol 48 MovieClip Frame 8
T = 7;
Symbol 48 MovieClip Frame 9
T = 8;
Symbol 48 MovieClip Frame 10
T = 9;
Symbol 48 MovieClip Frame 11
T = 10;
Symbol 48 MovieClip Frame 12
T = 10;
Symbol 48 MovieClip Frame 13
T = 10;
Symbol 48 MovieClip Frame 14
T = 10;
Symbol 48 MovieClip Frame 15
T = 1;
Symbol 48 MovieClip Frame 16
T = 2;
Symbol 48 MovieClip Frame 17
T = 3;
Symbol 48 MovieClip Frame 18
T = 4;
Symbol 48 MovieClip Frame 19
T = 5;
Symbol 48 MovieClip Frame 20
T = 6;
Symbol 48 MovieClip Frame 21
T = 7;
Symbol 48 MovieClip Frame 22
T = 8;
Symbol 48 MovieClip Frame 23
T = 9;
Symbol 48 MovieClip Frame 24
T = 10;
Symbol 48 MovieClip Frame 25
T = 10;
Symbol 48 MovieClip Frame 26
T = 10;
Symbol 48 MovieClip Frame 27
T = 10;
Symbol 48 MovieClip Frame 28
T = 1;
Symbol 48 MovieClip Frame 29
T = 2;
Symbol 48 MovieClip Frame 30
T = 3;
Symbol 48 MovieClip Frame 31
T = 4;
Symbol 48 MovieClip Frame 32
T = 5;
Symbol 48 MovieClip Frame 33
T = 6;
Symbol 48 MovieClip Frame 34
T = 7;
Symbol 48 MovieClip Frame 35
T = 8;
Symbol 48 MovieClip Frame 36
T = 9;
Symbol 48 MovieClip Frame 37
T = 10;
Symbol 48 MovieClip Frame 38
T = 10;
Symbol 48 MovieClip Frame 39
T = 10;
Symbol 48 MovieClip Frame 40
T = 10;
Symbol 48 MovieClip Frame 41
T = 1;
Symbol 48 MovieClip Frame 42
T = 2;
Symbol 48 MovieClip Frame 43
T = 3;
Symbol 48 MovieClip Frame 44
T = 4;
Symbol 48 MovieClip Frame 45
T = 5;
Symbol 48 MovieClip Frame 46
T = 6;
Symbol 48 MovieClip Frame 47
T = 7;
Symbol 48 MovieClip Frame 48
T = 8;
Symbol 48 MovieClip Frame 49
T = 9;
Symbol 48 MovieClip Frame 50
T = 10;
Symbol 48 MovieClip Frame 51
T = 10;
Symbol 48 MovieClip Frame 52
T = 10;
Symbol 48 MovieClip Frame 53
T = 10;
Symbol 49 MovieClip Frame 1
this.stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
T = 1;
Symbol 50 MovieClip Frame 3
T = 2;
Symbol 50 MovieClip Frame 4
T = 3;
Symbol 50 MovieClip Frame 5
T = 4;
Symbol 50 MovieClip Frame 6
T = 5;
Symbol 50 MovieClip Frame 7
T = 6;
Symbol 50 MovieClip Frame 8
T = 7;
Symbol 50 MovieClip Frame 9
T = 8;
Symbol 50 MovieClip Frame 10
T = 9;
Symbol 50 MovieClip Frame 11
T = 10;
Symbol 50 MovieClip Frame 12
T = 10;
Symbol 50 MovieClip Frame 13
T = 10;
Symbol 50 MovieClip Frame 14
T = 10;
Symbol 50 MovieClip Frame 15
T = 1;
Symbol 50 MovieClip Frame 16
T = 2;
Symbol 50 MovieClip Frame 17
T = 3;
Symbol 50 MovieClip Frame 18
T = 4;
Symbol 50 MovieClip Frame 19
T = 5;
Symbol 50 MovieClip Frame 20
T = 6;
Symbol 50 MovieClip Frame 21
T = 7;
Symbol 50 MovieClip Frame 22
T = 8;
Symbol 50 MovieClip Frame 23
T = 9;
Symbol 50 MovieClip Frame 24
T = 10;
Symbol 50 MovieClip Frame 25
T = 10;
Symbol 50 MovieClip Frame 26
T = 10;
Symbol 50 MovieClip Frame 27
T = 10;
Symbol 50 MovieClip Frame 28
T = 1;
Symbol 50 MovieClip Frame 29
T = 2;
Symbol 50 MovieClip Frame 30
T = 3;
Symbol 50 MovieClip Frame 31
T = 4;
Symbol 50 MovieClip Frame 32
T = 5;
Symbol 50 MovieClip Frame 33
T = 6;
Symbol 50 MovieClip Frame 34
T = 7;
Symbol 50 MovieClip Frame 35
T = 8;
Symbol 50 MovieClip Frame 36
T = 9;
Symbol 50 MovieClip Frame 37
T = 10;
Symbol 50 MovieClip Frame 38
T = 10;
Symbol 50 MovieClip Frame 39
T = 10;
Symbol 50 MovieClip Frame 40
T = 10;
Symbol 50 MovieClip Frame 41
T = 1;
Symbol 50 MovieClip Frame 42
T = 2;
Symbol 50 MovieClip Frame 43
T = 3;
Symbol 50 MovieClip Frame 44
T = 4;
Symbol 50 MovieClip Frame 45
T = 5;
Symbol 50 MovieClip Frame 46
T = 6;
Symbol 50 MovieClip Frame 47
T = 7;
Symbol 50 MovieClip Frame 48
T = 8;
Symbol 50 MovieClip Frame 49
T = 9;
Symbol 50 MovieClip Frame 50
T = 10;
Symbol 50 MovieClip Frame 51
T = 10;
Symbol 50 MovieClip Frame 52
T = 10;
Symbol 50 MovieClip Frame 53
T = 10;
Symbol 51 MovieClip Frame 1
this.stop();
Symbol 51 MovieClip Frame 3
C11.gotoAndStop(1);
Symbol 51 MovieClip Frame 4
C11.gotoAndStop(_parent.C11);
Symbol 51 MovieClip Frame 7
this.stop();
if (Number(C11.T) == 1) {
A2 = 1;
_parent.musk2._visible = 0;
}
if (Number(C12.T) == 1) {
A2 = 1;
_parent.musk2._visible = 0;
}
if ((Number(C11.T) == 1) and (Number(C12.T) == 10)) {
_parent.message2.gotoAndStop(3);
BJ = 1;
_parent.finish();
} else if ((Number(C11.T) == 10) and (Number(C12.T) == 1)) {
_parent.message2.gotoAndStop(3);
BJ = 1;
_parent.finish();
}
_parent.T3 = Number(C11.T) + Number(C12.T);
_parent.T4 = Number(Number(C11.T) + Number(C12.T)) + Number(A2 * 10);
if ((Number(_parent.T4) < 17) and (Number(BJ) == 0)) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(Number(_parent.T3) + Number(A2 * 10)) < 17) and (Number(BJ) == 0)) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
Symbol 51 MovieClip Frame 8
C13.gotoAndStop(_parent.C13);
Symbol 51 MovieClip Frame 11
this.stop();
if ((Number(C13.T) == 1) and (Number(A2) == 0)) {
A2 = 1;
_parent.T4 = Number(Number(_parent.T4) + Number(C13.T)) + Number(A2 * 10);
_parent.musk2._visible = 0;
} else {
_parent.T4 = Number(_parent.T4) + Number(C13.T);
}
_parent.T3 = Number(_parent.T3) + Number(C13.T);
if (21 < Number(_parent.T3)) {
_parent.message2.gotoAndStop(5);
_parent.finish();
}
if (Number(_parent.T4) < 17) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(_parent.T3) < 17) and (21 < Number(_parent.T4))) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
if (21 < Number(_parent.T4)) {
_parent.musk2._visible = 1;
}
Symbol 51 MovieClip Frame 12
C14.gotoAndStop(_parent.C14);
Symbol 51 MovieClip Frame 15
this.stop();
if ((Number(C14.T) == 1) and (Number(A2) == 0)) {
A2 = 1;
_parent.T4 = Number(Number(_parent.T4) + Number(C14.T)) + Number(A2 * 10);
_parent.musk2._visible = 0;
} else {
_parent.T4 = Number(_parent.T4) + Number(C14.T);
}
_parent.T3 = Number(_parent.T3) + Number(C14.T);
if (21 < Number(_parent.T3)) {
_parent.message2.gotoAndStop(5);
_parent.finish();
}
if (Number(_parent.T4) < 17) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(_parent.T3) < 17) and (21 < Number(_parent.T4))) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
if (21 < Number(_parent.T4)) {
_parent.musk2._visible = 1;
}
Symbol 51 MovieClip Frame 16
C15.gotoAndStop(_parent.C15);
Symbol 51 MovieClip Frame 19
this.stop();
if ((Number(C15.T) == 1) and (Number(A2) == 0)) {
A2 = 1;
_parent.T4 = Number(Number(_parent.T4) + Number(C15.T)) + Number(A2 * 10);
_parent.musk2._visible = 0;
} else {
_parent.T4 = Number(_parent.T4) + Number(C15.T);
}
_parent.T3 = Number(_parent.T3) + Number(C15.T);
if (21 < Number(_parent.T3)) {
_parent.message2.gotoAndStop(5);
_parent.finish();
}
if (Number(_parent.T4) < 17) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(_parent.T3) < 17) and (21 < Number(_parent.T4))) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
if (21 < Number(_parent.T4)) {
_parent.musk2._visible = 1;
}
Symbol 51 MovieClip Frame 20
C16.gotoAndStop(_parent.C16);
Symbol 51 MovieClip Frame 23
this.stop();
if ((Number(C16.T) == 1) and (Number(A2) == 0)) {
A2 = 1;
_parent.T4 = Number(Number(_parent.T4) + Number(C16.T)) + Number(A2 * 10);
_parent.musk2._visible = 0;
} else {
_parent.T4 = Number(_parent.T4) + Number(C16.T);
}
_parent.T3 = Number(_parent.T3) + Number(C16.T);
if (21 < Number(_parent.T3)) {
_parent.message2.gotoAndStop(5);
_parent.finish();
}
if (Number(_parent.T4) < 17) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(_parent.T3) < 17) and (21 < Number(_parent.T4))) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
if (21 < Number(_parent.T4)) {
_parent.musk2._visible = 1;
}
Symbol 51 MovieClip Frame 24
C17.gotoAndStop(_parent.C17);
Symbol 51 MovieClip Frame 27
this.stop();
if ((Number(C17.T) == 1) and (Number(A2) == 0)) {
A2 = 1;
_parent.T4 = Number(Number(_parent.T4) + Number(C17.T)) + Number(A2 * 10);
_parent.musk2._visible = 0;
} else {
_parent.T4 = Number(_parent.T4) + Number(C17.T);
}
_parent.T3 = Number(_parent.T3) + Number(C17.T);
if (21 < Number(_parent.T3)) {
_parent.message2.gotoAndStop(5);
_parent.finish();
}
if (Number(_parent.T4) < 17) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(_parent.T3) < 17) and (21 < Number(_parent.T4))) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
if (21 < Number(_parent.T4)) {
_parent.musk2._visible = 1;
}
Symbol 51 MovieClip Frame 28
C18.gotoAndStop(_parent.C18);
Symbol 51 MovieClip Frame 31
this.stop();
if ((Number(C18.T) == 1) and (Number(A2) == 0)) {
A2 = 1;
_parent.T4 = Number(Number(_parent.T4) + Number(C18.T)) + Number(A2 * 10);
_parent.musk2._visible = 0;
} else {
_parent.T4 = Number(_parent.T4) + Number(C18.T);
}
_parent.T3 = Number(_parent.T3) + Number(C18.T);
if (21 < Number(_parent.T3)) {
_parent.message2.gotoAndStop(5);
_parent.finish();
}
if (Number(_parent.T4) < 17) {
this.gotoAndPlay(_currentframe + 1);
} else if ((Number(_parent.T3) < 17) and (21 < Number(_parent.T4))) {
this.gotoAndPlay(_currentframe + 1);
} else {
_parent.finish();
}
if (21 < Number(_parent.T4)) {
_parent.musk2._visible = 1;
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 67 Button
on (press) {
endflg = 0;
W = 0;
SF = "";
GA = "";
BJ = 0;
P2.BJ = 0;
DOUBLE = 0;
INSU = 0;
T1 = "";
T2 = "";
T3 = "";
T4 = "";
P2.A2 = 0;
POINT = POINT - BET;
musk._visible = 1;
musk2._visible = 1;
message.gotoAndStop(1);
message2.gotoAndStop(1);
P1.gotoAndStop(3);
P2.gotoAndStop(3);
P2.C11.gotoAndStop(1);
n = 1;
while (2 >= Number(n)) {
P1["C" + n].gotoAndStop(this["C" + n]);
if (Number(n) == 2) {
P2["C1" + n].gotoAndStop(this["C1" + n]);
}
n = Number(n) + 1;
}
this.nextFrame();
}
Symbol 71 Button
on (press) {
_parent.BET = 10;
_parent.btnnum = 1;
this.gotoAndStop(1);
}
Symbol 74 Button
on (press) {
_parent.BET = 20;
_parent.btnnum = 2;
this.gotoAndStop(2);
}
Symbol 77 Button
on (press) {
_parent.BET = 50;
_parent.btnnum = 3;
this.gotoAndStop(3);
}
Symbol 78 MovieClip Frame 1
this.stop();
Symbol 81 Button
on (press) {
P2.gotoAndPlay(P2._currentframe + 1);
this.gotoAndStop(15);
}
Symbol 84 Button
on (press) {
POINT = POINT - (BET * 0.5);
P2.C11.gotoAndStop(C11);
INSU = 1;
this.gotoAndStop(_currentframe - 1);
}
Symbol 87 Button
on (press) {
W = 0.5;
POINT = POINT + int(BET * W);
P2.C11.gotoAndStop(C11);
message.gotoAndStop(8);
this.gotoAndStop(2);
}
Symbol 90 Button
on (press) {
P1.nextFrame();
P1.C3.gotoAndStop(C3);
DOUBLE = 1;
POINT = POINT - BET;
this.gotoAndStop(8);
}
Symbol 93 Button
on (press) {
P1.nextFrame();
P1.C3.gotoAndStop(C3);
this.gotoAndStop(8);
}
Symbol 94 Button
on (press) {
P1.nextFrame();
P1.C4.gotoAndStop(C4);
this.nextFrame();
}
Symbol 95 Button
on (press) {
P1.nextFrame();
P1.C5.gotoAndStop(C5);
this.nextFrame();
}
Symbol 96 Button
on (press) {
P1.nextFrame();
P1.C6.gotoAndStop(C6);
this.nextFrame();
}
Symbol 97 Button
on (press) {
P1.nextFrame();
P1.C7.gotoAndStop(C7);
this.nextFrame();
}
Symbol 98 Button
on (press) {
P1.nextFrame();
P1.C8.gotoAndStop(C8);
this.nextFrame();
}
Symbol 99 MovieClip Frame 1
function finish() {
if (endflg == 0) {
if (Number(T2) < 22) {
SF = T2;
} else if (Number(T1) < 22) {
SF = T1;
}
if (Number(T4) < 22) {
GA = T4;
} else if (Number(T3) < 22) {
GA = T3;
}
if ((Number(GA) < Number(SF)) and (Number(BJ) == 0)) {
message.gotoAndStop(4);
W = 2;
} else if ((Number(SF) < Number(GA)) and (Number(T1) < 22)) {
message.gotoAndStop(6);
W = 0;
} else if ((Number(BJ) == 1) and (Number(P2.BJ) == 1)) {
message.gotoAndStop(3);
W = 1;
if (INSU == 1) {
W = 2.5;
}
} else if ((Number(BJ) == 0) and (Number(P2.BJ) == 1)) {
message.gotoAndStop(6);
W = 0;
if (INSU == 1) {
W = 1.5;
}
} else if ((Number(BJ) == 1) and (Number(P2.BJ) == 0)) {
message.gotoAndStop(3);
W = 2.5;
} else if (21 < Number(T1)) {
W = 0;
message.gotoAndStop(2);
} else if (21 < Number(T3)) {
W = 2;
} else if (Number(SF) == Number(GA)) {
W = 1;
message.gotoAndStop(7);
} else {
W = 1;
}
POINT = POINT + int(BET * W);
POINT = POINT + int((BET * W) * DOUBLE);
endflg = 1;
this.gotoAndStop(2);
}
}
POINT = 300;
BET = 10;
Symbol 99 MovieClip Frame 2
this.stop();
list = "";
i = 0;
while (Number(i) < 13) {
j = 1;
while (4 >= Number(j)) {
list = (list add chr(65 + i)) add j;
j = Number(j) + 1;
}
i = Number(i) + 1;
}
n = 1;
while (52 >= n) {
NO = random(length(list) / 2);
Set("C" + Number(n), substring(list, Number(NO * 2) + 1, 2));
list = (substring(list, 1, NO * 2)) add (substring(list, (NO * 2) + 3, -1));
n = Number(n) + 1;
}
Instance of Symbol 78 MovieClip in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_parent.btnnum);
}
Symbol 99 MovieClip Frame 3
T1 = Number(P1.C1.T) + Number(P1.C2.T);
T2 = Number(P1.C1.T) + Number(P1.C2.T);
if ((Number(P1.C1.T) == 1) and (Number(P1.C2.T) == 10)) {
musk._visible = 0;
BJ = 1;
T2 = Number(T1) + 10;
message.gotoAndStop(3);
} else if ((Number(P1.C1.T) == 10) and (Number(P1.C2.T) == 1)) {
musk._visible = 0;
BJ = 1;
T2 = Number(T1) + 10;
message.gotoAndStop(3);
} else if (Number(P1.C1.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
} else if (Number(P1.C2.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if ((BJ == 0) && (P2.C12.T == 1)) {
this.gotoAndStop(_currentframe + 4);
} else if (BJ == 0) {
this.gotoAndStop(_currentframe + 3);
} else if ((BJ == 1) && (P2.C12.T == 1)) {
this.gotoAndStop(_currentframe + 2);
} else if (BJ == 1) {
this.gotoAndStop(_currentframe + 1);
}
Symbol 99 MovieClip Frame 4
if (INSU == 1) {
if (P2.C11.T == 10) {
P2.gotoAndPlay(P2._currentframe + 1);
} else {
P2.C11.gotoAndStop(1);
}
}
Symbol 99 MovieClip Frame 6
if (INSU == 1) {
if (P2.C11.T == 10) {
P2.gotoAndPlay(P2._currentframe + 1);
} else {
P2.C11.gotoAndStop(1);
}
}
Symbol 99 MovieClip Frame 8
T1 = Number(T1) + Number(P1.C3.T);
T2 = Number(T2) + Number(P1.C3.T);
if (Number(P1.C3.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if (21 < Number(T2)) {
musk._visible = 1;
}
if (21 < Number(T1)) {
message.gotoAndStop(2);
P2.C11.gotoAndStop(C11);
this.finish();
} else if (Number(DOUBLE) == 1) {
P2.gotoAndPlay(P2._currentframe + 1);
this.gotoAndStop(12);
}
Symbol 99 MovieClip Frame 9
T1 = Number(T1) + Number(P1.C4.T);
T2 = Number(T2) + Number(P1.C4.T);
if (Number(P1.C4.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if (21 < Number(T2)) {
musk._visible = 1;
}
if (21 < Number(T1)) {
message.gotoAndStop(2);
P2.C11.gotoAndStop(C11);
this.finish();
}
Symbol 99 MovieClip Frame 10
T1 = Number(T1) + Number(P1.C5.T);
T2 = Number(T2) + Number(P1.C5.T);
if (Number(P1.C5.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if (21 < Number(T2)) {
musk._visible = 1;
}
if (21 < Number(T1)) {
message.gotoAndStop(2);
P2.C11.gotoAndStop(C11);
this.finish();
}
Symbol 99 MovieClip Frame 11
T1 = Number(T1) + Number(P1.C6.T);
T2 = Number(T2) + Number(P1.C6.T);
if (Number(P1.C6.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if (21 < Number(T2)) {
musk._visible = 1;
}
if (21 < Number(T1)) {
message.gotoAndStop(2);
P2.C11.gotoAndStop(C11);
this.finish();
}
Symbol 99 MovieClip Frame 12
T1 = Number(T1) + Number(P1.C7.T);
T2 = Number(T2) + Number(P1.C7.T);
if (Number(P1.C7.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if (21 < Number(T2)) {
musk._visible = 1;
}
if (21 < Number(T1)) {
message.gotoAndStop(2);
P2.C11.gotoAndStop(C11);
this.finish();
}
Symbol 99 MovieClip Frame 13
T1 = Number(T1) + Number(P1.C8.T);
T2 = Number(T2) + Number(P1.C8.T);
if (Number(P1.C8.T) == 1) {
T2 = Number(T1) + 10;
musk._visible = 0;
}
if (21 < Number(T2)) {
musk._visible = 1;
}
if (21 < Number(T1)) {
message.gotoAndStop(2);
P2.C11.gotoAndStop(C11);
this.finish();
}
Symbol 99 MovieClip Frame 14
P2.nextFrame();
Symbol 99 MovieClip Frame 15
this.stop();
Symbol 99 MovieClip Frame 18
this.finish();