Frame 1
ifFrameLoaded (3) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
ifFrameLoaded (107) {
tellTarget ("teacup") {
gotoAndStop (2);
};
}
Frame 104
ifFrameLoaded (107) {
tellTarget ("teacup") {
gotoAndStop (2);
};
}
Frame 105
gotoAndPlay (104);
Frame 106
gotoAndPlay (107);
Frame 107
Credits = "1000";
n = "1";
m = "1";
l = "1";
k = "1";
j = "1";
qd = "1";
Total = "2000";
acheck = "1";
creditsPlayed = "0";
creditsPlayedpp = "0";
creditsPlayedan = "0";
creditsPlayedpl = "0";
fold = "0";
tOff = "0";
hsdplay = "0";
betMover = "1";
rf = "0";
dealplay = "1";
tellTarget ("/b-stand") {
gotoAndStop (2);
};
tellTarget ("/b-hit") {
gotoAndStop (2);
};
tellTarget ("/b-deal") {
gotoAndStop (2);
}
Frame 108
stop();
Frame 110
gotoAndStop (108);
Symbol 5 Button
on (press) {
tellTarget ("/") {
gotoAndPlay ("geek");
}
}
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 37 Button
on (release) {
if (tOff == "0") {
if (dealplay == "1") {
if (creditsPlayed <> "0") {
tellTarget ("/setcards") {
gotoAndPlay (2);
};
betMover = "0";
dealplay = "0";
tellTarget ("/b-deal") {
gotoAndStop (2);
};
}
}
}
}
Symbol 39 Button
on (release) {
if (tOff == "0") {
if (hsdplay == "1") {
hsdplay = "0";
creditsPlayedpl = creditsPlayedan;
creditsPlayed = creditsPlayed + creditsPlayedan;
Credits = Credits - creditsPlayedan;
setProperty("_level0/setcards/card1", _rotation , -"20");
setProperty("_level0/setcards/card3", _rotation , "20");
setProperty("_level0/setcards/card1", _x , -"10.5");
setProperty("_level0/setcards/card2", _x , -"2.5");
setProperty("_level0/setcards/card3", _x , "13.5");
setProperty("_level0/setcards/card1", _y , "60.5");
setProperty("_level0/setcards/card2", _y , "60.5");
setProperty("_level0/setcards/card3", _y , "60.5");
tellTarget ("/setcards") {
play();
};
tellTarget ("/b-stand") {
gotoAndStop (2);
};
tellTarget ("/b-hit") {
gotoAndStop (2);
};
tellTarget ("/b-deal") {
gotoAndStop (2);
};
}
}
}
Symbol 40 Button
on (release) {
if (tOff == "0") {
tOff = "1";
tellTarget ("/about") {
gotoAndStop (2);
};
}
}
Symbol 41 Button
on (release) {
if (tOff == "0") {
tOff = "1";
tellTarget ("/help") {
gotoAndStop (2);
};
}
}
Symbol 42 Button
on (release) {
if (tOff == "0") {
if (hsdplay == "1") {
hsdplay = "0";
fold = "1";
tellTarget ("/setcards") {
play();
};
tellTarget ("/b-stand") {
gotoAndStop (2);
};
tellTarget ("/b-hit") {
gotoAndStop (2);
};
tellTarget ("/b-deal") {
gotoAndStop (2);
};
}
}
}
Symbol 62 Button
on (press) {
if (tOff == "0") {
if (betMover == "1") {
tellTarget ("/b-deal") {
gotoAndStop (2);
};
Credits = Credits + creditsPlayed;
creditsPlayed = "0";
creditsPlayedpp = "0";
creditsPlayedpl = "0";
creditsPlayedan = "0";
OnMax = "0";
OnMaxBet = "0";
tellTarget ("_level0/") {
gotoAndPlay ("dope");
};
qd2 = _level0/:qd;
while (qd2 >= "2") {
removeMovieClip("_level0/cr" add qd2);
removeMovieClip("_level0/dr" add qd2);
removeMovieClip("_level0/er" add qd2);
removeMovieClip("_level0/fr" add qd2);
removeMovieClip("_level0/gr" add qd2);
qd2 = qd2 - "2";
}
setProperty("_level0/cr1", _y , "452.5");
setProperty("_level0/cr1", _x , "245.1");
setProperty("_level0/dr1", _y , "452.5");
setProperty("_level0/dr1", _x , "286.1");
setProperty("_level0/er1", _y , "452.5");
setProperty("_level0/er1", _x , "328.1");
setProperty("_level0/fr1", _y , "452.5");
setProperty("_level0/fr1", _x , "370.1");
setProperty("_level0/gr1", _y , "452.5");
setProperty("_level0/gr1", _x , "410.1");
tellTarget ("_level0/cr1") {
gotoAndStop (1);
};
tellTarget ("_level0/dr1") {
gotoAndStop (1);
};
tellTarget ("_level0/er1") {
gotoAndStop (1);
};
tellTarget ("_level0/fr1") {
gotoAndStop (1);
};
tellTarget ("_level0/gr1") {
gotoAndStop (1);
};
Set("_level0/:qd", "1");
Set("_level0/:j", "1");
Set("_level0/:k", "1");
Set("_level0/:l", "1");
Set("_level0/:m", "1");
Set("_level0/:n", "1");
}
}
}
Symbol 67 Button
on (press) {
Set("../:OnMax", "2");
Set("../:Credits", ../:Credits - ../:creditsPlayed);
Set("../:creditsPlayed", ../:creditsPlayed * "2");
gotoAndStop (6);
}
Symbol 68 Button
on (press) {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - (../:creditsPlayed * "2"));
Set("../:creditsPlayed", ../:creditsPlayed * "3");
gotoAndStop (11);
}
Symbol 71 Button
on (press) {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - (../:creditsPlayed / "2"));
Set("../:creditsPlayed", ../:creditsPlayed + (../:creditsPlayed / "2"));
gotoAndStop (11);
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 6
stop();
Symbol 72 MovieClip Frame 11
play();
if (../:OnMaxBet == "1") {
Set("../:Credits", ../:Credits - "1");
Set("../:creditsPlayed", ../:creditsPlayed + "1");
Set("../:chipRow", ../:chipRow + "1");
}
if (../:OnMaxBet == "5") {
tellTarget ("_level0/cr1") {
gotoAndPlay ("5");
};
Set("../:Credits", ../:Credits - "5");
Set("../:creditsPlayed", ../:creditsPlayed + "5");
Set("../:chipRow", ../:chipRow + "1");
}
if (../:OnMaxBet == "10") {
tellTarget ("_level0/cr1") {
gotoAndPlay ("10");
};
Set("../:Credits", ../:Credits - "10");
Set("../:creditsPlayed", ../:creditsPlayed + "10");
Set("../:chipRow", ../:chipRow + "1");
}
if (../:OnMaxBet == "25") {
tellTarget ("_level0/cr1") {
gotoAndPlay ("25");
};
Set("../:Credits", ../:Credits - "25");
Set("../:creditsPlayed", ../:creditsPlayed + "25");
Set("../:chipRow", ../:chipRow + "1");
}
if (../:OnMaxBet == "50") {
tellTarget ("_level0/cr1") {
gotoAndPlay ("50");
};
Set("../:Credits", ../:Credits - "50");
Set("../:creditsPlayed", ../:creditsPlayed + "50");
Set("../:chipRow", ../:chipRow + "1");
}
if (../:OnMaxBet == "100") {
tellTarget ("_level0/cr1") {
gotoAndPlay ("100");
};
Set("../:Credits", ../:Credits - "100");
Set("../:creditsPlayed", ../:creditsPlayed + "100");
Set("../:chipRow", ../:chipRow + "1");
}
Symbol 72 MovieClip Frame 13
if (../:OnMaxBet == "1") {
Set("../:Credits", ../:Credits - "1");
Set("../:creditsPlayed", ../:creditsPlayed + "1");
}
if (../:OnMaxBet == "5") {
Set("../:Credits", ../:Credits - "5");
Set("../:creditsPlayed", ../:creditsPlayed + "5");
}
if (../:OnMaxBet == "10") {
Set("../:Credits", ../:Credits - "10");
Set("../:creditsPlayed", ../:creditsPlayed + "10");
}
if (../:OnMaxBet == "25") {
Set("../:Credits", ../:Credits - "25");
Set("../:creditsPlayed", ../:creditsPlayed + "25");
}
if (../:OnMaxBet == "50") {
Set("../:Credits", ../:Credits - "50");
Set("../:creditsPlayed", ../:creditsPlayed + "50");
}
if (../:OnMaxBet == "100") {
Set("../:Credits", ../:Credits - "100");
Set("../:creditsPlayed", ../:creditsPlayed + "100");
}
Symbol 72 MovieClip Frame 15
stop();
if (../:OnMaxBet == "1") {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - "1");
Set("../:creditsPlayed", ../:creditsPlayed + "1");
}
if (../:OnMaxBet == "5") {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - "5");
Set("../:creditsPlayed", ../:creditsPlayed + "5");
}
if (../:OnMaxBet == "10") {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - "10");
Set("../:creditsPlayed", ../:creditsPlayed + "10");
}
if (../:OnMaxBet == "25") {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - "25");
Set("../:creditsPlayed", ../:creditsPlayed + "25");
}
if (../:OnMaxBet == "50") {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - "50");
Set("../:creditsPlayed", ../:creditsPlayed + "50");
}
if (../:OnMaxBet == "100") {
Set("../:OnMax", "3");
Set("../:Credits", ../:Credits - "100");
Set("../:creditsPlayed", ../:creditsPlayed + "100");
}
Symbol 72 MovieClip Frame 16
stop();
Symbol 72 MovieClip Frame 21
stop();
Symbol 72 MovieClip Frame 26
stop();
Symbol 73 Button
on (press) {
if ((../:tOff == "0") and (../:betMover == "1")) {
if ((_level0/:Credits >= "5") and (((_level0/:Credits - "5") >= (_level0/:creditsPlayedan + "5")) or (_level0/:creditsPlayedan == "0"))) {
startDrag ("_level0/cr" add _level0/:n);
}
}
}
on (release) {
stopDrag();
if (_droptarget eq "/PP") {
Set("_level0/:n", _level0/:n + "2");
Set("_level0/:qd", _level0/:qd + "2");
cr = "cr" add _level0/:n;
duplicateMovieClip ("_level0/cr1", cr, _level0/:qd);
setProperty("_level0/cr" add _level0/:n, _x , "245.1");
setProperty("_level0/cr" add _level0/:n, _y , "452.5");
Set(cr add "_level0/:n", _level0/:n);
gotoAndStop (2);
}
if (_droptarget eq "/ANTE") {
Set("_level0/:n", _level0/:n + "2");
Set("_level0/:qd", _level0/:qd + "2");
cr = "cr" add _level0/:n;
duplicateMovieClip ("_level0/cr1", cr, _level0/:qd);
setProperty("_level0/cr" add _level0/:n, _x , "245.1");
setProperty("_level0/cr" add _level0/:n, _y , "452.5");
Set(cr add "_level0/:n", _level0/:n);
gotoAndStop (3);
}
if ((_droptarget ne "/ANTE") or (_droptarget ne "/PP")) {
setProperty("_level0/cr" add _level0/:n, _x , "245.1");
setProperty("_level0/cr" add _level0/:n, _y , "452.5");
}
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "5");
Set("_level0/:Credits", _level0/:Credits - "5");
Set("_level0/:creditsPlayedpp", _level0/:creditsPlayedpp + "5");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 74 MovieClip Frame 3
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "5");
Set("_level0/:Credits", _level0/:Credits - "5");
Set("_level0/:creditsPlayedan", _level0/:creditsPlayedan + "5");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 77 Button
on (press) {
if ((../:tOff == "0") and (../:betMover == "1")) {
if ((_level0/:Credits >= "10") and (((_level0/:Credits - "10") >= (_level0/:creditsPlayedan + "10")) or (_level0/:creditsPlayedan == "0"))) {
startDrag ("_level0/dr" add _level0/:m);
}
}
}
on (release) {
stopDrag();
if (_droptarget eq "/PP") {
nextFrame();
Set("_level0/:m", _level0/:m + "2");
Set("_level0/:qd", _level0/:qd + "2");
dr = "dr" add _level0/:m;
duplicateMovieClip ("_level0/dr1", dr, _level0/:qd);
setProperty("_level0/dr" add _level0/:m, _x , "286.1");
setProperty("_level0/dr" add _level0/:m, _y , "452.5");
Set(dr add "_level0/:m", _level0/:m);
}
if (_droptarget eq "/ANTE") {
gotoAndStop (3);
Set("_level0/:m", _level0/:m + "2");
Set("_level0/:qd", _level0/:qd + "2");
dr = "dr" add _level0/:m;
duplicateMovieClip ("_level0/dr1", dr, _level0/:qd);
setProperty("_level0/dr" add _level0/:m, _x , "286.1");
setProperty("_level0/dr" add _level0/:m, _y , "452.5");
Set(dr add "_level0/:m", _level0/:m);
}
if ((_droptarget ne "/ANTE") or (_droptarget ne "/PP")) {
setProperty("_level0/dr" add _level0/:m, _x , "286.1");
setProperty("_level0/dr" add _level0/:m, _y , "452.5");
}
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "10");
Set("_level0/:Credits", _level0/:Credits - "10");
Set("_level0/:creditsPlayedpp", _level0/:creditsPlayedpp + "10");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 78 MovieClip Frame 3
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "10");
Set("_level0/:Credits", _level0/:Credits - "10");
Set("_level0/:creditsPlayedan", _level0/:creditsPlayedan + "10");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 79 Button
on (press) {
if ((../:tOff == "0") and (../:betMover == "1")) {
if ((_level0/:Credits >= "25") and (((_level0/:Credits - "25") >= (_level0/:creditsPlayedan + "25")) or (_level0/:creditsPlayedan == "0"))) {
startDrag ("_level0/er" add _level0/:l);
}
}
}
on (release) {
stopDrag();
if (_droptarget eq "/PP") {
nextFrame();
Set("_level0/:l", _level0/:l + "2");
Set("_level0/:qd", _level0/:qd + "2");
er = "er" add _level0/:l;
duplicateMovieClip ("_level0/er1", er, _level0/:qd);
setProperty("_level0/er" add _level0/:l, _x , "328.1");
setProperty("_level0/er" add _level0/:l, _y , "452.5");
Set(er add "_level0/:l", _level0/:l);
}
if (_droptarget eq "/ANTE") {
gotoAndStop (3);
Set("_level0/:l", _level0/:l + "2");
Set("_level0/:qd", _level0/:qd + "2");
er = "er" add _level0/:l;
duplicateMovieClip ("_level0/er1", er, _level0/:qd);
setProperty("_level0/er" add _level0/:l, _x , "328.1");
setProperty("_level0/er" add _level0/:l, _y , "452.5");
Set(er add "_level0/:l", _level0/:l);
}
if ((_droptarget ne "/ANTE") or (_droptarget ne "/PP")) {
setProperty("_level0/er" add _level0/:l, _x , "328.1");
setProperty("_level0/er" add _level0/:l, _y , "452.5");
}
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "25");
Set("_level0/:Credits", _level0/:Credits - "25");
Set("_level0/:creditsPlayedpp", _level0/:creditsPlayedpp + "25");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 80 MovieClip Frame 3
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "25");
Set("_level0/:Credits", _level0/:Credits - "25");
Set("_level0/:creditsPlayedan", _level0/:creditsPlayedan + "25");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 81 Button
on (press) {
if ((../:tOff == "0") and (../:betMover == "1")) {
if ((_level0/:Credits >= "50") and (((_level0/:Credits - "50") >= (_level0/:creditsPlayedan + "50")) or (_level0/:creditsPlayedan == "0"))) {
startDrag ("_level0/fr" add _level0/:k);
}
}
}
on (release) {
stopDrag();
if (_droptarget eq "/PP") {
nextFrame();
Set("_level0/:k", _level0/:k + "2");
Set("_level0/:qd", _level0/:qd + "2");
fr = "fr" add _level0/:k;
duplicateMovieClip ("_level0/fr1", fr, _level0/:qd);
setProperty("_level0/fr" add _level0/:k, _x , "370.1");
setProperty("_level0/fr" add _level0/:k, _y , "452.5");
Set(fr add "_level0/:k", _level0/:k);
}
if (_droptarget eq "/ANTE") {
gotoAndStop (3);
Set("_level0/:k", _level0/:k + "2");
Set("_level0/:qd", _level0/:qd + "2");
fr = "fr" add _level0/:k;
duplicateMovieClip ("_level0/fr1", fr, _level0/:qd);
setProperty("_level0/fr" add _level0/:k, _x , "370.1");
setProperty("_level0/fr" add _level0/:k, _y , "452.5");
Set(fr add "_level0/:k", _level0/:k);
}
if ((_droptarget ne "/ANTE") or (_droptarget ne "/PP")) {
setProperty("_level0/fr" add _level0/:k, _x , "370.1");
setProperty("_level0/fr" add _level0/:k, _y , "452.5");
}
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "50");
Set("_level0/:Credits", _level0/:Credits - "50");
Set("_level0/:creditsPlayedpp", _level0/:creditsPlayedpp + "50");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 82 MovieClip Frame 3
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "50");
Set("_level0/:Credits", _level0/:Credits - "50");
Set("_level0/:creditsPlayedan", _level0/:creditsPlayedan + "50");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 83 Button
on (press) {
if ((../:tOff == "0") and (../:betMover == "1")) {
if ((_level0/:Credits >= "100") and (((_level0/:Credits - "100") >= (_level0/:creditsPlayedan + "100")) or (_level0/:creditsPlayedan == "0"))) {
startDrag ("_level0/gr" add _level0/:j);
}
}
}
on (release) {
stopDrag();
if (_droptarget eq "/PP") {
nextFrame();
Set("_level0/:j", _level0/:j + "2");
Set("_level0/:qd", _level0/:qd + "2");
gr = "gr" add _level0/:j;
duplicateMovieClip ("_level0/gr1", gr, _level0/:qd);
setProperty("_level0/gr" add _level0/:j, _x , "410.1");
setProperty("_level0/gr" add _level0/:j, _y , "452.5");
Set(gr add "_level0/:j", _level0/:j);
}
if (_droptarget eq "/ANTE") {
gotoAndStop (3);
Set("_level0/:j", _level0/:j + "2");
Set("_level0/:qd", _level0/:qd + "2");
gr = "gr" add _level0/:j;
duplicateMovieClip ("_level0/gr1", gr, _level0/:qd);
setProperty("_level0/gr" add _level0/:j, _x , "410.1");
setProperty("_level0/gr" add _level0/:j, _y , "452.5");
Set(gr add "_level0/:j", _level0/:j);
}
if ((_droptarget ne "/ANTE") or (_droptarget ne "/PP")) {
setProperty("_level0/gr" add _level0/:j, _x , "410.1");
setProperty("_level0/gr" add _level0/:j, _y , "452.5");
}
}
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "100");
Set("_level0/:Credits", _level0/:Credits - "100");
Set("_level0/:creditsPlayedpp", _level0/:creditsPlayedpp + "100");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 84 MovieClip Frame 3
stop();
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "100");
Set("_level0/:Credits", _level0/:Credits - "100");
Set("_level0/:creditsPlayedan", _level0/:creditsPlayedan + "100");
tellTarget ("_level0/b-deal") {
gotoAndStop (1);
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
meCard = "2";
tmpCard = "1";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 3
meCard = "3";
tmpCard = "2";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 4
meCard = "4";
tmpCard = "3";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 5
meCard = "5";
tmpCard = "4";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 6
meCard = "6";
tmpCard = "5";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 7
meCard = "7";
tmpCard = "6";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 8
meCard = "8";
tmpCard = "7";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 9
meCard = "9";
tmpCard = "8";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 10
meCard = "10";
tmpCard = "9";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 11
meCard = "11";
tmpCard = "10";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 12
meCard = "12";
tmpCard = "11";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 13
meCard = "13";
tmpCard = "12";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 14
meCard = "14";
tmpCard = "13";
tmpSuit = "1";
call("checkcard");
Symbol 112 MovieClip Frame 15
meCard = "15";
tmpCard = "1";
tmpSuit = "2";
call("checkcard");
Symbol 112 MovieClip Frame 16
meCard = "16";
tmpCard = "2";
tmpSuit = "2";
call("checkcard");
Symbol 112 MovieClip Frame 17
meCard = "17";
tmpSuit = "2";
tmpCard = "3";
call("checkcard");
Symbol 112 MovieClip Frame 18
meCard = "18";
tmpSuit = "2";
tmpCard = "4";
call("checkcard");
Symbol 112 MovieClip Frame 19
meCard = "19";
tmpSuit = "2";
tmpCard = "5";
call("checkcard");
Symbol 112 MovieClip Frame 20
meCard = "20";
tmpSuit = "2";
tmpCard = "6";
call("checkcard");
Symbol 112 MovieClip Frame 21
meCard = "21";
tmpSuit = "2";
tmpCard = "7";
call("checkcard");
Symbol 112 MovieClip Frame 22
meCard = "22";
tmpSuit = "2";
tmpCard = "8";
call("checkcard");
Symbol 112 MovieClip Frame 23
meCard = "23";
tmpSuit = "2";
tmpCard = "9";
call("checkcard");
Symbol 112 MovieClip Frame 24
meCard = "24";
tmpSuit = "2";
tmpCard = "10";
call("checkcard");
Symbol 112 MovieClip Frame 25
meCard = "25";
tmpSuit = "2";
tmpCard = "11";
call("checkcard");
Symbol 112 MovieClip Frame 26
meCard = "26";
tmpSuit = "2";
tmpCard = "12";
call("checkcard");
Symbol 112 MovieClip Frame 27
meCard = "27";
tmpSuit = "2";
tmpCard = "13";
call("checkcard");
Symbol 112 MovieClip Frame 28
meCard = "28";
tmpSuit = "3";
tmpCard = "1";
call("checkcard");
Symbol 112 MovieClip Frame 29
meCard = "29";
tmpSuit = "3";
tmpCard = "2";
call("checkcard");
Symbol 112 MovieClip Frame 30
meCard = "30";
tmpSuit = "3";
tmpCard = "3";
call("checkcard");
Symbol 112 MovieClip Frame 31
meCard = "31";
tmpSuit = "3";
tmpCard = "4";
call("checkcard");
Symbol 112 MovieClip Frame 32
meCard = "32";
tmpSuit = "3";
tmpCard = "5";
call("checkcard");
Symbol 112 MovieClip Frame 33
meCard = "33";
tmpSuit = "3";
tmpCard = "6";
call("checkcard");
Symbol 112 MovieClip Frame 34
meCard = "34";
tmpSuit = "3";
tmpCard = "7";
call("checkcard");
Symbol 112 MovieClip Frame 35
meCard = "35";
tmpSuit = "3";
tmpCard = "8";
call("checkcard");
Symbol 112 MovieClip Frame 36
meCard = "36";
tmpSuit = "3";
tmpCard = "9";
call("checkcard");
Symbol 112 MovieClip Frame 37
meCard = "37";
tmpSuit = "3";
tmpCard = "10";
call("checkcard");
Symbol 112 MovieClip Frame 38
meCard = "38";
tmpSuit = "3";
tmpCard = "11";
call("checkcard");
Symbol 112 MovieClip Frame 39
meCard = "39";
tmpSuit = "3";
tmpCard = "12";
call("checkcard");
Symbol 112 MovieClip Frame 40
meCard = "40";
tmpSuit = "3";
tmpCard = "13";
call("checkcard");
Symbol 112 MovieClip Frame 41
meCard = "41";
tmpSuit = "4";
tmpCard = "1";
call("checkcard");
Symbol 112 MovieClip Frame 42
meCard = "42";
tmpSuit = "4";
tmpCard = "2";
call("checkcard");
Symbol 112 MovieClip Frame 43
meCard = "43";
tmpSuit = "4";
tmpCard = "3";
call("checkcard");
Symbol 112 MovieClip Frame 44
meCard = "44";
tmpSuit = "4";
tmpCard = "4";
call("checkcard");
Symbol 112 MovieClip Frame 45
meCard = "45";
tmpSuit = "4";
tmpCard = "5";
call("checkcard");
Symbol 112 MovieClip Frame 46
meCard = "46";
tmpSuit = "4";
tmpCard = "6";
call("checkcard");
Symbol 112 MovieClip Frame 47
meCard = "47";
tmpSuit = "4";
tmpCard = "7";
call("checkcard");
Symbol 112 MovieClip Frame 48
meCard = "48";
tmpSuit = "4";
tmpCard = "8";
call("checkcard");
Symbol 112 MovieClip Frame 49
meCard = "49";
tmpSuit = "4";
tmpCard = "9";
call("checkcard");
Symbol 112 MovieClip Frame 50
meCard = "50";
tmpSuit = "4";
tmpCard = "10";
call("checkcard");
Symbol 112 MovieClip Frame 51
meCard = "51";
tmpSuit = "4";
tmpCard = "11";
call("checkcard");
Symbol 112 MovieClip Frame 52
meCard = "52";
tmpSuit = "4";
tmpCard = "12";
call("checkcard");
Symbol 112 MovieClip Frame 53
meCard = "53";
tmpSuit = "4";
tmpCard = "13";
call("checkcard");
Symbol 112 MovieClip Frame 54
i = "1";
while (i < "12") {
if (eval ("_level0/setcards:meGo" add i) == meCard) {
Set("seeCard" add i, tmpCard);
Set("seeSuit" add i, tmpSuit);
}
i = i + "1";
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 5
stop();
Symbol 125 MovieClip Frame 10
stop();
Symbol 125 MovieClip Frame 15
stop();
Symbol 125 MovieClip Frame 20
stop();
Symbol 125 MovieClip Frame 25
stop();
Symbol 125 MovieClip Frame 30
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 5
stop();
Symbol 144 MovieClip Frame 10
stop();
Symbol 144 MovieClip Frame 15
stop();
Symbol 144 MovieClip Frame 20
stop();
Symbol 144 MovieClip Frame 25
stop();
Symbol 144 MovieClip Frame 26
stop();
Symbol 144 MovieClip Frame 30
stop();
Symbol 144 MovieClip Frame 34
stop();
Symbol 144 MovieClip Frame 39
stop();
Symbol 144 MovieClip Frame 44
stop();
Symbol 144 MovieClip Frame 49
stop();
Symbol 144 MovieClip Frame 54
stop();
Symbol 144 MovieClip Frame 59
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
typeplay = ../:p3;
if (typeplay == "11") {
typeplay = "J";
}
if (typeplay == "12") {
typeplay = "Q";
}
if (typeplay == "13") {
typeplay = "K";
}
if (../:p1 == "1") {
typeplay = "A";
}
nextFrame();
Symbol 159 MovieClip Frame 3
stop();
Symbol 159 MovieClip Frame 6
play();
typeplay = ../:ppair;
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
if (../:ppair == "1") {
typeplay = "A";
}
Symbol 159 MovieClip Frame 7
stop();
Symbol 159 MovieClip Frame 11
play();
Symbol 159 MovieClip Frame 12
stop();
Symbol 159 MovieClip Frame 16
play();
Symbol 159 MovieClip Frame 17
stop();
Symbol 159 MovieClip Frame 21
play();
typeplay = ../:ppair;
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
if (../:ppair == "1") {
typeplay = "A";
}
Symbol 159 MovieClip Frame 22
stop();
Symbol 159 MovieClip Frame 26
play();
Symbol 159 MovieClip Frame 27
stop();
Symbol 159 MovieClip Frame 31
play();
Symbol 159 MovieClip Frame 32
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
play();
dealplay = ../:d3;
if (dealplay == "11") {
dealplay = "J";
}
if (dealplay == "12") {
dealplay = "Q";
}
if (dealplay == "13") {
dealplay = "K";
}
if (../:d1 == "1") {
dealplay = "A";
}
Symbol 164 MovieClip Frame 3
stop();
Symbol 164 MovieClip Frame 6
play();
typeplay = ../:dpair;
if (../:dpair == "13") {
typeplay = "K";
}
if (../:dpair == "12") {
typeplay = "Q";
}
if (../:dpair == "11") {
typeplay = "J";
}
if (../:dpair == "1") {
typeplay = "A";
}
Symbol 164 MovieClip Frame 7
stop();
Symbol 164 MovieClip Frame 11
play();
Symbol 164 MovieClip Frame 12
stop();
Symbol 164 MovieClip Frame 16
play();
Symbol 164 MovieClip Frame 17
stop();
Symbol 164 MovieClip Frame 21
play();
typeplay = ../:dpair;
if (../:dpair == "13") {
typeplay = "K";
}
if (../:dpair == "12") {
typeplay = "Q";
}
if (../:dpair == "11") {
typeplay = "J";
}
if (../:dpair == "1") {
typeplay = "A";
}
Symbol 164 MovieClip Frame 22
stop();
Symbol 164 MovieClip Frame 26
play();
Symbol 164 MovieClip Frame 27
stop();
Symbol 164 MovieClip Frame 31
play();
Symbol 164 MovieClip Frame 32
stop();
Symbol 164 MovieClip Frame 35
play();
Symbol 164 MovieClip Frame 36
stop();
Symbol 165 Button
on (release) {
play();
}
on (release) {
tellTarget ("card1") {
gotoAndStop (1);
};
tellTarget ("card2") {
gotoAndStop (1);
};
tellTarget ("card3") {
gotoAndStop (1);
};
tellTarget ("card4") {
gotoAndStop (1);
};
tellTarget ("card5") {
gotoAndStop (1);
};
tellTarget ("card6") {
gotoAndStop (1);
};
tellTarget ("card7") {
gotoAndStop (1);
};
tellTarget ("card8") {
gotoAndStop (1);
};
tellTarget ("card9") {
gotoAndStop (1);
};
tellTarget ("card10") {
gotoAndStop (1);
};
tellTarget ("hider") {
gotoAndStop (1);
}
}
Symbol 166 MovieClip Frame 1
stop();
stop();
if (_level0/:Credits < "15") {
tellTarget ("../outofmoney") {
gotoAndPlay (2);
};
}
PlayerHand = "0";
Symbol 166 MovieClip Frame 2
i = "1";
while (i < "53") {
Set("dCard" add i, i);
i = i + "1";
}
i = "1";
while (i < "53") {
a = random("52") + "1";
swap1 = eval ("dCard" add a);
swap2 = eval ("dCard" add i);
Set("dCard" add i, swap1);
Set("dCard" add a, swap2);
i = i + "1";
}
Symbol 166 MovieClip Frame 3
meGo1 = _level0/setcards:dCard1 + "2";
tellTarget ("card1") {
gotoAndStop(_level0/setcards:meGo1);
}
Symbol 166 MovieClip Frame 4
meGo4 = _level0/setcards:dCard4 + "2";
tellTarget ("card4") {
gotoAndStop(_level0/setcards:meGo4);
}
Symbol 166 MovieClip Frame 5
meGo2 = _level0/setcards:dCard2 + "2";
tellTarget ("card2") {
gotoAndStop(_level0/setcards:meGo2);
}
Symbol 166 MovieClip Frame 6
meGo5 = _level0/setcards:dCard5 + "2";
tellTarget ("card5") {
gotoAndStop(_level0/setcards:meGo5);
}
Symbol 166 MovieClip Frame 7
meGo3 = _level0/setcards:dCard3 + "2";
tellTarget ("card3") {
gotoAndStop(_level0/setcards:meGo3);
}
Symbol 166 MovieClip Frame 8
meGo6 = _level0/setcards:dCard6 + "2";
tellTarget ("card6") {
gotoAndStop(_level0/setcards:meGo6);
}
Symbol 166 MovieClip Frame 9
x1 = _level0/setcards/card4/:seeCard4;
x2 = _level0/setcards/card5/:seeCard5;
x3 = _level0/setcards/card6/:seeCard6;
z1 = _level0/setcards/card4/:seeSuit4;
z2 = _level0/setcards/card5/:seeSuit5;
z3 = _level0/setcards/card6/:seeSuit6;
WinnerLevel = "0";
PlayerHand = "0";
m1 = "0";
m2 = "0";
m3 = "0";
m4 = "0";
i1 = "0";
i5 = "0";
wf = "0";
straightTrue = "0";
highStraight = "0";
done3 = "0";
done4 = "0";
done5 = "0";
Symbol 166 MovieClip Frame 10
if (x2 < x1) {
pos1 = x2;
suit1 = z2;
pos2 = x1;
suit2 = z1;
} else {
pos1 = x1;
suit1 = z1;
pos2 = x2;
suit2 = z2;
}
if (pos1 >= x3) {
tpos1 = x3;
tsuit1 = z3;
tpos2 = pos1;
tsuit2 = suit1;
tpos3 = pos2;
tsuit3 = suit2;
pos3 = tpos3;
pos2 = tpos2;
pos1 = tpos1;
suit3 = tsuit3;
suit2 = tsuit2;
suit1 = tsuit1;
done3 = "5";
}
if (done3 <> "5") {
if (pos2 >= x3) {
tpos2 = x3;
tsuit2 = z3;
tpos3 = pos2;
tsuit3 = suit2;
pos3 = tpos3;
pos2 = tpos2;
suit3 = tsuit3;
suit2 = tsuit2;
} else {
pos3 = x3;
suit3 = z3;
}
}
d1 = pos1;
d2 = pos2;
d3 = pos3;
Symbol 166 MovieClip Frame 11
DealerHand = "0";
if ((d3 >= "12") or (d1 == "1")) {
DealerHand = "1";
}
if (d1 == d2) {
dpair = d1;
DealerHand = "2";
}
if (d1 == d3) {
dpair = d1;
DealerHand = "2";
}
if (d2 == d3) {
if (ppair == d1) {
dpair2 = d2;
} else {
dpair = d2;
}
DealerHand = "2";
}
if ((z1 == z2) and (z1 == z3)) {
DealerHand = "3";
}
if ((((d1 + "1") == d2) and ((d1 + "2") == d3)) or (((d1 == "1") and (d2 == "12")) and (d3 == "13"))) {
DealerHand = "4";
}
if ((d1 == d2) and (d1 == d3)) {
DealerHand = "5";
}
if (((DealerHand == "4") and (z1 == z2)) and (z1 == z3)) {
DealerHand = "6";
}
tellTarget ("_level0/b-hit") {
gotoAndStop (1);
};
tellTarget ("_level0/b-stand") {
gotoAndStop (1);
};
Set("../:hsdplay", "1");
Set("../:BoDeal", "1");
stop();
if (_level0/:creditsPlayedan == "0") {
tellTarget ("_level0/b-hit") {
gotoAndStop (2);
};
tellTarget ("_level0/b-stand") {
gotoAndStop (2);
};
setProperty("_level0/setcards/card1", _rotation , -"20");
setProperty("_level0/setcards/card3", _rotation , "20");
setProperty("_level0/setcards/card1", _x , -"10.5");
setProperty("_level0/setcards/card2", _x , -"2.5");
setProperty("_level0/setcards/card3", _x , "13.5");
setProperty("_level0/setcards/card1", _y , "60.5");
setProperty("_level0/setcards/card2", _y , "60.5");
setProperty("_level0/setcards/card3", _y , "60.5");
Set("../:hsdplay", "0");
Set("../:BoDeal", "0");
gotoAndPlay (12);
}
Symbol 166 MovieClip Frame 12
x1 = _level0/setcards/card1/:seeCard1;
x2 = _level0/setcards/card2/:seeCard2;
x3 = _level0/setcards/card3/:seeCard3;
z1 = _level0/setcards/card1/:seeSuit1;
z2 = _level0/setcards/card2/:seeSuit2;
z3 = _level0/setcards/card3/:seeSuit3;
WinnerLevel = "0";
PlayerHand = "0";
m1 = "0";
m2 = "0";
m3 = "0";
m4 = "0";
i1 = "0";
i5 = "0";
wf = "0";
done3 = "0";
done4 = "0";
done5 = "0";
Symbol 166 MovieClip Frame 13
if (x2 < x1) {
pos1 = x2;
suit1 = z2;
pos2 = x1;
suit2 = z1;
} else {
pos1 = x1;
suit1 = z1;
pos2 = x2;
suit2 = z2;
}
if (pos1 >= x3) {
tpos1 = x3;
tsuit1 = z3;
tpos2 = pos1;
tsuit2 = suit1;
tpos3 = pos2;
tsuit3 = suit2;
pos3 = tpos3;
pos2 = tpos2;
pos1 = tpos1;
suit3 = tsuit3;
suit2 = tsuit2;
suit1 = tsuit1;
done3 = "5";
}
if (done3 <> "5") {
if (pos2 >= x3) {
tpos2 = x3;
tsuit2 = z3;
tpos3 = pos2;
tsuit3 = suit2;
pos3 = tpos3;
pos2 = tpos2;
suit3 = tsuit3;
suit2 = tsuit2;
} else {
pos3 = x3;
suit3 = z3;
}
}
p1 = pos1;
p2 = pos2;
p3 = pos3;
Symbol 166 MovieClip Frame 14
PlayerHand = "0";
if ((p3 >= "12") or (p1 == "1")) {
PlayerHand = "1";
}
if (p1 == p2) {
ppair = p1;
PlayerHand = "2";
}
if (p1 == p3) {
ppair = p1;
PlayerHand = "2";
}
if (p2 == p3) {
ppair = p2;
PlayerHand = "2";
}
if ((z1 == z2) and (z1 == z3)) {
PlayerHand = "3";
}
if ((((p1 + "1") == p2) and ((p1 + "2") == p3)) or (((p1 == "1") and (p2 == "12")) and (p3 == "13"))) {
PlayerHand = "4";
}
if ((p1 == p2) and (p1 == p3)) {
PlayerHand = "5";
}
if (((PlayerHand == "4") and (z1 == z2)) and (z1 == z3)) {
PlayerHand = "6";
}
if (_level0/:fold == "0") {
if (DealerHand == "0") {
AnteLevel = "1";
}
WinnerLevel = PlayerHand;
if (PlayerHand < DealerHand) {
AnteLevel = "0";
}
if ((DealerHand < PlayerHand) and (DealerHand <> "0")) {
AnteLevel = PlayerHand;
if ((AnteLevel < "4") and (AnteLevel <> "1")) {
AnteLevel = "2";
}
}
if ((DealerHand == PlayerHand) and (DealerHand <> "0")) {
if (((PlayerHand == "1") and (p1 == "1")) and (d1 == "1")) {
if (d3 < p3) {
AnteLevel = "2";
}
if (p3 < d3) {
AnteLevel = "0";
}
if (p3 == d3) {
if (d2 < p2) {
AnteLevel = "2";
}
if (p2 < d2) {
AnteLevel = "0";
}
if (d2 == p2) {
AnteLevel = "20";
}
}
}
if ((PlayerHand == "1") or (((PlayerHand == "3") and (p1 <> "1")) and (d1 <> "1"))) {
if (d3 < p3) {
AnteLevel = "2";
}
if (p3 < d3) {
AnteLevel = "0";
}
if (p3 == d3) {
if (d2 < p2) {
AnteLevel = "2";
}
if (p2 < d2) {
AnteLevel = "0";
}
if (p2 == d2) {
if (d1 < p1) {
AnteLevel = "2";
}
if (p1 < d1) {
AnteLevel = "0";
}
if (d1 == p1) {
AnteLevel = "20";
}
}
}
}
if (((PlayerHand == "1") and (p1 == "1")) and (d1 <> "1")) {
AnteLevel = "2";
}
if (((PlayerHand == "1") and (d1 == "1")) and (p1 <> "1")) {
AnteLevel = "0";
}
if (PlayerHand == "2") {
if (dpair < ppair) {
AnteLevel = "2";
}
if (ppair < dpair) {
AnteLevel = "0";
}
if ((ppair == "1") and (dpair <> "1")) {
AnteLevel = "2";
}
if ((dpair == "1") and (ppair <> "1")) {
AnteLevel = "0";
}
if (ppair == dpair) {
if ((d3 < p3) or (d1 < p1)) {
AnteLevel = "2";
}
if ((p3 < d3) or (p1 < d1)) {
AnteLevel = "0";
}
if (((p1 == d1) and (p2 == d2)) and (p3 == d3)) {
AnteLevel = "20";
}
}
}
if (((PlayerHand == "4") or (playerHand == "5")) or (playerHand == "6")) {
if (d3 < p3) {
AnteLevel = PlayerHand;
}
if (p3 < d3) {
AnteLevel = "0";
}
if (p3 == d3) {
AnteLevel = "20";
}
}
}
if (((AnteLevel == "0") or (AnteLevel == "1")) and (PlayerHand >= "4")) {
if (AnteLevel == "1") {
AnteLevel2 = "1";
}
AnteLevel = PlayerHand * "10";
}
}
if (../:creditsPlayedan == "0") {
WinnerLevel = PlayerHand;
AnteLevel = "3009";
}
Symbol 166 MovieClip Frame 15
if ((PlayerHand == "0") or (PlayerHand == "1")) {
tellTarget ("typeplay") {
gotoAndPlay ("high");
};
}
if (PlayerHand == "2") {
tellTarget ("typeplay") {
gotoAndPlay ("pair");
};
}
if (PlayerHand == "3") {
tellTarget ("typeplay") {
gotoAndPlay ("flush");
};
}
if (PlayerHand == "4") {
tellTarget ("typeplay") {
gotoAndPlay ("straight");
};
}
if (PlayerHand == "5") {
tellTarget ("typeplay") {
gotoAndPlay ("3k");
};
}
if (PlayerHand == "6") {
tellTarget ("typeplay") {
gotoAndPlay ("straightflush");
};
}
if (PlayerHand == "20") {
tellTarget ("typeplay") {
gotoAndPlay ("push");
};
}
if (DealerHand == "0") {
tellTarget ("dealplay") {
gotoAndPlay ("dnq");
};
}
if (DealerHand == "1") {
tellTarget ("dealplay") {
gotoAndPlay ("high");
};
}
if (DealerHand == "2") {
tellTarget ("dealplay") {
gotoAndPlay ("pair");
};
}
if (DealerHand == "3") {
tellTarget ("dealplay") {
gotoAndPlay ("flush");
};
}
if (DealerHand == "4") {
tellTarget ("dealplay") {
gotoAndPlay ("straight");
};
}
if (DealerHand == "5") {
tellTarget ("dealplay") {
gotoAndPlay ("3k");
};
}
if (DealerHand == "6") {
tellTarget ("dealplay") {
gotoAndPlay ("straightflush");
};
}
if (DealerHand == "20") {
tellTarget ("dealplay") {
gotoAndPlay ("push");
};
}
if (_level0/:fold == "0") {
if (WinnerLevel == "0") {
youwonpp = "Nothing";
tellTarget ("WinPP") {
gotoAndStop ("nothing");
};
}
if (WinnerLevel == "1") {
tellTarget ("WinPP") {
gotoAndStop ("nothing");
};
youwonpp = "Nothing";
}
if (AnteLevel == "1") {
youwonpl = ../:creditsPlayedan;
Set("../:Credits", (../:Credits + (../:creditsPlayedan * "2")) + ../:creditsPlayedpl);
tellTarget ("WinPL") {
gotoAndStop ("dnq");
};
}
if (WinnerLevel == "2") {
Set("../:Credits", ../:Credits + (../:creditsPlayedpp * "2"));
youwonpp = ../:creditsPlayedpp;
tellTarget ("WinPP") {
gotoAndStop ("pair");
};
}
if (AnteLevel == "2") {
youwonpl = ../:creditsPlayedan + ../:creditsPlayedpl;
Set("../:Credits", (../:Credits + (../:creditsPlayedan * "2")) + (../:creditsPlayedpl * "2"));
tellTarget ("WinPL") {
gotoAndStop ("win");
};
}
if (WinnerLevel == "3") {
Set("../:Credits", ../:Credits + (../:creditsPlayedpp * "5"));
youwonpp = ../:creditsPlayedpp * "4";
tellTarget ("WinPP") {
gotoAndStop ("flush");
};
}
if (WinnerLevel == "4") {
Set("../:Credits", ../:Credits + (../:creditsPlayedpp * "7"));
youwonpp = ../:creditsPlayedpp * "6";
tellTarget ("WinPP") {
gotoAndStop ("straight");
};
}
if (AnteLevel == "4") {
youwonpl = ../:creditsPlayedan + ../:creditsPlayedpl;
youwonan = ../:creditsPlayedan;
Set("../:Credits", (../:Credits + (../:creditsPlayedan * "3")) + (../:creditsPlayedpl * "2"));
tellTarget ("WinPL") {
gotoAndStop ("straight");
};
}
if (AnteLevel == "40") {
youwonan = ../:creditsPlayedan;
Set("../:Credits", ../:Credits + (../:creditsPlayedan * "1"));
tellTarget ("WinPL") {
gotoAndStop ("straight2");
};
if (AnteLevel2 == "1") {
Set("../:Credits", ../:Credits + ../:creditsPlayedan);
youwonan = ../:creditsPlayedan * "2";
tellTarget ("WinPL") {
gotoAndStop ("straight3");
};
}
}
if (WinnerLevel == "5") {
Set("../:Credits", ../:Credits + (../:creditsPlayedpp * "31"));
youwonpp = ../:creditsPlayedpp * "30";
tellTarget ("WinPP") {
gotoAndStop ("3k");
};
}
if (AnteLevel == "5") {
youwonpl = ../:creditsPlayedan + ../:creditsPlayedpl;
youwonan = ../:creditsPlayedan * "4";
Set("../:Credits", (../:Credits + (../:creditsPlayedan * "6")) + (../:creditsPlayedpl * "2"));
tellTarget ("WinPL") {
gotoAndStop ("3k");
};
}
if (AnteLevel == "50") {
youwonan = ../:creditsPlayedan * "4";
Set("../:Credits", ../:Credits + (../:creditsPlayedan * "4"));
tellTarget ("WinPL") {
gotoAndStop ("3k2");
};
if (AnteLevel2 == "1") {
youwonan = youwonan + ../:creditsPlayedan;
Set("../:Credits", ../:Credits + (../:creditsPlayedan * "1"));
tellTarget ("WinPL") {
gotoAndStop ("3k3");
};
}
}
if (WinnerLevel == "6") {
Set("../:Credits", ../:Credits + (../:creditsPlayedpp * "41"));
youwonpp = ../:creditsPlayedpp * "40";
tellTarget ("WinPP") {
gotoAndStop ("straightflush");
};
}
if (AnteLevel == "6") {
youwonpl = ../:creditsPlayedan + ../:creditsPlayedpl;
youwonan = ../:creditsPlayedan * "5";
Set("../:Credits", (../:Credits + (../:creditsPlayedan * "7")) + (../:creditsPlayedpl * "2"));
tellTarget ("WinPL") {
gotoAndStop ("straightflush");
};
}
if (AnteLevel == "60") {
youwonan = ../:creditsPlayedan * "5";
Set("../:Credits", ../:Credits + (../:creditsPlayedan * "5"));
tellTarget ("WinPL") {
gotoAndStop ("straightflush2");
};
if (AnteLevel2 == "1") {
youwonan = youwonan + ../:creditsPlayedan;
Set("../:Credits", ../:Credits + (../:creditsPlayedan * "1"));
tellTarget ("WinPL") {
gotoAndStop ("straightflush3");
};
}
}
if (AnteLevel == "20") {
youwonpl = "You're Money Back";
Set("../:Credits", (../:Credits + ../:creditsPlayedan) + ../:creditsPlayedpl);
tellTarget ("WinPL") {
gotoAndStop ("push");
};
}
}
if (_level0/:fold == "1") {
tellTarget ("WinPL") {
gotoAndStop ("fold");
};
tellTarget ("WinPP") {
gotoAndStop ("fold");
};
}
if (_level0/:creditsPlayedan == "0") {
tellTarget ("WinPL") {
gotoAndStop ("fold");
};
}
if ((AnteLevel == "0") and (_level0/:fold == "0")) {
tellTarget ("WinPL") {
gotoAndPlay ("lose");
};
}
qd2 = _level0/:qd;
youwonplan = youwonpl + youwonan;
stop();
Symbol 166 MovieClip Frame 16
Set("_level0/:creditsPlayed", "0");
Set("_level0/:creditsPlayedan", "0");
Set("_level0/:creditsPlayedpp", "0");
Set("_level0/:creditsPlayedpl", "0");
Set("_level0/:fold", "0");
removeMovieClip("_level0/cr1");
removeMovieClip("_level0/dr1");
Set("_level0/:betMover", "1");
Set("_level0/:dealplay", "1");
Set("_level0/:BoDeal", "0");
Set("../:creditsPlayed", "0");
Set("../:OnMax", "0");
Set("../:Total", ../:Credits);
WinnerLevel = "0";
AnteLevel = "0";
AnteLevel2 = "0";
dpair = "0";
push = "0";
ppair = "0";
youwon = "";
youwonpp = "";
youwonpl = "";
youwonan = "";
done3 = "0";
done4 = "0";
done5 = "0";
whatdealhand = "";
whatplayerhand = "";
Set("../:hsdplay", "0");
tellTarget ("_level0/betonme") {
gotoAndStop (1);
};
tellTarget ("_level0/b-hit") {
gotoAndStop (2);
};
tellTarget ("_level0/b-stand") {
gotoAndStop (2);
};
tellTarget ("_level0/b-deal") {
gotoAndStop (2);
};
tellTarget ("typeplay") {
gotoAndStop (1);
};
tellTarget ("typedeal") {
gotoAndStop (1);
};
gotoAndStop (1);
Set("_level0/:chipRow", "0");
Set("_level0/:tochipRow", "0");
qd2 = _level0/:qd;
while (qd2 >= "2") {
removeMovieClip("_level0/cr" add qd2);
removeMovieClip("_level0/dr" add qd2);
removeMovieClip("_level0/er" add qd2);
removeMovieClip("_level0/fr" add qd2);
removeMovieClip("_level0/gr" add qd2);
qd2 = qd2 - "2";
}
setProperty("_level0/cr1", _y , "452.5");
setProperty("_level0/cr1", _x , "245.1");
setProperty("_level0/dr1", _y , "452.5");
setProperty("_level0/dr1", _x , "286.1");
setProperty("_level0/er1", _y , "452.5");
setProperty("_level0/er1", _x , "328.1");
setProperty("_level0/fr1", _y , "452.5");
setProperty("_level0/fr1", _x , "370.1");
setProperty("_level0/gr1", _y , "452.5");
setProperty("_level0/gr1", _x , "410.1");
tellTarget ("_level0/cr1") {
gotoAndStop (1);
};
tellTarget ("_level0/dr1") {
gotoAndStop (1);
};
tellTarget ("_level0/er1") {
gotoAndStop (1);
};
tellTarget ("_level0/fr1") {
gotoAndStop (1);
};
tellTarget ("_level0/gr1") {
gotoAndStop (1);
};
Set("_level0/:qd", "1");
Set("_level0/:j", "1");
Set("_level0/:k", "1");
Set("_level0/:l", "1");
Set("_level0/:m", "1");
Set("_level0/:n", "1");
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
if (../:acheck == "1") {
Set("_level0/:Credits", "1000");
Set("../:toacheck", "2");
}
if (../:acheck == "2") {
Set("_level0/:Credits", "500");
Set("../:toacheck", "3");
}
if (../:acheck == "3") {
Set("_level0/:Credits", "500");
Set("../:toacheck", "3");
}
Set("../:acheck", ../:toacheck);
Symbol 178 Button
on (release) {
Set("../:tOff", "0");
tellTarget ("_level0/help") {
gotoAndStop (1);
}
}
Symbol 180 Button
on (press) {
startDrag ("_level0/help");
}
on (release) {
stopDrag();
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
stop();
Symbol 184 Button
on (release) {
Set("../:tOff", "0");
tellTarget ("_level0/about") {
gotoAndStop (1);
}
}
Symbol 186 Button
on (press) {
startDrag ("_level0/about");
}
on (release) {
stopDrag();
}
Symbol 187 Button
on (release) {
getURL ("mailto:chad@gonetminder.com");
}
Symbol 188 Button
on (release) {
getURL ("http://www.gonetminder.com", "_blank");
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();