Frame 1
var introflag = true;
var highscore = 0;
Frame 2
var pctLoaded = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100);
_root.bar_mc._xscale = pctLoaded;
Frame 3
if (this._framesloaded < this._totalframes) {
this.gotoAndPlay(2);
}
Frame 4
dark_mc.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
}
};
Frame 48
rules_mc._visible = false;
Frame 50
if (introflag) {
gotoAndPlay ("introcyc");
}
play_btn.onRelease = function () {
introflag = false;
};
rules_btn.onRelease = function () {
if (!rules_mc._visible) {
rules_mc._visible = true;
} else {
rules_mc._visible = false;
}
};
rules_mc.onRelease = function () {
if (!rules_mc._visible) {
rules_mc._visible = true;
} else {
rules_mc._visible = false;
}
};
Frame 61
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function displaytime() {
if (Seconds < 10) {
secstr = "0" + Seconds;
} else {
secstr = "" + Seconds;
}
minstr = "" + Minutes;
min_txt.text = minstr;
sec_txt.text = secstr;
}
var GameTime = 1;
var limit = (GameTime * 60);
var time = 0;
var cc = 0;
var Seconds = 0;
var Minutes = 0;
var Timelim = 360;
var winFlag = false;
var perDown = false;
var secstr;
var minstr;
var i;
var j;
var A = new Array(3);
i = 1;
while (i <= 3) {
A[i] = 0;
i++;
}
var bx;
var by;
var Wind123 = new Array(3);
var WindArr1 = new Array(10);
var WindX1 = new Array(10);
var WindArr2 = new Array(10);
var WindX2 = new Array(10);
var WindArr3 = new Array(10);
var WindX3 = new Array(10);
var Photos = new Array(100);
var GirlNMem = new Array(100);
var P = 0;
var Incr_y;
var Iy = 4;
var Koef = -1;
var rsct = 0;
var Ct = 0;
var Mov = 4;
var Rot = 8;
var periscopeFlag = 0;
var ShotFlag = false;
var ShtWt = 0;
var photWt = 0;
var flagUp = true;
var flagDown = false;
var height7;
var height6;
var height5;
var height4;
var height3;
var height2;
var height1;
var myPoint1 = new Object();
var myPoint2 = new Object();
var head1X;
var head1Y;
var head2X;
var head2Y;
var cH = 0;
var cW = 0;
var Px = 0;
var Py = 0;
var Wx = 0;
var Wy = 0;
var PhotoOK = false;
var FrameOK = false;
var Shft_x = new Array(100);
var Shft_y = new Array(100);
var alf = 100;
var Alx;
var Aly;
var Qualt = new Array(100);
var Houses = new Array();
Houses[1] = house01_mc;
Houses[2] = house02_mc;
Houses[3] = house03_mc;
var Gqnt = 41;
var Gcn = randRange(1, Gqnt);
var GGcn = (Gcn + 30);
if (GGcn > Gqnt) {
GGcn = GGcn - Gqnt;
}
var Girls = new Array();
Girls[0] = Empty_mc;
Girls[1] = p1;
Girls[2] = p2;
Girls[3] = p3;
Girls[4] = p4;
Girls[5] = p5;
Girls[6] = p6;
Girls[7] = p7;
Girls[8] = p8;
Girls[9] = p9;
Girls[10] = p10;
Girls[11] = p11;
Girls[12] = p12;
Girls[13] = p13;
Girls[14] = p14;
Girls[15] = p15;
Girls[16] = p16;
Girls[17] = p17;
Girls[18] = p18;
Girls[19] = p19;
Girls[20] = p20;
Girls[21] = p21;
Girls[22] = p22;
Girls[23] = p23;
Girls[24] = p24;
Girls[25] = p25;
Girls[26] = p26;
Girls[27] = p27;
Girls[28] = p28;
Girls[29] = p29;
Girls[30] = p30;
Girls[31] = p31;
Girls[32] = p32;
Girls[33] = p33;
Girls[34] = p34;
Girls[35] = p35;
Girls[36] = p36;
Girls[37] = p37;
Girls[38] = p38;
Girls[39] = p39;
Girls[40] = p40;
Girls[41] = p41;
i = 1;
while (i <= Gqnt) {
Girls[i]._visible = false;
i++;
}
duplicateMovieClip (help0_mc, "help_mc", 178);
duplicateMovieClip (car1_mc, "car_mc", 210);
duplicateMovieClip (wheel01_mc, "wheel1_mc", 211);
duplicateMovieClip (wheel02_mc, "wheel2_mc", 212);
duplicateMovieClip (shtok07_mc, "shtok7_mc", 201);
duplicateMovieClip (shtok06_mc, "shtok6_mc", 202);
duplicateMovieClip (shtok05_mc, "shtok5_mc", 203);
duplicateMovieClip (shtok04_mc, "shtok4_mc", 204);
duplicateMovieClip (shtok03_mc, "shtok3_mc", 205);
duplicateMovieClip (shtok02_mc, "shtok2_mc", 206);
duplicateMovieClip (shtok01_mc, "shtok1_mc", 207);
duplicateMovieClip (ScreenBack0_mc, "ScreenBack_mc", 219);
duplicateMovieClip (WindDark0_mc, "WindDark_mc", 500);
duplicateMovieClip (Binocle0_mc, "Binocle_mc", 501);
duplicateMovieClip (gameOver_mc, "gameOverU_mc", 502);
help0_mc._visible = false;
help_mc._visible = false;
car1_mc._visible = false;
wheel01_mc._visible = false;
wheel02_mc._visible = false;
shtok07_mc._visible = false;
shtok06_mc._visible = false;
shtok05_mc._visible = false;
shtok04_mc._visible = false;
shtok03_mc._visible = false;
shtok02_mc._visible = false;
shtok01_mc._visible = false;
ScreenBack0_mc._visible = false;
Binocle0_mc._visible = false;
WindDark0_mc._visible = false;
WindDark_mc.setMask(WindMask_mc);
WindDark_mc._visible = false;
EmptyWall_mc._visible = false;
Empty_mc._visible = false;
var PeriscInit = (car_mc._y + 24);
shtok1_mc._y = PeriscInit;
shtok7_mc._y = shtok1_mc._y;
shtok6_mc._y = shtok1_mc._y;
shtok5_mc._y = shtok1_mc._y;
shtok4_mc._y = shtok1_mc._y;
shtok3_mc._y = shtok1_mc._y;
shtok2_mc._y = shtok1_mc._y;
var myListener = new Object();
myListener.onKeyDown = function () {
if (!winFlag) {
switch (Key.getCode()) {
case 38 :
if (periscopeFlag == 0) {
periscopeFlag = 1;
}
Koef = -1;
flagUp = true;
flagDown = false;
rsct++;
return;
case 40 :
if (periscopeFlag == 0) {
periscopeFlag = 1;
}
Koef = 1;
flagDown = true;
flagUp = false;
rsct++;
return;
case 32 :
if (ShtWt != 0) {
break;
}
ShotFlag = true;
}
}
};
myListener.onKeyUp = function () {
switch (Key.getCode()) {
case 38 :
Incr_y = 0;
rsct = 0;
return;
case 40 :
Incr_y = 0;
rsct = 0;
}
};
Key.addListener(myListener);
LookPics_btn._visible = false;
shtok7_mc.periscopeBack_mc._visible = false;
shtok7_mc.PeriscTurn_mc._visible = false;
shtok7_mc.PeriscTurn_mc.stop();
Pics_txt.text = P;
min_txt.text = 0;
sec_txt.text = "00";
HighScore_txt.text = highscore;
stop();
periscope_mc.onEnterFrame = function () {
if (rsct > 0) {
rsct++;
if (rsct > 12) {
Incr_y = Iy;
} else {
Incr_y = rsct / 3;
}
Incr_y = Incr_y * Koef;
}
if (shtok7_mc._y > 104) {
flagUp = true;
} else {
flagUp = false;
}
if (shtok7_mc._y <= PeriscInit) {
flagDown = true;
} else {
flagDown = false;
}
if (flagUp) {
shtok7_mc._y = shtok7_mc._y + Incr_y;
height7 = PeriscInit - shtok7_mc._y;
}
if (flagDown) {
shtok7_mc._y = shtok7_mc._y + Incr_y;
height7 = PeriscInit - shtok7_mc._y;
}
if (shtok7_mc._y < 104) {
shtok7_mc._y = 108;
height7 = PeriscInit - shtok7_mc._y;
}
height6 = (height7 * 6) / 7;
shtok6_mc._y = PeriscInit - height6;
height5 = (height7 * 5) / 7;
shtok5_mc._y = PeriscInit - height5;
height4 = (height7 * 4) / 7;
shtok4_mc._y = PeriscInit - height4;
height3 = (height7 * 3) / 7;
shtok3_mc._y = PeriscInit - height3;
height2 = (height7 * 2) / 7;
shtok2_mc._y = PeriscInit - height2;
height1 = height7 / 7;
shtok1_mc._y = PeriscInit - height1;
if (shtok7_mc._y < 104) {
shtok7_mc._y = 108;
}
if (shtok6_mc._y <= (shtok7_mc._y + 65)) {
shtok6_mc._y < (shtok7_mc._y + 65);
}
if (shtok5_mc._y < (shtok6_mc._y + 65)) {
shtok5_mc._y < (shtok6_mc._y + 65);
}
if (shtok4_mc._y < (shtok5_mc._y + 65)) {
shtok4_mc._y < (shtok5_mc._y + 65);
}
if (shtok3_mc._y < (shtok4_mc._y + 65)) {
shtok3_mc._y < (shtok4_mc._y + 65);
}
if (shtok2_mc._y < (shtok3_mc._y + 65)) {
shtok2_mc._y < (shtok3_mc._y + 65);
}
if (shtok1_mc._y < (shtok2_mc._y + 65)) {
shtok1_mc._y < (shtok2_mc._y + 65);
}
if (shtok7_mc._y > PeriscInit) {
shtok7_mc._y = PeriscInit;
}
if (shtok6_mc._y > PeriscInit) {
shtok6_mc._y = PeriscInit;
}
if (shtok5_mc._y > PeriscInit) {
shtok5_mc._y = PeriscInit;
}
if (shtok4_mc._y > PeriscInit) {
shtok4_mc._y = PeriscInit;
}
if (shtok3_mc._y > PeriscInit) {
shtok3_mc._y = PeriscInit;
}
if (shtok2_mc._y > PeriscInit) {
shtok2_mc._y = PeriscInit;
}
if (shtok1_mc._y > PeriscInit) {
shtok1_mc._y = PeriscInit;
}
};
roadLog_mc.onEnterFrame = function () {
if (!winFlag) {
if (Mov != 0) {
road1_mc._x = road1_mc._x - Mov;
road2_mc._x = road2_mc._x - Mov;
road3_mc._x = road3_mc._x - Mov;
if (road1_mc._x < -800) {
road1_mc._x = 800;
}
if (road2_mc._x < -800) {
road2_mc._x = 800;
}
if (road3_mc._x < -800) {
road3_mc._x = 800;
}
house01_mc._x = house01_mc._x - Mov;
i = 1;
while (i <= A[1]) {
WindArr1[i]._x = house01_mc._x + WindX1[i];
i++;
}
house02_mc._x = house02_mc._x - Mov;
i = 1;
while (i <= A[2]) {
WindArr2[i]._x = house02_mc._x + WindX2[i];
i++;
}
house03_mc._x = house03_mc._x - Mov;
i = 1;
while (i <= A[3]) {
WindArr3[i]._x = house03_mc._x + WindX3[i];
i++;
}
if (house01_mc._x < -800) {
house01_mc._x = 800;
i = 1;
while (i <= 10) {
WindArr1[i].removeMovieClip();
i++;
}
A[1] = randRange(4, 10);
i = 1;
while (i <= A[1]) {
bx = randRange(3, 9);
by = randRange(1, 16);
myPoint1.x = house01_mc.pointsX[bx]._x;
WindX1[i] = house01_mc.pointsX[bx]._x;
myPoint1.y = house01_mc.pointsY[by]._y;
house01_mc.localToGlobal(myPoint1);
head1X = myPoint1.x;
head1Y = myPoint1.y;
WindArr1[i] = Wind1.duplicateMovieClip("wn1" + i, 100 + i);
WindArr1[i]._x = head1X;
WindArr1[i]._y = head1Y;
i++;
}
}
if (house02_mc._x < -800) {
house02_mc._x = 800;
i = 1;
while (i <= 10) {
WindArr2[i].removeMovieClip();
i++;
}
A[2] = randRange(4, 10);
i = 1;
while (i <= A[2]) {
bx = randRange(1, 8);
by = randRange(1, 16);
myPoint1.x = house02_mc.pointsX[bx]._x;
WindX2[i] = house02_mc.pointsX[bx]._x;
myPoint1.y = house02_mc.pointsY[by]._y;
house02_mc.localToGlobal(myPoint1);
head1X = myPoint1.x;
head1Y = myPoint1.y;
WindArr2[i] = Wind1.duplicateMovieClip("wn2" + i, 120 + i);
WindArr2[i]._x = head1X;
WindArr2[i]._y = head1Y;
i++;
}
}
if (house03_mc._x < -800) {
house03_mc._x = 800;
i = 1;
while (i <= 10) {
WindArr3[i].removeMovieClip();
i++;
}
A[3] = randRange(4, 10);
i = 1;
while (i <= A[3]) {
bx = randRange(3, 9);
by = randRange(1, 16);
myPoint1.x = house03_mc.pointsX[bx]._x;
WindX3[i] = house03_mc.pointsX[bx]._x;
myPoint1.y = house03_mc.pointsY[by]._y;
house03_mc.localToGlobal(myPoint1);
head1X = myPoint1.x;
head1Y = myPoint1.y;
WindArr3[i] = Wind1.duplicateMovieClip("wn3" + i, 140 + i);
WindArr3[i]._x = head1X;
WindArr3[i]._y = head1Y;
i++;
}
}
BackHouses1_mc._x = BackHouses1_mc._x - (Mov / 2);
BackHouses2_mc._x = BackHouses2_mc._x - (Mov / 2);
BackHouses3_mc._x = BackHouses3_mc._x - (Mov / 2);
if (BackHouses1_mc._x < -800) {
BackHouses1_mc._x = 800;
}
if (BackHouses2_mc._x < -800) {
BackHouses2_mc._x = 800;
}
if (BackHouses2_mc._x < -800) {
BackHouses2_mc._x = 800;
}
}
} else {
if (car_mc._x < 1000) {
car_mc._x = car_mc._x + Mov;
shtok7_mc._x = shtok7_mc._x + Mov;
}
shtok6_mc._x = shtok7_mc._x;
shtok5_mc._x = shtok7_mc._x;
shtok4_mc._x = shtok7_mc._x;
shtok3_mc._x = shtok7_mc._x;
shtok2_mc._x = shtok7_mc._x;
shtok1_mc._x = shtok7_mc._x;
wheel1_mc._x = wheel1_mc._x + Mov;
wheel2_mc._x = wheel2_mc._x + Mov;
shtok7_mc.periscopeBack_mc._visible = false;
shtok7_mc.PeriscTurn_mc._visible = true;
if (perDown) {
shtok7_mc.PeriscTurn_mc.play();
perDown = false;
}
if (shtok7_mc._y < PeriscInit) {
flagDown = true;
Incr_y = Iy / 2;
}
}
};
init_mc.onEnterFrame = function () {
Ct++;
if (Ct == 2) {
Ct = 3;
A[1] = randRange(4, 10);
i = 1;
while (i <= A[1]) {
bx = randRange(3, 9);
by = randRange(1, 16);
myPoint1.x = house01_mc.pointsX[bx]._x;
WindX1[i] = house01_mc.pointsX[bx]._x;
myPoint1.y = house01_mc.pointsY[by]._y;
house01_mc.localToGlobal(myPoint1);
head1X = myPoint1.x;
head1Y = myPoint1.y;
WindArr1[i] = Wind1.duplicateMovieClip("wn1" + i, 100 + i);
WindArr1[i]._x = head1X;
WindArr1[i]._y = head1Y;
i++;
}
A[2] = randRange(4, 10);
i = 1;
while (i <= A[2]) {
bx = randRange(1, 8);
by = randRange(1, 16);
myPoint1.x = house02_mc.pointsX[bx]._x;
WindX2[i] = house02_mc.pointsX[bx]._x;
myPoint1.y = house02_mc.pointsY[by]._y;
house02_mc.localToGlobal(myPoint1);
head1X = myPoint1.x;
head1Y = myPoint1.y;
WindArr2[i] = Wind1.duplicateMovieClip("wn2" + i, 120 + i);
WindArr2[i]._x = head1X;
WindArr2[i]._y = head1Y;
i++;
}
}
if (periscopeFlag == 1) {
periscopeFlag = 2;
shtok7_mc.PeriscSide_mc.gotoAndPlay("perPlay");
}
if (periscopeFlag == 2) {
if (shtok7_mc.PeriscSide_mc._currentframe == 50) {
shtok7_mc.PeriscSide_mc._visible = false;
shtok7_mc.periscopeBack_mc._visible = true;
periscopeFlag = 3;
}
}
};
PhotoLogic_mc.onEnterFrame = function () {
if (periscopeFlag > 2) {
if (ShotFlag) {
shtok7_mc.Splash_mc.gotoAndPlay("splashShine");
ShotFlag = false;
ShtWt++;
photWt++;
}
if (photWt > 0) {
if (photWt == 1) {
PhotoOK = false;
cH = 0;
j = 1;
while (j <= 3) {
if (shtok7_mc.periscopeBack_mc.hitTest(Houses[j])) {
cH = j;
}
j++;
}
if (cH > 0) {
if (cH == 1) {
Wind123 = WindArr1;
}
if (cH == 2) {
Wind123 = WindArr2;
}
if (cH == 3) {
Wind123 = WindArr3;
}
cW = 0;
j = 1;
while (j <= A[cH]) {
if (shtok7_mc.periscopeBack_mc.hitTest(Wind123[j])) {
cW = j;
}
j++;
}
if (cW > 0) {
myPoint2.x = shtok7_mc.periscopeBack_mc._x;
myPoint2.y = shtok7_mc.periscopeBack_mc._y;
shtok7_mc.localToGlobal(myPoint2);
head2X = myPoint2.x;
head2Y = myPoint2.y;
Wx = Wind123[cW]._x + 12.5;
Wy = Wind123[cW]._y + 10;
Px = head2X - Wx;
Py = head2Y - Wy;
P++;
Shft_x[P] = Px;
Shft_y[P] = Py;
Alx = Math.abs(Shft_x[P]);
Aly = Math.abs(Shft_y[P]);
if (Alx > Aly) {
alf = Alx;
} else {
alf = Aly;
}
if (alf < 3) {
alf = 0;
}
if (alf > 10) {
alf = 10;
}
Qualt[P] = alf;
if (Qualt[P] < 3) {
Photos[P] = Girls[GGcn].duplicateMovieClip("photoSM" + P, 221 + (P * 7));
GGcn++;
GirlNMem[P] = GGcn;
if (GGcn > Gqnt) {
GGcn = 1;
}
} else {
Photos[P] = Girls[Gcn].duplicateMovieClip("photoSM" + P, 221 + (P * 7));
Gcn++;
GirlNMem[P] = Gcn;
if (Gcn > Gqnt) {
Gcn = 1;
}
}
Photos[P].setMask(PhotoMask_mc);
Photos[P]._visible = false;
Photos[P]._xscale = 20;
Photos[P]._yscale = Photos[P]._xscale;
Photos[P]._x = 67 - (Px * 4);
Photos[P]._y = 46 - (Py * 4);
WindDark_mc._x = 67 - (Px * 4);
WindDark_mc._y = 46 - (Py * 4);
PhotoOK = true;
} else {
WindDark_mc._x = 130;
WindDark_mc._y = 90;
WindDark_mc._visible = false;
WindDark_mc._alpha = 100;
FrameOK = true;
P++;
Photos[P] = EmptyWall_mc.duplicateMovieClip("emptWall" + P, 221 + (P * 7));
Shft_x[P] = 0;
Shft_y[P] = 0;
Qualt[P] = 11;
}
} else {
P++;
Photos[P] = Girls[0].duplicateMovieClip("empty" + P, 221 + (P * 7));
Shft_x[P] = 0;
Shft_y[P] = 0;
Qualt[P] = 12;
}
Pics_txt.text = P;
}
photWt++;
if (photWt == 8) {
if (PhotoOK) {
Photos[P]._visible = true;
WindDark_mc._visible = true;
Alx = Math.abs(Shft_x[P]);
Aly = Math.abs(Shft_y[P]);
if (Alx > Aly) {
alf = Alx;
} else {
alf = Aly;
}
if (alf < 3) {
alf = 0;
}
if (alf > 10) {
alf = 10;
}
Qualt[P] = alf;
if (Qualt[P] < 3) {
}
WindDark_mc._alpha = alf * 10;
Alph_txt.text = WindDark_mc._alpha;
}
if (FrameOK) {
WindDark_mc._alpha = 100;
WindDark_mc._visible = true;
}
}
if (photWt >= 38) {
Photos[P]._visible = false;
WindDark_mc._visible = false;
photWt = 0;
PhotoOK = false;
FrameOK = false;
}
}
if (ShtWt > 0) {
ShtWt++;
if (ShtWt > 38) {
ShtWt = 0;
}
}
}
};
wheel1_mc.onEnterFrame = function () {
this._rotation = this._rotation + Rot;
};
wheel2_mc.onEnterFrame = function () {
this._rotation = this._rotation + Rot;
};
time_mc.onEnterFrame = function () {
if (time < limit) {
cc++;
}
if (cc >= 25) {
cc = 0;
Seconds++;
time++;
if (Seconds >= 60) {
Seconds = 0;
Minutes++;
}
if (time >= limit) {
winFlag = true;
perDown = true;
alarm_mc.play();
gameOverU_mc.play();
LookPics_btn._visible = true;
}
displaytime();
timelim_mc._xscale = Math.round((time / limit) * 100);
}
};
LookPics_btn.onRelease = function () {
help_mc.removeMovieClip();
gotoAndPlay ("lookStart");
};
help_mc.onRelease = function () {
if (!this._visible) {
this._visible = true;
} else {
this._visible = false;
}
};
help_btn.onRelease = function () {
if (!help_mc._visible) {
help_mc._visible = true;
} else {
help_mc._visible = false;
}
};
end_btn.onRelease = function () {
i = 1;
while (i <= A[1]) {
WindArr1[i].removeMovieClip();
i++;
}
i = 1;
while (i <= A[2]) {
WindArr2[i].removeMovieClip();
i++;
}
i = 1;
while (i <= A[3]) {
WindArr3[i].removeMovieClip();
i++;
}
i = 1;
while (i <= P) {
Photos[i].removeMovieClip();
i++;
}
car_mc.removeMovieClip();
wheel1_mc.removeMovieClip();
wheel2_mc.removeMovieClip();
shtok7_mc.removeMovieClip();
shtok6_mc.removeMovieClip();
shtok5_mc.removeMovieClip();
shtok4_mc.removeMovieClip();
shtok3_mc.removeMovieClip();
shtok2_mc.removeMovieClip();
shtok1_mc.removeMovieClip();
ScreenBack_mc.removeMovieClip();
WindDark_mc.removeMovieClip();
Binocle_mc.removeMovieClip();
gameOverU_mc.removeMovieClip();
help_mc.removeMovieClip();
gotoAndPlay ("endstart");
};
Frame 62
var WallArr = new Array(50);
var PicMask = new Array(50);
var WallMask = new Array(50);
var QualArr = new Array(50);
var GoodArr = new Array(50);
var RateArr = new Array(50);
var WallBack = new Array(50);
var WalMskBack = new Array(50);
var BestPics = new Array(50);
var BestGirls = new Array(50);
var BP = 0;
var Pic_x = 68;
var Pic_y = 60;
var QualTXT;
var HaveShow1 = false;
var HaveShow2 = false;
var toRazbros = true;
var fistFlag = true;
var razbr2Flag = false;
var razbr3Flag = false;
var placeX = new Array(50);
var placeY = new Array(50);
var monstMove = false;
var razbosFlag = true;
var ttt = 0;
var PN = 1;
var Pt = 0;
var HH = 0;
var i2 = 0;
var spdX = 12;
var spdY = 6;
var goodQnt = 0;
var goodQnt2 = 0;
var HndIx = hand_mc._x;
var HndIy = hand_mc._y;
var k = 0;
var kArr = new Array();
var GoodPlaceX = new Array();
var GoodPlaceY = new Array();
var GoodIY = 520;
var GoodIX = 70;
var BossDelay = 0;
var StealDown = 0;
var ttt2 = 0;
var ctch = 0;
var HspdY = 10;
var HspdX = 8;
Monstr_mc._visible = false;
SlotSound_mc.gotoAndStop("lusastop");
i = 1;
while (i <= A[1]) {
WindArr1[i].removeMovieClip();
i++;
}
i = 1;
while (i <= A[2]) {
WindArr2[i].removeMovieClip();
i++;
}
i = 1;
while (i <= A[3]) {
WindArr3[i].removeMovieClip();
i++;
}
car_mc.removeMovieClip();
wheel1_mc.removeMovieClip();
wheel2_mc.removeMovieClip();
shtok7_mc.removeMovieClip();
shtok6_mc.removeMovieClip();
shtok5_mc.removeMovieClip();
shtok4_mc.removeMovieClip();
shtok3_mc.removeMovieClip();
shtok2_mc.removeMovieClip();
shtok1_mc.removeMovieClip();
ScreenBack_mc.removeMovieClip();
WindDark_mc.removeMovieClip();
Binocle_mc.removeMovieClip();
gameOverU_mc.removeMovieClip();
Pics_txt.text = P;
WindDark0_mc._visible = false;
WindMask_mc._visible = false;
PhotoMask_mc._visible = false;
WallFon_mc._visible = false;
help1_mc._visible = false;
HighScore_txt.text = highscore;
fist_mc.stop();
stop();
folderTrem_mc.onRelease = function () {
razbr2Flag = true;
razbr3Flag = true;
HaveShow1 = true;
fist_mc.gotoAndPlay(2);
gotoAndPlay ("fistDown");
};
dark_mc.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 1;
}
};
folderTrem_mc.onEnterFrame = function () {
if (this._x < 71) {
this._x = this._x + 1;
}
if (this._y < 67) {
this._y = this._y + 0.8;
}
if ((this._x >= 71) && (this._y >= 67)) {
razbr3Flag = true;
gotoAndPlay ("fistDown");
}
};
PlayMore_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
i++;
}
folderU_mc.removeMovieClip();
gotoAndPlay ("introPlay");
};
monst_btn.onRelease = function () {
Monstr_mc._x = this._x;
Monstr_mc._y = this._y;
Monstr_mc._visible = true;
this._visible = false;
};
Monstr_mc.onEnterFrame = function () {
if (this._visible) {
if (this._x < 900) {
this._x = this._x + 8;
this._y = this._y - 8;
}
}
};
end_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
Blanks[i].removeMovieClip();
i++;
}
i = 1;
while (i <= BP) {
BestGirls[i].removeMovieClip();
i++;
}
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
ChanceU_btn.removeMovieClip();
Lozung5U_mc.removeMovieClip();
agreeU_btn.removeMovieClip();
gotoAndPlay ("endstart");
};
help1_mc.onRelease = function () {
if (!help1_mc._visible) {
help1_mc._visible = true;
} else {
help1_mc._visible = false;
}
};
help_btn.onRelease = function () {
if (!help1_mc._visible) {
help1_mc._visible = true;
} else {
help1_mc._visible = false;
}
};
Frame 63
if (fistFlag) {
fist_mc.gotoAndPlay(2);
fistFlag = false;
}
stop();
foder_btn.onRelease = function () {
HaveShow2 = true;
gotoAndPlay ("razbros");
};
waitFist_mc.onEnterFrame = function () {
if (razbr2Flag && (razbr3Flag)) {
gotoAndPlay ("razbros");
}
};
Frame 64
stop();
folder_mc.onEnterFrame = function () {
if (toRazbros) {
if (this._x < 114) {
this._x = this._x + 8;
}
if (this._y < 147) {
this._y = this._y + 8;
}
if ((this._x >= 114) && (this._y >= 147)) {
toRazbros = false;
gotoAndPlay ("trueRazbros");
}
}
};
Frame 65
help2_mc._visible = false;
duplicateMovieClip (folderLie_mc, "folderU_mc", 780);
folderLie_mc._visible = false;
Pic_x = folderU_mc._x + 50;
Pic_y = folderU_mc._y + 20;
i = 1;
while (i <= P) {
PicMask[i] = PhotoMask_mc.duplicateMovieClip("PiM" + i, 222 + (i * 7));
PicMask[i]._x = folderU_mc._x;
PicMask[i]._y = folderU_mc._y;
Photos[i].setMask(PicMask[i]);
Photos[i]._x = PicMask[i]._x - (Shft_x[i] * 4);
Photos[i]._y = PicMask[i]._y - (Shft_y[i] * 4);
Photos[i]._visible = true;
WallArr[i] = WindDark0_mc.duplicateMovieClip("Wal" + i, 223 + (i * 7));
WallMask[i] = WindMask_mc.duplicateMovieClip("WaM" + i, 224 + (i * 7));
WallMask[i]._x = PicMask[i]._x;
WallMask[i]._y = PicMask[i]._y;
WallArr[i].setMask(WallMask[i]);
WallArr[i]._x = Photos[i]._x;
WallArr[i]._y = Photos[i]._y;
WallArr[i]._visible = true;
WalMskBack[i] = WindMask_mc.duplicateMovieClip("WMB" + i, 225 + (i * 7));
WalMskBack[i]._x = WallMask[i]._x;
WalMskBack[i]._y = WallMask[i]._y;
WallBack[i] = WallFon_mc.duplicateMovieClip("WalB" + i, 220 + (i * 7));
WallBack[i].setMask(WalMskBack[i]);
WallBack[i]._x = WallArr[i]._x;
WallBack[i]._y = WallArr[i]._y;
WallBack[i]._visible = true;
WallBack[i]._alpha = 100;
if (Qualt[i] > 10) {
WallArr[i]._visible = false;
}
WallArr[i]._alpha = Qualt[i] * 10;
Pic_x = Pic_x + 60;
Pic_y = Pic_y + 15;
if (Pic_x > 730) {
Pic_x = 68;
HH++;
Pic_y = folderU_mc._y + (HH * 95);
}
if (Pic_y > 525) {
Pic_x = 68;
HH++;
Pic_y = folderU_mc._y + (HH * 95);
}
placeX[i] = Pic_x;
placeY[i] = Pic_y;
i++;
}
i = 1;
while (i <= P) {
GoodArr[i] = Qual_mc.duplicateMovieClip("Go" + i, 226 + (i * 7));
GoodArr[i]._x = PicMask[i]._x;
GoodArr[i]._y = PicMask[i]._y - 55;
if (Qualt[i] < 3) {
QualTXT = "Good";
RateArr[i] = true;
kArr[i] = true;
BP++;
BestGirls[BP] = Photos[i].duplicateMovieClip("BestG" + i, 50 + i);
BestGirls[BP]._visible = false;
BestGirls[BP]._x = 400 + (BP * 80);
BestGirls[BP]._y = 100 + (BP * 40);
GoodPlaceY[i] = GoodIY;
GoodPlaceX[i] = GoodIX;
GoodIX = GoodIX + 132;
goodQnt++;
goodQnt2 = goodQnt;
if (goodQnt == 6) {
GoodIY = GoodIY - 95;
GoodIX = 70;
}
} else {
RateArr[i] = false;
}
if ((Qualt[i] >= 3) && (Qualt[i] < 4)) {
QualTXT = "Not Bad";
}
if ((Qualt[i] >= 4) && (Qualt[i] < 7)) {
QualTXT = "Bad";
}
if (Qualt[i] >= 7) {
QualTXT = "Shit";
}
GoodArr[i].Qual_txt.text = QualTXT;
GoodArr[i]._visible = false;
i++;
}
if (BP > highscore) {
highscore = BP;
}
stop();
Razbros_mc.onEnterFrame = function () {
i = 1;
while (i <= P) {
if (PicMask[i]._x < placeX[i]) {
PicMask[i]._x = PicMask[i]._x + spdX;
Photos[i]._x = PicMask[i]._x - (Shft_x[i] * 4);
WallMask[i]._x = PicMask[i]._x;
WallArr[i]._x = Photos[i]._x;
WallBack[i]._x = WallArr[i]._x;
WalMskBack[i]._x = WallMask[i]._x;
GoodArr[i]._x = PicMask[i]._x + 40;
}
if (PicMask[i]._y < placeY[i]) {
PicMask[i]._y = PicMask[i]._y + spdY;
Photos[i]._y = PicMask[i]._y - (Shft_y[i] * 4);
WallMask[i]._y = PicMask[i]._y;
WallBack[i]._y = WallArr[i]._y;
WalMskBack[i]._y = WallMask[i]._y;
WallArr[i]._y = Photos[i]._y;
GoodArr[i]._y = PicMask[i]._y - 55;
}
i++;
}
if (razbosFlag) {
ttt++;
if (PN <= P) {
Pt = (ttt / 2) - 20;
if (PN == Pt) {
GoodArr[PN]._visible = true;
PN++;
}
}
if (ttt > 100) {
ttt = 0;
razbosFlag = false;
gotoAndPlay ("BossChose");
}
}
};
PlayMore_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
i++;
}
folderU_mc.removeMovieClip();
gotoAndPlay ("introPlay");
};
help2_mc.onRelease = function () {
if (!this._visible) {
this._visible = true;
} else {
this._visible = false;
}
};
help_btn.onRelease = function () {
if (!help2_mc._visible) {
help2_mc._visible = true;
} else {
help2_mc._visible = false;
}
};
Frame 66
function followHand(x1, y1) {
PicMask[k]._x = x1;
Photos[k]._x = PicMask[k]._x - (Shft_x[k] * 4);
WallMask[k]._x = PicMask[k]._x;
WallArr[k]._x = Photos[k]._x;
WallBack[k]._x = WallArr[k]._x;
WalMskBack[k]._x = WallMask[k]._x;
PicMask[k]._y = y1;
Photos[k]._y = PicMask[k]._y - (Shft_y[k] * 4);
WallMask[k]._y = PicMask[k]._y;
WallBack[k]._y = WallArr[k]._y;
WalMskBack[k]._y = WallMask[k]._y;
WallArr[k]._y = Photos[k]._y;
GoodArr[k]._x = PicMask[k]._x + 40;
GoodArr[k]._y = PicMask[k]._y - 55;
}
duplicateMovieClip (hand_mc, "handU_mc", 790);
hand_mc._visible = false;
duplicateMovieClip (Lozung2_mc, "Lozung2U_mc", 791);
Lozung2_mc._visible = false;
Lozung2U_mc._visible = false;
duplicateMovieClip (Lozung3_mc, "Lozung3U_mc", 792);
Lozung3_mc._visible = false;
Lozung3U_mc._visible = false;
stop();
handU_mc.onEnterFrame = function () {
if (goodQnt > 0) {
if (ctch == 0) {
i = 1;
while (i <= P) {
if (kArr[i]) {
if (RateArr[i]) {
k = i;
ctch = 1;
}
}
i++;
}
}
if (ctch == 1) {
if (PicMask[k]._y < this._y) {
this._y = this._y - HspdY;
}
if (Math.abs(PicMask[k]._x - this._x) > HspdX) {
if (PicMask[k]._x < this._x) {
this._x = this._x - HspdX;
} else {
this._x = this._x + HspdX;
}
}
if (PicMask[k].hitTest(this.point_mc)) {
ctch = 2;
GoodPlace_mc._x = GoodPlaceX[k];
GoodPlace_mc._y = GoodPlaceY[k];
}
}
if (ctch == 2) {
if (this._y < GoodPlaceY[k]) {
this._y = this._y + HspdY;
followHand(this._x, this._y);
}
if (Math.abs(GoodPlaceX[k] - this._x) > HspdX) {
if (this._x > GoodPlaceX[k]) {
this._x = this._x - HspdX;
} else {
this._x = this._x + HspdX;
}
followHand(this._x, this._y);
}
if (PicMask[k].hitTest(GoodPlace_mc)) {
followHand(GoodPlaceX[k], GoodPlaceY[k]);
ctch = 3;
goodQnt--;
kArr[k] = false;
if (goodQnt > 0) {
ctch = 0;
}
}
}
} else {
if (this._y < 600) {
this._y = this._y + HspdY;
}
if (StealDown == 0) {
if (goodQnt2 > 0) {
Lozung2U_mc.picN_txt.text = goodQnt2;
Lozung2U_mc._visible = true;
} else {
Lozung3U_mc._visible = true;
}
}
if (BossDelay == 0) {
BossDelay = 1;
Good_txt.text = BP;
HighScore_txt.text = highscore;
}
if (StealDown == 1) {
StealDown = 2;
gotoAndStop ("YouThrou");
}
}
};
GoodPlace_mc.onEnterFrame = function () {
if (BossDelay == 1) {
ttt2++;
if (ttt2 >= 50) {
ttt2 = 0;
Lozung2U_mc._visible = false;
Lozung3U_mc._visible = false;
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
BossDelay = 2;
goodQnt = goodQnt2;
ctch = 0;
i = 1;
while (i <= P) {
GoodPlaceY[i] = 680;
kArr[i] = RateArr[i];
i++;
}
StealDown = 1;
}
}
};
PlayMore_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
i++;
}
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
gotoAndPlay ("introPlay");
};
Frame 67
var xMem;
var yMem;
var scaleMem;
var ShWt = 0;
var ClickAgree = 0;
var jmpX = 30;
var jmpY = 20;
var Blanks = new Array(50);
BigMask_mc._x = 400;
BigMaskW_mc._x = 400;
BigMaskB_mc._x = 400;
BigMask_mc._y = 300;
BigMaskW_mc._y = 300;
BigMaskB_mc._y = 300;
BigMask_mc._visible = false;
BigMaskW_mc._visible = false;
BigMaskB_mc._visible = false;
help3_mc._visible = false;
var BigPic;
var BigWall;
var BigBack;
var Clks = 0;
var Chance1time = true;
duplicateMovieClip (Loz4LookThr_mc, "Lozung4U_mc", 793);
Loz4LookThr_mc._visible = false;
duplicateMovieClip (Loz5Roll_mc, "Lozung5U_mc", 794);
Loz5Roll_mc._visible = false;
Lozung5U_mc._visible = false;
duplicateMovieClip (agree_btn, "agreeU_btn", 795);
agreeU_btn._visible = false;
agree_btn._visible = false;
duplicateMovieClip (Chance_btn, "ChanceU_btn", 599);
Chance_btn._visible = false;
ChanceU_btn._visible = false;
i = 1;
while (i <= P) {
Blanks[i] = PicMask[i].duplicateMovieClip("Bl" + i, 600 + i);
Blanks[i]._alpha = 0;
i++;
}
stop();
field_btn.onRelease = function () {
k = 0;
if (ShWt == 0) {
i = 1;
while (i <= P) {
if (Blanks[i].hitTest(_root._xmouse, _root._ymouse, true)) {
k = i;
}
i++;
}
if (k > 0) {
BigPic = Photos[k].duplicateMovieClip("BigPica", 801);
BigPic._x = 400 - ((Shft_x[k] * 4) * 5);
BigPic._y = 300 - ((Shft_y[k] * 4) * 5);
if (Qualt[k] > 10) {
BigPic._xscale = 500;
} else {
BigPic._xscale = 100;
}
BigPic._yscale = BigPic._xscale;
BigPic.setMask(BigMask_mc);
BigWall = WallArr[k].duplicateMovieClip("BigWalla", 802);
BigWall._x = BigPic._x;
BigWall._y = BigPic._y;
BigWall._xscale = BigWall._xscale * 5;
BigWall._yscale = BigWall._xscale;
BigWall.setMask(BigMaskW_mc);
if (Qualt[k] > 10) {
BigWall._visible = false;
}
BigBack = WallBack[k].duplicateMovieClip("BigWallBc", 800);
BigBack._x = BigPic._x;
BigBack._y = BigPic._y;
BigBack._xscale = BigWall._xscale;
BigBack._yscale = BigWall._xscale;
BigBack.setMask(BigMaskB_mc);
BigWall._alpha = Qualt[k] * 10;
xMem = PicMask[k]._x;
yMem = PicMask[k]._y;
scaleMem = Photos[k]._xscale;
ShWt++;
Clks++;
if (BP > 0) {
if (Clks > 2) {
if (Chance1time) {
ChanceU_btn._visible = true;
}
}
}
}
}
Lozung4U_mc._visible = false;
};
ThroughTim_mc.onEnterFrame = function () {
if (ShWt > 0) {
ShWt++;
if (ShWt >= 50) {
BigPic._visible = false;
BigWall._visible = false;
BigBack._visible = false;
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
ShWt = 0;
}
}
};
PlayMore_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
Blanks[i].removeMovieClip();
i++;
}
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
ChanceU_btn._visible = false;
ChanceU_btn.removeMovieClip();
Lozung4U_mc.removeMovieClip();
Lozung5U_mc.removeMovieClip();
agreeU_btn._visible = false;
agreeU_btn.removeMovieClip();
gotoAndPlay ("introPlay");
};
ChanceU_btn.onRelease = function () {
if (Chance1time) {
Chance1time = false;
Lozung5U_mc._visible = true;
agreeU_btn._visible = true;
this._visible = false;
}
};
agreeU_btn.onRelease = function () {
ClickAgree++;
if (ClickAgree < 5) {
jmpX = this._x - _root._xmouse;
jmpY = Math.abs(jmpX) * 2;
this._x = this._x - (jmpX * 4);
if (this._x > 700) {
this._x = 695;
this._y = this._y - jmpY;
}
if (this._x < 90) {
this._x = 95;
this._y = this._y - jmpY;
}
this._y = this._y - jmpY;
if (this._y < 40) {
this._y = 45;
this._y = this._y + jmpY;
}
if (this._y > 580) {
this._y = 575;
this._y = this._y - jmpY;
}
} else {
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
Lozung4U_mc.removeMovieClip();
Lozung5U_mc._visible = false;
this._visible = false;
gotoAndStop ("RollBones");
}
};
help3_mc.onRelease = function () {
if (!this._visible) {
this._visible = true;
} else {
this._visible = false;
}
};
help_btn.onRelease = function () {
if (!help3_mc._visible) {
help3_mc._visible = true;
} else {
help3_mc._visible = false;
}
};
Frame 68
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
IWin_mc._visible = false;
IWin_mc.stop();
YouWin_mc._visible = false;
MyRes_txt._visible = false;
YourRes_txt._visible = false;
PushDown_mc._visible = false;
Loz6IPlay_mc._visible = true;
Loz7YuoPush_mc._visible = false;
Loz8BackGam_mc._visible = false;
Loz9LooGirls_mc._visible = false;
LookGirls_btn._visible = false;
help4_mc._visible = false;
SlotSound_mc.gotoAndStop("lusastop");
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
Blanks[i].removeMovieClip();
i++;
}
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
ChanceU_btn.removeMovieClip();
Lozung5U_mc.removeMovieClip();
agreeU_btn.removeMovieClip();
stop();
levelUp1_mc.setMask(levMask1_mc);
levelUp1_mc.level_txt.text = 0;
levelUp2_mc.setMask(levMask2_mc);
levelUp2_mc.level_txt.text = 0;
levelUp3_mc.setMask(levMask3_mc);
levelUp3_mc.level_txt.text = 0;
var resFlag = new Array(3);
resFlag[1] = false;
resFlag[2] = false;
resFlag[3] = false;
var Res1;
var Res2;
var Res3;
var ResSum = new Array(0, 0, 0);
var Dig1;
var levOld1 = 9;
var levCng1 = false;
var memY = levelUp1_mc.level_txt._y;
var Licr1 = 10;
var PushFlag1 = false;
var TurnFlag = false;
var Dig2;
var levOld2 = 9;
var levCng2 = false;
var memY2 = levelUp2_mc.level_txt._y;
var Licr2 = 10;
var PushFlag2 = false;
var TurnFlag2 = false;
var Dig3;
var levOld3 = 9;
var levCng3 = false;
var memY3 = levelUp3_mc.level_txt._y;
var Licr3 = 10;
var PushFlag3 = false;
var TurnFlag3 = false;
Dig1 = 0;
levCng1 = true;
Dig2 = 0;
levCng2 = true;
Dig3 = 0;
levCng3 = true;
var YM = 0;
var YouMeFlag = 0;
var dl = 0;
var handStp = 0;
SlotMachine_mc.onEnterFrame = function () {
if (dl < 50) {
dl++;
}
if (handStp == 0) {
if (dl == 50) {
handStp = 1;
dl = 55;
}
}
if (YM == 0) {
if (handStp == 1) {
if (Hand3_mc._y > Push_btn._y) {
Hand3_mc._y = Hand3_mc._y - 4;
} else {
handStp = 2;
Loz6IPlay_mc._visible = false;
}
}
if (handStp == 2) {
PushDown_mc._visible = true;
handStp = 3;
dl = 0;
}
if (handStp == 3) {
if (dl == 20) {
dl = 50;
PushDown_mc._visible = false;
PushFlag1 = true;
PushFlag2 = true;
PushFlag3 = true;
Licr1 = randRange(8, 15);
Licr2 = randRange(10, 17);
Licr3 = randRange(15, 20);
handStp = 4;
}
}
if (handStp == 4) {
if (Hand3_mc._y < 620) {
Hand3_mc._y = Hand3_mc._y + 8;
} else {
handStp = 5;
YM = 1;
}
}
}
if ((YM > 0) && (YM <= 2)) {
if ((resFlag[1] && (resFlag[2])) && (resFlag[3])) {
resFlag[1] = false;
resFlag[2] = false;
resFlag[3] = false;
ResSum[YM] = ((Res3 * 100) + (Res2 * 10)) + Res1;
MyRes_txt.text = ResSum[1];
YourRes_txt.text = ResSum[2];
YM++;
}
}
if (YM == 2) {
if (cover_mc._y < 450) {
cover_mc._y = cover_mc._y + 2;
if (cover_mc._y > 400) {
MyRes_txt._visible = true;
YourRes_txt._visible = true;
}
if (cover_mc._y > 446) {
Loz7YuoPush_mc._visible = true;
}
}
}
if (YM == 3) {
YourRes_txt.text = ResSum[2];
if (ResSum[1] > ResSum[2]) {
IWin_mc._visible = true;
IWin_mc.play();
YouMeFlag = 1;
} else {
YouWin_mc._visible = true;
YouMeFlag = 2;
}
handStp = 6;
dl = 0;
YM = 4;
}
if (handStp == 6) {
if (dl == 25) {
dl = 55;
if (YouMeFlag == 1) {
Loz8BackGam_mc._visible = true;
}
if (YouMeFlag == 2) {
Loz9LooGirls_mc._visible = true;
LookGirls_btn._visible = true;
}
handStp == 7;
}
}
};
levelUp1_mc.onEnterFrame = function () {
if (PushFlag1) {
PushFlag1 = false;
this.levelN_txt.text = Dig1;
TurnFlag = true;
levCng1 = false;
this.levelN_txt._y = this.level_txt._y - 30;
}
if (TurnFlag) {
if (!levCng1) {
levCng1 = true;
Dig1 = Dig1 + 1;
Licr1 = Licr1 - 0.5;
if (Licr1 < 1) {
Licr1 = 0;
TurnFlag = false;
Res1 = levOld1;
resFlag[1] = true;
}
if (Dig1 >= 10) {
Dig1 = 0;
}
this.levelN_txt.text = Dig1;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (levCng1) {
this.level_txt._y = this.level_txt._y + Licr1;
this.levelN_txt._y = this.levelN_txt._y + Licr1;
if (this.levelN_txt._y >= memY) {
this.level_txt.text = Dig1;
this.level_txt._y = memY;
this.levelN_txt._y = this.level_txt._y + 30;
levCng1 = false;
levOld1 = Dig1;
}
}
};
levelUp2_mc.onEnterFrame = function () {
if (PushFlag2) {
PushFlag2 = false;
this.levelN_txt.text = Dig2;
TurnFlag2 = true;
levCng2 = false;
this.levelN_txt._y = this.level_txt._y - 30;
}
if (TurnFlag2) {
if (!levCng2) {
levCng2 = true;
Dig2 = Dig2 + 1;
Licr2 = Licr2 - 0.5;
if (Licr2 < 1) {
Licr2 = 0;
TurnFlag2 = false;
Res2 = levOld2;
resFlag[2] = true;
}
if (Dig2 >= 10) {
Dig2 = 0;
}
this.levelN_txt.text = Dig2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (levCng2) {
this.level_txt._y = this.level_txt._y + Licr2;
this.levelN_txt._y = this.levelN_txt._y + Licr2;
if (this.levelN_txt._y >= memY2) {
this.level_txt.text = Dig2;
this.level_txt._y = memY2;
this.levelN_txt._y = this.level_txt._y + 30;
levCng2 = false;
levOld2 = Dig2;
}
}
};
levelUp3_mc.onEnterFrame = function () {
if (PushFlag3) {
PushFlag3 = false;
this.levelN_txt.text = Dig3;
TurnFlag3 = true;
levCng3 = false;
this.levelN_txt._y = this.level_txt._y - 30;
}
if (TurnFlag3) {
if (!levCng3) {
levCng3 = true;
Dig3 = Dig3 + 1;
Licr3 = Licr3 - 0.5;
if (Licr3 < 1) {
Licr3 = 0;
TurnFlag3 = false;
Res3 = levOld3;
resFlag[3] = true;
SlotSound_mc.play();
}
if (Dig3 >= 10) {
Dig3 = 0;
}
this.levelN_txt.text = Dig3;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (levCng3) {
this.level_txt._y = this.level_txt._y + Licr3;
this.levelN_txt._y = this.levelN_txt._y + Licr3;
if (this.levelN_txt._y >= memY3) {
this.level_txt.text = Dig3;
this.level_txt._y = memY3;
this.levelN_txt._y = this.level_txt._y + 30;
levCng3 = false;
levOld3 = Dig3;
}
}
};
Push_btn.onRelease = function () {
if (YM > 0) {
PushFlag1 = true;
PushFlag2 = true;
PushFlag3 = true;
Licr1 = randRange(8, 15);
Licr2 = randRange(10, 17);
Licr3 = randRange(15, 20);
Loz7YuoPush_mc._visible = false;
}
};
LookGirls_btn.onRelease = function () {
gotoAndPlay ("GoodGirls");
};
PlayMore_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
Blanks[i].removeMovieClip();
i++;
}
i = 1;
while (i <= BP) {
BestGirls[i].removeMovieClip();
i++;
}
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
ChanceU_btn.removeMovieClip();
Lozung5U_mc.removeMovieClip();
agreeU_btn.removeMovieClip();
gotoAndPlay ("introPlay");
};
Test_btn.onRelease = function () {
gotoAndPlay ("GoodGirls");
};
help4_mc.onRelease = function () {
if (!this._visible) {
this._visible = true;
} else {
this._visible = false;
}
};
help_btn.onRelease = function () {
if (!help4_mc._visible) {
help4_mc._visible = true;
} else {
help4_mc._visible = false;
}
};
Frame 69
var iax = 0;
var iay = 0;
var BigPic;
NextTime_btn._visible = false;
help5_mc._visible = false;
i = 1;
while (i <= BP) {
BestGirls[i]._visible = true;
BestGirls[i]._x = 70 + iax;
BestGirls[i]._y = 150 + iay;
iax = iax + 135;
if ((i == 6) || (i == 12)) {
iax = 0;
iay = iay + 100;
}
i++;
}
Clks = 0;
ShWt = 0;
stop();
field_btn.onRelease = function () {
k = 0;
if (ShWt == 0) {
i = 1;
while (i <= BP) {
if (BestGirls[i].hitTest(_root._xmouse, _root._ymouse, true)) {
k = i;
}
i++;
}
if (k > 0) {
BigPic = BestGirls[k].duplicateMovieClip("BigPica", 801);
BigPic._x = 400;
BigPic._y = 300;
BigPic._xscale = 100;
BigPic._yscale = BigPic._xscale;
ShWt++;
Clks++;
if (Clks >= 1) {
NextTime_btn._visible = true;
}
}
}
};
ThroughTim_mc.onEnterFrame = function () {
if (ShWt > 0) {
ShWt++;
if (ShWt >= 50) {
BigPic._visible = false;
ShWt = 0;
}
}
};
NextTime_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
Blanks[i].removeMovieClip();
i++;
}
i = 1;
while (i <= BP) {
BestGirls[i].removeMovieClip();
i++;
}
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
ChanceU_btn.removeMovieClip();
Lozung5U_mc.removeMovieClip();
agreeU_btn.removeMovieClip();
gotoAndPlay ("introPlay");
};
PlayMore_btn.onRelease = function () {
i = 1;
while (i <= P) {
WallArr[i].removeMovieClip();
PicMask[i].removeMovieClip();
WallMask[i].removeMovieClip();
QualArr[i].removeMovieClip();
GoodArr[i].removeMovieClip();
WallBack[i].removeMovieClip();
WalMskBack[i].removeMovieClip();
Photos[i].removeMovieClip();
Blanks[i].removeMovieClip();
i++;
}
i = 1;
while (i <= BP) {
BestGirls[i].removeMovieClip();
i++;
}
BigPic.removeMovieClip();
BigWall.removeMovieClip();
BigBack.removeMovieClip();
handU_mc.removeMovieClip();
folderU_mc.removeMovieClip();
Lozung2U_mc.removeMovieClip();
Lozung3U_mc.removeMovieClip();
ChanceU_btn.removeMovieClip();
Lozung5U_mc.removeMovieClip();
agreeU_btn.removeMovieClip();
gotoAndPlay ("introPlay");
};
help5_mc.onRelease = function () {
if (!this._visible) {
this._visible = true;
} else {
this._visible = false;
}
};
help_btn.onRelease = function () {
if (!help5_mc._visible) {
help5_mc._visible = true;
} else {
help5_mc._visible = false;
}
};
Frame 70
introflag = true;
stop();
PlayMore_btn.onRelease = function () {
gotoAndPlay ("introWait");
};
Symbol 10 Button
on (release) {
getURL ("http://www.stripparadise.com/?iamadult=1");
}
Symbol 23 Button
on (release) {
getURL ("http://www.stripparadise.com/?iamadult=1");
}
Symbol 81 MovieClip Frame 1
var pointsX = new Array();
pointsX[1] = windPnt1;
pointsX[2] = windPnt2;
pointsX[3] = windPnt3;
pointsX[4] = windPnt4;
pointsX[5] = windPnt5;
pointsX[6] = windPnt6;
pointsX[7] = windPnt7;
pointsX[8] = windPnt8;
pointsX[9] = windPnt9;
pointsX[10] = windPnt10;
pointsX[11] = windPnt11;
var pointsY = new Array();
pointsY[1] = windPntY1;
pointsY[2] = windPntY2;
pointsY[3] = windPntY3;
pointsY[4] = windPntY4;
pointsY[5] = windPntY5;
pointsY[6] = windPntY6;
pointsY[7] = windPntY7;
pointsY[8] = windPntY8;
pointsY[9] = windPntY9;
pointsY[10] = windPntY10;
pointsY[11] = windPntY11;
pointsY[12] = windPntY12;
pointsY[13] = windPntY13;
pointsY[14] = windPntY14;
pointsY[15] = windPntY15;
pointsY[16] = windPntY16;
pointsY[17] = windPntY17;
pointsY[18] = windPntY18;
Symbol 84 MovieClip Frame 1
var pointsX = new Array();
pointsX[1] = windPnt1;
pointsX[2] = windPnt2;
pointsX[3] = windPnt3;
pointsX[4] = windPnt4;
pointsX[5] = windPnt5;
pointsX[6] = windPnt6;
pointsX[7] = windPnt7;
pointsX[8] = windPnt8;
pointsX[9] = windPnt9;
pointsX[10] = windPnt10;
pointsX[11] = windPnt11;
var pointsY = new Array();
pointsY[1] = windPntY1;
pointsY[2] = windPntY2;
pointsY[3] = windPntY3;
pointsY[4] = windPntY4;
pointsY[5] = windPntY5;
pointsY[6] = windPntY6;
pointsY[7] = windPntY7;
pointsY[8] = windPntY8;
pointsY[9] = windPntY9;
pointsY[10] = windPntY10;
pointsY[11] = windPntY11;
pointsY[12] = windPntY12;
pointsY[13] = windPntY13;
pointsY[14] = windPntY14;
pointsY[15] = windPntY15;
pointsY[16] = windPntY16;
pointsY[17] = windPntY17;
pointsY[18] = windPntY18;
Symbol 87 MovieClip Frame 1
var pointsX = new Array();
pointsX[1] = windPnt1;
pointsX[2] = windPnt2;
pointsX[3] = windPnt3;
pointsX[4] = windPnt4;
pointsX[5] = windPnt5;
pointsX[6] = windPnt6;
pointsX[7] = windPnt7;
pointsX[8] = windPnt8;
pointsX[9] = windPnt9;
pointsX[10] = windPnt10;
pointsX[11] = windPnt11;
var pointsY = new Array();
pointsY[1] = windPntY1;
pointsY[2] = windPntY2;
pointsY[3] = windPntY3;
pointsY[4] = windPntY4;
pointsY[5] = windPntY5;
pointsY[6] = windPntY6;
pointsY[7] = windPntY7;
pointsY[8] = windPntY8;
pointsY[9] = windPntY9;
pointsY[10] = windPntY10;
pointsY[11] = windPntY11;
pointsY[12] = windPntY12;
pointsY[13] = windPntY13;
pointsY[14] = windPntY14;
pointsY[15] = windPntY15;
pointsY[16] = windPntY16;
pointsY[17] = windPntY17;
pointsY[18] = windPntY18;
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 10
gotoAndStop (1);
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 50
stop();
Symbol 141 MovieClip Frame 46
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 27
gotoAndStop (1);
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 50
stop();
Symbol 366 MovieClip Frame 1
var fc = 0;
Symbol 366 MovieClip Frame 16
fc++;
if (!_root.HaveShow2) {
if (_root.HaveShow1 && (fc > 18)) {
this.gotoAndPlay("stopShow");
} else {
this.gotoAndPlay("ShowCyc");
}
}
Symbol 366 MovieClip Frame 17
stop();
Symbol 371 MovieClip Frame 1
Symbol 371 MovieClip Frame 18
stop();