Combined Code
frame 2 {
ifFrameLoaded (172) {
gotoAndPlay(35);
}
}
button 15 {
on (release) {
getURL('http://www.legus.ru/', '_blank');
}
}
button 17 {
on (release) {
prevFrame();
}
}
movieClip 20 {
frame 1 {
stop();
}
}
button 25 {
on (release) {
tellTarget ('/Rules') {
nextFrame();
}
}
}
frame 34 {
gotoAndPlay(2);
}
frame 35 {
gotoAndPlay(300);
}
frame 36 {
loadVariablesNum('vars/.IlIlIIIllll', '0');
}
frame 300 {
gotoAndPlay(301);
}
frame 301 {
vid = 'full';
call('VShaffle');
hits = '104';
Credit = '1500';
Insure = '';
Bet = '0';
StWins = '';
StLosses = '';
StPushes = '';
StBusts = '';
StBlackjacks = '';
gotoAndPlay(303);
}
button 35 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 38 {
frame 1 {
if ('0' < _level0:Insure) {
_level0/InsurBkgr._visible = '1';
} else {
_level0/InsurBkgr._visible = '0';
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 46 {
frame 1 {
stop();
}
frame 2 {
getURL('http://www.legus.ru/', '_parent');
}
}
frame 302 {
vid = 'full';
hits = '104';
call('VShaffle');
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 51 {
frame 1 {
_level0:Timer = int(getTimer() / '1000');
_level0:Hour = int(_level0:Timer / '3600');
if (_level0:Hour < '10') {
_level0:Hour = '0' add _level0:Hour;
}
HourC = int(_level0:Timer / '3600');
Min1 = int(_level0:Timer / '60');
Sek1 = _level0:Timer;
if (HourC < '1') {
_level0:Min = int(_level0:Timer / '60');
if (_level0:Min < '10') {
_level0:Min = '0' add _level0:Min;
}
} else {
if (HourC >= '1') {
_level0:Min = Min1 - HourC * '60';
if (_level0:Min < '10') {
_level0:Min = '0' add _level0:Min;
}
}
}
if (Sek1 < '60') {
_level0:Sek = Sek1;
if (_level0:Sek < '10') {
_level0:Sek = '0' add _level0:Sek;
}
} else {
_level0:Sek = Sek1 - _level0:Min * '60';
if (_level0:Sek < '10') {
_level0:Sek = '0' add _level0:Sek;
}
}
}
frame 2 {
gotoAndPlay(1);
}
}
frame 303 {
if (ShufButCon == '1') {
tellTarget ('/ButControls') {
gotoAndStop('Go');
}
ShufButCon = '0';
}
}
movieClip 57 {
}
movieClip 59 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
}
button 64 {
on (release) {
tellTarget ('_level0') {
nextFrame();
}
tellTarget ('_level0/Fishki') {
gotoAndStop('Net');
}
_level0:StHands += '1';
nextFrame();
}
}
button 67 {
on (release) {
if (_level0/1Player:TControl == '1' and '21' < _level0/1Player:pl1) {
_level0/1Player:pl1 = _level0/1Player:pl1t;
_level0/1Player:pl1t = '';
tellTarget ('_level0/KDealer') {
play();
}
} else {
_level0/1Player:pl1t = '';
tellTarget ('_level0/KDealer') {
play();
}
}
_level0/action:Tdeal = '';
gotoAndStop(20);
}
}
button 68 {
on (release) {
tellTarget ('_level0') {
nextFrame();
}
gotoAndPlay(3);
}
}
button 71 {
on (release) {
if (_level0/1Player:TControl == '1') {
_level0/1Player:pl1 = _level0/1Player:pl1t;
_level0/1Player:pl1t = '';
_level0/1Player:TControl = '';
tellTarget ('_level0') {
nextFrame();
}
} else {
_level0/1Player:pl1t = '';
tellTarget ('_level0') {
nextFrame();
}
}
play();
_level0:Credit -= _level0:Bet;
_level0:Bet *= '2';
_level0:dudu = '1';
}
}
button 73 {
on (release) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Win');
}
_level0/action:Tdeal = '';
_level0:OneToOne = '1';
gotoAndStop(20);
}
}
button 74 {
on (release) {
tellTarget ('_level0/KDealer') {
play();
}
gotoAndStop(20);
}
}
button 77 {
on (release) {
gotoAndStop(13);
_level0:Insurance = '1';
_level0:Insure = int(_level0:Bet / '2');
_level0:Credit -= _level0:Insure;
}
}
button 78 {
on (release) {
tellTarget ('_level0') {
nextFrame();
}
gotoAndStop(13);
}
}
button 80 {
on (release) {
gotoAndStop(14);
_level0:Insurance = '1';
_level0:Insure = int(_level0:Bet / '2');
_level0:Credit -= _level0:Insure;
}
}
button 81 {
on (release) {
_level0:SplitForD = '';
if (_level0/1Player:TControl == '1' and '21' < _level0/1Player:pl1) {
_level0/1Player:pl1 = _level0/1Player:pl1t;
_level0/1Player:pl1t = '';
tellTarget ('_level0/KDealer') {
play();
}
} else {
_level0/1Player:pl1t = '';
tellTarget ('_level0/KDealer') {
play();
}
}
_level0/action:Tdeal = '';
gotoAndStop(20);
}
}
button 82 {
on (release) {
tellTarget ('_level0/1Player') {
gotoAndPlay('Split');
}
gotoAndStop(31);
_level0:Credit -= _level0:Bet;
_level0:Bet *= '2';
_level0:StHands += '1';
}
}
button 83 {
on (release) {
_level0:SplitForD = '';
tellTarget ('_level0') {
nextFrame();
}
gotoAndStop(13);
}
}
button 85 {
on (release) {
if (_level0/1Player:TControl == '1' and '21' < _level0/1Player:pl1Split) {
_level0/1Player:pl1Split = _level0/1Player:pl1tSplit;
_level0/KDealer:TS1 = '_level0/1Player:pl1tSplit';
_level0/1Player:pl1tSplit = '';
tellTarget ('_level0/1Player') {
gotoAndPlay('Split2');
}
gotoAndStop(32);
} else {
_level0/1Player:pl1tSplit = '';
tellTarget ('_level0/1Player') {
gotoAndPlay('Split2');
}
gotoAndStop(32);
}
_level0/action:Tdeal = '';
call('_level0:CorrectVars');
}
}
button 86 {
on (release) {
tellTarget ('_level0') {
nextFrame();
}
}
}
button 88 {
on (release) {
if (_level0/1Player:TControl == '1' and '21' < _level0/1Player:pl1Split2) {
_level0/1Player:pl1Split2 = _level0/1Player:pl1tSplit2;
_level0/KDealer:TS2 = '_level0/1Player:pl1tSplit2';
_level0/1Player:pl1tSplit2 = '';
tellTarget ('_level0/KDealer') {
play();
}
} else {
_level0/1Player:pl1tSplit2 = '';
tellTarget ('_level0/KDealer') {
play();
}
}
gotoAndStop(29);
_level0/action:Tdeal = '';
}
}
button 90 {
on (release) {
_level0:SplitForD = '';
tellTarget ('_level0') {
nextFrame();
}
gotoAndStop(13);
}
}
button 91 {
on (release) {
gotoAndStop(13);
_level0:Insurance = '1';
_level0:Insure = int(_level0:Bet / '2');
_level0:Credit -= _level0:Insure;
}
}
movieClip 92 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 12 {
if (!(_level0/1Player:pl1 eq 'BlackJack') and _level0/KDealer:d < '11') {
if ((_level0/1Player:pl1 == '9' or _level0/1Player:pl1 == '10' or _level0/1Player:pl1 == '11' or (_level0/1Player:pl1t == '9' or _level0/1Player:pl1t == '10' or _level0/1Player:pl1t == '11')) and _level0:Duble != '1' and _level0:SplitControl != '1') {
if (_level0:Credit >= _level0:Bet) {
gotoAndStop(14);
} else {
gotoAndStop(13);
}
} else {
if (_level0/1Player:pl1 >= '21' and _level0/1Player:TControl != '1' or _level0/1Player:pl1t >= '21') {
gotoAndStop(20);
} else {
if (_level0:SplitControl == '1' and _level0:Credit >= _level0:Bet) {
if (_level0/1Player:pl1 == '10') {
gotoAndStop(34);
} else {
gotoAndStop(30);
}
} else {
gotoAndStop(13);
}
}
}
} else {
if ((_level0/1Player:pl1 == '9' or _level0/1Player:pl1 == '10' or _level0/1Player:pl1 == '11' or (_level0/1Player:pl1t == '9' or _level0/1Player:pl1t == '10' or _level0/1Player:pl1t == '11')) and _level0:Duble != '1' and _level0:SplitControl != '1') {
if (_level0:Credit >= _level0:Bet) {
gotoAndStop(23);
} else {
gotoAndStop(13);
}
} else {
if (_level0/1Player:pl1 >= '21' and _level0/1Player:TControl != '1' or _level0/1Player:pl1t >= '21') {
gotoAndStop(20);
} else {
if (_level0/1Player:pl1 eq 'BlackJack') {
if (_level0/KDealer:d == '11') {
gotoAndStop(21);
} else {
gotoAndStop(20);
}
} else {
if (_level0/KDealer:d == '11' and _level0:hits >= '107' and _level0:Insurance != '1') {
if (_level0:SplitControl != '1' and _level0:Credit >= _level0:Bet) {
gotoAndStop(22);
} else {
if (_level0:Credit >= _level0:Bet) {
if (_level0/1Player:pl1 == '10' and _level0/1Player:BJCpl1 == '5') {
gotoAndStop(41);
} else {
gotoAndStop(33);
}
} else {
gotoAndStop(13);
}
}
} else {
gotoAndStop(13);
}
}
}
}
}
}
frame 20 {
stop();
if (_level0:Duble == '1' and '21' >= _level0/1Player:pl1 and !(_level0/1Player:pl1 eq 'BlackJack')) {
tellTarget ('_level0/KDealer') {
play();
}
}
if (_level0:Duble == '1' and '21' >= _level0/1Player:pl1t and !(_level0/1Player:pl1 eq 'BlackJack') and _level0/1Player:bust != '1') {
tellTarget ('_level0/KDealer') {
play();
}
_level0/action:Tdeal = '';
}
}
frame 22 {
_level0:Insurance = '1';
stop();
}
frame 23 {
_level0:Insurance = '1';
}
frame 29 {
stop();
if (_level0/1Player:pl1tSplit2 eq 'Bust' and _level0/1Player:pl1tSplit eq 'Bust') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('busted2');
}
} else {
tellTarget ('_level0/KDealer') {
play();
}
_level0/action:Tdeal = '';
}
}
frame 32 {
_level0/action:Tdeal = '';
}
frame 33 {
_level0:Insurance = '1';
}
frame 40 {
stop();
if (_level0:Duble == '1' and '21' >= _level0/1Player:pl1 and !(_level0/1Player:pl1 eq 'BlackJack')) {
tellTarget ('_level0/KDealer') {
play();
}
}
if (_level0:Duble == '1' and '21' >= _level0/1Player:pl1t and !(_level0/1Player:pl1 eq 'BlackJack') and _level0/1Player:bust != '1') {
tellTarget ('_level0/KDealer') {
play();
}
_level0/action:Tdeal = '';
}
}
frame 47 {
stop();
if (_level0:Duble == '1' and '21' >= _level0/1Player:pl1 and !(_level0/1Player:pl1 eq 'BlackJack')) {
tellTarget ('_level0/KDealer') {
play();
}
}
if (_level0:Duble == '1' and '21' >= _level0/1Player:pl1t and !(_level0/1Player:pl1 eq 'BlackJack') and _level0/1Player:bust != '1') {
tellTarget ('_level0/KDealer') {
play();
}
_level0/action:Tdeal = '';
}
}
frame 53 {
if (!(_level0/1Player:pl1 eq 'BlackJack') and _level0/KDealer:d < '11') {
if ((_level0/1Player:pl1 == '9' or _level0/1Player:pl1 == '10' or _level0/1Player:pl1 == '11' or (_level0/1Player:pl1t == '9' or _level0/1Player:pl1t == '10' or _level0/1Player:pl1t == '11')) and _level0:Duble != '1') {
gotoAndStop(14);
} else {
if (_level0/1Player:pl1 >= '21' and _level0/1Player:TControl != '1' or _level0/1Player:pl1t >= '21') {
gotoAndStop(20);
} else {
gotoAndStop(13);
}
}
} else {
if (_level0/1Player:pl1 >= '21' and _level0/1Player:TControl != '1' or _level0/1Player:pl1t >= '21') {
gotoAndStop(20);
} else {
if (_level0/1Player:pl1 eq 'BlackJack') {
gotoAndStop(20);
} else {
gotoAndStop(13);
}
}
}
}
}
button 97 {
on (rollOver) {
tellTarget ('../obodok') {
gotoAndStop('25');
}
}
on (rollOut) {
tellTarget ('../obodok') {
gotoAndStop(1);
}
}
on (release) {
if (..:test == '0') {
if (_level0:Credit >= '25') {
tellTarget ('_level0') {
gotoAndPlay('Rewind');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('Go');
}
..:test = '1';
} else {
if (_level0:Credit == '0') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Bankrot');
}
}
}
}
if (_level0:Credit >= '25') {
_level0:Bet += '25';
_level0:Credit -= '25';
}
}
}
movieClip 100 {
frame 1 {
if (_level0:Credit < '25') {
tellTarget ('../obodok') {
gotoAndStop(1);
}
gotoAndStop(3);
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 101 {
on (rollOver) {
tellTarget ('../obodok') {
gotoAndStop('5');
}
}
on (rollOut) {
tellTarget ('../obodok') {
gotoAndStop(1);
}
}
on (release) {
if (..:test == '0') {
if (_level0:Credit >= '5') {
tellTarget ('_level0') {
gotoAndPlay('Rewind');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('Go');
}
..:test = '1';
} else {
if (_level0:Credit == '0') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Bankrot');
}
}
}
}
if (_level0:Credit >= '5') {
_level0:Bet += '5';
_level0:Credit -= '5';
}
}
}
movieClip 103 {
frame 1 {
if (_level0:Credit < '5') {
tellTarget ('../obodok') {
gotoAndStop(1);
}
gotoAndStop(3);
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 104 {
on (rollOver) {
tellTarget ('../obodok') {
gotoAndStop('1');
}
}
on (rollOut) {
tellTarget ('../obodok') {
gotoAndStop(1);
}
}
on (release) {
if (..:test == '0') {
if (_level0:Credit >= '1') {
tellTarget ('_level0') {
gotoAndPlay('Rewind');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('Go');
}
..:test = '1';
} else {
if (_level0:Credit == '0') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Bankrot');
}
}
}
}
if (_level0:Credit >= '1') {
_level0:Bet += '1';
_level0:Credit -= '1';
}
}
}
movieClip 106 {
frame 1 {
if (_level0:Credit < '1') {
tellTarget ('../obodok') {
gotoAndStop(1);
}
gotoAndStop(3);
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 107 {
on (rollOver) {
tellTarget ('../obodok') {
gotoAndStop('100');
}
}
on (rollOut) {
tellTarget ('../obodok') {
gotoAndStop(1);
}
}
on (release) {
if (..:test == '0') {
if (_level0:Credit >= '100') {
tellTarget ('_level0') {
gotoAndPlay('Rewind');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('Go');
}
..:test = '1';
} else {
if (_level0:Credit == '0') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Bankrot');
}
}
}
}
if (_level0:Credit >= '100') {
_level0:Bet += '100';
_level0:Credit -= '100';
}
}
}
movieClip 109 {
frame 1 {
if (_level0:Credit < '100') {
tellTarget ('../obodok') {
gotoAndStop(1);
}
gotoAndStop(3);
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 110 {
on (rollOver) {
tellTarget ('../obodok') {
gotoAndStop('500');
}
}
on (rollOut) {
tellTarget ('../obodok') {
gotoAndStop(1);
}
}
on (release) {
if (..:test == '0') {
if (_level0:Credit >= '500') {
tellTarget ('_level0') {
gotoAndPlay('Rewind');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('Go');
}
..:test = '1';
} else {
if (_level0:Credit == '0') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Bankrot');
}
}
}
}
if (_level0:Credit >= '500') {
_level0:Bet += '500';
_level0:Credit -= '500';
}
}
}
movieClip 112 {
frame 1 {
if (_level0:Credit < '500') {
tellTarget ('../obodok') {
gotoAndStop(1);
}
gotoAndStop(3);
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 114 {
frame 1 {
stop();
}
}
movieClip 115 {
frame 1 {
stop();
test = '0';
}
}
movieClip 116 {
frame 1 {
stop();
}
frame 45 {
stop();
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Bankrot');
}
}
}
frame 304 {
d = '0';
end = '';
Duble = '';
dudu = '';
SplitForD = '';
SplitControl = '';
Insurance = '';
/action:Tdeal = '';
/action:TDdeal = '';
/action:deal = '';
/1Player:TControl = '';
/1Player:bust = '';
/1Player:v21 = '';
/1Player:pl1 = '';
/1Player:pl1t = '';
/1Player:pl1Split = '';
/1Player:pl1tSplit = '';
/1Player:pl1Split2 = '';
/1Player:pl1tSplit2 = '';
/1Player:BJCpl1 = '';
/1Player:BJCpl = '';
/KDealer:TDControl = '';
/KDealer:d = '';
/KDealer:dt = '';
/KDealer:TS1 = '';
/KDealer:TS2 = '';
/KDealer:stay = '';
/KDealer:stay2 = '';
/KDealer:win = '';
/KDealer:win2 = '';
/KDealer:lose = '';
/KDealer:lose2 = '';
/KDealer:b = '';
/KDealer:b2 = '';
/KDealer:bb = '';
play();
}
frame 305 {
if (hits >= '312') {
tellTarget ('/1Player/Message') {
gotoAndPlay('Shuffling');
}
tellTarget ('/ButControls') {
gotoAndStop('End');
}
}
}
frame 305 {
tellTarget ('/1Player') {
gotoAndPlay(1);
}
tellTarget ('/KDealer') {
gotoAndPlay(1);
}
}
movieClip 183 {
frame 1 {
gotoAndStop(../:rnd);
_level0:hits += '1';
if (../:rnd == '1') {
rndCount += '1';
}
if (rndCount == '1') {
gotoAndStop(53);
} else {
if (rndCount == '2') {
gotoAndStop(15);
} else {
if (rndCount == '3') {
gotoAndStop(28);
} else {
if (rndCount == '4') {
gotoAndStop(2);
} else {
if (rndCount >= '5') {
gotoAndStop(41);
}
}
}
}
}
}
frame 2 {
_level0/action:deal = '2';
if (_level0:c2 >= '6') {
nextFrame();
} else {
_level0:c2 += '1';
}
}
frame 3 {
_level0/action:deal = '3';
if (_level0:c3 >= '6') {
nextFrame();
} else {
_level0:c3 += '1';
}
}
frame 4 {
_level0/action:deal = '4';
if (_level0:c4 >= '6') {
nextFrame();
} else {
_level0:c4 += '1';
}
}
frame 5 {
_level0/action:deal = '5';
if (_level0:c5 >= '6') {
nextFrame();
} else {
_level0:c5 += '1';
}
}
frame 6 {
_level0/action:deal = '6';
if (_level0:c6 >= '6') {
nextFrame();
} else {
_level0:c6 += '1';
}
}
frame 7 {
_level0/action:deal = '7';
if (_level0:c7 >= '6') {
nextFrame();
} else {
_level0:c7 += '1';
}
}
frame 8 {
_level0/action:deal = '8';
if (_level0:c8 >= '6') {
nextFrame();
} else {
_level0:c8 += '1';
}
}
frame 9 {
_level0/action:deal = '9';
if (_level0:c9 >= '6') {
nextFrame();
} else {
_level0:c9 += '1';
}
}
frame 10 {
_level0/action:deal = '10';
if (_level0:c10 >= '6') {
nextFrame();
} else {
_level0:c10 += '1';
}
}
frame 11 {
_level0/action:deal = '10';
if (_level0:cd >= '6') {
nextFrame();
} else {
_level0:cd += '1';
}
}
frame 12 {
_level0/action:deal = '10';
if (_level0:ck >= '6') {
nextFrame();
} else {
_level0:ck += '1';
}
}
frame 13 {
if ('10' >= _level0:d) {
_level0/action:deal = '11';
} else {
_level0/action:deal = '1';
}
if (_level0:ct >= '6') {
nextFrame();
} else {
_level0:ct += '1';
}
}
frame 14 {
_level0/action:deal = '10';
if (_level0:cv >= '6') {
nextFrame();
} else {
_level0:cv += '1';
}
}
frame 15 {
_level0/action:deal = '2';
if (_level0:k2 >= '6') {
nextFrame();
} else {
_level0:k2 += '1';
}
}
frame 16 {
_level0/action:deal = '3';
if (_level0:k3 >= '6') {
nextFrame();
} else {
_level0:k3 += '1';
}
}
frame 17 {
_level0/action:deal = '4';
if (_level0:k4 >= '6') {
nextFrame();
} else {
_level0:k4 += '1';
}
}
frame 18 {
_level0/action:deal = '5';
if (_level0:k5 >= '6') {
nextFrame();
} else {
_level0:k5 += '1';
}
}
frame 19 {
_level0/action:deal = '6';
if (_level0:k6 >= '6') {
nextFrame();
} else {
_level0:k6 += '1';
}
}
frame 20 {
_level0/action:deal = '7';
if (_level0:k7 >= '6') {
nextFrame();
} else {
_level0:k7 += '1';
}
}
frame 21 {
_level0/action:deal = '8';
if (_level0:k8 >= '6') {
nextFrame();
} else {
_level0:k8 += '1';
}
}
frame 22 {
_level0/action:deal = '9';
if (_level0:k9 >= '6') {
nextFrame();
} else {
_level0:k9 += '1';
}
}
frame 23 {
_level0/action:deal = '10';
if (_level0:k10 >= '6') {
nextFrame();
} else {
_level0:k10 += '1';
}
}
frame 24 {
_level0/action:deal = '10';
if (_level0:kd >= '6') {
nextFrame();
} else {
_level0:kd += '1';
}
}
frame 25 {
_level0/action:deal = '10';
if (_level0:kk >= '6') {
nextFrame();
} else {
_level0:kk += '1';
}
}
frame 26 {
if ('10' >= _level0:d) {
_level0/action:deal = '11';
} else {
_level0/action:deal = '1';
}
if (_level0:kt >= '6') {
nextFrame();
} else {
_level0:kt += '1';
}
}
frame 27 {
_level0/action:deal = '10';
if (_level0:kv >= '6') {
nextFrame();
} else {
_level0:kv += '1';
}
}
frame 28 {
_level0/action:deal = '2';
if (_level0:b2 >= '6') {
nextFrame();
} else {
_level0:b2 += '1';
}
}
frame 29 {
_level0/action:deal = '3';
if (_level0:b3 >= '6') {
nextFrame();
} else {
_level0:b3 += '1';
}
}
frame 30 {
_level0/action:deal = '4';
if (_level0:b4 >= '6') {
nextFrame();
} else {
_level0:b4 += '1';
}
}
frame 31 {
_level0/action:deal = '5';
if (_level0:b5 >= '6') {
nextFrame();
} else {
_level0:b5 += '1';
}
}
frame 32 {
_level0/action:deal = '6';
if (_level0:b6 >= '6') {
nextFrame();
} else {
_level0:b6 += '1';
}
}
frame 33 {
_level0/action:deal = '7';
if (_level0:b7 >= '6') {
nextFrame();
} else {
_level0:b7 += '1';
}
}
frame 34 {
_level0/action:deal = '8';
if (_level0:b8 >= '6') {
nextFrame();
} else {
_level0:b8 += '1';
}
}
frame 35 {
_level0/action:deal = '9';
if (_level0:b9 >= '6') {
nextFrame();
} else {
_level0:b9 += '1';
}
}
frame 36 {
_level0/action:deal = '10';
if (_level0:b10 >= '6') {
nextFrame();
} else {
_level0:b10 += '1';
}
}
frame 37 {
_level0/action:deal = '10';
if (_level0:bd >= '6') {
nextFrame();
} else {
_level0:bd += '1';
}
}
frame 38 {
_level0/action:deal = '10';
if (_level0:bk >= '6') {
nextFrame();
} else {
_level0:bk += '1';
}
}
frame 39 {
if ('10' >= _level0:d) {
_level0/action:deal = '11';
} else {
_level0/action:deal = '1';
}
if (_level0:bt >= '6') {
nextFrame();
} else {
_level0:bt += '1';
}
}
frame 40 {
_level0/action:deal = '10';
if (_level0:bv >= '6') {
nextFrame();
} else {
_level0:bv += '1';
}
}
frame 41 {
_level0/action:deal = '2';
if (_level0:p2 >= '6') {
nextFrame();
} else {
_level0:p2 += '1';
}
}
frame 42 {
_level0/action:deal = '3';
if (_level0:p3 >= '6') {
nextFrame();
} else {
_level0:p3 += '1';
}
}
frame 43 {
_level0/action:deal = '4';
if (_level0:p4 >= '6') {
nextFrame();
} else {
_level0:p4 += '1';
}
}
frame 44 {
_level0/action:deal = '5';
if (_level0:p5 >= '6') {
nextFrame();
} else {
_level0:p5 += '1';
}
}
frame 45 {
_level0/action:deal = '6';
if (_level0:p6 >= '6') {
nextFrame();
} else {
_level0:p6 += '1';
}
}
frame 46 {
_level0/action:deal = '7';
if (_level0:p7 >= '6') {
nextFrame();
} else {
_level0:p7 += '1';
}
}
frame 47 {
_level0/action:deal = '8';
if (_level0:p8 >= '6') {
nextFrame();
} else {
_level0:p8 += '1';
}
}
frame 48 {
_level0/action:deal = '9';
if (_level0:p9 >= '6') {
nextFrame();
} else {
_level0:p9 += '1';
}
}
frame 49 {
_level0/action:deal = '10';
if (_level0:p10 >= '6') {
nextFrame();
} else {
_level0:p10 += '1';
}
}
frame 50 {
_level0/action:deal = '10';
if (_level0:pd >= '6') {
nextFrame();
} else {
_level0:pd += '1';
}
}
frame 51 {
_level0/action:deal = '10';
if (_level0:pk >= '6') {
nextFrame();
} else {
_level0:pk += '1';
}
}
frame 52 {
if ('10' >= _level0:d) {
_level0/action:deal = '11';
} else {
_level0/action:deal = '1';
}
if (_level0:pt >= '6') {
nextFrame();
} else {
_level0:pt += '1';
}
}
frame 53 {
_level0/action:deal = '10';
if (_level0:pv >= '6') {
gotoAndStop(2);
} else {
_level0:pv += '1';
}
}
}
movieClip 184 {
frame 1 {
rnd = random('53') + '1';
}
}
movieClip 186 {
frame 2 {
stop();
d = '';
}
frame 3 {
call('_level0:RubCol');
}
frame 8 {
stop();
BJControl = _level0/action:deal;
d = _level0/action:deal;
if (_level0/action:deal == '11') {
TDControl = '1';
_level0/action:TDdeal = '1';
dt = _level0/action:TDdeal;
}
tellTarget ('_level0/1Player') {
play();
}
}
frame 9 {
call('_level0:RubCol');
}
frame 14 {
if ('10' < d and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if (d < '7' and _level0/action:deal == '11') {
_level0/action:TDdeal = '1';
} else {
_level0/action:deal = _level0/action:deal;
_level0/action:TDdeal = _level0/action:deal;
}
}
d += _level0/action:deal;
if (_level0/action:TDdeal == '1' or TDControl == '1') {
if (BJCpl1 + _level0/action:deal < '21') {
TDControl = '1';
dt = d - '10';
} else {
dt = '';
}
}
if (_level0:SplitForD != '1') {
if (BJControl + _level0/action:deal == '21') {
stop();
d = 'BlackJack';
if (d eq _level0/1Player:pl1) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Push');
}
} else {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose');
}
}
}
if (BJControl + _level0/action:deal >= '17' and !(d eq 'BlackJack')) {
stop();
if ('21' < d) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('DBusts');
}
}
if ('21' >= d and _level0/1Player:pl1 < d) {
if (!(_level0/1Player:pl1 eq 'BlackJack')) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose');
}
} else {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Win');
}
}
}
if ('21' >= d and d < _level0/1Player:pl1) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Win');
}
}
if ('21' >= d and d == _level0/1Player:pl1) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Push');
}
}
} else {
if (!(d eq 'BlackJack')) {
play();
}
}
} else {
if (BJControl + _level0/action:deal == '21') {
stop();
d = 'BlackJack';
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose2');
}
}
if (BJControl + _level0/action:deal >= '17' and !(d eq 'BlackJack')) {
stop();
if ('21' < d) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('DBusts2');
}
}
call('TotSplit');
} else {
if (!(d eq 'BlackJack')) {
play();
}
}
}
}
frame 15 {
call('_level0:RubCol');
}
frame 20 {
call('DTotCtrl');
}
frame 21 {
call('_level0:RubCol');
}
frame 26 {
call('DTotCtrl');
}
frame 27 {
call('_level0:RubCol');
}
frame 32 {
call('DTotCtrl');
}
frame 33 {
call('_level0:RubCol');
}
frame 38 {
call('DTotCtrl');
}
frame 39 {
call('_level0:RubCol');
}
frame 44 {
call('DTotCtrl');
}
frame 45 {
call('_level0:RubCol');
}
frame 50 {
call('DTotCtrl');
}
frame 51 {
call('_level0:RubCol');
}
frame 56 {
call('DTotCtrl');
}
frame 65 {
TS1 = _level0/1Player:pl1Split;
TS2 = _level0/1Player:pl1Split2;
if ('21' < TS1) {
b = '1';
}
if ('21' < TS2) {
b2 = '1';
}
if (b == '1' and b2 == '1') {
bb = '1';
}
if (b != '1') {
if ('21' >= d) {
if (TS1 < d) {
lose = '1';
} else {
if (d < TS1) {
win = '1';
} else {
stay = '1';
}
}
}
}
if (b2 != '1') {
if ('21' >= d) {
if (TS2 < d) {
lose2 = '1';
} else {
if (d < TS2) {
win2 = '1';
} else {
stay2 = '1';
}
}
}
}
if (bb != '1') {
if (lose == '1' and lose2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose2');
}
}
if (stay == '1' or stay2 == '1') {
if (stay == '1' and stay2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Push2');
}
} else {
if (win == '1' or win2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Only1');
}
}
if (lose == '1' or lose2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('LoseOne');
}
}
}
}
if (win == '1' or win2 == '1') {
if (win == '1' and win2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Win2');
}
} else {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Only1');
}
}
}
}
if (b == '1' and bb != '1') {
if (lose2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose2');
}
}
if (win2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Only1');
}
}
if (stay2 == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('LoseOne');
}
}
} else {
if (b2 == '1' and bb != '1') {
if (lose == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose2');
}
}
if (win == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Only1');
}
}
if (stay == '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('LoseOne');
}
}
}
}
}
frame 72 {
TS1 = '21';
TS2 = '18';
d = '17';
}
frame 78 {
stop();
if ('10' < d and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= d and _level0/action:deal == '11') {
TDControl = '1';
_level0/action:TDdeal = '1';
} else {
_level0/action:TDdeal = _level0/action:deal;
}
}
d += _level0/action:deal;
if (TDControl == '1') {
dt = d - '10';
if ('21' < d and dt < '21') {
d = dt;
TDControl = '0';
play();
}
}
if (_level0:SplitForD != '1') {
if (d >= '17') {
stop();
if ('21' < d and TDControl != '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('DBusts');
}
}
if ('21' >= d and _level0/1Player:pl1 < d) {
if (!(_level0/1Player:pl1 eq 'BlackJack')) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Lose');
}
} else {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Win');
}
}
}
if ('21' >= d and d < _level0/1Player:pl1) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Win');
}
}
if ('21' >= d and d == _level0/1Player:pl1) {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('Push');
}
}
} else {
play();
}
} else {
if (d >= '17') {
stop();
if ('21' < d and TDControl != '1') {
tellTarget ('_level0/1Player/Message') {
gotoAndStop('DBusts2');
}
} else {
call('TotSplit');
}
} else {
play();
}
}
}
}
movieClip 190 {
}
movieClip 214 {
}
movieClip 216 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 9 {
stop();
call('_level0:LoseTot');
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
_level0:StBusts += '1';
}
frame 10 {
play();
}
frame 17 {
stop();
call('_level0:WinTot');
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
_level0:StWins += '1';
}
frame 18 {
play();
}
frame 25 {
stop();
call('_level0:PushTot');
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
_level0:StPushes += '1';
}
frame 26 {
play();
}
frame 33 {
stop();
call('_level0:WinTot');
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
_level0:StWins += '1';
}
frame 34 {
play();
}
frame 41 {
stop();
call('_level0:LoseTot');
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
_level0:StLosses += '1';
}
frame 42 {
tellTarget ('_level0/kol') {
gotoAndStop('Korob');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
play();
}
frame 116 {
gotoAndStop(1);
tellTarget ('_level0') {
gotoAndPlay('S');
}
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
_level0:ShufButCon = '1';
}
frame 117 {
play();
}
frame 124 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:WinTotS');
}
frame 125 {
play();
}
frame 132 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:LoseTot');
_level0:StBusts += '2';
}
frame 133 {
play();
}
frame 140 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:DBastS');
}
frame 141 {
play();
}
frame 148 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:PushTot');
_level0:StPushes += '2';
}
frame 149 {
play();
}
frame 156 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:WinTot');
_level0:StWins += '2';
}
frame 157 {
play();
}
frame 164 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:LoseTot');
_level0:StLosses += '2';
}
frame 165 {
play();
}
frame 172 {
stop();
tellTarget ('_level0/Fishki') {
gotoAndStop('Da');
}
call('_level0:LoseTotS');
}
frame 173 {
stop();
tellTarget ('_level0/Fishki') {
nextFrame();
}
}
}
movieClip 222 {
frame 2 {
stop();
TuzSplit = '0';
}
frame 3 {
call('_level0:RubCol');
}
frame 8 {
stop();
BJCpl1 = _level0/action:deal;
pl1 = _level0/action:deal;
if (_level0/action:deal == '11') {
TControl = '1';
TuzSplit = '1';
_level0/action:Tdeal = '1';
pl1t = _level0/action:Tdeal;
}
tellTarget ('_level0/KDealer') {
play();
}
}
frame 9 {
tellTarget ('_level0/ButControls') {
play();
}
}
frame 9 {
call('_level0:RubCol');
}
frame 14 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
TuzSplit += '1';
} else {
if (pl1 < '10' and _level0/action:deal == '11') {
_level0/action:Tdeal = '1';
} else {
_level0/action:deal = _level0/action:deal;
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (_level0/action:Tdeal == '1' or TControl == '1') {
if (BJCpl1 + _level0/action:deal < '21') {
TControl = '1';
pl1t = pl1 - '10';
} else {
pl1t = '';
}
}
if (pl1 - _level0/action:deal == _level0/action:deal) {
_level0:SplitControl = '1';
} else {
if (TuzSplit == '2') {
_level0:SplitControl = '1';
}
}
if (BJCpl1 + _level0/action:deal == '21') {
stop();
pl1 = 'BlackJack';
_level0:StBlackjacks += '1';
if (_level0/KDealer:d == '11') {
tellTarget ('_level0/ButControls') {
gotoAndStop('1orPlay');
}
} else {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
tellTarget ('Message') {
gotoAndStop('Win');
}
}
}
}
frame 15 {
call('_level0:RubCol');
}
frame 20 {
stop();
_level0:SplitControl = '';
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
pl1 = pl1t;
pl1t = '';
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 21 {
call('_level0:RubCol');
}
frame 26 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
pl1 = pl1t;
pl1t = '';
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 27 {
call('_level0:RubCol');
}
frame 32 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
pl1 = pl1t;
pl1t = '';
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 33 {
call('_level0:RubCol');
}
frame 38 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
pl1 = pl1t;
pl1t = '';
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 39 {
call('_level0:RubCol');
}
frame 44 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
pl1 = pl1t;
pl1t = '';
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 45 {
call('_level0:RubCol');
}
frame 50 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
pl1 = pl1t;
pl1t = '';
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 51 {
call('_level0:RubCol');
}
frame 56 {
stop();
if ('10' < pl1 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1 += _level0/action:deal;
if (TControl == '1') {
pl1t = pl1 - '10';
}
if ('21' < pl1 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1t and TControl == '1') {
bust = '1';
}
}
if (bust == '1') {
tellTarget ('Message') {
gotoAndStop('busted');
}
tellTarget ('_level0/ButControls') {
gotoAndStop('End');
}
}
_level0:Duble = '1';
}
frame 57 {
if (TuzSplit == '2') {
pl1Split = '11';
pl1Split2 = '11';
} else {
pl1Split = pl1 / '2';
pl1Split2 = pl1 / '2';
}
}
frame 57 {
_level0:SplitForD = '1';
}
frame 61 {
call('_level0:RubCol');
}
frame 66 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if (pl1Split < '10' and _level0/action:deal == '11') {
_level0/action:Tdeal = '1';
} else {
_level0/action:deal = _level0/action:deal;
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (_level0/action:Tdeal == '1' or TControl == '1') {
if (BJCpl1 + _level0/action:deal < '21') {
TControl = '1';
pl1tSplit = pl1Split - '10';
} else {
pl1tSplit = '';
}
}
if (BJCpl1 + _level0/action:deal == '21') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis2 = '1';
Vis3 = '1';
Vis4 = '1';
Vis5 = '1';
Vis6 = '1';
Vis7 = '1';
}
frame 67 {
call('_level0:RubCol');
}
frame 72 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit = pl1Split - '10';
}
if ('21' < pl1Split and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = 'Bust';
bust = '1';
}
}
if (bust == '1') {
pl1tSplit = 'Bust';
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
if (pl1Split == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit == '21' and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = '';
v21 = '1';
}
}
if (v21 == '1') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis2 = '0';
Vis3 = '1';
Vis4 = '1';
Vis5 = '1';
Vis6 = '1';
Vis7 = '1';
hitvis = '5';
}
frame 73 {
call('_level0:RubCol');
}
frame 78 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit = pl1Split - '10';
}
if ('21' < pl1Split and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = 'Bust';
bust = '1';
}
}
if (bust == '1') {
pl1tSplit = 'Bust';
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
if (pl1Split == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit == '21' and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = '';
v21 = '1';
}
}
if (v21 == '1') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis3 = '0';
Vis4 = '1';
Vis5 = '1';
Vis6 = '1';
Vis7 = '1';
hitvis = '4';
}
frame 79 {
call('_level0:RubCol');
}
frame 84 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit = pl1Split - '10';
}
if ('21' < pl1Split and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = 'Bust';
bust = '1';
}
}
if (bust == '1') {
pl1tSplit = 'Bust';
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
if (pl1Split == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit == '21' and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = '';
v21 = '1';
}
}
if (v21 == '1') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis4 = '0';
Vis5 = '1';
Vis6 = '1';
Vis7 = '1';
hitvis = '3';
}
frame 85 {
call('_level0:RubCol');
}
frame 90 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit = pl1Split - '10';
}
if ('21' < pl1Split and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = 'Bust';
bust = '1';
}
}
if (bust == '1') {
pl1tSplit = 'Bust';
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
if (pl1Split == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit == '21' and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = '';
v21 = '1';
}
}
if (v21 == '1') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis5 = '0';
Vis6 = '1';
Vis7 = '1';
hitvis = '2';
}
frame 91 {
call('_level0:RubCol');
}
frame 96 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit = pl1Split - '10';
}
if ('21' < pl1Split and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = 'Bust';
bust = '1';
}
}
if (bust == '1') {
pl1tSplit = 'Bust';
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
if (pl1Split == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit == '21' and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = '';
v21 = '1';
}
}
if (v21 == '1') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis6 = '0';
Vis7 = '1';
hitvis = '1';
}
frame 97 {
call('_level0:RubCol');
}
frame 102 {
stop();
if ('10' < pl1Split and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit = pl1Split - '10';
}
if ('21' < pl1Split and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = 'Bust';
bust = '1';
}
}
if (bust == '1') {
pl1tSplit = 'Bust';
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
if (pl1Split == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit == '21' and TControl == '1') {
pl1Split = pl1tSplit;
pl1tSplit = '';
v21 = '1';
}
}
if (v21 == '1') {
gotoAndPlay(103);
tellTarget ('_level0/ButControls') {
gotoAndStop('NextSplit2');
call('_level0:CorrectVars');
}
}
_level0:Duble = '1';
Vis7 = '0';
hitvis = '0';
}
frame 103 {
v21 = '';
if (TuzSplit == '0') {
TControl = '';
}
_level0:SplitControl = '';
_level0/action:deal = '';
_level0/action:Tdeal = '';
bust = '';
if (Vis2 == '1') {
s2._visible = '0';
}
if (Vis3 == '1') {
s3._visible = '0';
}
if (Vis4 == '1') {
s4._visible = '0';
}
if (Vis5 == '1') {
s5._visible = '0';
}
if (Vis6 == '1') {
s6._visible = '0';
}
if (Vis7 == '1') {
s7._visible = '0';
}
Vis2 = '0';
Vis3 = '0';
Vis4 = '0';
Vis5 = '0';
Vis6 = '0';
Vis7 = '0';
_level0:hits -= hitvis;
}
frame 104 {
_level0:c2 = _level0/corV:c2;
_level0:c3 = _level0/corV:c3;
_level0:c4 = _level0/corV:c4;
_level0:c5 = _level0/corV:c5;
_level0:c6 = _level0/corV:c6;
_level0:c7 = _level0/corV:c7;
_level0:c8 = _level0/corV:c8;
_level0:c9 = _level0/corV:c9;
_level0:c10 = _level0/corV:c10;
_level0:cv = _level0/corV:cv;
_level0:cd = _level0/corV:cd;
_level0:ck = _level0/corV:ck;
_level0:ct = _level0/corV:ct;
_level0:b2 = _level0/corV:b2;
_level0:b3 = _level0/corV:b3;
_level0:b4 = _level0/corV:b4;
_level0:b5 = _level0/corV:b5;
_level0:b6 = _level0/corV:b6;
_level0:b7 = _level0/corV:b7;
_level0:b8 = _level0/corV:b8;
_level0:b9 = _level0/corV:b9;
_level0:b10 = _level0/corV:b10;
_level0:bv = _level0/corV:bv;
_level0:bd = _level0/corV:bd;
_level0:bk = _level0/corV:bk;
_level0:bt = _level0/corV:bt;
_level0:k2 = _level0/corV:k2;
_level0:k3 = _level0/corV:k3;
_level0:k4 = _level0/corV:k4;
_level0:k5 = _level0/corV:k5;
_level0:k6 = _level0/corV:k6;
_level0:k7 = _level0/corV:k7;
_level0:k8 = _level0/corV:k8;
_level0:k9 = _level0/corV:k9;
_level0:k10 = _level0/corV:k10;
_level0:kv = _level0/corV:kv;
_level0:kd = _level0/corV:kd;
_level0:kk = _level0/corV:kk;
_level0:kt = _level0/corV:kt;
_level0:p2 = _level0/corV:p2;
_level0:p3 = _level0/corV:p3;
_level0:p4 = _level0/corV:p4;
_level0:p5 = _level0/corV:p5;
_level0:p6 = _level0/corV:p6;
_level0:p7 = _level0/corV:p7;
_level0:p8 = _level0/corV:p8;
_level0:p9 = _level0/corV:p9;
_level0:p10 = _level0/corV:p10;
_level0:pv = _level0/corV:pv;
_level0:pd = _level0/corV:pd;
_level0:pk = _level0/corV:pk;
_level0:pt = _level0/corV:pt;
}
frame 105 {
call('_level0:RubCol');
}
frame 108 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if (pl1Split2 < '10' and _level0/action:deal == '11') {
_level0/action:Tdeal = '1';
} else {
_level0/action:deal = _level0/action:deal;
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (_level0/action:Tdeal == '1' or TControl == '1') {
if (BJCpl1 + _level0/action:deal < '21') {
TControl = '1';
pl1tSplit2 = pl1Split2 - '10';
} else {
pl1tSplit2 = '';
}
}
if (BJCpl1 + _level0/action:deal == '21') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
_level0:Duble = '1';
}
frame 109 {
call('_level0:RubCol');
}
frame 112 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split2 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit2 = pl1Split2 - '10';
}
if ('21' < pl1Split2 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit2 and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = 'Bust';
bust = '1';
}
}
if (pl1Split2 == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit2 == '21' and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = '';
v21 = '1';
}
}
if (v21 == '1') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
if (bust == '1') {
stop();
pl1tSplit2 = 'Bust';
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
}
_level0:Duble = '1';
}
frame 113 {
call('_level0:RubCol');
}
frame 116 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split2 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit2 = pl1Split2 - '10';
}
if ('21' < pl1Split2 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit2 and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = 'Bust';
bust = '1';
}
}
if (pl1Split2 == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit2 == '21' and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = '';
v21 = '1';
}
}
if (v21 == '1') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
if (bust == '1') {
stop();
pl1tSplit2 = 'Bust';
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
}
_level0:Duble = '1';
}
frame 117 {
call('_level0:RubCol');
}
frame 120 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split2 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit2 = pl1Split2 - '10';
}
if ('21' < pl1Split2 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit2 and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = 'Bust';
bust = '1';
}
}
if (pl1Split2 == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit2 == '21' and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = '';
v21 = '1';
}
}
if (v21 == '1') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
if (bust == '1') {
stop();
pl1tSplit2 = 'Bust';
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
}
_level0:Duble = '1';
}
frame 121 {
call('_level0:RubCol');
}
frame 124 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split2 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit2 = pl1Split2 - '10';
}
if ('21' < pl1Split2 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit2 and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = 'Bust';
bust = '1';
}
}
if (pl1Split2 == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit2 == '21' and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = '';
v21 = '1';
}
}
if (v21 == '1') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
if (bust == '1') {
stop();
pl1tSplit2 = 'Bust';
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
}
_level0:Duble = '1';
}
frame 125 {
call('_level0:RubCol');
}
frame 128 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split2 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit2 = pl1Split2 - '10';
}
if ('21' < pl1Split2 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit2 and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = 'Bust';
bust = '1';
}
}
if (pl1Split2 == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit2 == '21' and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = '';
v21 = '1';
}
}
if (v21 == '1') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
if (bust == '1') {
stop();
pl1tSplit2 = 'Bust';
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
}
_level0:Duble = '1';
}
frame 129 {
call('_level0:RubCol');
}
frame 132 {
stop();
if ('10' < pl1Split2 and _level0/action:deal == '11') {
_level0/action:deal = '1';
} else {
if ('10' >= pl1Split2 and _level0/action:deal == '11') {
TControl = '1';
_level0/action:Tdeal = '1';
} else {
_level0/action:Tdeal = _level0/action:deal;
}
}
pl1Split2 += _level0/action:deal;
if (TControl == '1' and _level0:dudu != '1') {
pl1tSplit2 = pl1Split2 - '10';
}
if ('21' < pl1Split2 and TControl != '1') {
bust = '1';
} else {
if ('21' < pl1tSplit2 and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = 'Bust';
bust = '1';
}
}
if (pl1Split2 == '21' and TControl != '1') {
v21 = '1';
} else {
if (pl1tSplit2 == '21' and TControl == '1') {
pl1Split2 = pl1tSplit2;
pl1tSplit2 = '';
v21 = '1';
}
}
if (v21 == '1') {
stop();
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
tellTarget ('_level0/KDealer') {
play();
}
}
if (bust == '1') {
stop();
pl1tSplit2 = 'Bust';
tellTarget ('_level0/ButControls') {
gotoAndStop('End2');
}
}
_level0:Duble = '1';
}
}
frame 306 {
stop();
}
frame 307 {
tellTarget ('/1Player') {
play();
}
}
frame 308 {
tellTarget ('/1Player') {
play();
}
}
frame 309 {
tellTarget ('/1Player') {
play();
}
}
frame 310 {
tellTarget ('/1Player') {
play();
}
}
frame 311 {
tellTarget ('/1Player') {
play();
}
}
frame 312 {
tellTarget ('/1Player') {
play();
}
}
frame 313 {
tellTarget ('/1Player') {
play();
}
}
frame 314 {
tellTarget ('/1Player') {
play();
}
}
frame 315 {
tellTarget ('/1Player') {
play();
}
}
frame 316 {
tellTarget ('/1Player') {
play();
}
}
frame 317 {
tellTarget ('/1Player') {
play();
}
}
frame 318 {
tellTarget ('/1Player') {
play();
}
}
frame 319 {
tellTarget ('/1Player') {
play();
}
}
frame 320 {
tellTarget ('/1Player') {
play();
}
}
frame 321 {
tellTarget ('/1Player') {
play();
}
}
frame 322 {
tellTarget ('/1Player') {
play();
}
}
frame 323 {
tellTarget ('/1Player') {
play();
}
}
frame 324 {
tellTarget ('/1Player') {
play();
}
}
frame 325 {
tellTarget ('/1Player') {
play();
}
}
frame 326 {
tellTarget ('/1Player') {
play();
}
}
frame 327 {
tellTarget ('/1Player') {
play();
}
}
frame 328 {
tellTarget ('/1Player') {
play();
}
}
frame 329 {
tellTarget ('/1Player') {
play();
}
}
frame 330 {
tellTarget ('/1Player') {
play();
}
}
frame 331 {
tellTarget ('/1Player') {
play();
}
}
frame 332 {
tellTarget ('/1Player') {
play();
}
}
frame 333 {
tellTarget ('/1Player') {
play();
}
}
frame 338 {
loadVariablesNum('var/' add vars add '.cgi', '0');
d = '0';
}
frame 348 {
c2 = '0';
c3 = '0';
c4 = '0';
c5 = '0';
c6 = '0';
c7 = '0';
c8 = '0';
c9 = '0';
c10 = '0';
cv = '0';
cd = '0';
ck = '0';
ct = '0';
b2 = '0';
b3 = '0';
b4 = '0';
b5 = '0';
b6 = '0';
b7 = '0';
b8 = '0';
b9 = '0';
b10 = '0';
bv = '0';
bd = '0';
bk = '0';
bt = '0';
k2 = '0';
k3 = '0';
k4 = '0';
k5 = '0';
k6 = '0';
k7 = '0';
k8 = '0';
k9 = '0';
k10 = '0';
kv = '0';
kd = '0';
kk = '0';
kt = '0';
p2 = '0';
p3 = '0';
p4 = '0';
p5 = '0';
p6 = '0';
p7 = '0';
p8 = '0';
p9 = '0';
p10 = '0';
pv = '0';
pd = '0';
pk = '0';
pt = '0';
}
frame 358 {
/corV:c2 = c2;
/corV:c3 = c3;
/corV:c4 = c4;
/corV:c5 = c5;
/corV:c6 = c6;
/corV:c7 = c7;
/corV:c8 = c8;
/corV:c9 = c9;
/corV:c10 = c10;
/corV:cv = cv;
/corV:cd = cd;
/corV:ck = ck;
/corV:ct = ct;
/corV:b2 = b2;
/corV:b3 = b3;
/corV:b4 = b4;
/corV:b5 = b5;
/corV:b6 = b6;
/corV:b7 = b7;
/corV:b8 = b8;
/corV:b9 = b9;
/corV:b10 = b10;
/corV:bv = bv;
/corV:bd = bd;
/corV:bk = bk;
/corV:bt = bt;
/corV:k2 = k2;
/corV:k3 = k3;
/corV:k4 = k4;
/corV:k5 = k5;
/corV:k6 = k6;
/corV:k7 = k7;
/corV:k8 = k8;
/corV:k9 = k9;
/corV:k10 = k10;
/corV:kv = kv;
/corV:kd = kd;
/corV:kk = kk;
/corV:kt = kt;
/corV:p2 = p2;
/corV:p3 = p3;
/corV:p4 = p4;
/corV:p5 = p5;
/corV:p6 = p6;
/corV:p7 = p7;
/corV:p8 = p8;
/corV:p9 = p9;
/corV:p10 = p10;
/corV:pv = pv;
/corV:pd = pd;
/corV:pk = pk;
/corV:pt = pt;
}
frame 368 {
_level0/kol/rubashka:X = _level0/kol/rubashka._x;
_level0/kol/rubashka:XP = _level0/kol/rubashka:X + '0.298076923';
_level0/kol/rubashka._x = _level0/kol/rubashka:XP;
if (_level0:hits == '311') {
tellTarget ('_level0/kol') {
play();
}
} else {
stop();
}
}
frame 377 {
if (_level0/1Player:pl1 eq 'BlackJack' and _level0:OneToOne < '1') {
Credit += Bet * '2' + int(Bet / '2');
} else {
Credit += Bet * '2';
}
_level0:OneToOne = '0';
Bet = '';
Insure = '';
if ('0' >= Credit) {
tellTarget ('/GOControl') {
gotoAndPlay(2);
}
}
}
frame 384 {
if (KDealer:d eq 'BlackJack' and '0' < Insure) {
Credit = Credit + Bet + Insure;
}
Bet = '';
Insure = '';
if ('0' >= Credit) {
tellTarget ('/GOControl') {
gotoAndPlay(2);
}
}
}
frame 392 {
Credit += Bet;
Bet = '';
Insure = '';
if ('0' >= Credit) {
tellTarget ('/GOControl') {
gotoAndPlay(2);
}
}
}
frame 400 {
if ('21' < _level0/KDealer:TS1 or '21' < _level0/KDealer:TS2) {
Credit += Bet;
_level0:StLosses += '1';
_level0:StWins += '1';
} else {
if (_level0/KDealer:TS1 == _level0/KDealer:d or _level0/KDealer:TS2 == _level0/KDealer:d) {
Credit += Bet + Bet / '2';
_level0:StPushes += '1';
_level0:StWins += '1';
} else {
if (_level0/KDealer:TS1 < _level0/KDealer:d or _level0/KDealer:TS2 < _level0/KDealer:d) {
Credit += Bet;
_level0:StWins += '1';
_level0:StLosses += '1';
}
}
}
Bet = '';
Insure = '';
if ('0' >= Credit) {
tellTarget ('/GOControl') {
gotoAndPlay(2);
}
}
}
frame 408 {
Credit += Bet / '2';
_level0:StPushes += '1';
_level0:StLosses += '1';
Bet = '';
Insure = '';
if ('0' >= Credit) {
tellTarget ('/GOControl') {
gotoAndPlay(2);
}
}
}
frame 416 {
if ('21' < _level0/KDealer:TS1 or '21' < _level0/KDealer:TS2) {
Credit += Bet;
_level0:StLosses += '1';
_level0:StWins += '1';
} else {
Credit += Bet * '2';
_level0:StWins += '2';
}
Bet = '';
Insure = '';
if ('0' >= Credit) {
tellTarget ('/GOControl') {
gotoAndPlay(2);
}
}
}
frame 427 {
stop();
}
frame 427 {
FinTot = Credit;
PrctWins = int((StWins / StHands) * '100' + '0.5');
PrctLosses = int((StLosses / StHands) * '100' + '0.5');
PrctPushes = int((StPushes / StHands) * '100' + '0.5');
PrctBusts = int((StBusts / StHands) * '100' + '0.5');
PrctBlackjacks = int((StBlackjacks / StHands) * '100' + '0.5');
}
frame 427 {
bank = _level0:Credit;
action = 'quit';
loadVariablesNum('bj.cgi', '0', 'POST');
}
movieClip 276 {
frame 1 {
if (!(_level0:location eq '')) {
tellTarget ('_level0') {
gotoAndStop('Achieved');
}
stop();
}
}
frame 2 {
gotoAndPlay(1);
}
}
button 282 {
on (release, keyPress '<Enter>') {
name = name;
location = location;
bank = FinTot;
action = 'quit';
if (!(name eq '')) {
TopTen = 'U p d a t i n g . . .';
loadVariablesNum('bj.cgi', '0', 'POST');
nextFrame();
}
}
}