home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
eroticos
/
mammary-memory.exe
/
scripts
/
frame_26
/
DoAction.as
Wrap
Text File
|
2004-08-27
|
3KB
|
103 lines
while(eval("/:picked") < "1")
{
set("/:draw",int(random("13")));
tellTarget("/card11/cardset/image")
{
if(eval("/:draw") == "0" and "0" < eval("/:image1"))
{
gotoAndStop("image1");
set("/:image1",eval("/:image1") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "1" and "0" < eval("/:image2"))
{
gotoAndStop("image2");
play();
set("/:image2",eval("/:image2") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "2" and "0" < eval("/:image3"))
{
gotoAndStop("image3");
play();
set("/:image3",eval("/:image3") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "3" and "0" < eval("/:image4"))
{
gotoAndStop("image4");
play();
set("/:image4",eval("/:image4") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "4" and "0" < eval("/:image5"))
{
gotoAndStop("image5");
play();
set("/:image5",eval("/:image5") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "5" and "0" < eval("/:image6"))
{
gotoAndStop("image6");
play();
set("/:image6",eval("/:image6") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "6" and "0" < eval("/:image7"))
{
gotoAndStop("image7");
play();
set("/:image7",eval("/:image7") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "7" and "0" < eval("/:image8"))
{
gotoAndStop("image8");
play();
set("/:image8",eval("/:image8") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "8" and "0" < eval("/:image9"))
{
gotoAndStop("image9");
play();
set("/:image9",eval("/:image9") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "9" and "0" < eval("/:image10"))
{
gotoAndStop("image10");
play();
set("/:image10",eval("/:image10") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "10" and "0" < eval("/:image11"))
{
gotoAndStop("image11");
play();
set("/:image11",eval("/:image11") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "11" and "0" < eval("/:image12"))
{
gotoAndStop("image12");
play();
set("/:image12",eval("/:image12") - "1");
set("/:picked","1");
}
if(eval("/:draw") == "12" and "0" < eval("/:image13"))
{
gotoAndStop("image13");
play();
set("/:image13",eval("/:image13") - "1");
set("/:picked","1");
}
}
}
set("/:picked","0");
tellTarget("/card11")
{
play();
}