home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
eroticos
/
stripbowl_game.swf
/
scripts
/
DefineSprite_1373
/
frame_19
/
DoAction.as
Wrap
Text File
|
2005-08-19
|
4KB
|
251 lines
scenario = random(6);
if(scenario == 0 && eval("../:turn") == 1)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
}
if(scenario == 1 && eval("../:turn") == 1)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin4switch != 0)
{
"../:pin4function"();
}
if(pin5switch != 0)
{
"../:pin5function"();
}
}
if(scenario == 2 && eval("../:turn") == 1)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin4switch != 0)
{
"../:pin4function"();
}
if(pin5switch != 0)
{
"../:pin5function"();
}
if(pin6switch != 0)
{
"../:pin6function"();
}
}
if(scenario == 3 && eval("../:turn") == 1)
{
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin4switch != 0)
{
"../:pin4function"();
}
if(pin5switch != 0)
{
"../:pin5function"();
}
if(pin6switch != 0)
{
"../:pin6function"();
}
}
if(scenario == 4 && eval("../:turn") == 1)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin6switch != 0)
{
"../:pin6function"();
}
if(pin8switch != 0)
{
"../:pin8function"();
}
}
if(scenario == 5 && eval("../:turn") == 1)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin4switch != 0)
{
"../:pin4function"();
}
}
if(scenario == 0 && eval("../:turn") == 2)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin7switch != 0)
{
"../:pin7function"();
}
if(pin8switch != 0)
{
"../:pin8function"();
}
if(pin9switch != 0)
{
"../:pin9function"();
}
}
if(scenario == 1 && eval("../:turn") == 2)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin7switch != 0)
{
"../:pin7function"();
}
if(pin8switch != 0)
{
"../:pin8function"();
}
if(pin9switch != 0)
{
"../:pin9function"();
}
if(pin10switch != 0)
{
"../:pin10function"();
}
}
if(scenario == 2 && eval("../:turn") == 2)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin5switch != 0)
{
"../:pin5function"();
}
if(pin8switch != 0)
{
"../:pin8function"();
}
if(pin9switch != 0)
{
"../:pin9function"();
}
if(pin10switch != 0)
{
"../:pin10function"();
}
}
if(scenario == 4 && eval("../:turn") == 2)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin2switch != 0)
{
"../:pin2function"();
}
if(pin3switch != 0)
{
"../:pin3function"();
}
if(pin7switch != 0)
{
"../:pin7function"();
}
if(pin8switch != 0)
{
"../:pin8function"();
}
if(pin9switch != 0)
{
"../:pin9function"();
}
}
if(scenario == 5 && eval("../:turn") == 2)
{
if(pin1switch != 0)
{
"../:pin1function"();
}
if(pin7switch != 0)
{
"../:pin7function"();
}
if(pin10switch != 0)
{
"../:pin10function"();
}
}