home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
eroticos
/
SpeedStripPoker.swf
/
scripts
/
frame_3
/
DoAction.as
Wrap
Text File
|
2006-01-17
|
2KB
|
128 lines
_root.hercard.gotoAndStop(card2 + 2 + suit2 * 13);
if(bet == 100)
{
if(card1 > card2)
{
result = "You Won";
yermunny += 100;
hermunny -= 100;
tellTarget(sounds)
{
gotoAndStop("win");
play();
}
}
else
{
result = "You Lose";
yermunny -= 100;
hermunny += 100;
tellTarget(sounds)
{
gotoAndStop("lose");
play();
}
}
}
if(bet == 25)
{
if(card1 < card2)
{
result = "You Won";
yermunny += 25;
hermunny -= 25;
tellTarget(sounds)
{
gotoAndStop("win");
play();
}
}
else
{
result = "You Lose";
yermunny -= 25;
hermunny += 25;
tellTarget(sounds)
{
gotoAndStop("lose");
play();
}
}
}
if(hermunny < 0)
{
level += 1;
if(demo == 1 and level > 3)
{
level = "demoend";
}
if(level == 2)
{
result = "Samantha lost. She sells you her sweatshirt for $550";
hermunny += 550;
yermunny -= 550;
}
if(level == 3)
{
result = "You Won. Samantha sells her T-shirt for $600";
hermunny += 600;
yermunny -= 600;
}
if(level == 4)
{
result = "Samantha needs money and sells her Shorts for $650";
hermunny += 650;
yermunny -= 650;
}
if(level == 5)
{
result = "You buy Samantha\'s panties for $700.";
hermunny += 700;
yermunny -= 700;
}
if(level < 6 and level != "demoend")
{
GIRLYPIX.loadMovie("sspoker_sam" + level + ".jpg");
tellTarget(sounds)
{
gotoAndStop("levelup");
play();
}
}
}
if(yermunny < 125)
{
tellTarget(moneyflasher)
{
gotoAndPlay(2);
}
}
else
{
tellTarget(moneyflasher)
{
gotoAndStop(1);
}
}
if(level > 5)
{
tellTarget(sounds)
{
gotoAndStop("victory");
play();
}
gotoAndStop(4);
hermunny = 0;
loadMovie("sspoker_victory.swf","GIRLYPIX");
}
if(yermunny < 1)
{
yermunny = 0;
gotoAndStop(5);
}
if(level == "demoend")
{
gotoAndStop(6);
}
stop();