home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
eroticos
/
stripbowl_game.swf
/
scripts
/
DefineSprite_1480
/
frame_1
/
DoAction.as
Wrap
Text File
|
2005-08-19
|
13KB
|
726 lines
function unlock_choice()
{
if(unlockstotal == 1)
{
with(chic_whole)
{
gotoAndPlay("wait1");
}
}
if(unlockstotal == 2)
{
with(chic_whole)
{
gotoAndPlay("wait2");
}
}
if(unlockstotal == 3)
{
with(chic_whole)
{
gotoAndPlay("wait3");
}
}
if(unlockstotal == 4)
{
with(chic_whole)
{
gotoAndPlay("wait4");
}
}
if(unlockstotal == 5)
{
with(chic_whole)
{
gotoAndPlay("wait5");
}
}
if(unlockstotal == 6)
{
with(chic_whole)
{
gotoAndPlay("wait6");
}
}
if(unlockstotal == 7)
{
with(chic_whole)
{
gotoAndPlay("wait7");
}
}
if(unlockstotal == 8)
{
with(chic_whole)
{
gotoAndPlay("wait8");
}
}
if(unlockstotal == 9)
{
with(chic_whole)
{
gotoAndPlay("wait9");
}
}
if(unlockstotal == 10)
{
with(chic_whole)
{
gotoAndPlay("wait10");
}
}
if(unlockstotal == 11)
{
with(chic_whole)
{
gotoAndPlay("wait11");
}
}
if(unlockstotal == 12)
{
with(chic_whole)
{
gotoAndPlay("wait12");
}
}
if(unlockstotal == 13)
{
with(chic_whole)
{
gotoAndPlay("wait13");
}
}
if(unlockstotal == 14)
{
with(chic_whole)
{
gotoAndPlay("wait14");
}
}
if(unlockstotal == 15)
{
with(chic_whole)
{
gotoAndPlay("wait15");
}
}
if(unlockstotal == 16)
{
with(chic_whole)
{
gotoAndPlay("wait16");
}
}
if(unlockstotal == 17)
{
with(chic_whole)
{
gotoAndPlay("wait17");
}
}
if(unlockstotal == 18)
{
with(chic_whole)
{
gotoAndPlay("wait18");
}
}
if(unlockstotal == 19)
{
with(chic_whole)
{
gotoAndPlay("wait19");
}
}
if(unlockstotal == 20)
{
with(chic_whole)
{
gotoAndPlay("wait20");
}
}
if(unlockstotal == 21)
{
with(chic_whole)
{
gotoAndPlay("wait21");
}
}
if(unlockstotal == 22)
{
with(chic_whole)
{
gotoAndPlay("wait22");
}
}
if(unlockstotal == 23)
{
with(chic_whole)
{
gotoAndPlay("wait23");
}
}
if(unlockstotal == 24)
{
with(chic_whole)
{
gotoAndPlay("wait24");
}
}
if(unlockstotal == 25)
{
with(chic_whole)
{
gotoAndPlay("wait25");
}
}
if(unlockstotal == 26)
{
with(chic_whole)
{
gotoAndPlay("wait26");
}
}
if(unlockstotal == 27)
{
with(chic_whole)
{
gotoAndPlay("wait27");
}
}
if(unlockstotal == 28)
{
with(chic_whole)
{
gotoAndPlay("wait28");
}
}
if(unlockstotal == 29)
{
with(chic_whole)
{
gotoAndPlay("wait29");
}
}
if(unlockstotal == 30)
{
with(chic_whole)
{
gotoAndPlay("wait30");
}
}
}
function pin1function()
{
pinvarflip1 = random(4);
if(pin1switch == 0)
{
with(clearpin1)
{
gotoAndPlay("pindown");
}
pin1switch = 1;
if(pinvarflip1 == 0)
{
with(ball_movie.pin1)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip1 == 1)
{
with(ball_movie.pin1)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip1 == 2)
{
with(ball_movie.pin1)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip1 == 3)
{
with(ball_movie.pin1)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin2function()
{
pinvarflip2 = random(4);
if(pin2switch == 0)
{
with(clearpin2)
{
gotoAndPlay("pindown");
}
pin2switch = 1;
if(pinvarflip2 == 0)
{
with(ball_movie.pin2)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip2 == 1)
{
with(ball_movie.pin2)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip2 == 2)
{
with(ball_movie.pin2)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip2 == 3)
{
with(ball_movie.pin2)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin3function()
{
pinvarflip3 = random(4);
if(pin3switch == 0)
{
with(clearpin3)
{
gotoAndPlay("pindown");
}
pin3switch = 1;
if(pinvarflip3 == 0)
{
with(ball_movie.pin3)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip3 == 1)
{
with(ball_movie.pin3)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip3 == 2)
{
with(ball_movie.pin3)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip3 == 3)
{
with(ball_movie.pin3)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin4function()
{
pinvarflip4 = random(4);
if(pin4switch == 0)
{
with(clearpin4)
{
gotoAndPlay("pindown");
}
pin4switch = 1;
if(pinvarflip4 == 0)
{
with(ball_movie.pin4)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip4 == 1)
{
with(ball_movie.pin4)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip4 == 2)
{
with(ball_movie.pin4)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip4 == 3)
{
with(ball_movie.pin4)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin5function()
{
pinvarflip5 = random(4);
if(pin5switch == 0)
{
with(clearpin5)
{
gotoAndPlay("pindown");
}
pin5switch = 1;
if(pinvarflip5 == 0)
{
with(ball_movie.pin5)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip5 == 1)
{
with(ball_movie.pin5)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip5 == 2)
{
with(ball_movie.pin5)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip5 == 3)
{
with(ball_movie.pin5)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin6function()
{
pinvarflip6 = random(4);
if(pin6switch == 0)
{
with(clearpin6)
{
gotoAndPlay("pindown");
}
pin6switch = 1;
if(pinvarflip6 == 0)
{
with(ball_movie.pin6)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip6 == 1)
{
with(ball_movie.pin6)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip6 == 2)
{
with(ball_movie.pin6)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip6 == 3)
{
with(ball_movie.pin6)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin7function()
{
pinvarflip7 = random(4);
if(pin7switch == 0)
{
with(clearpin7)
{
gotoAndPlay("pindown");
}
pin7switch = 1;
if(pinvarflip7 == 0)
{
with(ball_movie.pin7)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip7 == 1)
{
with(ball_movie.pin7)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip7 == 2)
{
with(ball_movie.pin7)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip7 == 3)
{
with(ball_movie.pin7)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin8function()
{
pinvarflip8 = random(4);
if(pin8switch == 0)
{
with(clearpin8)
{
gotoAndPlay("pindown");
}
pin8switch = 1;
if(pinvarflip8 == 0)
{
with(ball_movie.pin8)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip8 == 1)
{
with(ball_movie.pin8)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip8 == 2)
{
with(ball_movie.pin8)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip8 == 3)
{
with(ball_movie.pin8)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin9function()
{
pinvarflip9 = random(4);
if(pin9switch == 0)
{
with(clearpin9)
{
gotoAndPlay("pindown");
}
pin9switch = 1;
if(pinvarflip9 == 0)
{
with(ball_movie.pin9)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip9 == 1)
{
with(ball_movie.pin9)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip9 == 2)
{
with(ball_movie.pin9)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip9 == 3)
{
with(ball_movie.pin9)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function pin10function()
{
pinvarflip10 = random(4);
if(pin10switch == 0)
{
with(clearpin10)
{
gotoAndPlay("pindown");
}
pin10switch = 1;
if(pinvarflip10 == 0)
{
with(ball_movie.pin10)
{
gotoAndPlay("pin_knock");
}
}
if(pinvarflip10 == 1)
{
with(ball_movie.pin10)
{
gotoAndPlay("pin_knock2");
}
}
if(pinvarflip10 == 2)
{
with(ball_movie.pin10)
{
gotoAndPlay("pin_knock3");
}
}
if(pinvarflip10 == 3)
{
with(ball_movie.pin10)
{
gotoAndPlay("pin_knock4");
}
}
}
}
function setpinsbackup()
{
pin1switch = 0;
pin2switch = 0;
pin3switch = 0;
pin4switch = 0;
pin5switch = 0;
pin6switch = 0;
pin7switch = 0;
pin8switch = 0;
pin9switch = 0;
pin10switch = 0;
with(clearpin1)
{
gotoAndStop("pin_standing");
}
with(clearpin2)
{
gotoAndStop("pin_standing");
}
with(clearpin3)
{
gotoAndStop("pin_standing");
}
with(clearpin4)
{
gotoAndStop("pin_standing");
}
with(clearpin5)
{
gotoAndStop("pin_standing");
}
with(clearpin6)
{
gotoAndStop("pin_standing");
}
with(clearpin7)
{
gotoAndStop("pin_standing");
}
with(clearpin8)
{
gotoAndStop("pin_standing");
}
with(clearpin9)
{
gotoAndStop("pin_standing");
}
with(clearpin10)
{
gotoAndStop("pin_standing");
}
with(ball_movie.pin1)
{
gotoAndStop(1);
}
with(ball_movie.pin2)
{
gotoAndStop(1);
}
with(ball_movie.pin3)
{
gotoAndStop(1);
}
with(ball_movie.pin4)
{
gotoAndStop(1);
}
with(ball_movie.pin5)
{
gotoAndStop(1);
}
with(ball_movie.pin6)
{
gotoAndStop(1);
}
with(ball_movie.pin7)
{
gotoAndStop(1);
}
with(ball_movie.pin8)
{
gotoAndStop(1);
}
with(ball_movie.pin9)
{
gotoAndStop(1);
}
with(ball_movie.pin10)
{
gotoAndStop(1);
}
}
bannerflip = 0;
set("holder.holder2:bannerstart",0);
newstrike = 0;
unlocks = 0;
unlockstotal = 1;
lastunlocks = 0;
difference = 0;
previous_score = 0;
running_total = 0;
skipme1 = 0;
skipme2 = 0;
skipme3 = 0;
skipme4 = 0;
skipme5 = 0;
skipme6 = 0;
skipme7 = 0;
skipme8 = 0;
skipme9 = 0;
skipme10 = 0;