Frame 2
stop();
Instance of Symbol 15 MovieClip in Frame 2
onClipEvent (enterFrame) {
loaded = int(_root.getBytesLoaded() / 6800);
gotoAndStop(loaded);
}
Frame 6
function addPlayersHand() {
playerHand = ((((_root.P1.value + _root.P2.value) + _root.P3.value) + _root.P4.value) + _root.P5.value) + _root.P6.value;
if ((playerHand == 21) and (_root.P3.value == 0)) {
gotoAndPlay (1);
} else if ((playerHand == 21) and (_root.P3.value != 0)) {
gotoAndPlay (1);
} else if (21 < playerHand) {
x = 1;
while (6 >= x) {
if (eval (("_root.P" + x) + ".ace") == 1) {
playerHand = playerHand - 10;
if ((playerHand == 21) and (_root.P3.value == 0)) {
gotoAndPlay (1);
x = 10;
} else if ((playerHand == 21) and (_root.P3.value != 0)) {
gotoAndPlay (1);
x = 10;
} else if (21 >= playerHand) {
x = 10;
}
}
x++;
}
if (21 < playerHand) {
gotoAndPlay (1);
}
}
}
function addDealersHand() {
dealersHand = ((((_root.D1.value + _root.D2.value) + _root.D3.value) + _root.D4.value) + _root.D5.value) + _root.D6.value;
if (((dealersHand >= 17) and (21 >= dealersHand)) || ((playerHand == 21) and (_root.P3.value == 0))) {
gotoAndPlay (1);
} else if (21 < dealersHand) {
x = 1;
while (6 >= x) {
if (eval (("_root.D" + x) + ".ace") == 1) {
dealersHand = dealersHand - 10;
if (((dealersHand >= 17) and (21 >= dealersHand)) || ((playerHand == 21) and (_root.P3.value == 0))) {
x = 10;
gotoAndPlay (1);
} else if (21 >= dealersHand) {
x = 10;
}
}
x++;
}
if (21 < dealersHand) {
gotoAndPlay (1);
}
}
}
Instance of Symbol 49 MovieClip "randomizer" in Frame 6
onClipEvent (load) {
total = 111;
}
Frame 9
stop();
Frame 15
Set("/:bonus", 1);
Set("/:computerCards", 0);
Set("/:endtime", 0);
N = 1;
x = 1;
while (6 >= x) {
Set("playerHand" + x, eval ("/:cardNumber" + N));
N = N + 1;
x++;
}
N = 7;
x = 1;
while (6 >= x) {
Set("dealerHand" + x, eval ("/:cardNumber" + N));
N = N + 1;
x++;
}
N = 12;
x = 1;
while (30 >= x) {
Set("playersStack" + x, eval ("/:cardNumber" + N));
N = N + 1;
x++;
}
playersStackN = 30;
x = 1;
while (30 >= x) {
Set("dealersStack" + x, eval ("/:cardNumber" + N));
N = N + 1;
x++;
}
dealersStackN = 30;
sideStackN = 0;
sideStackN2 = 37;
x = 1;
while (37 >= x) {
Set("sideStack" + x, eval ("/:cardNumber" + N));
N = N + 1;
x++;
}
middleStack1 = eval ("/:cardNumber" + N);
N = N + 1;
middleStack2 = eval ("/:cardNumber" + N);
N = N + 1;
middleStack3 = eval ("/:cardNumber" + N);
N = N + 1;
middleStack4 = eval ("/:cardNumber" + N);
middleStackN = 4;
N = N + 1;
Instance of Symbol 113 MovieClip "M1" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 113 MovieClip "M2" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 113 MovieClip "M3" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 113 MovieClip "M4" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 122 MovieClip "D1" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 122 MovieClip "D2" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 122 MovieClip "D3" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 122 MovieClip "D4" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 122 MovieClip "D5" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 122 MovieClip "D6" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 124 MovieClip "arrow1" in Frame 15
onClipEvent (load) {
n = 1;
}
Instance of Symbol 125 MovieClip "arrow2" in Frame 15
onClipEvent (load) {
n = 2;
}
Instance of Symbol 126 MovieClip "arrow3" in Frame 15
onClipEvent (load) {
n = 3;
}
Instance of Symbol 127 MovieClip "arrow4" in Frame 15
onClipEvent (load) {
n = 4;
}
Instance of Symbol 131 MovieClip "P3" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 131 MovieClip "P4" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 131 MovieClip "P5" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 131 MovieClip "P2" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 131 MovieClip "P1" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 131 MovieClip "P6" in Frame 15
onClipEvent (load) {
startX = _x;
startY = _y;
}
Instance of Symbol 178 MovieClip in Frame 32
onClipEvent (load) {
startx = _x;
starty = _y;
letter = "L";
}
Instance of Symbol 179 MovieClip in Frame 32
onClipEvent (load) {
startx = _x;
starty = _y;
letter = "e";
}
Instance of Symbol 180 MovieClip in Frame 32
onClipEvent (load) {
startx = _x;
starty = _y;
letter = "v";
}
Instance of Symbol 179 MovieClip in Frame 32
onClipEvent (load) {
startx = _x;
starty = _y;
letter = "e";
}
Instance of Symbol 181 MovieClip in Frame 32
onClipEvent (load) {
startx = _x;
starty = _y;
letter = /:level;
}
Instance of Symbol 182 MovieClip in Frame 32
onClipEvent (load) {
startx = _x;
starty = _y;
letter = "l";
}
Frame 48
_root.P1.gotoAndStop(playerHand1);
Frame 49
_root.D1.gotoAndStop(dealerHand1);
Frame 50
_root.P2.gotoAndStop(playerHand2);
Frame 51
_root.D2.gotoAndStop(dealerHand2);
Frame 52
_root.P3.gotoAndStop(playerHand3);
Frame 53
_root.D3.gotoAndStop(dealerHand3);
Frame 54
_root.P4.gotoAndStop(playerHand4);
Frame 55
_root.D4.gotoAndStop(dealerHand4);
Frame 56
_root.P5.gotoAndStop(playerHand5);
Frame 57
_root.D5.gotoAndStop(dealerHand5);
Frame 58
_root.P6.gotoAndStop(playerHand6);
Frame 59
_root.D6.gotoAndStop(dealerHand6);
Frame 76
_root.M1.gotoAndStop(middleStack1);
Frame 78
_root.M2.gotoAndStop(middleStack2);
Frame 80
_root.M3.gotoAndStop(middleStack3);
Frame 82
_root.M4.gotoAndStop(middleStack4);
Frame 84
_root.arrow1.gotoAndStop(2);
Frame 86
_root.arrow2.gotoAndStop(3);
Frame 88
_root.arrow3.gotoAndStop(2);
Frame 90
_root.arrow4.gotoAndStop(3);
Frame 92
stop();
Frame 95
Set("/:win", 1);
Frame 130
gotoAndPlay (169);
Frame 131
Set("/:win", 0);
Frame 190
if (/:win == 1) {
WB = 100;
} else {
WB = 0;
}
score = score + WB;
Frame 200
TB = int(/:endtime * 0.5);
score = score + TB;
Frame 207
if (dealersStackN ne "") {
CCB = dealersStackN;
} else {
CCB = 0;
}
CCB = (CCB + /:computerCards) * 25;
score = score + CCB;
Frame 221
if (/:win == 1) {
level = level + 1;
gotoAndPlay (15);
}
Frame 222
stop();
Symbol 15 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 25
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 26
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 27
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 28
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 29
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 30
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 31
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 32
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 33
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 34
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 35
_root.gotoAndStop("main");
stop();
Symbol 15 MovieClip Frame 36
_root.gotoAndStop("main");
stop();
Symbol 25 Button
on (release) {
N = 0;
score = 0;
level = 1;
gotoAndPlay (15);
}
Symbol 29 Button
on (release) {
if (_root.INS._currentframe == 1) {
_root.INS.gotoAndStop(2);
} else {
_root.INS.gotoAndStop(1);
}
}
Symbol 38 Button
on (release) {
gotoAndStop (1);
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
a = new Array(total);
i = 1;
while (total >= i) {
R = random(total);
if (a[R] != null) {
R = random(total);
if (a[R] != null) {
R = 0;
while (total >= R) {
if (a[R] == null) {
break;
}
R++;
}
}
}
a[R] = i;
i++;
}
x = 0;
while (total >= x) {
x = x + 1;
Set("/:cardNumber" add x, a[x - 1] + 3);
}
Symbol 49 MovieClip Frame 3
stop();
Symbol 58 Button
on (release) {
if (_root.INS._currentframe == 1) {
_root.INS.gotoAndStop(2);
} else {
_root.INS.gotoAndStop(1);
}
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 1
stop();
value = 0;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 2
value = 0;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 3
stop();
value = 1;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 4
value = 2;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 5
value = 3;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 6
value = 4;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 7
value = 5;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 8
value = 6;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 9
value = 7;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 10
value = 8;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 11
value = 9;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 12
value = 10;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 13
value = 11;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 14
value = 12;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 15
value = 13;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 16
value = 1;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 17
value = 2;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 18
value = 3;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 19
value = 4;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 20
value = 5;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 21
value = 6;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 22
value = 7;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 23
value = 8;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 24
value = 9;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 25
value = 10;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 26
value = 11;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 27
value = 12;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 28
value = 13;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 29
value = 1;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 30
value = 2;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 31
value = 3;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 32
value = 4;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 33
value = 5;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 34
value = 6;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 35
value = 7;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 36
value = 8;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 37
value = 9;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 38
value = 10;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 39
value = 11;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 40
value = 12;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 41
value = 13;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 42
value = 1;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 43
value = 2;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 44
value = 3;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 45
value = 4;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 46
value = 5;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 47
value = 6;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 48
value = 7;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 49
value = 8;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 50
value = 9;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 51
value = 10;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 52
value = 11;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 53
value = 12;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 54
value = 13;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 55
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 56
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 57
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 58
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 59
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 60
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 61
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 62
value = 50;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 63
value = 1;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 64
value = 2;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 65
value = 3;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 66
value = 4;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 67
value = 5;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 68
value = 6;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 69
value = 7;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 70
value = 8;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 71
value = 9;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 72
value = 10;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 73
value = 11;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 74
value = 12;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 75
value = 13;
light = 1;
rev = 0;
Symbol 113 MovieClip Frame 76
value = 1;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 77
value = 2;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 78
value = 3;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 79
value = 4;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 80
value = 5;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 81
value = 6;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 82
value = 7;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 83
value = 8;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 84
value = 9;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 85
value = 10;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 86
value = 11;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 87
value = 12;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 88
value = 13;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 89
value = 1;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 90
value = 2;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 91
value = 3;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 92
value = 4;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 93
value = 5;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 94
value = 6;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 95
value = 7;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 96
value = 8;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 97
value = 9;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 98
value = 10;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 99
value = 11;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 100
value = 12;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 101
value = 13;
light = 0;
rev = 0;
Symbol 113 MovieClip Frame 102
value = 1;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 103
value = 2;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 104
value = 3;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 105
value = 4;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 106
value = 5;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 107
value = 6;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 108
value = 7;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 109
value = 8;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 110
value = 9;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 111
value = 10;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 112
value = 11;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 113
value = 12;
light = 0;
rev = 1;
Symbol 113 MovieClip Frame 114
value = 13;
light = 0;
rev = 1;
Symbol 114 MovieClip Frame 1
stop();
if ((((((_root.P1.value == 0) or (_root.P2.value == 0)) or (_root.P3.value == 0)) or (_root.P4.value == 0)) or (_root.P5.value == 0)) or (_root.P6.value == 0)) {
if (/:playersStackN ne "") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
_root.PD.gotoAndStop(2);
}
} else if (/:playersStackN ne "") {
gotoAndStop (1);
} else {
gotoAndStop (1);
_root.PD.gotoAndStop(2);
}
Symbol 114 MovieClip Frame 2
play();
Symbol 114 MovieClip Frame 3
play();
Symbol 114 MovieClip Frame 8
if (_root.P1.value == 0) {
_root.P1.gotoAndStop(eval ("/:playersStack" + /:playersStackN));
} else if (_root.P2.value == 0) {
_root.P2.gotoAndStop(eval ("/:playersStack" + /:playersStackN));
} else if (_root.P3.value == 0) {
_root.P3.gotoAndStop(eval ("/:playersStack" + /:playersStackN));
} else if (_root.P4.value == 0) {
_root.P4.gotoAndStop(eval ("/:playersStack" + /:playersStackN));
} else if (_root.P5.value == 0) {
_root.P5.gotoAndStop(eval ("/:playersStack" + /:playersStackN));
} else if (_root.P6.value == 0) {
_root.P6.gotoAndStop(eval ("/:playersStack" + /:playersStackN));
}
Set("/:playersStackN", /:playersStackN - 1);
if (0 >= /:playersStackN) {
Set("/:playersStackN", "");
}
Symbol 114 MovieClip Frame 11
if ((((((_root.P1.value == 0) or (_root.P2.value == 0)) or (_root.P3.value == 0)) or (_root.P4.value == 0)) or (_root.P5.value == 0)) or (_root.P6.value == 0)) {
if (/:playersStackN ne "") {
gotoAndPlay (2);
} else {
gotoAndStop (1);
_root.PD.gotoAndStop(2);
}
} else if (/:playersStackN ne "") {
gotoAndStop (1);
} else {
gotoAndStop (1);
_root.PD.gotoAndStop(2);
}
Symbol 116 Button
on (release) {
Set("/:stuck", 0);
Set("/:sideStackN", /:sideStackN + 1);
if (1 < eval ("/:sideStack" + /:sideStackN)) {
_root.M1.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
} else {
Set("/:sideStackN", 1);
_root.M1.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
}
Set("/:sideStackN", /:sideStackN + 1);
if (1 < eval ("/:sideStack" + /:sideStackN)) {
_root.M2.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
} else {
Set("/:sideStackN", 1);
_root.M2.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
}
Set("/:sideStackN", /:sideStackN + 1);
if (1 < eval ("/:sideStack" + /:sideStackN)) {
_root.M3.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
} else {
Set("/:sideStackN", 1);
_root.M3.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
}
Set("/:sideStackN", /:sideStackN + 1);
if (1 < eval ("/:sideStack" + /:sideStackN)) {
_root.M4.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
} else {
Set("/:sideStackN", 1);
_root.M4.gotoAndStop(eval ("/:sideStack" + /:sideStackN));
}
Set("/:sideStackN", /:sideStackN + 1);
play();
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
stop();
value = 0;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 2
value = 0;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 3
stop();
value = 1;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 4
value = 2;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 5
value = 3;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 6
value = 4;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 7
value = 5;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 8
value = 6;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 9
value = 7;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 10
value = 8;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 11
value = 9;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 12
value = 10;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 13
value = 11;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 14
value = 12;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 15
value = 13;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 16
value = 1;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 17
value = 2;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 18
value = 3;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 19
value = 4;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 20
value = 5;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 21
value = 6;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 22
value = 7;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 23
value = 8;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 24
value = 9;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 25
value = 10;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 26
value = 11;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 27
value = 12;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 28
value = 13;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 29
value = 1;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 30
value = 2;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 31
value = 3;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 32
value = 4;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 33
value = 5;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 34
value = 6;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 35
value = 7;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 36
value = 8;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 37
value = 9;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 38
value = 10;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 39
value = 11;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 40
value = 12;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 41
value = 13;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 42
value = 1;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 43
value = 2;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 44
value = 3;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 45
value = 4;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 46
value = 5;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 47
value = 6;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 48
value = 7;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 49
value = 8;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 50
value = 9;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 51
value = 10;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 52
value = 11;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 53
value = 12;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 54
value = 13;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 55
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 56
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 57
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 58
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 59
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 60
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 61
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 62
value = 50;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 63
value = 1;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 64
value = 2;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 65
value = 3;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 66
value = 4;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 67
value = 5;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 68
value = 6;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 69
value = 7;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 70
value = 8;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 71
value = 9;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 72
value = 10;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 73
value = 11;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 74
value = 12;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 75
value = 13;
light = 1;
rev = 0;
Symbol 122 MovieClip Frame 76
value = 1;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 77
value = 2;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 78
value = 3;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 79
value = 4;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 80
value = 5;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 81
value = 6;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 82
value = 7;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 83
value = 8;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 84
value = 9;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 85
value = 10;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 86
value = 11;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 87
value = 12;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 88
value = 13;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 89
value = 1;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 90
value = 2;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 91
value = 3;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 92
value = 4;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 93
value = 5;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 94
value = 6;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 95
value = 7;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 96
value = 8;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 97
value = 9;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 98
value = 10;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 99
value = 11;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 100
value = 12;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 101
value = 13;
light = 0;
rev = 0;
Symbol 122 MovieClip Frame 102
value = 1;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 103
value = 2;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 104
value = 3;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 105
value = 4;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 106
value = 5;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 107
value = 6;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 108
value = 7;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 109
value = 8;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 110
value = 9;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 111
value = 10;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 112
value = 11;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 113
value = 12;
light = 0;
rev = 1;
Symbol 122 MovieClip Frame 114
value = 13;
light = 0;
rev = 1;
Symbol 124 MovieClip Frame 1
stop();
Set("/:direction" + n, "");
Symbol 124 MovieClip Frame 2
Set("/:direction" + n, "down");
Symbol 124 MovieClip Frame 3
Set("/:direction" + n, "up");
Symbol 125 MovieClip Frame 1
stop();
Set("/:direction" + n, "");
Symbol 125 MovieClip Frame 2
Set("/:direction" + n, "down");
Symbol 125 MovieClip Frame 3
Set("/:direction" + n, "up");
Symbol 126 MovieClip Frame 1
stop();
Set("/:direction" + n, "");
Symbol 126 MovieClip Frame 2
Set("/:direction" + n, "down");
Symbol 126 MovieClip Frame 3
Set("/:direction" + n, "up");
Symbol 127 MovieClip Frame 1
stop();
Set("/:direction" + n, "");
Symbol 127 MovieClip Frame 2
Set("/:direction" + n, "down");
Symbol 127 MovieClip Frame 3
Set("/:direction" + n, "up");
Symbol 130 Button
on (press) {
startDrag ("", true);
}
on (release) {
stopDrag();
if (value == 13) {
cardUp = 1;
} else {
cardUp = value + 1;
}
if (value == 1) {
cardDown = 13;
} else {
cardDown = value - 1;
}
if (this._droptarget eq "/M1") {
if (((((_root.M1.value == cardUp) and (/:direction1 eq "up")) or ((_root.M1.value == cardDown) and (/:direction1 eq "down"))) or (_root.M1.value == 50)) or (value == 50)) {
_root.good.gotoAndPlay(2);
Set("/:sideStackN2", /:sideStackN2 + 1);
Set("/:sideStack" + /:sideStackN2, _currentframe);
if ((_root.M1.light == 1) and (light == 1)) {
_root.lightning.gotoAndStop(2);
_root.lightning.L.gotoAndPlay(1);
Set("/:score", /:score + (value * 100));
} else {
Set("/:score", /:score + value);
}
if (rev == 1) {
if (_root.arrow1._currentframe == 2) {
_root.arrow1.gotoAndStop(3);
} else {
_root.arrow1.gotoAndStop(2);
}
}
_root.M1.gotoAndStop(_currentframe);
if (/:playersStackN ne "") {
_root.addCard.gotoAndPlay(2);
} else {
value = 0;
if ((((((_root.P1.value == 0) and (_root.P2.value == 0)) and (_root.P3.value == 0)) and (_root.P4.value == 0)) and (_root.P5.value == 0)) and (_root.P6.value == 0)) {
Set("/:endtime", (_root.timer.min * 100) + _root.timer.sec2);
x = 1;
while (6 >= x) {
if (2 < eval (("_root.D" + x) + "._currentframe")) {
Set("/:computerCards", /:computerCards + 1);
}
x++;
}
_root.gotoAndPlay("won");
}
}
gotoAndStop (2);
}
} else if (this._droptarget eq "/M2") {
if (((((_root.M2.value == cardUp) and (/:direction2 eq "up")) or ((_root.M2.value == cardDown) and (/:direction2 eq "down"))) or (_root.M2.value == 50)) or (value == 50)) {
_root.good.gotoAndPlay(2);
Set("/:sideStackN2", /:sideStackN2 + 1);
Set("/:sideStack" + /:sideStackN2, _currentframe);
if ((_root.M2.light == 1) and (light == 1)) {
_root.lightning.gotoAndStop(3);
_root.lightning.L.gotoAndPlay(1);
Set("/:score", /:score + (value * 10));
} else {
Set("/:score", /:score + value);
}
if (rev == 1) {
if (_root.arrow2._currentframe == 2) {
_root.arrow2.gotoAndStop(3);
} else {
_root.arrow2.gotoAndStop(2);
}
}
_root.M2.gotoAndStop(_currentframe);
if (/:playersStackN ne "") {
_root.addCard.gotoAndPlay(2);
} else {
value = 0;
if ((((((_root.P1.value == 0) and (_root.P2.value == 0)) and (_root.P3.value == 0)) and (_root.P4.value == 0)) and (_root.P5.value == 0)) and (_root.P6.value == 0)) {
Set("/:endtime", (_root.timer.min * 100) + _root.timer.sec2);
x = 1;
while (6 >= x) {
if (2 < eval (("_root.D" + x) + "._currentframe")) {
Set("/:computerCards", /:computerCards + 1);
}
x++;
}
_root.gotoAndPlay("won");
}
}
gotoAndStop (2);
}
} else if (this._droptarget eq "/M3") {
if (((((_root.M3.value == cardUp) and (/:direction3 eq "up")) or ((_root.M3.value == cardDown) and (/:direction3 eq "down"))) or (_root.M3.value == 50)) or (value == 50)) {
_root.good.gotoAndPlay(2);
Set("/:sideStackN2", /:sideStackN2 + 1);
Set("/:sideStack" + /:sideStackN2, _currentframe);
if ((_root.M3.light == 1) and (light == 1)) {
_root.lightning.gotoAndStop(4);
_root.lightning.L.gotoAndPlay(1);
Set("/:score", /:score + (value * 10));
} else {
Set("/:score", /:score + value);
}
if (rev == 1) {
if (_root.arrow3._currentframe == 2) {
_root.arrow3.gotoAndStop(3);
} else {
_root.arrow3.gotoAndStop(2);
}
}
_root.M3.gotoAndStop(_currentframe);
if (/:playersStackN ne "") {
_root.addCard.gotoAndPlay(2);
} else {
value = 0;
if ((((((_root.P1.value == 0) and (_root.P2.value == 0)) and (_root.P3.value == 0)) and (_root.P4.value == 0)) and (_root.P5.value == 0)) and (_root.P6.value == 0)) {
Set("/:endtime", (_root.timer.min * 100) + _root.timer.sec2);
x = 1;
while (6 >= x) {
if (2 < eval (("_root.D" + x) + "._currentframe")) {
Set("/:computerCards", /:computerCards + 1);
}
x++;
}
_root.gotoAndPlay("won");
}
}
gotoAndStop (2);
}
} else if (this._droptarget eq "/M4") {
if (((((_root.M4.value == cardUp) and (/:direction4 eq "up")) or ((_root.M4.value == cardDown) and (/:direction4 eq "down"))) or (_root.M4.value == 50)) or (value == 50)) {
_root.good.gotoAndPlay(2);
Set("/:sideStackN2", /:sideStackN2 + 1);
Set("/:sideStack" + /:sideStackN2, _currentframe);
if ((_root.M4.light == 1) and (light == 1)) {
_root.lightning.gotoAndStop(5);
_root.lightning.L.gotoAndPlay(1);
Set("/:score", /:score + (value * 10));
} else {
Set("/:score", /:score + value);
}
if (rev == 1) {
if (_root.arrow4._currentframe == 2) {
_root.arrow4.gotoAndStop(3);
} else {
_root.arrow4.gotoAndStop(2);
}
}
_root.M4.gotoAndStop(_currentframe);
if (/:playersStackN ne "") {
_root.addCard.gotoAndPlay(2);
} else {
value = 0;
if ((((((_root.P1.value == 0) and (_root.P2.value == 0)) and (_root.P3.value == 0)) and (_root.P4.value == 0)) and (_root.P5.value == 0)) and (_root.P6.value == 0)) {
Set("/:endtime", (_root.timer.min * 100) + _root.timer.sec2);
x = 1;
while (6 >= x) {
if (2 < eval (("_root.D" + x) + "._currentframe")) {
Set("/:computerCards", /:computerCards + 1);
}
x++;
}
_root.gotoAndPlay("won");
}
}
gotoAndStop (2);
}
}
_x = startX;
_y = startY;
}
Symbol 131 MovieClip Frame 1
stop();
value = 0;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 2
value = 0;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 3
stop();
value = 1;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 4
value = 2;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 5
value = 3;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 6
value = 4;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 7
value = 5;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 8
value = 6;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 9
value = 7;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 10
value = 8;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 11
value = 9;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 12
value = 10;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 13
value = 11;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 14
value = 12;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 15
value = 13;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 16
value = 1;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 17
value = 2;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 18
value = 3;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 19
value = 4;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 20
value = 5;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 21
value = 6;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 22
value = 7;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 23
value = 8;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 24
value = 9;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 25
value = 10;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 26
value = 11;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 27
value = 12;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 28
value = 13;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 29
value = 1;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 30
value = 2;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 31
value = 3;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 32
value = 4;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 33
value = 5;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 34
value = 6;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 35
value = 7;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 36
value = 8;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 37
value = 9;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 38
value = 10;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 39
value = 11;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 40
value = 12;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 41
value = 13;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 42
value = 1;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 43
value = 2;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 44
value = 3;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 45
value = 4;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 46
value = 5;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 47
value = 6;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 48
value = 7;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 49
value = 8;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 50
value = 9;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 51
value = 10;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 52
value = 11;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 53
value = 12;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 54
value = 13;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 55
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 56
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 57
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 58
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 59
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 60
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 61
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 62
value = 50;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 63
value = 1;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 64
value = 2;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 65
value = 3;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 66
value = 4;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 67
value = 5;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 68
value = 6;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 69
value = 7;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 70
value = 8;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 71
value = 9;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 72
value = 10;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 73
value = 11;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 74
value = 12;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 75
value = 13;
light = 1;
rev = 0;
Symbol 131 MovieClip Frame 76
value = 1;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 77
value = 2;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 78
value = 3;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 79
value = 4;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 80
value = 5;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 81
value = 6;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 82
value = 7;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 83
value = 8;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 84
value = 9;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 85
value = 10;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 86
value = 11;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 87
value = 12;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 88
value = 13;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 89
value = 1;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 90
value = 2;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 91
value = 3;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 92
value = 4;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 93
value = 5;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 94
value = 6;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 95
value = 7;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 96
value = 8;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 97
value = 9;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 98
value = 10;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 99
value = 11;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 100
value = 12;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 101
value = 13;
light = 0;
rev = 0;
Symbol 131 MovieClip Frame 102
value = 1;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 103
value = 2;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 104
value = 3;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 105
value = 4;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 106
value = 5;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 107
value = 6;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 108
value = 7;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 109
value = 8;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 110
value = 9;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 111
value = 10;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 112
value = 11;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 113
value = 12;
light = 0;
rev = 1;
Symbol 131 MovieClip Frame 114
value = 13;
light = 0;
rev = 1;
Symbol 141 MovieClip Frame 1
min = 7;
sec = 59;
sec2 = 59;
Symbol 141 MovieClip Frame 17
sec2 = sec2 - 1;
if ((sec2 < 10) and (sec2 >= 0)) {
sec = "0" + sec2;
} else {
sec = sec2;
}
if (((10 >= sec2) and (min == 0)) and (0 < sec2)) {
gotoAndPlay (18);
} else if ((sec2 == -1) and (0 < min)) {
sec2 = 60;
sec = sec2;
min = min - 1;
gotoAndPlay (2);
} else if ((sec2 == -1) and (min == 0)) {
stop();
sec = 0;
_root.gotoAndPlay("lost");
} else {
gotoAndPlay (2);
}
Symbol 141 MovieClip Frame 19
gotoAndPlay (2);
Symbol 146 MovieClip Frame 1
_x = ((random(50) - 25) + -462);
_y = ((random(50) - 25) + -144);
changex = random(40) - 20;
changey = random(30) + 10;
changer = random(10) + 1;
_alpha = 100;
Symbol 146 MovieClip Frame 2
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 3
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 4
_x = (_x + changex);
_y = (_y - (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 5
_x = (_x + (changex * 0.75));
_y = (_y - (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 6
_x = (_x + (changex * 0.5));
_y = (_y - (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 7
_x = (_x + (changex * 0.25));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 8
_y = (_y + (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 9
_y = (_y + (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 10
_y = (_y + (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 11
_y = (_y + changey);
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 12
_y = (_y + changey);
_alpha = 50;
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 13
_y = (_y + changey);
_alpha = 25;
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 14
_y = (_y + changey);
_alpha = 10;
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 15
_y = (_y + changey);
_alpha = 5;
_rotation = (_rotation + changer);
Symbol 146 MovieClip Frame 19
stop();
Symbol 148 MovieClip Frame 5
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 160 MovieClip Frame 5
stop();
Symbol 165 MovieClip Frame 5
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
_x = ((random(50) - 25) + startx);
_y = ((random(50) - 25) + starty);
changex = random(40) - 20;
changey = random(30) + 10;
changer = random(10) + 1;
_alpha = 100;
Symbol 178 MovieClip Frame 2
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 3
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 4
_x = (_x + changex);
_y = (_y - (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 5
_x = (_x + (changex * 0.75));
_y = (_y - (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 6
_x = (_x + (changex * 0.5));
_y = (_y - (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 7
_x = (_x + (changex * 0.25));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 8
_y = (_y + (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 9
_y = (_y + (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 10
_y = (_y + (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 11
_y = (_y + changey);
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 12
_y = (_y + changey);
_alpha = 50;
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 13
_y = (_y + changey);
_alpha = 25;
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 14
_y = (_y + changey);
_alpha = 10;
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 15
_y = (_y + changey);
_alpha = 5;
_rotation = (_rotation + changer);
Symbol 178 MovieClip Frame 19
stop();
Symbol 179 MovieClip Frame 1
_x = ((random(50) - 25) + startx);
_y = ((random(50) - 25) + starty);
changex = random(40) - 20;
changey = random(30) + 10;
changer = random(10) + 1;
_alpha = 100;
Symbol 179 MovieClip Frame 2
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 3
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 4
_x = (_x + changex);
_y = (_y - (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 5
_x = (_x + (changex * 0.75));
_y = (_y - (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 6
_x = (_x + (changex * 0.5));
_y = (_y - (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 7
_x = (_x + (changex * 0.25));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 8
_y = (_y + (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 9
_y = (_y + (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 10
_y = (_y + (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 11
_y = (_y + changey);
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 12
_y = (_y + changey);
_alpha = 50;
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 13
_y = (_y + changey);
_alpha = 25;
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 14
_y = (_y + changey);
_alpha = 10;
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 15
_y = (_y + changey);
_alpha = 5;
_rotation = (_rotation + changer);
Symbol 179 MovieClip Frame 19
stop();
Symbol 180 MovieClip Frame 1
_x = ((random(50) - 25) + startx);
_y = ((random(50) - 25) + starty);
changex = random(40) - 20;
changey = random(30) + 10;
changer = random(10) + 1;
_alpha = 100;
Symbol 180 MovieClip Frame 2
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 3
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 4
_x = (_x + changex);
_y = (_y - (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 5
_x = (_x + (changex * 0.75));
_y = (_y - (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 6
_x = (_x + (changex * 0.5));
_y = (_y - (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 7
_x = (_x + (changex * 0.25));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 8
_y = (_y + (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 9
_y = (_y + (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 10
_y = (_y + (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 11
_y = (_y + changey);
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 12
_y = (_y + changey);
_alpha = 50;
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 13
_y = (_y + changey);
_alpha = 25;
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 14
_y = (_y + changey);
_alpha = 10;
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 15
_y = (_y + changey);
_alpha = 5;
_rotation = (_rotation + changer);
Symbol 180 MovieClip Frame 19
stop();
Symbol 181 MovieClip Frame 1
_x = ((random(50) - 25) + startx);
_y = ((random(50) - 25) + starty);
changex = random(40) - 20;
changey = random(30) + 10;
changer = random(10) + 1;
_alpha = 100;
Symbol 181 MovieClip Frame 2
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 3
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 4
_x = (_x + changex);
_y = (_y - (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 5
_x = (_x + (changex * 0.75));
_y = (_y - (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 6
_x = (_x + (changex * 0.5));
_y = (_y - (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 7
_x = (_x + (changex * 0.25));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 8
_y = (_y + (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 9
_y = (_y + (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 10
_y = (_y + (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 11
_y = (_y + changey);
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 12
_y = (_y + changey);
_alpha = 50;
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 13
_y = (_y + changey);
_alpha = 25;
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 14
_y = (_y + changey);
_alpha = 10;
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 15
_y = (_y + changey);
_alpha = 5;
_rotation = (_rotation + changer);
Symbol 181 MovieClip Frame 19
stop();
Symbol 182 MovieClip Frame 1
_x = ((random(50) - 25) + startx);
_y = ((random(50) - 25) + starty);
changex = random(40) - 20;
changey = random(30) + 10;
changer = random(10) + 1;
_alpha = 100;
Symbol 182 MovieClip Frame 2
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 3
_x = (_x + changex);
_y = (_y - changey);
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 4
_x = (_x + changex);
_y = (_y - (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 5
_x = (_x + (changex * 0.75));
_y = (_y - (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 6
_x = (_x + (changex * 0.5));
_y = (_y - (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 7
_x = (_x + (changex * 0.25));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 8
_y = (_y + (changey * 0.2));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 9
_y = (_y + (changey * 0.5));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 10
_y = (_y + (changey * 0.75));
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 11
_y = (_y + changey);
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 12
_y = (_y + changey);
_alpha = 50;
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 13
_y = (_y + changey);
_alpha = 25;
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 14
_y = (_y + changey);
_alpha = 10;
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 15
_y = (_y + changey);
_alpha = 5;
_rotation = (_rotation + changer);
Symbol 182 MovieClip Frame 19
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 70
if (/:stuck == 1) {
_root.addCard2.gotoAndStop(2);
}
Symbol 197 MovieClip Frame 71
match = 0;
deck = 0;
matchDif = 0;
Symbol 197 MovieClip Frame 72
x = 1;
while (6 >= x) {
if (eval (("_root.D" + x) + ".value") >= 1) {
if (eval (("_root.D" + x) + ".value") == 13) {
cardUp = 1;
} else {
cardUp = eval (("_root.D" + x) + ".value") + 1;
}
if (eval (("_root.D" + x) + ".value") == 1) {
cardDown = 13;
} else {
cardDown = eval (("_root.D" + x) + ".value") - 1;
}
if (((((_root.M1.value == cardUp) and (/:direction1 eq "up")) or ((_root.M1.value == cardDown) and (/:direction1 eq "down"))) or (_root.M1.value == 50)) or (eval (("_root.D" + x) + ".value") == 50)) {
match = x;
deck = 1;
break;
}
if (((((_root.M2.value == cardUp) and (/:direction2 eq "up")) or ((_root.M2.value == cardDown) and (/:direction2 eq "down"))) or (_root.M2.value == 50)) or (eval (("_root.D" + x) + ".value") == 50)) {
match = x;
deck = 2;
break;
}
if (((((_root.M3.value == cardUp) and (/:direction3 eq "up")) or ((_root.M3.value == cardDown) and (/:direction3 eq "down"))) or (_root.M3.value == 50)) or (eval (("_root.D" + x) + ".value") == 50)) {
match = x;
deck = 3;
break;
}
if (((((_root.M4.value == cardUp) and (/:direction4 eq "up")) or ((_root.M4.value == cardDown) and (/:direction4 eq "down"))) or (_root.M4.value == 50)) or (eval (("_root.D" + x) + ".value") == 50)) {
match = x;
deck = 4;
break;
}
}
x++;
}
Symbol 197 MovieClip Frame 73
if (match == 0) {
Set("/:stuck", /:stuck + 1);
if (3 >= /:level) {
gotoAndPlay (2);
} else if (5 >= /:level) {
gotoAndPlay (22);
} else if (/:level == 6) {
gotoAndPlay (42);
} else if (/:level == 7) {
gotoAndPlay (57);
} else {
gotoAndPlay (69);
}
} else {
Set("/:stuck", 0);
dx = eval (("_root.D" + match) + "._x");
mx = eval (("_root.M" + deck) + "._x");
if (mx >= dx) {
dirrection = -1;
} else {
dirrection = -1;
}
eval (("_root.D" + match) + ".cover").gotoAndStop(2);
_root.addCard2.gotoAndStop(1);
if (/:level == 1) {
difX = ((eval (("_root.D" + match) + "._x") - eval (("_root.M" + deck) + "._x")) / 20) * dirrection;
difY = (eval (("_root.D" + match) + "._y") - eval (("_root.M" + deck) + "._y")) / 20;
} else if (/:level == 2) {
difX = ((eval (("_root.D" + match) + "._x") - eval (("_root.M" + deck) + "._x")) / 17) * dirrection;
difY = (eval (("_root.D" + match) + "._y") - eval (("_root.M" + deck) + "._y")) / 17;
gotoAndPlay (78);
} else if (/:level == 3) {
difX = ((eval (("_root.D" + match) + "._x") - eval (("_root.M" + deck) + "._x")) / 14) * dirrection;
difY = (eval (("_root.D" + match) + "._y") - eval (("_root.M" + deck) + "._y")) / 14;
gotoAndPlay (81);
} else if (/:level == 4) {
difX = ((eval (("_root.D" + match) + "._x") - eval (("_root.M" + deck) + "._x")) / 11) * dirrection;
difY = (eval (("_root.D" + match) + "._y") - eval (("_root.M" + deck) + "._y")) / 11;
gotoAndPlay (84);
} else {
difX = ((eval (("_root.D" + match) + "._x") - eval (("_root.M" + deck) + "._x")) / 8) * dirrection;
difY = (eval (("_root.D" + match) + "._y") - eval (("_root.M" + deck) + "._y")) / 8;
gotoAndPlay (87);
}
}
Symbol 197 MovieClip Frame 75
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 76
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 77
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 78
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 79
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 80
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 81
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 82
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 83
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 84
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 85
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 86
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 87
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 88
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 89
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 90
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 91
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 92
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 93
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + "._x") + difX);
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + "._y") - difY);
Symbol 197 MovieClip Frame 95
if ((((((((eval (("_root.D" + match) + ".value") - eval (("_root.M" + deck) + ".value")) == -1) and (eval ("/:direction" + deck) eq "up")) or (((eval (("_root.D" + match) + ".value") - eval (("_root.M" + deck) + ".value")) == 12) and (eval ("/:direction" + deck) eq "up"))) or (((eval (("_root.D" + match) + ".value") - eval (("_root.M" + deck) + ".value")) == 1) and (eval ("/:direction" + deck) eq "down"))) or (((eval (("_root.D" + match) + ".value") - eval (("_root.M" + deck) + ".value")) == -12) and (eval ("/:direction" + deck) eq "down"))) or (eval (("_root.M" + deck) + ".value") == 50)) or (eval (("_root.D" + match) + ".value") == 50)) {
if (eval (("_root.D" + match) + ".rev") == 1) {
if (eval (("_root.arrow" + deck) + "._currentframe") == 2) {
eval ("_root.arrow" + deck).gotoAndStop(3);
} else {
eval ("_root.arrow" + deck).gotoAndStop(2);
}
}
Set("/:sideStackN2", /:sideStackN2 + 1);
Set("/:sideStack" + /:sideStackN2, eval (("_root.D" + match) + "._currentframe"));
if (eval (("_root.D" + match) + "._currentframe") >= 3) {
eval ("_root.M" + deck).gotoAndStop(eval (("_root.D" + match) + "._currentframe"));
}
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + ".startX"));
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + ".startY"));
if (/:dealersStackN >= 1) {
eval ("_root.D" + match).gotoAndStop(2);
gotoAndPlay (99);
} else {
eval ("_root.D" + match).gotoAndStop(2);
gotoAndPlay (2);
}
} else {
setProperty("_root.D" + match, _x , eval (("_root.D" + match) + ".startX"));
setProperty("_root.D" + match, _y , eval (("_root.D" + match) + ".startY"));
gotoAndPlay (2);
}
Symbol 197 MovieClip Frame 103
if (/:dealersStackN == "") {
if ((((((_root.D1._currentframe == 2) and (_root.D2._currentframe == 2)) and (_root.D3._currentframe == 2)) and (_root.D4._currentframe == 2)) and (_root.D5._currentframe == 2)) and (_root.D6._currentframe == 2)) {
Set("/:endtime", (_root.timer.min * 100) + _root.timer.sec2);
_root.gotoAndPlay("lost");
}
}
Symbol 197 MovieClip Frame 110
if ((/:dealersStackN >= 1) and (/:dealersStackN ne "")) {
Set("/:dealersStackN", /:dealersStackN - 1);
eval (("_root.D" + match) + ".cover").gotoAndStop(1);
eval ("_root.D" + match).gotoAndStop(eval ("/:dealersStack" + /:dealersStackN));
}
if (/:dealersStackN < 1) {
Set("/:dealersStackN", "");
_root.DD.gotoAndStop(2);
}
Symbol 197 MovieClip Frame 111
if (/:level == 1) {
gotoAndPlay (2);
} else if (/:level == 3) {
gotoAndPlay (22);
} else if (/:level == 4) {
gotoAndPlay (42);
} else if (/:level == 5) {
gotoAndPlay (57);
} else {
gotoAndPlay (69);
}
Symbol 199 MovieClip Frame 11
stop();
Symbol 215 MovieClip Frame 1
score = _level0.score;
gcode = _level0.gcode;
if (score == 0) {
score = 5;
}
if (url_dest == null) {
getURL ("game.cfm", "_self", "POST");
} else {
getURL (url_dest, "_self", "POST");
}
stop();