Frame 1
var introflag = true;
Mouse.show();
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 5
if (introflag) {
gotoAndPlay ("introcyc");
}
play_btn.onRelease = function () {
introflag = false;
};
Frame 7
var highscore = 0;
var gamecnt = 0;
var girlqnt = 14;
var girlnum = 1;
var oC = 1;
var OrderArr = new Array();
BallRed1_mc.num_txt.text = "";
BallRed2_mc.num_txt.text = "";
Mouse.show();
levelUp_mc.setMask(levMask_mc);
stop();
play_btn.onRelease = function () {
play();
};
Frame 11
gamecnt++;
Frame 12
function kasatelnaya(n) {
kasArr[n]._x = BallArr[n]._x;
kasArr[n]._y = BallArr[n]._y;
kasArr[n]._rotation = dirAngle[n];
}
function checkBallY(p) {
Mflag = 0;
var _local1 = 0;
while (_local1 <= 2) {
if (_local1 != p) {
if (BallArr[_local1].body_mc.hitTest(BallArr[p].body_mc)) {
M = _local1;
Mflag++;
}
}
_local1++;
}
if (Mflag > 0) {
if (BallArr[p]._x < 600) {
BallArr[p]._x = BallArr[M]._x + 50;
} else {
BallArr[p]._x = BallArr[M]._x - 50;
}
}
}
function checkBallX(p) {
Mflag = 0;
var _local1 = 0;
while (_local1 <= 2) {
if (_local1 != p) {
if (BallArr[_local1].body_mc.hitTest(BallArr[p].body_mc)) {
M = _local1;
Mflag++;
}
}
_local1++;
}
if (Mflag > 0) {
if (BallArr[p]._y < 360) {
BallArr[p]._y = BallArr[M]._y + 50;
} else {
BallArr[p]._y = BallArr[M]._y - 50;
}
}
}
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function displaytime() {
arrow_mc._rotation = (sT * 6) / 6;
}
var GIRLSHOW = false;
var gcc = 0;
var gs = 0;
var cc = 0;
var Seconds = 0;
var Minutes = 0;
var Timelim = 360;
var winFlag = false;
var chvakFlag = false;
var incr_x = new Array(0, 0, 0, 0);
var incr_y = new Array(0, 0, 0, 0);
var IncrMx = new Array(0, 0, 0, 0);
var IncrMy = new Array(0, 0, 0, 0);
var lev = 0;
var Incr = new Array(0, 0, 0, 10);
var IncrInit = 16;
var CCos;
var SSin;
var IncrW;
var IncrW2;
var DrebBord = new Array(0, 0, 0, 0, 0);
var DrebCnt = new Array(0, 0, 0, 0, 0);
var ballFlag = new Array(true, true, true);
var BallArr = new Array();
var HoleArr = new Array();
var dirAngle = new Array(0, 0, 0, 120);
var goalBall = new Array(false, false, false);
var init_x = new Array();
var init_y = new Array();
var K = new Array(0, 0, 0, 0);
var alfarad = 0;
var alfa = 0;
var Beta = 0;
var Gamma;
var Omega;
var OldDir = 0;
var Omega = 0;
var koef1 = 0.99;
var koef2 = 0.98;
var MouseX;
var MouseY;
var wtTc = new Array(0, 0, 0, 0);
var wt = 0;
var wtG = 0;
var i;
var j;
var Ho = new Array(0, 0, 0, 0);
var H = 0;
var B = 0;
var M;
var Mflag;
var aimFlag = false;
var Touch = false;
var StartX = StartPlace_mc._x;
var StartY = StartPlace_mc._y;
var inFlag = new Array(false, false, false, false);
var goalflag = 0;
var rewardFlag = 0;
var goalcnt = 0;
var ballOut = false;
var ballOutCnt = 0;
var goalPlace_X = holeOut_mc._x;
var goalPlace_Y = holeOut_mc._y;
var DX;
var DY;
var iX = new Array(8, 8, 8, 8);
var iY = new Array(8, 8, 8, 8);
var kasArr = new Array();
var LuzSndFlag = true;
var girlChangeFlag = false;
var AlRad;
var Ordincr;
var girlsArr = new Array();
girlsArr[1] = g1;
girlsArr[2] = g2;
girlsArr[3] = g3;
girlsArr[4] = g4;
girlsArr[5] = g5;
girlsArr[6] = g6;
girlsArr[7] = g7;
girlsArr[8] = g8;
girlsArr[9] = g9;
girlsArr[10] = g10;
girlsArr[11] = g11;
girlsArr[12] = g12;
girlsArr[13] = g13;
girlsArr[14] = g14;
i = 1;
while (i <= girlqnt) {
girlsArr[i]._visible = false;
i++;
}
OrderArr[0] = orderSm_mc;
BallArr[0] = BallWhite_mc;
BallArr[1] = BallRed1_mc;
BallArr[2] = BallRed2_mc;
BallRed1_mc.num_txt.text = "";
BallRed2_mc.num_txt.text = "";
HoleArr[1] = hole1_mc;
HoleArr[2] = hole2_mc;
HoleArr[3] = hole3_mc;
HoleArr[4] = hole4_mc;
i = 1;
while (i <= 4) {
HoleArr[i]._visible = false;
i++;
}
var girlHoles = new Array();
girlHoles[1] = gitta_mc;
girlHoles[2] = gitta2_mc;
girlHoles[3] = gitta3_mc;
girlHoles[4] = gitta4_mc;
kasArr[0] = kasat_mc;
kasArr[1] = kasatR1_mc;
kasArr[2] = kasatR2_mc;
i = 0;
while (i <= 2) {
kasArr[i]._visible = false;
init_x[i] = BallArr[i]._x;
init_y[i] = BallArr[i]._y;
i++;
}
levelUp_mc.setMask(levMask_mc);
reward1_mc._x = 396;
reward1_mc._y = 144;
reward1_mc._xscale = 16;
reward1_mc._yscale = reward1_mc._xscale;
reward1_mc._visible = false;
orderSm_mc._visible = false;
playMore_btn._visible = false;
help_mc._visible = false;
duplicateMovieClip (aim_mc, "aimUp_mc", 20);
score_txt.text = goalcnt;
highscore_txt.text = highscore;
gamecnt_txt.text = gamecnt;
aimFlag = true;
aim_mc._visible = false;
stop();
aimUp_mc.onLoad = function () {
startDrag (this, true);
};
BallsLogic_mc.onEnterFrame = function () {
function BB(n1, n2) {
var _local3;
var _local5;
var _local8;
var _local9;
if ((Incr[n1] > 0) || (Incr[n2] > 0)) {
BallSound_mc.gotoAndPlay(2);
}
if (BallArr[n1]._x < BallArr[n2]._x) {
alfarad = Math.atan((BallArr[n2]._y - BallArr[n1]._y) / (BallArr[n2]._x - BallArr[n1]._x));
} else {
alfarad = Math.atan((BallArr[n2]._y - BallArr[n1]._y) / (BallArr[n2]._x - BallArr[n1]._x)) - Math.PI;
}
alfa = (alfarad * 90) / 1.57;
Gamma = alfa - dirAngle[n1];
var _local7 = false;
if (n1 == 0) {
if (Gamma > 90) {
_local7 = true;
}
}
if (Gamma > 360) {
Gamma = Gamma - 360;
}
if (Gamma < -360) {
Gamma = Gamma + 360;
}
if ((Gamma > 180) && (Gamma < 360)) {
Gamma = -(360 - Gamma);
}
if (Gamma < -180) {
Gamma = Gamma + 360;
}
if (Math.abs(Gamma) > 90) {
var _local4;
var _local6;
_local4 = BallArr[n1]._x - (Math.cos(dirAngle[n1] / 57.32) * Incr[n1]);
_local6 = BallArr[n1]._y - (Math.sin(dirAngle[n1] / 57.32) * Incr[n1]);
if (_local4 < BallArr[n2]._x) {
alfarad = Math.atan((BallArr[n2]._y - _local6) / (BallArr[n2]._x - _local4));
} else {
alfarad = Math.atan((BallArr[n2]._y - _local6) / (BallArr[n2]._x - _local4)) - Math.PI;
}
alfa = (alfarad * 90) / 1.57;
Gamma = alfa - dirAngle[n1];
}
Beta = (alfa + 180) + Gamma;
OldDir = dirAngle[n1];
Omega = Beta - dirAngle[n1];
dirAngle[n1] = Beta;
if (dirAngle[n1] > 360) {
dirAngle[n1] = dirAngle[n1] - 360;
}
if (dirAngle[n1] < 0) {
dirAngle[n1] = dirAngle[n1] + 360;
}
IncrW = Incr[n1];
IncrW2 = Incr[n2];
CCos = Math.cos((Omega / 2) / 57.32);
SSin = Math.sin((Omega / 2) / 57.32);
if (Incr[n2] == 0) {
if (Math.abs(CCos) < 0.14) {
Incr[n1] = IncrW * 0.2;
} else {
Incr[n1] = IncrW * CCos;
}
if (Math.abs(SSin) < 0.14) {
Incr[n2] = IncrW * 0.2;
} else {
Incr[n2] = IncrW * SSin;
}
Incr[n1] = Math.abs(Incr[n1]);
Incr[n2] = Math.abs(Incr[n2]);
dirAngle[n2] = OldDir + Gamma;
} else {
_local3 = alfa + 180;
_local5 = _local3 - dirAngle[n2];
_local8 = (_local3 + 180) + _local5;
dirAngle[n2] = _local8;
if (n2 == 2) {
dirAngle[n1] = _local3 - _local5;
}
if (Math.abs(SSin) < 0.14) {
Incr[n1] = IncrW2 * 0.2;
} else {
Incr[n1] = IncrW2 * SSin;
}
if (Math.abs(CCos) < 0.14) {
Incr[n2] = IncrW2 * 0.2;
} else {
Incr[n2] = IncrW2 * CCos;
}
Incr[n1] = Math.abs(Incr[n1]);
Incr[n2] = Math.abs(Incr[n2]);
}
if (IncrW == 0) {
if (Math.abs(SSin) < 0.14) {
Incr[n1] = IncrW2 * 0.2;
} else {
Incr[n1] = IncrW2 * SSin;
}
if (Math.abs(CCos) < 0.14) {
Incr[n2] = IncrW2 * 0.2;
} else {
Incr[n2] = IncrW2 * CCos;
}
Incr[n1] = Math.abs(Incr[n1]);
Incr[n2] = Math.abs(Incr[n2]);
}
kasatelnaya(n1);
kasatelnaya(n2);
incr_x[n1] = Math.cos(dirAngle[n1] / 57.32) * Incr[n1];
incr_y[n1] = Math.sin(dirAngle[n1] / 57.32) * Incr[n1];
incr_x[n2] = Math.cos(dirAngle[n2] / 57.32) * Incr[n2];
incr_y[n2] = Math.sin(dirAngle[n2] / 57.32) * Incr[n2];
}
function BBborder(n) {
if (n == 1) {
dirAngle[i] = 360 - dirAngle[i];
}
if (n == 2) {
dirAngle[i] = 180 - dirAngle[i];
}
if (n == 3) {
dirAngle[i] = 360 - dirAngle[i];
}
if (n == 4) {
dirAngle[i] = 180 - dirAngle[i];
}
if (dirAngle[i] > 360) {
dirAngle[i] = dirAngle[i] - 360;
}
if (dirAngle[i] < 0) {
dirAngle[i] = dirAngle[i] + 360;
}
kasatelnaya(i);
incr_x[i] = Math.cos(dirAngle[i] / 57.32) * Incr[i];
incr_y[i] = Math.sin(dirAngle[i] / 57.32) * Incr[i];
BallArr[i]._x = BallArr[i]._x + (incr_x[i] * 2);
BallArr[i]._y = BallArr[i]._y + (incr_y[i] * 2);
}
var i;
var _local11;
var _local1;
i = 0;
while (i <= 2) {
if (ballFlag[i]) {
BallArr[i]._x = BallArr[i]._x + incr_x[i];
BallArr[i]._y = BallArr[i]._y + incr_y[i];
_local1 = 1;
while (_local1 <= 4) {
if (BallArr[i].body_mc.hitTest(HoleArr[_local1].holeaim_mc)) {
goalflag = _local1;
ballOutCnt++;
ballOut = true;
goalBall[i] = true;
ballFlag[i] = false;
inFlag[i] = true;
if (Touch) {
goalcnt++;
}
incr_x[i] = 0;
incr_y[i] = 0;
Incr[i] = 0;
H = _local1;
Ho[i] = _local1;
B = i;
K[B] = 0;
wt++;
}
_local1++;
}
}
if (ballFlag[i]) {
if (BallArr[i].body_mc.hitTest(borderUp_mc)) {
DrebBord[1]++;
if (DrebBord[1] <= 1) {
BBborder(1);
}
} else {
DrebBord[1] = 0;
}
if (BallArr[i].body_mc.hitTest(borderRt_mc)) {
DrebBord[2]++;
if (DrebBord[2] <= 1) {
BBborder(2);
}
} else {
DrebBord[2] = 0;
}
if (BallArr[i].body_mc.hitTest(borderDw_mc)) {
DrebBord[3]++;
if (DrebBord[3] <= 1) {
BBborder(3);
}
} else {
DrebBord[3] = 0;
}
if (BallArr[i].body_mc.hitTest(borderLf_mc)) {
DrebBord[4]++;
if (DrebBord[4] <= 1) {
BBborder(4);
}
} else {
DrebBord[4] = 0;
}
}
i++;
}
if (ballFlag[0]) {
if (BallArr[0].hitTest(BallArr[1]._x, BallArr[1]._y, true)) {
if (wtTc[0] < 1) {
BB(0, 1);
wtTc[0]++;
Touch = true;
BallArr[0]._x = BallArr[0]._x + incr_x[0];
BallArr[0]._y = BallArr[0]._y + incr_y[0];
if (BallArr[0].hitTest(BallArr[1])) {
BallArr[0]._x = BallArr[0]._x + IncrMx[0];
BallArr[0]._y = BallArr[0]._y + IncrMx[0];
}
}
}
}
if (ballFlag[0]) {
if (BallArr[0].hitTest(BallArr[2]._x, BallArr[2]._y, true)) {
if (wtTc[0] < 1) {
BB(0, 2);
wtTc[0]++;
Touch = true;
BallArr[0]._x = BallArr[0]._x + incr_x[0];
BallArr[0]._y = BallArr[0]._y + incr_y[0];
if (BallArr[0].hitTest(BallArr[2])) {
BallArr[0]._x = BallArr[0]._x + IncrMx[0];
BallArr[0]._y = BallArr[0]._y + IncrMx[0];
}
}
}
}
if (ballFlag[1]) {
if (BallArr[1].hitTest(BallArr[2]._x, BallArr[2]._y, true)) {
if (wtTc[1] < 1) {
BB(1, 2);
wtTc[1]++;
Touch = true;
BallArr[1]._x = BallArr[1]._x + incr_x[1];
BallArr[1]._y = BallArr[1]._y + incr_y[1];
if (BallArr[1].hitTest(BallArr[1])) {
BallArr[1]._x = BallArr[1]._x + IncrMx[1];
BallArr[1]._y = BallArr[1]._y + IncrMx[1];
}
}
}
}
i = 0;
while (i <= 2) {
if (ballFlag[i]) {
if (BallArr[i]._y < borderUp_mc._y) {
BallArr[i]._y = borderUp_mc._y + 26;
checkBallY(i);
if (incr_y[i] < 0) {
incr_y[i] = -incr_y[i];
}
}
if (BallArr[i]._y > borderDw_mc._y) {
BallArr[i]._y = borderDw_mc._y - 26;
checkBallY(i);
if (incr_y[i] > 0) {
incr_y[i] = -incr_y[i];
}
}
if (BallArr[i]._x > borderRt_mc._x) {
BallArr[i]._x = borderRt_mc._x - 26;
checkBallX(i);
if (incr_x[i] > 0) {
incr_x[i] = -incr_x[i];
}
}
if (BallArr[i]._x < borderLf_mc._x) {
BallArr[i]._x = borderLf_mc._x + 26;
checkBallX(i);
if (incr_x[i] < 0) {
incr_x[i] = -incr_x[i];
}
}
if (BallArr[i]._y < borderUpC_mc) {
BallArr[i]._y = borderUp_mc._y + 26;
checkBallY(i);
}
if (BallArr[i]._y > borderDownC_mc._y) {
BallArr[i]._y = borderDw_mc._y - 26;
checkBallY(i);
}
if (BallArr[i]._x > borderRighC_mc._x) {
BallArr[i]._x = borderRt_mc._x - 26;
checkBallX(i);
}
if (BallArr[i]._x < borderLeftC_mc._x) {
BallArr[i]._x = borderLf_mc._x + 26;
checkBallX(i);
}
}
i = 0;
while (i <= 2) {
IncrMx[i] = incr_x[i];
IncrMy[i] = incr_y[i];
if (Incr[i] > 3) {
Incr[i] = Incr[i] * koef1;
incr_x[i] = incr_x[i] * koef1;
incr_y[i] = incr_y[i] * koef1;
} else {
Incr[i] = Incr[i] * koef2;
incr_x[i] = incr_x[i] * koef2;
incr_y[i] = incr_y[i] * koef2;
}
if (Incr[i] <= 2) {
Incr[i] = 0;
incr_x[i] = 0;
incr_y[i] = 0;
}
i++;
}
i++;
}
};
goalproc_mc.onEnterFrame = function () {
function goalprocedure(B) {
if (K[B] == 0) {
if (inFlag[B]) {
DX = HoleArr[Ho[B]]._x - BallArr[B]._x;
DY = HoleArr[Ho[B]]._y - BallArr[B]._y;
iX[B] = DX / 2;
iY[B] = DY / 2;
inFlag[B] = false;
}
if (BallArr[B].body_mc.hitTest(HoleArr[Ho[B]]._x, HoleArr[Ho[B]]._y, true)) {
BallArr[B]._x = HoleArr[Ho[B]]._x;
BallArr[B]._y = HoleArr[Ho[B]]._y;
chvakFlag = true;
K[B] = 1;
} else {
BallArr[B]._x = BallArr[B]._x + iX[B];
BallArr[B]._y = BallArr[B]._y + iY[B];
}
}
if (K[B] == 1) {
if (chvakFlag) {
LuzaSound_mc.gotoAndPlay(2);
chvakFlag = false;
}
BallArr[B]._visible = false;
girlHoles[Ho[B]].pussyPlay_mc.gotoAndPlay("pusPlay");
wtG++;
K[B] = 2;
}
if (!winFlag) {
if (K[B] == 2) {
wtG++;
if (wtG == 80) {
K[B] = 3;
}
}
if (K[B] == 3) {
BallArr[B]._x = goalPlace_X;
BallArr[B]._y = goalPlace_Y;
BallArr[B]._visible = true;
K[B] = 4;
}
if (K[B] == 4) {
BallArr[B]._xscale = BallArr[B]._xscale + 0.5;
BallArr[B]._yscale = BallArr[B]._xscale;
BallArr[B]._alpha = BallArr[B]._alpha + 1;
if (BallArr[B]._xscale >= 100) {
BallArr[B]._xscale = 100;
BallArr[B]._yscale = 100;
BallArr[B]._alpha = 100;
K[B] = 5;
}
}
if (K[B] == 5) {
Mflag = 0;
i = 0;
while (i <= 2) {
if (i != B) {
if (BallArr[i].hitTest(StartPlace_mc)) {
M = i;
Mflag++;
}
}
i++;
}
if (Mflag > 0) {
StartPlace_mc._y = BallArr[M]._y + 80;
StartPlace_mc._x = BallArr[M]._x + 20;
Mflag = 0;
i = 0;
while (i <= 2) {
if (i != B) {
if (BallArr[i].hitTest(StartPlace_mc)) {
M = i;
Mflag++;
}
}
i++;
}
if (Mflag > 0) {
StartPlace_mc._y = BallArr[M]._y + 80;
}
}
K[B] = 6;
}
if (K[B] == 6) {
if (BallArr[B]._y < StartPlace_mc._y) {
BallArr[B]._y = BallArr[B]._y + 4;
} else {
BallArr[B]._y = StartPlace_mc._y;
K[B] = 7;
}
}
if (K[B] == 7) {
Mflag = 0;
i = 0;
while (i <= 2) {
if (i != B) {
if (BallArr[i].hitTest(StartPlace_mc)) {
M = i;
Mflag++;
}
}
i++;
}
if (Mflag > 0) {
StartPlace_mc._x = BallArr[M]._x + 60;
Mflag = 0;
i = 0;
while (i <= 2) {
if (i != B) {
if (BallArr[i].hitTest(StartPlace_mc)) {
M = i;
Mflag++;
}
}
i++;
}
if (Mflag > 0) {
StartPlace_mc._x = BallArr[M]._x + 60;
}
}
K[B] = 8;
}
if (K[B] == 8) {
BallArr[B]._x = BallArr[B]._x - 6;
if (BallArr[B]._x <= StartPlace_mc._x) {
BallArr[B]._x = StartPlace_mc._x;
BallArr[B]._y = StartPlace_mc._y;
ballFlag[B] = true;
wtG = 0;
goalBall[m] = false;
StartPlace_mc._x = StartX;
StartPlace_mc._y = StartY;
K[B] = 0;
ballOutCnt--;
if (ballOutCnt == 0) {
}
}
}
}
}
var m = 0;
while (m <= 2) {
if (goalBall[m]) {
goalprocedure(m);
}
m++;
}
};
timer_mc.onEnterFrame = function () {
var _local1;
_local1 = 0;
while (_local1 <= 2) {
if (wtTc[_local1] > 0) {
wtTc[_local1]++;
}
if (wtTc[_local1] > 5) {
wtTc[_local1] = 0;
}
_local1++;
}
if (wt > 0) {
wt++;
if (wt > 40) {
wt = 0;
lev = goalcnt;
if (goalcnt >= 21) {
if (rewardFlag == 0) {
reward1_mc._visible = true;
Victory_mc.gotoAndPlay(2);
rewardFlag = 1;
}
}
if (winFlag) {
if (goalcnt > highscore) {
highscore = goalcnt;
highscore_txt.text = highscore;
}
}
}
}
};
girlChange_mc.onEnterFrame = function () {
if (girlChangeFlag) {
girlArr[lev - 1]._alpha = girlArr[lev - 1]._alpha - 2;
girlArr[lev]._alpha = girlArr[lev]._alpha + 2;
if (girlArr[lev]._alpha >= 100) {
girlArr[lev - 1]._visible = false;
girlArr[lev - 1]._alpha = 100;
girlArr[lev]._alpha = 100;
girlChangeFlag = false;
}
}
};
field_btn.onRelease = function () {
if (!winFlag) {
if (aimFlag) {
Kiy_mc.gotoAndPlay("kiypush");
MouseX = _root._xmouse;
MouseY = _root._ymouse;
if (MouseX > BallWhite_mc._x) {
AlRad = Math.atan((MouseY - BallWhite_mc._y) / (MouseX - BallWhite_mc._x));
} else {
AlRad = Math.atan((MouseY - BallWhite_mc._y) / (MouseX - BallWhite_mc._x)) - Math.PI;
}
dirAngle[0] = (AlRad * 90) / 1.57;
}
}
};
Kiy_mc.onEnterFrame = function () {
var _local4;
_local4 = false;
if (ballOutCnt == 0) {
var _local3 = 0;
while (_local3 <= 2) {
if (Incr[_local3] > 0) {
_local4 = true;
}
_local3++;
}
if (!_local4) {
aimFlag = true;
}
}
if (aimFlag) {
this._visible = true;
this._x = BallWhite_mc._x;
this._y = BallWhite_mc._y;
MouseX = _root._xmouse;
MouseY = _root._ymouse;
if (MouseX > BallWhite_mc._x) {
AlRad = Math.atan((MouseY - BallWhite_mc._y) / (MouseX - BallWhite_mc._x));
} else {
AlRad = Math.atan((MouseY - BallWhite_mc._y) / (MouseX - BallWhite_mc._x)) - Math.PI;
}
if (this._currentframe == 1) {
this._rotation = (AlRad * 90) / 1.57;
}
}
if (this._currentframe == 7) {
CueSound_mc.gotoAndPlay(2);
}
if (this._currentframe == 8) {
Incr[0] = IncrInit;
incr_x[0] = Math.cos(dirAngle[0] / 57.32) * Incr[0];
incr_y[0] = Math.sin(dirAngle[0] / 57.32) * Incr[0];
aimFlag = false;
Touch = false;
this._visible = false;
}
};
Hide_btn.onRelease = function () {
i = 0;
while (i <= 2) {
if (kasArr[i]._visible) {
kasArr[i]._visible = false;
} else {
kasArr[i]._visible = true;
}
i++;
}
};
Restart_btn.onRelease = function () {
var _local1 = 0;
while (_local1 <= 2) {
incr_x[_local1] = 0;
incr_y[_local1] = 0;
Incr[_local1] = 0;
BallArr[_local1]._x = init_x[_local1];
BallArr[_local1]._y = init_y[_local1];
_local1++;
}
};
END_btn.onRelease = function () {
gotoAndPlay ("endinit");
};
Help_btn.onRelease = function () {
if (!help_mc._visible) {
help_mc._visible = true;
} else {
help_mc._visible = false;
}
};
help_mc.onRelease = function () {
this._visible = false;
};
playMore_btn.onRelease = function () {
gotoAndPlay ("initNext");
};
var levOld = 0;
var levCng = false;
var memY = levelUp_mc.level_txt._y;
var Licr = 2;
levelUp_mc.onEnterFrame = function () {
if (levOld != lev) {
this.levelN_txt.text = lev;
levCng = true;
if (lev > levOld) {
Licr = 2;
} else {
Licr = -2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (levCng) {
this.level_txt._y = this.level_txt._y - Licr;
this.levelN_txt._y = this.levelN_txt._y - Licr;
if (Licr > 0) {
if (this.levelN_txt._y <= memY) {
this.level_txt.text = lev;
this.level_txt._y = memY;
this.levelN_txt._y = this.level_txt._y + 30;
levCng = false;
levOld = lev;
}
} else if (this.levelN_txt._y >= memY) {
this.level_txt.text = lev;
this.level_txt._y = memY;
this.levelN_txt._y = this.level_txt._y + 30;
levCng = false;
levOld = lev;
}
}
};
var sT = 0;
time_mc.onEnterFrame = function () {
if (Minutes < 6) {
cc++;
}
if (cc >= 25) {
cc = 0;
Seconds++;
sT++;
if (Seconds >= 60) {
Seconds = 0;
Minutes++;
if (Minutes >= 6) {
winFlag = true;
alarm_mc.play();
gameOver_mc.play();
playMore_btn._visible = true;
if (goalcnt > highscore) {
highscore = goalcnt;
highscore_txt.text = highscore;
}
}
}
displaytime();
}
if (GIRLSHOW) {
GIRLSHOW = false;
j = 1;
while (j <= (oC - 1)) {
if (OrderArr[j].hitTest(_root._xmouse, _root._ymouse, true)) {
gs = j;
}
j++;
}
j = 1;
while (j <= girlqnt) {
girlsArr[j]._visible = false;
j++;
}
if (gs <= girlqnt) {
girlsArr[gs]._visible = true;
gcc = 1;
}
}
if (gcc > 0) {
gcc++;
if (gcc >= 50) {
gcc = 0;
j = 1;
while (j <= girlqnt) {
girlsArr[j]._visible = false;
j++;
}
}
}
};
reward1_mc.onEnterFrame = function () {
if (rewardFlag == 1) {
if (this._xscale < 100) {
this._xscale = this._xscale + 4;
this._yscale = this._xscale;
this._y = this._y + 8;
} else {
this._xscale = 100;
this._yscale = this._xscale;
Ordincr = ((OrderArr[oC - 1]._x - 54) - this._x) / 25;
rewardFlag = 2;
}
}
if (rewardFlag == 2) {
if (this._xscale > 16) {
this._xscale = this._xscale - 4;
this._yscale = this._xscale;
this._y = this._y - 8;
this._x = this._x + Ordincr;
} else {
this._xscale = 16;
this._yscale = this._xscale;
rewardFlag = 3;
}
}
if (rewardFlag == 3) {
if (this._x < (OrderArr[oC - 1]._x - 54)) {
this._y = this._y - 1.5;
this._x = this._x + (Ordincr / 6);
} else {
this._x = OrderArr[oC - 1]._x;
this._y = 100;
OrderArr[oC] = orderSm_mc.duplicateMovieClip("ord" + oC, oC + 1);
OrderArr[oC]._visible = true;
OrderArr[oC]._x = OrderArr[oC - 1]._x - 54;
oC++;
this._visible = false;
rewardFlag = 4;
}
}
};
Instance of Symbol 232 MovieClip "orderSm_mc" in Frame 12
on (rollOver) {
this._xscale = 105;
this._yscale = this._xscale;
}
on (rollOut) {
this._xscale = 100;
this._yscale = this._xscale;
}
on (release) {
_root.GIRLSHOW = true;
}
Instance of Symbol 239 MovieClip "aim_mc" in Frame 12
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
}
Frame 13
Mouse.show();
aimUp_mc.removeMovieClip();
stop();
playMore_btn.onRelease = function () {
j = 1;
while (j <= oC) {
OrderArr[j].removeMovieClip();
j++;
}
gotoAndPlay ("introinit");
};
Symbol 23 Button
on (release) {
getURL ("http://www.pornstripgames.com/");
}
Symbol 28 Button
on (release) {
getURL ("http://www.pornstripgames.com/");
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 27
gotoAndStop (1);
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 20
gotoAndStop (1);
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 9
gotoAndStop ("Kiyfix");
Symbol 232 MovieClip Frame 23
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 50
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 5
gotoAndStop (1);
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 8
gotoAndStop (1);
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 10
gotoAndStop (1);
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 47
gotoAndStop (1);