Frame 1
ifFrameLoaded (3) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
ifFrameLoaded (17) {
tellTarget ("teacup") {
gotoAndStop (2);
};
}
Frame 14
ifFrameLoaded (17) {
tellTarget ("teacup") {
gotoAndStop (2);
};
}
Frame 15
gotoAndPlay(_currentframe - "1");
Frame 16
gotoAndPlay (17);
Frame 17
Credits = "2000";
Total = "2000";
acheck = "1";
jackpot = "1";
creditsPlayed = "0";
tOff = "0";
creditsPlayedm = "0";
hsdplay = "0";
betMover = "1";
chipRow = "1";
rf = "0";
dealplay = "1";
pj1 = random("10");
pj2 = random("10");
pj3 = random("10");
pj4 = random("10");
pj5 = random("10");
pj6 = random("10");
pj7 = "2";
tellTarget ("/b-stand") {
gotoAndStop (2);
};
tellTarget ("/b-hit") {
gotoAndStop (2);
};
tellTarget ("/b-deal") {
gotoAndStop (2);
};
stop();
Symbol 5 Button
on (press) {
tellTarget ("/") {
gotoAndPlay ("geek");
}
}
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 27 Button
on (release) {
if (tOff == "0") {
if (dealplay == "1") {
if (creditsPlayed <> "0") {
tellTarget ("/setcards") {
gotoAndPlay (2);
};
betMover = "0";
dealplay = "0";
jackpot = "0";
tellTarget ("/b-deal") {
gotoAndStop (2);
};
}
}
}
}
Symbol 28 Button
on (release) {
if (tOff == "0") {
if (hsdplay == "1") {
Credits = Credits - (creditsPlayed * "2");
creditsBet = creditsPlayed * "2";
creditsPlayed = creditsPlayed + (creditsPlayed * "2");
hsdplay = "0";
rf = "1";
tellTarget ("/setcards") {
play();
};
tellTarget ("/b-stand") {
gotoAndStop (2);
};
tellTarget ("/b-hit") {
gotoAndStop (2);
};
tellTarget ("/b-deal") {
gotoAndStop (2);
};
duplicateMovieClip ("/cr1", "bn1", "5");
duplicateMovieClip ("/cr2", "bn2", "6");
duplicateMovieClip ("/cr3", "bn3", "7");
duplicateMovieClip ("/cr4", "bn4", "8");
duplicateMovieClip ("/cr5", "bn5", "9");
i = "1";
while (i < "6") {
setProperty("bn" add i, _x , getProperty("bn" add i, _x) - "25");
setProperty("bn" add i, _y , getProperty("bn" add i, _y) - "72");
i = i + "1";
}
i = "1";
while (i < "6") {
if (i == "1") {
a1 = _level0/cr1/:numChip + "1";
tellTarget ("bn1") {
gotoAndStop(_level0/:a1);
};
}
if (i == "2") {
a2 = _level0/cr2/:numChip + "1";
tellTarget ("bn2") {
gotoAndStop(_level0/:a2);
};
}
if (i == "3") {
a3 = _level0/cr3/:numChip + "1";
tellTarget ("bn3") {
gotoAndStop(_level0/:a3);
};
}
if (i == "4") {
a4 = _level0/cr4/:numChip + "1";
tellTarget ("bn4") {
gotoAndStop(_level0/:a4);
};
}
if (i == "5") {
a5 = _level0/cr5/:numChip + "1";
tellTarget ("bn5") {
gotoAndStop(_level0/:a5);
};
}
i = i + "1";
}
duplicateMovieClip ("/cr1", "bn6", "10");
duplicateMovieClip ("/cr2", "bn7", "11");
duplicateMovieClip ("/cr3", "bn8", "12");
duplicateMovieClip ("/cr4", "bn9", "13");
duplicateMovieClip ("/cr5", "bn10", "14");
i = "6";
while (i < "11") {
setProperty("bn" add i, _x , getProperty("bn" add i, _x) + "25");
setProperty("bn" add i, _y , getProperty("bn" add i, _y) - "72");
i = i + "1";
}
i = "1";
while (i < "6") {
if (i == "1") {
a1 = _level0/cr1/:numChip + "1";
tellTarget ("bn6") {
gotoAndStop(_level0/:a1);
};
}
if (i == "2") {
a2 = _level0/cr2/:numChip + "1";
tellTarget ("bn7") {
gotoAndStop(_level0/:a2);
};
}
if (i == "3") {
a3 = _level0/cr3/:numChip + "1";
tellTarget ("bn8") {
gotoAndStop(_level0/:a3);
};
}
if (i == "4") {
a4 = _level0/cr4/:numChip + "1";
tellTarget ("bn9") {
gotoAndStop(_level0/:a4);
};
}
if (i == "5") {
a5 = _level0/cr5/:numChip + "1";
tellTarget ("bn10") {
gotoAndStop(_level0/:a5);
};
}
i = i + "1";
}
}
}
}
Symbol 29 Button
on (release) {
if (tOff == "0") {
if (hsdplay == "1") {
hsdplay = "0";
rf = "2";
tellTarget ("/setcards") {
play();
};
tellTarget ("/b-stand") {
gotoAndStop (2);
};
tellTarget ("/b-hit") {
gotoAndStop (2);
};
tellTarget ("/b-deal") {
gotoAndStop (2);
};
}
}
}
Symbol 30 Button
on (release) {
if (tOff == "0") {
tOff = "1";
tellTarget ("/about") {
gotoAndStop (2);
};
}
}
Symbol 31 Button
on (release) {
if (tOff == "0") {
tOff = "1";
tellTarget ("/help") {
gotoAndStop (2);
};
}
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
numChip = "1";
stop();
Symbol 47 MovieClip Frame 6
numChip = "5";
stop();
Symbol 47 MovieClip Frame 11
numChip = "10";
stop();
Symbol 47 MovieClip Frame 26
numChip = "25";
stop();
Symbol 47 MovieClip Frame 51
numChip = "50";
stop();
Symbol 47 MovieClip Frame 101
numChip = "100";
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
meCard = "2";
tmpCard = "1";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 3
meCard = "3";
tmpCard = "2";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 4
meCard = "4";
tmpCard = "3";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 5
meCard = "5";
tmpCard = "4";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 6
meCard = "6";
tmpCard = "5";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 7
meCard = "7";
tmpCard = "6";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 8
meCard = "8";
tmpCard = "7";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 9
meCard = "9";
tmpCard = "8";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 10
meCard = "10";
tmpCard = "9";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 11
meCard = "11";
tmpCard = "10";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 12
meCard = "12";
tmpCard = "11";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 13
meCard = "13";
tmpCard = "12";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 14
meCard = "14";
tmpCard = "13";
tmpSuit = "1";
call("checkcard");
Symbol 84 MovieClip Frame 15
meCard = "15";
tmpCard = "1";
tmpSuit = "2";
call("checkcard");
Symbol 84 MovieClip Frame 16
meCard = "16";
tmpCard = "2";
tmpSuit = "2";
call("checkcard");
Symbol 84 MovieClip Frame 17
meCard = "17";
tmpSuit = "2";
tmpCard = "3";
call("checkcard");
Symbol 84 MovieClip Frame 18
meCard = "18";
tmpSuit = "2";
tmpCard = "4";
call("checkcard");
Symbol 84 MovieClip Frame 19
meCard = "19";
tmpSuit = "2";
tmpCard = "5";
call("checkcard");
Symbol 84 MovieClip Frame 20
meCard = "20";
tmpSuit = "2";
tmpCard = "6";
call("checkcard");
Symbol 84 MovieClip Frame 21
meCard = "21";
tmpSuit = "2";
tmpCard = "7";
call("checkcard");
Symbol 84 MovieClip Frame 22
meCard = "22";
tmpSuit = "2";
tmpCard = "8";
call("checkcard");
Symbol 84 MovieClip Frame 23
meCard = "23";
tmpSuit = "2";
tmpCard = "9";
call("checkcard");
Symbol 84 MovieClip Frame 24
meCard = "24";
tmpSuit = "2";
tmpCard = "10";
call("checkcard");
Symbol 84 MovieClip Frame 25
meCard = "25";
tmpSuit = "2";
tmpCard = "11";
call("checkcard");
Symbol 84 MovieClip Frame 26
meCard = "26";
tmpSuit = "2";
tmpCard = "12";
call("checkcard");
Symbol 84 MovieClip Frame 27
meCard = "27";
tmpSuit = "2";
tmpCard = "13";
call("checkcard");
Symbol 84 MovieClip Frame 28
meCard = "28";
tmpSuit = "3";
tmpCard = "1";
call("checkcard");
Symbol 84 MovieClip Frame 29
meCard = "29";
tmpSuit = "3";
tmpCard = "2";
call("checkcard");
Symbol 84 MovieClip Frame 30
meCard = "30";
tmpSuit = "3";
tmpCard = "3";
call("checkcard");
Symbol 84 MovieClip Frame 31
meCard = "31";
tmpSuit = "3";
tmpCard = "4";
call("checkcard");
Symbol 84 MovieClip Frame 32
meCard = "32";
tmpSuit = "3";
tmpCard = "5";
call("checkcard");
Symbol 84 MovieClip Frame 33
meCard = "33";
tmpSuit = "3";
tmpCard = "6";
call("checkcard");
Symbol 84 MovieClip Frame 34
meCard = "34";
tmpSuit = "3";
tmpCard = "7";
call("checkcard");
Symbol 84 MovieClip Frame 35
meCard = "35";
tmpSuit = "3";
tmpCard = "8";
call("checkcard");
Symbol 84 MovieClip Frame 36
meCard = "36";
tmpSuit = "3";
tmpCard = "9";
call("checkcard");
Symbol 84 MovieClip Frame 37
meCard = "37";
tmpSuit = "3";
tmpCard = "10";
call("checkcard");
Symbol 84 MovieClip Frame 38
meCard = "38";
tmpSuit = "3";
tmpCard = "11";
call("checkcard");
Symbol 84 MovieClip Frame 39
meCard = "39";
tmpSuit = "3";
tmpCard = "12";
call("checkcard");
Symbol 84 MovieClip Frame 40
meCard = "40";
tmpSuit = "3";
tmpCard = "13";
call("checkcard");
Symbol 84 MovieClip Frame 41
meCard = "41";
tmpSuit = "4";
tmpCard = "1";
call("checkcard");
Symbol 84 MovieClip Frame 42
meCard = "42";
tmpSuit = "4";
tmpCard = "2";
call("checkcard");
Symbol 84 MovieClip Frame 43
meCard = "43";
tmpSuit = "4";
tmpCard = "3";
call("checkcard");
Symbol 84 MovieClip Frame 44
meCard = "44";
tmpSuit = "4";
tmpCard = "4";
call("checkcard");
Symbol 84 MovieClip Frame 45
meCard = "45";
tmpSuit = "4";
tmpCard = "5";
call("checkcard");
Symbol 84 MovieClip Frame 46
meCard = "46";
tmpSuit = "4";
tmpCard = "6";
call("checkcard");
Symbol 84 MovieClip Frame 47
meCard = "47";
tmpSuit = "4";
tmpCard = "7";
call("checkcard");
Symbol 84 MovieClip Frame 48
meCard = "48";
tmpSuit = "4";
tmpCard = "8";
call("checkcard");
Symbol 84 MovieClip Frame 49
meCard = "49";
tmpSuit = "4";
tmpCard = "9";
call("checkcard");
Symbol 84 MovieClip Frame 50
meCard = "50";
tmpSuit = "4";
tmpCard = "10";
call("checkcard");
Symbol 84 MovieClip Frame 51
meCard = "51";
tmpSuit = "4";
tmpCard = "11";
call("checkcard");
Symbol 84 MovieClip Frame 52
meCard = "52";
tmpSuit = "4";
tmpCard = "12";
call("checkcard");
Symbol 84 MovieClip Frame 53
meCard = "53";
tmpSuit = "4";
tmpCard = "13";
call("checkcard");
Symbol 84 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 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 6
play();
if ("10" < ../:d4) {
if (../:d4 == "12") {
typedeal = "Q";
}
if (../:d4 == "11") {
typedeal = "J";
}
} else {
typedeal = ../:d4;
}
Symbol 118 MovieClip Frame 7
stop();
Symbol 118 MovieClip Frame 11
play();
if ("10" < ../:dpair) {
if (../:dpair == "13") {
typedeal = "K";
}
if (../:dpair == "12") {
typedeal = "Q";
}
if (../:dpair == "11") {
typedeal = "J";
}
} else {
typedeal = ../:dpair;
}
if (../:dpair == "14") {
typedeal = "A";
}
Symbol 118 MovieClip Frame 12
stop();
Symbol 118 MovieClip Frame 16
play();
if ("10" < ../:dpair) {
if (../:dpair == "13") {
typedeal = "K";
}
if (../:dpair == "12") {
typedeal = "Q";
}
if (../:dpair == "11") {
typedeal = "J";
}
} else {
typedeal = ../:dpair;
}
if (../:dpair == "14") {
typedeal = "A";
}
if ("10" < ../:dpair2) {
if (../:dpair2 == "13") {
typedeal2 = "K";
}
if (../:dpair2 == "12") {
typedeal2 = "Q";
}
if (../:dpair2 == "11") {
typedeal2 = "J";
}
} else {
typedeal2 = ../:dpair2;
}
if (../:dpair2 == "1") {
typedeal2 = "A";
}
Symbol 118 MovieClip Frame 17
stop();
Symbol 118 MovieClip Frame 21
play();
if ("10" < ../:dpair) {
if (../:dpair == "13") {
typedeal = "K";
}
if (../:dpair == "12") {
typedeal = "Q";
}
if (../:dpair == "11") {
typedeal = "J";
}
} else {
typedeal = ../:dpair;
}
if (../:dpair == "14") {
typedeal = "A";
}
Symbol 118 MovieClip Frame 22
stop();
Symbol 118 MovieClip Frame 26
play();
typedeal = ../:d5;
if (../:d5 == "12") {
typedeal = "Q";
}
if (../:d5 == "13") {
typedeal = "K";
}
if (../:d5 == "11") {
typedeal = "J";
}
Symbol 118 MovieClip Frame 27
stop();
Symbol 118 MovieClip Frame 31
play();
typedeal = ../:d5;
if (../:d5 == "12") {
typedeal = "Q";
}
if (../:d5 == "13") {
typedeal = "K";
}
if (../:d5 == "11") {
typedeal = "J";
}
if (../:d1 == "1") {
typedeal = "A";
}
Symbol 118 MovieClip Frame 32
stop();
Symbol 118 MovieClip Frame 36
play();
if ("10" < ../:dpair) {
if (../:dpair == "13") {
typedeal = "K";
}
if (../:dpair == "12") {
typedeal = "Q";
}
if (../:dpair == "11") {
typedeal = "J";
}
} else {
typedeal = ../:dpair;
}
if (../:dpair == "14") {
typedeal = "A";
}
if ("10" < ../:dpair2) {
if (../:dpair2 == "13") {
typedeal2 = "K";
}
if (../:dpair2 == "12") {
typedeal2 = "Q";
}
if (../:dpair2 == "11") {
typedeal2 = "J";
}
} else {
typedeal2 = ../:dpair2;
}
if (../:dpair2 == "14") {
typedeal2 = "A";
}
Symbol 118 MovieClip Frame 37
stop();
Symbol 118 MovieClip Frame 41
play();
if ("10" < ../:dpair) {
if (../:dpair == "13") {
typedeal = "K";
}
if (../:dpair == "12") {
typedeal = "Q";
}
if (../:dpair == "11") {
typedeal = "J";
}
} else {
typedeal = ../:dpair;
}
if (../:dpair == "14") {
typedeal = "A";
}
Symbol 118 MovieClip Frame 42
stop();
Symbol 118 MovieClip Frame 46
play();
typedeal = ../:d5;
if (../:d5 == "12") {
typedeal = "Q";
}
if (../:d5 == "13") {
typedeal = "K";
}
if (../:d5 == "11") {
typedeal = "J";
}
Symbol 118 MovieClip Frame 47
stop();
Symbol 118 MovieClip Frame 51
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Symbol 132 MovieClip Frame 6
play();
if ("10" < ../:p4) {
if (../:p4 == "12") {
typeplay = "Q";
}
if (../:p4 == "11") {
typeplay = "J";
}
} else {
typeplay = ../:p4;
}
Symbol 132 MovieClip Frame 7
stop();
Symbol 132 MovieClip Frame 11
play();
if ("10" < ../:ppair) {
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
} else {
typeplay = ../:ppair;
}
if (../:ppair == "14") {
typeplay = "A";
}
Symbol 132 MovieClip Frame 12
stop();
Symbol 132 MovieClip Frame 16
play();
if ("10" < ../:ppair) {
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
} else {
typeplay = ../:ppair;
}
if (../:ppair == "14") {
typeplay = "A";
}
if ("10" < ../:ppair2) {
if (../:ppair2 == "13") {
typeplay2 = "K";
}
if (../:ppair2 == "12") {
typeplay2 = "Q";
}
if (../:ppair2 == "11") {
typeplay2 = "J";
}
} else {
typeplay2 = ../:ppair2;
}
if (../:ppair2 == "1") {
typeplay2 = "A";
}
Symbol 132 MovieClip Frame 17
stop();
Symbol 132 MovieClip Frame 21
play();
if ("10" < ../:ppair) {
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
} else {
typeplay = ../:ppair;
}
if (../:ppair == "14") {
typeplay = "A";
}
Symbol 132 MovieClip Frame 22
stop();
Symbol 132 MovieClip Frame 26
play();
typeplay = ../:p5;
if (../:p5 == "12") {
typeplay = "Q";
}
if (../:p5 == "13") {
typeplay = "K";
}
if (../:p5 == "11") {
typeplay = "J";
}
Symbol 132 MovieClip Frame 27
stop();
Symbol 132 MovieClip Frame 31
play();
typeplay = ../:p5;
if (../:p5 == "12") {
typeplay = "Q";
}
if (../:p5 == "13") {
typeplay = "K";
}
if (../:p5 == "11") {
typeplay = "J";
}
if (../:p1 == "1") {
typeplay = "A";
}
Symbol 132 MovieClip Frame 32
stop();
Symbol 132 MovieClip Frame 36
play();
if ("10" < ../:ppair) {
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
} else {
typeplay = ../:ppair;
}
if (../:ppair == "14") {
typeplay = "A";
}
if ("10" < ../:ppair2) {
if (../:ppair2 == "13") {
typeplay2 = "K";
}
if (../:ppair2 == "12") {
typeplay2 = "Q";
}
if (../:ppair2 == "11") {
typeplay2 = "J";
}
} else {
typeplay2 = ../:ppair2;
}
if (../:ppair2 == "14") {
typeplay2 = "A";
}
Symbol 132 MovieClip Frame 37
stop();
Symbol 132 MovieClip Frame 41
play();
if ("10" < ../:ppair) {
if (../:ppair == "13") {
typeplay = "K";
}
if (../:ppair == "12") {
typeplay = "Q";
}
if (../:ppair == "11") {
typeplay = "J";
}
} else {
typeplay = ../:ppair;
}
if (../:ppair == "14") {
typeplay = "A";
}
Symbol 132 MovieClip Frame 42
stop();
Symbol 132 MovieClip Frame 46
play();
typeplay = ../:p5;
if (../:p5 == "12") {
typeplay = "Q";
}
if (../:p5 == "13") {
typeplay = "K";
}
if (../:p5 == "11") {
typeplay = "J";
}
Symbol 132 MovieClip Frame 47
stop();
Symbol 132 MovieClip Frame 51
stop();
Symbol 180 MovieClip Frame 1
stop();
if (_level0/:jamount == "1") {
if (../../:PlayerHand == "10") {
gotoAndStop (25);
}
if (../../:PlayerHand == "9") {
gotoAndStop (20);
}
if (../../:PlayerHand == "8") {
gotoAndStop (15);
}
if (../../:PlayerHand == "7") {
gotoAndStop (10);
}
if (../../:PlayerHand == "6") {
gotoAndStop (5);
}
}
Symbol 180 MovieClip Frame 5
stop();
Symbol 180 MovieClip Frame 10
stop();
Symbol 180 MovieClip Frame 15
stop();
Symbol 180 MovieClip Frame 20
stop();
Symbol 180 MovieClip Frame 25
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 5
stop();
Symbol 181 MovieClip Frame 10
stop();
Symbol 181 MovieClip Frame 15
stop();
Symbol 181 MovieClip Frame 20
stop();
Symbol 181 MovieClip Frame 25
stop();
Symbol 181 MovieClip Frame 30
if (_level0/:jamount == "1") {
nextFrame();
}
stop();
Symbol 181 MovieClip Frame 31
stop();
Symbol 181 MovieClip Frame 35
if (_level0/:jamount == "1") {
nextFrame();
}
stop();
Symbol 181 MovieClip Frame 36
stop();
Symbol 181 MovieClip Frame 40
if (_level0/:jamount == "1") {
nextFrame();
}
stop();
Symbol 181 MovieClip Frame 41
stop();
Symbol 181 MovieClip Frame 45
if (_level0/:jamount == "1") {
nextFrame();
}
stop();
Symbol 181 MovieClip Frame 46
stop();
Symbol 181 MovieClip Frame 50
if (_level0/:jamount == "1") {
nextFrame();
}
stop();
Symbol 181 MovieClip Frame 51
stop();
Symbol 181 MovieClip Frame 55
stop();
Symbol 181 MovieClip Frame 60
stop();
Symbol 181 MovieClip Frame 65
stop();
Symbol 182 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 183 MovieClip Frame 1
stop();
DealerHand = "0";
PlayerHand = "0";
if (_level0/:Credits < "3") {
tellTarget ("../outofmoney") {
gotoAndPlay (2);
};
}
stop();
Symbol 183 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 183 MovieClip Frame 3
meGo1 = _level0/setcards:dCard1 + "1";
tellTarget ("card1") {
gotoAndStop(_level0/setcards:meGo1);
}
Symbol 183 MovieClip Frame 4
meGo6 = _level0/setcards:dCard6 + "1";
tellTarget ("card6") {
gotoAndStop(_level0/setcards:meGo6);
}
Symbol 183 MovieClip Frame 5
meGo2 = _level0/setcards:dCard2 + "1";
tellTarget ("card2") {
gotoAndStop(_level0/setcards:meGo2);
}
Symbol 183 MovieClip Frame 6
meGo7 = _level0/setcards:dCard7 + "1";
tellTarget ("card7") {
gotoAndStop(_level0/setcards:meGo7);
}
Symbol 183 MovieClip Frame 7
meGo3 = _level0/setcards:dCard3 + "1";
tellTarget ("card3") {
gotoAndStop(_level0/setcards:meGo3);
}
Symbol 183 MovieClip Frame 8
meGo8 = _level0/setcards:dCard8 + "1";
tellTarget ("card8") {
gotoAndStop(_level0/setcards:meGo8);
}
Symbol 183 MovieClip Frame 9
meGo4 = _level0/setcards:dCard4 + "1";
tellTarget ("card4") {
gotoAndStop(_level0/setcards:meGo4);
}
Symbol 183 MovieClip Frame 10
meGo9 = _level0/setcards:dCard9 + "1";
tellTarget ("card9") {
gotoAndStop(_level0/setcards:meGo9);
}
Symbol 183 MovieClip Frame 11
meGo5 = _level0/setcards:dCard5 + "1";
tellTarget ("card5") {
gotoAndStop(_level0/setcards:meGo5);
}
Symbol 183 MovieClip Frame 12
meGo10 = _level0/setcards:dCard10 + "1";
tellTarget ("card10") {
gotoAndStop(_level0/setcards:meGo10);
}
Symbol 183 MovieClip Frame 14
tellTarget ("_level0/b-hit") {
gotoAndStop (1);
};
tellTarget ("_level0/b-stand") {
gotoAndStop (1);
};
Set("../:hsdplay", "1");
stop();
Symbol 183 MovieClip Frame 15
WinnerLevel = "0";
DealerHand = "0";
m1 = "0";
m2 = "0";
m3 = "0";
m4 = "0";
i1 = "0";
i5 = "0";
wf = "0";
straightTrue = "0";
highStraight = "0";
Set("../:hsdplay", "0");
Symbol 183 MovieClip Frame 16
i = "6";
while (i < "11") {
Set("x" add i, eval ((("_level0/setcards/card" add i) add "/:seeCard") add i));
Set("z" add i, eval ((("_level0/setcards/card" add i) add "/:seeSuit") add i));
i = i + "1";
}
WinnerLevel = "0";
PlayerHand = "0";
sort = "0";
while (sort == "0") {
sort = "1";
i = "6";
while (i < "10") {
if (eval ("x" add (i + "1")) < eval ("x" add i)) {
sort = "0";
tmp = eval ("x" add i);
Set("x" add i, eval ("x" add (i + "1")));
Set("x" add (i + "1"), tmp);
tmp = eval ("z" add i);
Set("z" add i, eval ("z" add (i + "1")));
Set("z" add (i + "1"), tmp);
}
i = i + "1";
}
}
p6 = x6;
p7 = x7;
p8 = x8;
p9 = x9;
p10 = x10;
d1 = x6;
d2 = x7;
d3 = x8;
d4 = x9;
d5 = x10;
Symbol 183 MovieClip Frame 17
if ((((((x6 == "1") or (x7 == "1")) or (x8 == "1")) or (x9 == "1")) or (x10 == "1")) and (((((x6 == "13") or (x7 == "13")) or (x8 == "13")) or (x9 == "13")) or (x10 == "13"))) {
DealerHand = "1";
}
i = "7";
u0 = "0";
u1 = "0";
un = "0";
while (i < "11") {
if (eval ("p" add i) == eval ("p" add (i - "1"))) {
Set("u" add un, eval ("u" add un) + "1");
Set("pairNum" add un, eval ("p" add i));
} else if ("0" < eval ("u" add un)) {
un = un + "1";
}
i = i + "1";
}
if (u0 == "3") {
DealerHand = "8";
}
if (u0 == "2") {
DealerHand = "4";
}
if (u0 == "1") {
DealerHand = "2";
}
if (((u0 == "2") and (u1 == "1")) or ((u0 == "1") and (u1 == "2"))) {
DealerHand = "7";
}
if ((u0 == "1") and (u1 == "1")) {
DealerHand = "3";
}
i = "7";
straight = "1";
while (i < "11") {
if (eval ("x" add i) <> (eval ("x" add (i - "1")) + "1")) {
straight = "0";
}
i = i + "1";
}
if ((straight == "1") or (((((x6 == "1") and (x7 == "10")) and (x8 == "11")) and (x9 == "12")) and (x10 == "13"))) {
straight = "1";
DealerHand = "5";
}
i = "7";
flush = "1";
while (i < "11") {
if (eval ("z" add i) <> eval ("z" add (i - "1"))) {
flush = "0";
}
i = i + "1";
}
if (flush == "1") {
DealerHand = "6";
}
if ((straight == "1") and (flush == "1")) {
DealerHand = "9";
}
if ((((straight == "1") and (flush == "1")) and (x6 == "1")) and (x10 == "13")) {
DealerHand = "10";
}
dpair = pairNum0;
dpair2 = pairNum1;
if (dpair == "1") {
dpair = "14";
}
if (dpair2 == "1") {
dpair2 = "14";
}
Symbol 183 MovieClip Frame 21
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 183 MovieClip Frame 22
i = "1";
while (i < "6") {
Set("x" add i, eval ((("_level0/setcards/card" add i) add "/:seeCard") add i));
Set("z" add i, eval ((("_level0/setcards/card" add i) add "/:seeSuit") add i));
i = i + "1";
}
WinnerLevel = "0";
PlayerHand = "0";
sort = "0";
while (sort == "0") {
sort = "1";
i = "1";
while (i < "5") {
if (eval ("x" add (i + "1")) < eval ("x" add i)) {
sort = "0";
tmp = eval ("x" add i);
Set("x" add i, eval ("x" add (i + "1")));
Set("x" add (i + "1"), tmp);
tmp = eval ("z" add i);
Set("z" add i, eval ("z" add (i + "1")));
Set("z" add (i + "1"), tmp);
}
i = i + "1";
}
}
p1 = x1;
p2 = x2;
p3 = x3;
p4 = x4;
p5 = x5;
Symbol 183 MovieClip Frame 23
if ((((((x1 == "1") or (x2 == "1")) or (x3 == "1")) or (x4 == "1")) or (x5 == "1")) and (((((x1 == "13") or (x2 == "13")) or (x3 == "13")) or (x4 == "13")) or (x5 == "13"))) {
PlayerHand = "1";
}
i = "2";
u0 = "0";
u1 = "0";
un = "0";
while (i < "6") {
if (eval ("p" add i) == eval ("p" add (i - "1"))) {
Set("u" add un, eval ("u" add un) + "1");
Set("pairNum" add un, eval ("p" add i));
} else if ("0" < eval ("u" add un)) {
un = un + "1";
}
i = i + "1";
}
if (u0 == "3") {
PlayerHand = "8";
}
if (u0 == "2") {
PlayerHand = "4";
}
if (u0 == "1") {
PlayerHand = "2";
}
if (((u0 == "2") and (u1 == "1")) or ((u0 == "1") and (u1 == "2"))) {
PlayerHand = "7";
}
if ((u0 == "1") and (u1 == "1")) {
PlayerHand = "3";
}
i = "2";
straight = "1";
while (i < "6") {
if (eval ("x" add i) <> (eval ("x" add (i - "1")) + "1")) {
straight = "0";
}
i = i + "1";
}
if ((straight == "1") or (((((x1 == "1") and (x2 == "10")) and (x3 == "11")) and (x4 == "12")) and (x5 == "13"))) {
straight = "1";
PlayerHand = "5";
}
i = "2";
flush = "1";
while (i < "6") {
if (eval ("z" add i) <> eval ("z" add (i - "1"))) {
flush = "0";
}
i = i + "1";
}
if (flush == "1") {
PlayerHand = "6";
}
if ((straight == "1") and (flush == "1")) {
PlayerHand = "9";
}
if ((((straight == "1") and (flush == "1")) and (x1 == "1")) and (x5 == "13")) {
PlayerHand = "10";
}
ppair = pairNum0;
ppair2 = pairNum1;
if (ppair == "1") {
ppair = "14";
}
if (ppair2 == "1") {
ppair2 = "14";
}
Symbol 183 MovieClip Frame 25
i = "5";
while ("0" < i) {
if ((eval ("p" add i) == eval ("d" add i)) and (i <> "1")) {
i = i - "1";
} else {
phigh = "3";
}
if (eval ("d" add i) < eval ("p" add i)) {
phigh = "1";
i = "0";
}
if (eval ("p" add i) < eval ("d" add i)) {
phigh = "2";
i = "0";
}
i = i - "1";
}
if (((p1 == "1") and (p1 <> p2)) and (d1 <> "1")) {
phigh = "1";
}
if (((d1 == "1") and (d1 <> d2)) and (p1 <> "1")) {
phigh = "2";
}
if (((p1 == "1") and (p2 == "1")) and (d2 <> "1")) {
phigh = "1";
}
if (DealerHand == "0") {
tellTarget ("typedeal") {
gotoAndPlay ("dnq");
};
}
if (DealerHand == "1") {
tellTarget ("typedeal") {
gotoAndPlay ("ak");
};
}
if (DealerHand == "2") {
tellTarget ("typedeal") {
gotoAndPlay ("pair");
};
}
if (DealerHand == "3") {
tellTarget ("typedeal") {
gotoAndPlay ("2pair");
};
}
if (DealerHand == "4") {
tellTarget ("typedeal") {
gotoAndPlay ("3k");
};
}
if (DealerHand == "5") {
tellTarget ("typedeal") {
gotoAndPlay ("str");
};
}
if (DealerHand == "6") {
tellTarget ("typedeal") {
gotoAndPlay ("flsh");
};
}
if (DealerHand == "7") {
tellTarget ("typedeal") {
gotoAndPlay ("boat");
};
}
if (DealerHand == "8") {
tellTarget ("typedeal") {
gotoAndPlay ("4k");
};
}
if (DealerHand == "9") {
tellTarget ("typedeal") {
gotoAndPlay ("strflsh");
};
}
if (DealerHand == "10") {
tellTarget ("typedeal") {
gotoAndPlay ("rylflsh");
};
}
if (PlayerHand == "0") {
tellTarget ("typeplay") {
gotoAndPlay ("dnq");
};
}
if (PlayerHand == "1") {
tellTarget ("typeplay") {
gotoAndPlay ("ak");
};
}
if (PlayerHand == "2") {
tellTarget ("typeplay") {
gotoAndPlay ("pair");
};
}
if (PlayerHand == "3") {
tellTarget ("typeplay") {
gotoAndPlay ("2pair");
};
}
if (PlayerHand == "4") {
tellTarget ("typeplay") {
gotoAndPlay ("3k");
};
}
if (PlayerHand == "5") {
tellTarget ("typeplay") {
gotoAndPlay ("str");
};
}
if (PlayerHand == "6") {
tellTarget ("typeplay") {
gotoAndPlay ("flsh");
};
}
if (PlayerHand == "7") {
tellTarget ("typeplay") {
gotoAndPlay ("boat");
};
}
if (PlayerHand == "8") {
tellTarget ("typeplay") {
gotoAndPlay ("4k");
};
}
if (PlayerHand == "9") {
tellTarget ("typeplay") {
gotoAndPlay ("strflsh");
};
}
if (PlayerHand == "10") {
tellTarget ("typeplay") {
gotoAndPlay ("rylflsh");
};
}
Symbol 183 MovieClip Frame 26
if (DealerHand == "0") {
WinnerLevel = "1";
}
if ((DealerHand < PlayerHand) and (DealerHand <> "0")) {
WinnerLevel = PlayerHand + "1";
}
if ((PlayerHand < DealerHand) and (DealerHand <> "0")) {
WinnerLevel = "0";
}
if (PlayerHand == DealerHand) {
if ((PlayerHand == "1") and (phigh == "1")) {
WinnerLevel = "2";
}
if ((PlayerHand == "1") and (phigh == "2")) {
WinnerLevel = "0";
}
if ((PlayerHand == "1") and (phigh == "3")) {
WinnerLevel = "1";
push = "1";
}
if ((PlayerHand == "2") and (dpair < ppair)) {
WinnerLevel = "3";
}
if ((PlayerHand == "2") and (ppair < dpair)) {
WinnerLevel = "0";
}
if ((PlayerHand == "2") and (ppair == dpair)) {
if (phigh == "1") {
WinnerLevel = "3";
}
if (phigh == "2") {
WinnerLevel = "0";
}
if (phigh == "3") {
WinnerLevel = "1";
push = "1";
}
}
if (PlayerHand == "3") {
if ((dpair < ppair) and (dpair2 < ppair)) {
WinnerLevel = "4";
}
if ((dpair < ppair2) and (dpair2 < ppair2)) {
WinnerLevel = "4";
}
if ((ppair < dpair) and (ppair2 < dpair)) {
WinnerLevel = "0";
}
if ((ppair < dpair2) and (ppair2 < dpair2)) {
WinnerLevel = "0";
}
}
if ((PlayerHand == "3") and (phigh == "1")) {
WinnerLevel = "4";
}
if ((PlayerHand == "3") and (phigh == "2")) {
WinnerLevel = "0";
}
if ((PlayerHand == "3") and (phigh == "3")) {
WinnerLevel = "1";
push = "1";
}
if ((PlayerHand == "4") and (dpair < ppair)) {
WinnerLevel = "5";
}
if ((PlayerHand == "4") and (ppair < dpair)) {
WinnerLevel = "0";
}
if ((PlayerHand == "5") and (phigh == "1")) {
WinnerLevel = "6";
}
if ((PlayerHand == "5") and (phigh == "2")) {
WinnerLevel = "0";
}
if ((PlayerHand == "5") and (phigh == "3")) {
WinnerLevel = "1";
push = "1";
}
if ((PlayerHand == "6") and (phigh == "1")) {
WinnerLevel = "7";
}
if ((PlayerHand == "6") and (phigh == "2")) {
WinnerLevel = "0";
}
if ((PlayerHand == "6") and (phigh == "3")) {
WinnerLevel = "1";
push = "1";
}
if ((PlayerHand == "8") and (dpair < ppair)) {
WinnerLevel = "9";
}
if ((PlayerHand == "8") and (ppair < dpair)) {
WinnerLevel = "0";
}
if ((PlayerHand == "9") and (phigh == "1")) {
WinnerLevel = "10";
}
if ((PlayerHand == "9") and (phigh == "2")) {
WinnerLevel = "0";
}
if ((PlayerHand == "9") and (phigh == "3")) {
WinnerLevel = "1";
push = "1";
}
if (PlayerHand == "10") {
WinnerLevel = "1";
push = "1";
}
if (PlayerHand == "7") {
if (((p5 == p4) and (p5 == p3)) and (d5 < p5)) {
WinnerLevel = "8";
}
if (((d5 == d4) and (d5 == d3)) and (p5 < d5)) {
WinnerLevel = "0";
}
if (((p1 == p2) and (p1 == p3)) and (d1 < p1)) {
WinnerLevel = "8";
}
if (((p1 == p2) and (p1 == p3)) and (p1 < d1)) {
WinnerLevel = "0";
}
if (((((p5 == p4) and (p5 == p3)) and (d1 == d2)) and (d1 == d3)) and (d1 < p5)) {
WinnerLevel = "8";
}
if (((((p5 == p4) and (p5 == p3)) and (d1 == d2)) and (d1 == d3)) and (p5 < d1)) {
WinnerLevel = "0";
}
if (((p1 == p2) and (p1 == p3)) and (p1 == "1")) {
WinnerLevel = "8";
}
if (((d1 == d2) and (d1 == d3)) and (d1 == "1")) {
WinnerLevel = "0";
}
}
}
if (_level0/:rf == "2") {
WinnerLevel = "0";
}
Symbol 183 MovieClip Frame 27
if (WinnerLevel == "0") {
youwon = "0";
}
if (WinnerLevel == "1") {
Set("../:Credits", (../:Credits + ../:creditsPlayed) + (../:creditsPlayed / "3"));
youwon = ../:creditsPlayed / "3";
}
if (WinnerLevel == "2") {
Set("../:Credits", ../:Credits + (../:creditsPlayed * "2"));
youwon = ../:creditsPlayed;
}
if (WinnerLevel == "3") {
Set("../:Credits", ../:Credits + (../:creditsPlayed * "2"));
youwon = ../:creditsPlayed;
}
if (WinnerLevel == "4") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "3"));
youwon = (../:creditsBet * "2") + (../:creditsPlayed / "3");
}
if (WinnerLevel == "5") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "4"));
youwon = (../:creditsBet * "3") + (../:creditsPlayed / "3");
}
if (WinnerLevel == "6") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "5"));
youwon = (../:creditsBet * "4") + (../:creditsPlayed / "3");
}
if (WinnerLevel == "7") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "6"));
youwon = (../:creditsBet * "5") + (../:creditsPlayed / "3");
if (_level0/:jamount == "1") {
Set("../:Credits", ../:Credits + "50");
youwon = youwon + "50";
}
}
if (WinnerLevel == "8") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "8"));
youwon = (../:creditsBet * "7") + (../:creditsPlayed / "3");
if (_level0/:jamount == "1") {
Set("../:Credits", ../:Credits + "150");
youwon = youwon + "150";
}
}
if (WinnerLevel == "9") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "21"));
youwon = (../:creditsBet * "20") + (../:creditsPlayed / "3");
if (_level0/:jamount == "1") {
Set("../:Credits", ../:Credits + "500");
youwon = youwon + "500";
}
}
if (WinnerLevel == "10") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "51"));
youwon = (../:creditsBet * "50") + (../:creditsPlayed / "3");
if (_level0/:jamount == "1") {
Set("../:Credits", ../:Credits + "1500");
youwon = youwon + "1500";
}
}
if (WinnerLevel == "11") {
Set("../:Credits", (../:Credits + ((../:creditsPlayed / "3") * "2")) + (../:creditsBet * "101"));
youwon = (../:creditsBet * "100") + (../:creditsPlayed / "3");
if (_level0/:jamount == "1") {
royalTemp = (((_level0/:pj7 add _level0/:pj6) add _level0/:pj5) add _level0/:pj4) add _level0/:pj3;
Set("../:Credits", royalTemp);
youwon = royalTemp;
Set("_level0/:pj7", "1");
Set("_level0/:pj6", "0");
Set("_level0/:pj5", "0");
Set("_level0/:pj4", "0");
Set("_level0/:pj3", "0");
}
}
tellTarget ("../jackpot") {
gotoAndStop (1);
}
Symbol 183 MovieClip Frame 28
if (_level0/:rf == "2") {
youwon = "nothing";
tellTarget ("whatyouwon") {
gotoAndStop ("fold");
};
}
if (WinnerLevel == "0") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl0");
};
}
if (WinnerLevel == "1") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl1");
};
}
if (push == "1") {
tellTarget ("whatyouwon") {
gotoAndStop ("wlt");
};
}
if (WinnerLevel == "2") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl2");
};
}
if (WinnerLevel == "3") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl3");
};
}
if (WinnerLevel == "4") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl4");
};
}
if (WinnerLevel == "5") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl5");
};
}
if (WinnerLevel == "6") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl6");
};
}
if (WinnerLevel == "7") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl7");
};
}
if (WinnerLevel == "8") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl8");
};
}
if (WinnerLevel == "9") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl9");
};
}
if (WinnerLevel == "10") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl10");
};
}
if (WinnerLevel == "11") {
tellTarget ("whatyouwon") {
gotoAndStop ("wl11");
};
}
stop();
Symbol 183 MovieClip Frame 29
Set("_level0/:creditsPlayed", "0");
Set("_level0/:betMover", "1");
Set("_level0/:dealplay", "1");
Set("_level0/:rf", "0");
Set("../:creditsPlayed", "0");
Set("../:jackpot", "1");
Set("../:Total", ../:Credits);
winnerLevel = "0";
dpair = "0";
push = "0";
ppair = "0";
youwon = "";
royalTemp = "0";
done3 = "0";
done4 = "0";
done5 = "0";
whatdealhand = "";
whatplayerhand = "";
Set("../:hsdplay", "0");
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);
};
tellTarget ("_level0/cr1") {
gotoAndStop (1);
};
tellTarget ("_level0/cr2") {
gotoAndStop (1);
};
tellTarget ("_level0/cr3") {
gotoAndStop (1);
};
tellTarget ("_level0/cr4") {
gotoAndStop (1);
};
tellTarget ("_level0/cr5") {
gotoAndStop (1);
};
Set("_level0/:chipRow", "1");
Set("_level0/:tochipRow", "0");
removeMovieClip("_level0/bn1");
removeMovieClip("_level0/bn2");
removeMovieClip("_level0/bn3");
removeMovieClip("_level0/bn4");
removeMovieClip("_level0/bn5");
removeMovieClip("_level0/bn6");
removeMovieClip("_level0/bn7");
removeMovieClip("_level0/bn8");
removeMovieClip("_level0/bn9");
removeMovieClip("_level0/bn10");
Set("_level0/cr1/:numChip", "0");
Set("_level0/cr2/:numChip", "0");
Set("_level0/cr3/:numChip", "0");
Set("_level0/cr4/:numChip", "0");
Set("_level0/cr5/:numChip", "0");
gotoAndStop (1);
Symbol 187 Button
on (press) {
if (tOff == "0") {
if ((Total / "3") >= (creditsPlayed + "1")) {
if (betMover == "1") {
if (Credits >= "1") {
tellTarget ("/b-deal") {
gotoAndStop (1);
};
Credits = Credits - "1";
creditsPlayed = creditsPlayed + "1";
if (chipRow == "1") {
tellTarget ("/cr1") {
gotoAndStop ("1");
};
tochipRow = "2";
}
if (chipRow == "2") {
tellTarget ("/cr2") {
gotoAndStop ("1");
};
tochipRow = "3";
}
if (chipRow == "3") {
tellTarget ("/cr3") {
gotoAndStop ("1");
};
tochipRow = "4";
}
if (chipRow == "4") {
tellTarget ("/cr4") {
gotoAndStop ("1");
};
tochipRow = "5";
}
if (chipRow == "5") {
tellTarget ("/cr5") {
gotoAndStop ("1");
};
tochipRow = "5";
}
chipRow = tochipRow;
}
}
}
}
}
Symbol 188 Button
on (press) {
if (tOff == "0") {
if ((Total / "3") >= (creditsPlayed + "5")) {
if (betMover == "1") {
if (Credits >= "5") {
tellTarget ("/b-deal") {
gotoAndStop (1);
};
Credits = Credits - "5";
creditsPlayed = creditsPlayed + "5";
if (chipRow == "1") {
tellTarget ("/cr1") {
gotoAndStop ("5");
};
tochipRow = "2";
}
if (chipRow == "2") {
tellTarget ("/cr2") {
gotoAndStop ("5");
};
tochipRow = "3";
}
if (chipRow == "3") {
tellTarget ("/cr3") {
gotoAndStop ("5");
};
tochipRow = "4";
}
if (chipRow == "4") {
tellTarget ("/cr4") {
gotoAndStop ("5");
};
tochipRow = "5";
}
if (chipRow == "5") {
tellTarget ("/cr5") {
gotoAndStop ("5");
};
tochipRow = "5";
}
chipRow = tochipRow;
}
}
}
}
}
Symbol 189 Button
on (press) {
if (tOff == "0") {
if ((Total / "3") >= (creditsPlayed + "10")) {
if (betMover == "1") {
if (Credits >= "10") {
tellTarget ("/b-deal") {
gotoAndStop (1);
};
Credits = Credits - "10";
creditsPlayed = creditsPlayed + "10";
if (chipRow == "1") {
tellTarget ("/cr1") {
gotoAndStop ("10");
};
tochipRow = "2";
}
if (chipRow == "2") {
tellTarget ("/cr2") {
gotoAndStop ("10");
};
tochipRow = "3";
}
if (chipRow == "3") {
tellTarget ("/cr3") {
gotoAndStop ("10");
};
tochipRow = "4";
}
if (chipRow == "4") {
tellTarget ("/cr4") {
gotoAndStop ("10");
};
tochipRow = "5";
}
if (chipRow == "5") {
tellTarget ("/cr5") {
gotoAndStop ("10");
};
tochipRow = "5";
}
chipRow = tochipRow;
}
}
}
}
}
Symbol 190 Button
on (press) {
if (tOff == "0") {
if ((Total / "3") >= (creditsPlayed + "25")) {
if (betMover == "1") {
if (Credits >= "25") {
tellTarget ("/b-deal") {
gotoAndStop (1);
};
Credits = Credits - "25";
creditsPlayed = creditsPlayed + "25";
if (chipRow == "1") {
tellTarget ("/cr1") {
gotoAndStop ("25");
};
tochipRow = "2";
}
if (chipRow == "2") {
tellTarget ("/cr2") {
gotoAndStop ("25");
};
tochipRow = "3";
}
if (chipRow == "3") {
tellTarget ("/cr3") {
gotoAndStop ("25");
};
tochipRow = "4";
}
if (chipRow == "4") {
tellTarget ("/cr4") {
gotoAndStop ("25");
};
tochipRow = "5";
}
if (chipRow == "5") {
tellTarget ("/cr5") {
gotoAndStop ("25");
};
tochipRow = "5";
}
chipRow = tochipRow;
}
}
}
}
}
Symbol 191 Button
on (press) {
if (tOff == "0") {
if ((Total / "3") >= (creditsPlayed + "50")) {
if (betMover == "1") {
if (Credits >= "50") {
tellTarget ("/b-deal") {
gotoAndStop (1);
};
Credits = Credits - "50";
creditsPlayed = creditsPlayed + "50";
if (chipRow == "1") {
tellTarget ("/cr1") {
gotoAndStop ("50");
};
tochipRow = "2";
}
if (chipRow == "2") {
tellTarget ("/cr2") {
gotoAndStop ("50");
};
tochipRow = "3";
}
if (chipRow == "3") {
tellTarget ("/cr3") {
gotoAndStop ("50");
};
tochipRow = "4";
}
if (chipRow == "4") {
tellTarget ("/cr4") {
gotoAndStop ("50");
};
tochipRow = "5";
}
if (chipRow == "5") {
tellTarget ("/cr5") {
gotoAndStop ("50");
};
tochipRow = "5";
}
chipRow = tochipRow;
}
}
}
}
}
Symbol 192 Button
on (press) {
if (tOff == "0") {
if (betMover == "1") {
tellTarget ("/b-deal") {
gotoAndStop (2);
};
Credits = Credits + creditsPlayed;
creditsPlayed = "0";
}
}
}
Symbol 193 Button
on (press) {
if (tOff == "0") {
if ((Total / "3") >= (creditsPlayed + "100")) {
if (betMover == "1") {
if (Credits >= "100") {
tellTarget ("/b-deal") {
gotoAndStop (1);
};
tellTarget ("runup") {
gotoAndPlay (2);
};
}
}
}
}
}
on (rollOut, release, dragOut) {
tellTarget ("runup") {
gotoAndStop (1);
}
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
if (_level0/:Credits >= "100") {
Set("_level0/:Credits", _level0/:Credits - "100");
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "100");
if (../:chipRow == "1") {
tellTarget ("../cr1") {
gotoAndStop ("100");
};
Set("../:tochipRow", "2");
}
if (../:chipRow == "2") {
tellTarget ("../cr2") {
gotoAndStop ("100");
};
Set("../:tochipRow", "3");
}
if (../:chipRow == "3") {
tellTarget ("../cr3") {
gotoAndStop ("100");
};
Set("../:tochipRow", "4");
}
if (../:chipRow == "4") {
tellTarget ("../cr4") {
gotoAndStop ("100");
};
Set("../:tochipRow", "5");
}
if (../:chipRow == "5") {
tellTarget ("../cr5") {
gotoAndStop ("100");
};
Set("../:tochipRow", "5");
}
Set("../:chipRow", ../:tochipRow);
}
Symbol 194 MovieClip Frame 7
if ((../:Total / "3") >= (../:creditsPlayed + "100")) {
if (_level0/:Credits >= "100") {
Set("_level0/:Credits", _level0/:Credits - "100");
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "100");
if (../:chipRow == "1") {
tellTarget ("../cr1") {
gotoAndStop ("100");
};
Set("../:tochipRow", "2");
}
if (../:chipRow == "2") {
tellTarget ("../cr2") {
gotoAndStop ("100");
};
Set("../:tochipRow", "3");
}
if (../:chipRow == "3") {
tellTarget ("../cr3") {
gotoAndStop ("100");
};
Set("../:tochipRow", "4");
}
if (../:chipRow == "4") {
tellTarget ("../cr4") {
gotoAndStop ("100");
};
Set("../:tochipRow", "5");
}
if (../:chipRow == "5") {
tellTarget ("../cr5") {
gotoAndStop ("100");
};
Set("../:tochipRow", "5");
}
Set("../:chipRow", ../:tochipRow);
}
}
Symbol 194 MovieClip Frame 8
if ((../:Total / "3") >= (../:creditsPlayed + "100")) {
if (_level0/:Credits >= "100") {
Set("_level0/:Credits", _level0/:Credits - "100");
Set("_level0/:creditsPlayed", _level0/:creditsPlayed + "100");
if (../:chipRow == "1") {
tellTarget ("../cr1") {
gotoAndStop ("100");
};
Set("../:tochipRow", "2");
}
if (../:chipRow == "2") {
tellTarget ("../cr2") {
gotoAndStop ("100");
};
Set("../:tochipRow", "3");
}
if (../:chipRow == "3") {
tellTarget ("../cr3") {
gotoAndStop ("100");
};
Set("../:tochipRow", "4");
}
if (../:chipRow == "4") {
tellTarget ("../cr4") {
gotoAndStop ("100");
};
Set("../:tochipRow", "5");
}
if (../:chipRow == "5") {
tellTarget ("../cr5") {
gotoAndStop ("100");
};
Set("../:tochipRow", "5");
}
Set("../:chipRow", ../:tochipRow);
}
}
gotoAndPlay (7);
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
stop();
Symbol 198 Button
on (press) {
if (tOff == "0") {
if (betMover == "1") {
if (jackpot == "1") {
if (Credits >= "1") {
tellTarget ("/jackpot") {
gotoAndStop (2);
};
Credits = Credits - "1";
jackpot = "0";
jamount = "1";
}
}
}
}
}
on (rollOver) {
if (tOff == "0") {
if (betMover == "1") {
if (jackpot == "1") {
tellTarget ("/prog1") {
gotoAndPlay (2);
};
}
}
}
}
on (rollOut) {
tellTarget ("/prog1") {
gotoAndStop (1);
}
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 5
gotoAndPlay (2);
Symbol 212 MovieClip Frame 3
Set("_level0/:pj1", _level0/:pj1 + "1");
if (_level0/:pj1 == "10") {
Set("_level0/:pj1", "0");
Set("_level0/:pj2", _level0/:pj2 + "1");
}
if (_level0/:pj2 == "10") {
Set("_level0/:pj2", "0");
Set("_level0/:pj3", _level0/:pj3 + "1");
}
if (_level0/:pj3 == "10") {
Set("_level0/:pj3", "0");
Set("_level0/:pj4", _level0/:pj4 + "1");
}
if (_level0/:pj4 == "10") {
Set("_level0/:pj4", "0");
Set("_level0/:pj5", _level0/:pj5 + "1");
}
if (_level0/:pj5 == "10") {
Set("_level0/:pj5", "0");
Set("_level0/:pj6", _level0/:pj6 + "1");
}
if (_level0/:pj6 == "10") {
Set("_level0/:pj6", "0");
Set("_level0/:pj7", _level0/:pj7 + "1");
}
gotoAndPlay (1);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
if (../:acheck == "1") {
Set("_level0/:Credits", "1000");
Set("_level0/:Total", "1000");
Set("../:toacheck", "2");
}
if (../:acheck == "2") {
Set("_level0/:Credits", "500");
Set("_level0/:Total", "500");
Set("../:toacheck", "3");
}
if (../:acheck == "3") {
Set("_level0/:Credits", "500");
Set("_level0/:Total", "500");
Set("../:toacheck", "3");
}
Set("../:acheck", ../:toacheck);
Symbol 224 Button
on (release) {
Set("../:tOff", "0");
tellTarget ("_level0/help") {
gotoAndStop (1);
}
}
Symbol 231 Button
on (press) {
startDrag ("_level0/help");
}
on (release) {
stopDrag();
}
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 235 Button
on (release) {
Set("../:tOff", "0");
tellTarget ("_level0/about") {
gotoAndStop (1);
}
}
Symbol 237 Button
on (press) {
startDrag ("_level0/about");
}
on (release) {
stopDrag();
}
Symbol 238 Button
on (release) {
getURL ("mailto:chad@gonetminder.com");
}
Symbol 239 Button
on (release) {
getURL ("http://www.gonetminder.com", "_blank");
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
stop();
Symbol 248 Button
on (release) {
Set("../:tOff", "0");
tellTarget ("_level0/payout") {
gotoAndStop (1);
}
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();