Frame 1
var introflag = true;
var highscore1 = 0;
var highscore2 = 0;
var Differscr = -100;
var NewDiffer = 0;
var gamecnt = 0;
var YouComp12 = true;
var LEVEL = 1;
var Surrend = 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 4
Mouse.show();
Surrend = true;
Rules_mc._visible = false;
Frame 6
if (introflag) {
gotoAndPlay ("introcyc");
}
Play_btn.onRelease = function () {
introflag = false;
};
Rules_btn.onRelease = function () {
if (!Rules_mc._visible) {
Rules_mc._visible = true;
Story_mc._visible = false;
} else {
Rules_mc._visible = false;
}
};
Frame 16
Mouse.show();
stop();
Demo_btn.onRelease = function () {
gotoAndPlay ("demostart");
};
YouFirst_btn.onRelease = function () {
YouComp12 = true;
play();
};
CompFirst_btn.onRelease = function () {
YouComp12 = false;
play();
};
levelUp2_mc.setMask(levMask2_mc);
levelUp1_mc.setMask(levMask1_mc);
levelUp3_mc.setMask(levMask3_mc);
var lev3Old = 0;
var lev3Cng = false;
var mem3Y = levelUp3_mc.level_txt._y;
var Licr3 = 2;
levelUp3_mc.onEnterFrame = function () {
if (lev3Old != LEVEL) {
this.levelN_txt.text = LEVEL;
lev3Cng = true;
if (LEVEL > lev3Old) {
Licr3 = 2;
} else {
Licr3 = -2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (lev3Cng) {
this.level_txt._y = this.level_txt._y - Licr3;
this.levelN_txt._y = this.levelN_txt._y - Licr3;
if (Licr3 > 0) {
if (this.levelN_txt._y <= mem3Y) {
this.level_txt.text = LEVEL;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = LEVEL;
}
} else if (this.levelN_txt._y >= mem3Y) {
this.level_txt.text = LEVEL;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = LEVEL;
}
}
};
Frame 30
gamecnt++;
gotoAndPlay ("mainstart");
Frame 31
function checkBallY(p) {
Mflag = 0;
var _local1 = 0;
while (_local1 <= (ballQ - 1)) {
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 <= (ballQ - 1)) {
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);
}
var GameTime = 5;
var time = 0;
var limit = (GameTime * 60);
var sT = 0;
var OldDiffer;
var secstr;
var minstr;
var KiyTurn = false;
var KiyClock = true;
var wtK = 0;
var PizdFlag = false;
var ToPizdFlag = true;
var Napr = new Array();
var Nr = 1;
var SmallerAngle = 180;
var GA = 0;
var angPodstav;
var NewDirAngle;
var YouDirAngle;
var CompPlay = false;
var Kas = new Array();
var KasY = new Array();
var ChkHol = new Array();
var BallToAim = new Array();
var BallToShoot = new Array();
var Angles = new Array();
var AngHoles = new Array();
var DBF = new Array();
var HoleOK = new Array();
var HoleOK2 = new Array();
var AngHoles2 = new Array();
var BallFree = false;
var PlayYou = false;
var WasGoal = false;
var chkYouComp = 0;
var ballQ = 7;
var freeOK = false;
var STx = new Array();
var STy = new Array();
var StDx = 50;
var StDy = 50;
var LS = new Array(0, 0, 0, 0, 0, 0, 0);
var u;
var v;
var k;
var kM;
var DB = 35;
var cc = 0;
var Seconds = 0;
var Minutes = 0;
var Timelim = 360;
var winFlag = false;
var incr_x = new Array(0, 0, 0, 0, 0, 0, 0);
var incr_y = new Array(0, 0, 0, 0, 0, 0, 0);
var lev1 = 0;
var lev2 = 0;
var Incr = new Array(0, 0, 0, 0, 0, 0);
var DrebBord = new Array(0, 0, 0, 0, 0, 0);
var DrebCnt = new Array(0, 0, 0, 0, 0, 0);
var ballFlag = new Array(true, true, true, true, true, true, true);
var BallArr = new Array();
var HoleArr = new Array();
var dirAngle = new Array(0, 0, 0, 0, 0, 0, 0);
var goalBall = new Array(false, false, false, false, false, false, false);
var init_x = new Array(8);
var init_y = new Array(8);
var K = new Array(0, 0, 0, 0, 0, 0, 0);
var alfarad = 0;
var alfa = 0;
var Beta = 0;
var Gamma;
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, 0, 0, 0);
var wt = 0;
var wtG = new Array(8);
var i;
var j;
var q;
var p;
var Ho = new Array(0, 0, 0, 0, 0, 0, 0);
var H = 0;
var B = 0;
var M;
var Mflag;
var aimFlag = false;
var Touch = false;
var StartX = new Array();
var StartY = new Array();
StartX[1] = StartPlace1_mc._x;
StartY[1] = StartPlace1_mc._y - 30;
StartX[2] = StartPlace_mc._x;
StartY[2] = StartPlace_mc._y - 30;
var inFlag = new Array(false, false, false, false, false, false, false);
var goalflag = 0;
var goalcnt1 = 0;
var goalcnt2 = 0;
var ballOut = false;
var ballOutCnt = 0;
var goalPlace_X = new Array();
var goalPlace_Y = new Array();
goalPlace_X[1] = holeOut1_mc._x;
goalPlace_Y[1] = holeOut1_mc._y;
goalPlace_X[2] = holeOut_mc._x;
goalPlace_Y[2] = holeOut_mc._y;
var PL = 1;
var SfX = new Array(0, 6, -6);
var Sf = new Array(0, 1, -1);
var DX;
var DY;
var iX = new Array(8, 8, 8, 8, 8, 8, 8);
var iY = new Array(8, 8, 8, 8, 8, 8, 8);
var IncrMx = new Array(0, 0, 0, 0, 0, 0, 0);
var IncrMy = new Array(0, 0, 0, 0, 0, 0, 0);
var LuzSndFlag = true;
var girlChangeFlag = false;
var CCos;
var SSin;
var IncrW;
var IncrW2;
var Xm = new Array();
var Ym = new Array();
var touch = new Array(false, false, false, false, false, false, false);
var razbros;
var ShePlayFirst = false;
var YouCompBlink = false;
BallArr[0] = BallWhite_mc;
BallArr[1] = BallRed1_mc;
BallArr[2] = BallRed2_mc;
BallArr[3] = BallRed3_mc;
BallArr[4] = BallRed4_mc;
BallArr[5] = BallRed5_mc;
BallArr[6] = BallRed6_mc;
HoleArr[1] = hole1_mc;
HoleArr[2] = hole2_mc;
HoleArr[3] = hole3_mc;
HoleArr[4] = hole4_mc;
HoleArr[5] = hole5_mc;
HoleArr[6] = hole6_mc;
i = 0;
while (i <= (ballQ - 1)) {
init_x[i] = BallArr[i]._x;
init_y[i] = BallArr[i]._y;
wtG[i] = 0;
i++;
}
var Girl1 = new Array(8);
Girl1[1] = Mon1;
Girl1[2] = Mon2;
Girl1[3] = Mon3;
Girl1[4] = Mon4;
Girl1[5] = Mon8;
Girl1[6] = Mon5;
Girl1[7] = Mon6;
Girl1[8] = Mon7;
var Face1 = new Array(8);
Face1[1] = Mf1;
Face1[2] = Mf2;
Face1[3] = Mf3;
Face1[4] = Mf4;
Face1[5] = Mf8;
Face1[6] = Mf5;
Face1[7] = Mf6;
Face1[8] = Mf7;
var girlQnt = 8;
var chngFlag = false;
var gNMem = 1;
var wch = 0;
var NextOff = false;
i = 1;
while (i <= girlQnt) {
Girl1[i]._visible = false;
Face1[i]._visible = false;
i++;
}
Girl1[LEVEL]._visible = false;
Face1[LEVEL]._visible = true;
levelUp2_mc.setMask(levMask2_mc);
levelUp1_mc.setMask(levMask1_mc);
levelUp3_mc.setMask(levMask3_mc);
playMore_btn._visible = false;
MorePlay_btn._visible = false;
help_mc._visible = false;
Show_btn._visible = true;
Hide_btn._visible = false;
duplicateMovieClip (Kiy01_mc, "Kiy_mc", 201);
duplicateMovieClip (Kiy02_mc, "Kiy2_mc", 202);
Kiy01_mc._visible = false;
Kiy02_mc._visible = false;
Kiy2_mc._visible = false;
if (YouComp12) {
PlayYou = false;
} else {
PlayYou = true;
Kiy_mc._visible = false;
ShePlayFirst = true;
}
LuzaSound_mc.gotoAndStop("lusastop");
BallSound_mc.gotoAndStop("stopSound");
YouPlayBan_mc._visible = false;
CompPlayBan_mc._visible = false;
highscoreComp_txt.text = highscore1;
highscore_txt.text = highscore2;
gamecnt_txt.text = gamecnt;
aimFlag = true;
var OldIncr = new Array();
var BallScrd1 = new Array(15);
var BallScrd2 = new Array(15);
var BallsInGame = ballQ;
var EndBalls = false;
var WaitLastBall = false;
var WBQnt = 0;
var WBarr = new Array(15);
var wtDL = new Array(8);
var BSQ1 = 0;
var BSQ2 = 0;
var WhoWin = 0;
var SurD = 1;
var SurDY = 0;
stop();
BallsLogic_mc.onEnterFrame = function () {
function aftertouch(u, v) {
var _local5;
var _local7;
var _local8;
var _local6;
var _local4;
var _local3;
if (BallArr[v].hitTest(BallArr[u]._x, BallArr[u]._y, true)) {
AlfaCalc(v, u);
_local7 = Math.abs(BallArr[u]._x - BallArr[v]._x);
_local8 = Math.abs(BallArr[u]._y - BallArr[v]._y);
_local6 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
_local5 = DB - _local6;
if (_local6 < DB) {
_local5 = DB - _local6;
_local4 = _local5 * Math.cos(alfa / 57.32);
_local3 = _local5 * Math.sin(alfa / 57.32);
_local4 = Math.abs(_local4) / 2;
_local3 = Math.abs(_local3) / 2;
if (BallArr[u]._x < BallArr[v]._x) {
BallArr[u]._x = BallArr[u]._x - _local4;
BallArr[v]._x = BallArr[v]._x + _local4;
} else {
BallArr[u]._x = BallArr[u]._x + _local4;
BallArr[v]._x = BallArr[v]._x - _local4;
}
if (BallArr[u]._y < BallArr[v]._y) {
BallArr[u]._y = BallArr[u]._y - _local3;
BallArr[v]._y = BallArr[v]._y + _local3;
} else {
BallArr[u]._y = BallArr[u]._y + _local3;
BallArr[v]._y = BallArr[v]._y - _local3;
}
}
}
}
function detouch(w, ww) {
touch[w] = false;
touch_mc._x = Xm[w];
touch_mc._y = Ym[w];
k = 0;
while (k <= (Incr[w] * 2)) {
if (!touch[w]) {
if (BallArr[ww].hitTest(touch_mc._x, touch_mc._y, true)) {
touch[w] = true;
BallArr[w]._x = touch_mc._x;
BallArr[w]._y = touch_mc._y;
kM = k;
}
touch_mc._x = touch_mc._x + Math.cos(dirAngle[w] / 57.32);
touch_mc._y = touch_mc._y + Math.sin(dirAngle[w] / 57.32);
}
k++;
}
}
function AlfaCalc(n1, n2) {
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;
alfa = AngleTo360(alfa);
}
function AngleTo360(ang) {
dirAn_mc._rotation = ang;
ang = dirAn_mc._rotation;
return(ang);
}
function BB(n1, n2) {
var _local4;
var _local3;
var _local6;
var _local5;
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];
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;
}
Beta = (alfa + 180) + Gamma;
OldDir = dirAngle[n1];
Omega = Beta - dirAngle[n1];
dirAngle[n1] = Beta;
dirAngle[n1] = AngleTo360(dirAngle[n1]);
IncrW = Incr[n1];
IncrW2 = Incr[n2];
CCos = Math.cos((Omega / 2) / 57.32);
SSin = Math.sin((Omega / 2) / 57.32);
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;
dirAngle[n2] = AngleTo360(dirAngle[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];
MacMac_mc._x = BallArr[n1]._x + (Math.cos(dirAngle[n1] / 57.32) * 34);
MacMac_mc._y = BallArr[n1]._y + (Math.sin(dirAngle[n1] / 57.32) * 34);
if (MacMac_mc.hitTest(BallArr[n2].body_mc)) {
}
MacMac_mc._x = BallArr[n2]._x + (Math.cos(dirAngle[n2] / 57.32) * 34);
MacMac_mc._y = BallArr[n2]._y + (Math.sin(dirAngle[n2] / 57.32) * 34);
if (MacMac_mc.hitTest(BallArr[n1].body_mc)) {
dirAngle[n2] = AngleTo360(dirAngle[n2] + 180);
}
}
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;
}
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 _local16;
var _local1;
i = 0;
while (i <= (ballQ - 1)) {
if (ballFlag[i]) {
Xm[i] = BallArr[i]._x;
Ym[i] = BallArr[i]._y;
OldIncr[i] = Incr[i];
BallArr[i]._x = BallArr[i]._x + incr_x[i];
BallArr[i]._y = BallArr[i]._y + incr_y[i];
_local1 = 1;
while (_local1 <= 6) {
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 (PlayYou) {
PL = 2;
} else {
PL = 1;
}
if (Touch) {
if (PlayYou) {
goalcnt2++;
} else {
goalcnt1++;
}
WasGoal = true;
if (i != 0) {
BallsInGame--;
if (BallsInGame <= 1) {
EndBalls = true;
}
}
}
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++;
}
u = 0;
while (u <= (ballQ - 1)) {
if (ballFlag[u]) {
v = 0;
while (v <= (ballQ - 1)) {
if (u != v) {
if (OldIncr[u] > 0) {
if (OldIncr[u] > OldIncr[v]) {
if (BallArr[v].hitTest(BallArr[u]._x, BallArr[u]._y, true)) {
detouch(u, v);
if (kM != 0) {
BB(u, v);
BallArr[u]._x = BallArr[u]._x + incr_x[u];
BallArr[u]._y = BallArr[u]._y + incr_y[u];
} else {
BallArr[u]._x = BallArr[u]._x + incr_x[u];
BallArr[u]._y = BallArr[u]._y + incr_y[u];
}
aftertouch(u, v);
Touch = true;
}
}
}
}
v++;
}
}
u++;
}
q = 0;
while (q <= (ballQ - 1)) {
if (ballFlag[q]) {
p = 0;
while (p <= (ballQ - 1)) {
if (q != p) {
if (BallArr[p].hitTest(BallArr[q]._x, BallArr[q]._y, true)) {
aftertouch(q, p);
}
}
p++;
}
}
q++;
}
i = 0;
while (i <= (ballQ - 1)) {
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 <= (ballQ - 1)) {
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 / 5;
iY[B] = DY / 5;
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;
K[B] = 1;
} else {
BallArr[B]._x = BallArr[B]._x + iX[B];
BallArr[B]._y = BallArr[B]._y + iY[B];
}
}
if (K[B] == 1) {
LS[B]++;
BallArr[B]._xscale = BallArr[B]._xscale - 0.75;
BallArr[B]._yscale = BallArr[B]._xscale;
BallArr[B]._alpha = BallArr[B]._alpha - 1;
if (LS[B] == 10) {
if (Touch) {
LuzaSound_mc.gotoAndPlay(2);
}
}
if (BallArr[B]._xscale < 75) {
BallArr[B]._visible = false;
FaceClip._visible = flase;
BallArr[B]._x = goalPlace_X[PL];
BallArr[B]._y = goalPlace_Y[PL];
wtG[B] = 0;
wtDL[B] = 40;
i = 0;
while (i <= (ballQ - 1)) {
if (wtG[i] > 0) {
wtDL[B] = wtDL[B] + 40;
}
i++;
}
wtG[B]++;
K[B] = 2;
LS[B] = 0;
freePlace = false;
StartPlace_mc._x = StartX[PL];
StartPlace_mc._y = StartY[PL];
}
}
if (K[B] == 2) {
wtG[B]++;
if (wtG[B] >= wtDL[B]) {
K[B] = 3;
}
}
if (K[B] == 3) {
BallArr[B]._visible = true;
K[B] = 4;
}
if (K[B] == 4) {
BallArr[B]._xscale = BallArr[B]._xscale + 0.75;
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) {
if (BallArr[B]._y < StartY[PL]) {
BallArr[B]._y = BallArr[B]._y + 4;
} else {
BallArr[B]._y = StartY[PL];
if (PL == 1) {
BSQ1++;
BallScrd1[BSQ1] = BallArr[B];
} else {
BSQ2++;
BallScrd2[BSQ2] = BallArr[B];
}
K[B] = 6;
freePlace = false;
}
}
if (K[B] == 6) {
if (PL == 1) {
i = 1;
while (i <= BSQ1) {
if (BallScrd1[BSQ1]._y < (StartY[1] + 34)) {
BallScrd1[i]._y = BallScrd1[i]._y + 4;
} else {
K[B] = 7;
}
i++;
}
} else {
i = 1;
while (i <= BSQ2) {
if (BallScrd2[BSQ2]._y < (StartY[1] + 34)) {
BallScrd2[i]._y = BallScrd2[i]._y + 4;
} else {
K[B] = 7;
}
i++;
}
}
}
if (K[B] == 7) {
if (B == 0) {
ballFlag[B] = true;
WBQnt++;
StartPlace_mc._y = BallArr[B]._y;
StartPlace_mc._x = BallArr[B]._x + (100 * Sf[PL]);
if (Touch) {
WBarr[WBQnt] = BallArr[B].duplicateMovieClip("WB" + WBQnt, 100 + WBQnt);
if (PL == 1) {
BallScrd1[BSQ1] = WBarr[WBQnt];
} else {
BallScrd2[BSQ2] = WBarr[WBQnt];
}
} else if (PL == 1) {
BSQ1--;
} else {
BSQ2--;
}
K[B] = 8;
} else {
K[B] = 9;
}
}
if (K[B] == 8) {
BallArr[B]._x = BallArr[B]._x + SfX[PL];
if (PL == 1) {
if (BallArr[B]._x > StartPlace_mc._x) {
BallArr[B]._x = StartPlace_mc._x;
K[B] = 9;
}
} else if (BallArr[B]._x < StartPlace_mc._x) {
BallArr[B]._x = StartPlace_mc._x;
K[B] = 9;
}
}
if (K[B] == 9) {
wtG[B] = 0;
goalBall[B] = false;
ballOutCnt--;
if (ballOutCnt == 0) {
aimFlag = true;
}
i = 0;
while (i <= (ballQ - 1)) {
if (i != B) {
if (ballFlag[i]) {
aftertouch(B, i);
}
}
i++;
}
K[B] = 0;
}
}
var _local2 = 0;
while (_local2 <= (ballQ - 1)) {
if (goalBall[_local2]) {
goalprocedure(_local2);
}
_local2++;
}
};
var lev1Old = 0;
var lev1Cng = false;
var mem1Y = levelUp1_mc.level_txt._y;
var Licr1 = 2;
levelUp1_mc.onEnterFrame = function () {
if (lev1Old != lev1) {
this.levelN_txt.text = lev1;
lev1Cng = true;
if (lev1 > lev1Old) {
Licr1 = 2;
} else {
Licr1 = -2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (lev1Cng) {
this.level_txt._y = this.level_txt._y - Licr1;
this.levelN_txt._y = this.levelN_txt._y - Licr1;
if (Licr1 > 0) {
if (this.levelN_txt._y <= mem1Y) {
this.level_txt.text = lev1;
this.level_txt._y = mem1Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev1Cng = false;
lev1Old = lev1;
}
} else if (this.levelN_txt._y >= mem1Y) {
this.level_txt.text = lev1;
this.level_txt._y = mem1Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev1Cng = false;
lev1Old = lev2;
}
}
};
var levOld = 0;
var levCng = false;
var memY = levelUp2_mc.level_txt._y;
var Licr = 2;
levelUp2_mc.onEnterFrame = function () {
if (levOld != lev2) {
this.levelN_txt.text = lev2;
levCng = true;
if (lev2 > 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 = lev2;
this.level_txt._y = memY;
this.levelN_txt._y = this.level_txt._y + 30;
levCng = false;
levOld = lev2;
}
} else if (this.levelN_txt._y >= memY) {
this.level_txt.text = lev2;
this.level_txt._y = memY;
this.levelN_txt._y = this.level_txt._y + 30;
levCng = false;
levOld = lev2;
}
}
};
var lev3Old = 0;
var lev3Cng = false;
var mem3Y = levelUp3_mc.level_txt._y;
var Licr3 = 2;
levelUp3_mc.onEnterFrame = function () {
if (lev3Old != LEVEL) {
this.levelN_txt.text = LEVEL;
lev3Cng = true;
if (LEVEL > lev3Old) {
Licr3 = 2;
} else {
Licr3 = -2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (lev3Cng) {
this.level_txt._y = this.level_txt._y - Licr3;
this.levelN_txt._y = this.levelN_txt._y - Licr3;
if (Licr3 > 0) {
if (this.levelN_txt._y <= mem3Y) {
this.level_txt.text = LEVEL;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = LEVEL;
}
} else if (this.levelN_txt._y >= mem3Y) {
this.level_txt.text = LEVEL;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = LEVEL;
}
}
};
timer_mc.onEnterFrame = function () {
var _local1;
if (wt > 0) {
wt++;
if (wt > 40) {
wt = 0;
if (PlayYou) {
lev2 = goalcnt2;
} else {
lev1 = goalcnt1;
}
if (EndBalls) {
WaitLastBall = true;
alarm_mc.play();
}
}
}
if (WaitLastBall) {
if (Incr[0] > 0) {
} else if (!goalBall[0]) {
WaitLastBall = false;
winFlag = true;
aim_mc._alpha = 100;
playMore_btn._visible = true;
YouPlayBan_mc._visible = false;
CompPlayBan_mc._visible = false;
NewDiffer = goalcnt2 - goalcnt1;
OldDiffer = Differscr;
if (NewDiffer > Differscr) {
Differscr = NewDiffer;
highscore1 = goalcnt1;
highscore2 = goalcnt2;
}
highscoreComp_txt.text = highscore1;
highscore_txt.text = highscore2;
if (goalcnt1 == goalcnt2) {
WhoWin = 0;
} else {
gNMem = LEVEL;
if (goalcnt1 > goalcnt2) {
WhoWin = 1;
if (LEVEL > 1) {
LEVEL--;
}
CompWin_mc.play();
} else {
WhoWin = 2;
if (LEVEL < 8) {
LEVEL++;
if (LEVEL >= 4) {
Surrend = false;
}
}
if (LEVEL >= 8) {
YouWinGame_mc.play();
playMore_btn._visible = false;
MorePlay_btn._visible = true;
} else {
YouWin_mc.play();
playMore_btn._visible = true;
}
}
chngFlag = true;
wch++;
}
}
}
};
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;
}
YouDirAngle = (AlRad * 90) / 1.57;
dirAngle[0] = YouDirAngle;
}
}
};
Kiy_mc.onEnterFrame = function () {
var _local3;
_local3 = false;
if (ballOutCnt == 0) {
i = 0;
while (i <= (ballQ - 1)) {
if (Incr[i] > 0) {
_local3 = true;
}
i++;
}
if (!_local3) {
if (chkYouComp == 0) {
ToPizdFlag = false;
YouCompBlink = true;
chkYouComp = 1;
}
}
}
if (chkYouComp == 1) {
if (!WasGoal) {
PlayYou = !PlayYou;
chkYouComp = 2;
}
if (!PlayYou) {
PizdFlag = true;
} else {
aimFlag = true;
}
}
if (PlayYou) {
if (aimFlag) {
if (!winFlag) {
this._visible = true;
}
this._x = BallWhite_mc._x;
this._y = BallWhite_mc._y;
var _local4;
MouseX = _root._xmouse;
MouseY = _root._ymouse;
if (MouseX > BallWhite_mc._x) {
_local4 = Math.atan((MouseY - BallWhite_mc._y) / (MouseX - BallWhite_mc._x));
} else {
_local4 = Math.atan((MouseY - BallWhite_mc._y) / (MouseX - BallWhite_mc._x)) - Math.PI;
}
if (this._currentframe == 1) {
this._rotation = (_local4 * 90) / 1.57;
}
}
}
if (this._currentframe == 7) {
CueSound_mc.gotoAndPlay(2);
}
if (this._currentframe == 8) {
Incr[0] = 16;
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;
WasGoal = false;
chkYouComp = 0;
}
};
PlaySeqnc_mc.onEnterFrame = function () {
var _local1;
var _local3;
var _local2;
var _local4;
var _local10;
var _local11;
var _local7;
var _local5;
var _local14;
var _local15;
var _local12;
var _local8;
var _local6;
var _local9;
var _local13;
if (PlayYou) {
aim_mc._alpha = 100;
if (!winFlag) {
YouPlayBan_mc._visible = true;
}
if (YouCompBlink) {
YouPlayBan_mc.play();
YouCompBlink = false;
}
CompPlayBan_mc._visible = false;
} else {
YouPlayBan_mc._visible = false;
if (!winFlag) {
CompPlayBan_mc._visible = true;
aim_mc._alpha = 20;
}
if (YouCompBlink) {
CompPlayBan_mc.play();
YouCompBlink = false;
}
}
if (PizdFlag && (!ToPizdFlag)) {
if (!PlayYou) {
PizdFlag = false;
ToPizdFlag = true;
CheckDir1_mc._x = BallWhite_mc._x;
CheckDir1_mc._y = BallWhite_mc._y;
_local1 = 1;
while (_local1 <= (ballQ - 1)) {
BallToAim[_local1] = true;
BallToShoot[_local1] = false;
HoleOK[_local1] = 0;
_local10 = Math.abs(BallWhite_mc._x - BallArr[_local1]._x);
_local11 = Math.abs(BallWhite_mc._y - BallArr[_local1]._y);
DBF[_local1] = Math.sqrt((_local10 * _local10) + (_local11 * _local11));
_local1++;
}
_local1 = 1;
while (_local1 <= (ballQ - 1)) {
if (BallArr[_local1]._x < BallWhite_mc._x) {
_local7 = Math.atan((BallArr[_local1]._y - BallArr[0]._y) / (BallArr[_local1]._x - BallArr[0]._x));
} else {
_local7 = Math.atan((BallArr[_local1]._y - BallArr[0]._y) / (BallArr[_local1]._x - BallArr[0]._x)) - Math.PI;
}
_local5 = ((_local7 * 90) / 1.57) + 180;
CheckDir1_mc._rotation = _local5;
Angles[_local1] = _local5;
Napr[_local1] = CheckDir1_mc.duplicateMovieClip("Nap" + _local1, 800 + _local1);
_local3 = 1;
while (_local3 <= (ballQ - 1)) {
if (_local3 != _local1) {
bemp2_mc._x = BallArr[_local3]._x;
bemp2_mc._y = BallArr[_local3]._y;
if (Napr[_local1].hitTest(bemp2_mc._x, bemp2_mc._y, true)) {
if (DBF[_local1] > DBF[_local3]) {
BallToAim[_local1] = false;
}
}
}
_local3++;
}
_local1++;
}
_local13 = 0;
_local3 = 1;
while (_local3 <= (ballQ - 1)) {
if (BallToAim[_local3]) {
_local13++;
}
Napr[_local3].removeMovieClip();
_local3++;
}
_local12 = 0;
if (_local13 > 0) {
_local1 = 1;
while (_local1 <= (ballQ - 1)) {
if (BallToAim[_local1]) {
Sector_mc._x = BallArr[_local1]._x;
Sector_mc._y = BallArr[_local1]._y;
Sector_mc._rotation = Angles[_local1];
Napr[_local1] = Sector_mc.duplicateMovieClip("Nap" + _local1, 800 + _local1);
_local2 = 1;
while (_local2 <= 6) {
if (Napr[_local1].hitTest(HoleArr[_local2]._x, HoleArr[_local2]._y, true)) {
if (HoleArr[_local2]._x < BallArr[_local1]._x) {
_local7 = Math.atan((HoleArr[_local2]._y - BallArr[_local1]._y) / (HoleArr[_local2]._x - BallArr[_local1]._x));
} else {
_local7 = Math.atan((HoleArr[_local2]._y - BallArr[_local1]._y) / (HoleArr[_local2]._x - BallArr[_local1]._x)) - Math.PI;
}
_local5 = ((_local7 * 90) / 1.57) + 180;
_local8 = false;
_local4 = 1;
while (_local4 <= (ballQ - 1)) {
if (_local4 != _local1) {
CheckDir2_mc._x = BallArr[_local1]._x;
CheckDir2_mc._y = BallArr[_local1]._y;
CheckDir2_mc._rotation = _local5;
ChkHol[_local1] = CheckDir2_mc.duplicateMovieClip("Ch" + _local1, 820 + _local1);
if (ChkHol[_local1].hitTest(BallArr[_local4]._x, BallArr[_local4]._y, true)) {
_local8 = true;
}
}
_local4++;
}
if (!_local8) {
if (!BallToShoot[_local1]) {
HoleOK[_local1] = _local2;
AngHoles[_local1] = _local5;
BallToShoot[_local1] = true;
_local12++;
} else {
_local6 = Math.abs(Angles[_local1] - AngHoles[_local1]);
_local9 = Math.abs(Angles[_local1] - _local5);
if (_local6 > _local9) {
HoleOK[_local1] = _local2;
AngHoles[_local1] = _local5;
}
}
}
}
_local2++;
}
}
_local1++;
}
}
_local3 = 1;
while (_local3 <= (ballQ - 1)) {
if (BallToAim[_local3]) {
Napr[_local3].removeMovieClip();
}
_local3++;
}
SmallerAngle = 180;
if (_local12 > 0) {
_local1 = 1;
while (_local1 <= (ballQ - 1)) {
if (BallToShoot[_local1]) {
if (Angles[_local1] < 0) {
Angles[_local1] = Angles[_local1] + 360;
}
if (AngHoles[_local1] < 0) {
AngHoles[_local1] = AngHoles[_local1] + 360;
}
_local6 = Math.abs(Angles[_local1] - AngHoles[_local1]);
if (_local6 > 360) {
_local6 = _local6 - 360;
}
if (_local6 < SmallerAngle) {
GA = _local1;
SmallerAngle = _local6;
}
}
_local1++;
}
} else {
GA = 0;
_local1 = 1;
while (_local1 <= (ballQ - 1)) {
if (ballFlag[_local1]) {
if (BallToShoot[_local1]) {
GA = _local1;
}
}
_local1++;
}
if (GA == 0) {
_local1 = 1;
while (_local1 <= (ballQ - 1)) {
if (ballFlag[_local1]) {
GA = _local1;
}
_local1++;
}
}
}
if (GA > 0) {
angPodstav = AngHoles[GA] + 180;
if (angPodstav > 360) {
angPodstav = angPodstav - 360;
}
bemp2_mc._x = BallArr[GA]._x + (33.5 * Math.cos(angPodstav / 57.32));
bemp2_mc._y = BallArr[GA]._y + (33.5 * Math.sin(angPodstav / 57.32));
if (bemp2_mc._x > BallArr[0]._x) {
_local7 = Math.atan((bemp2_mc._y - BallArr[0]._y) / (bemp2_mc._x - BallArr[0]._x));
} else {
_local7 = Math.atan((bemp2_mc._y - BallArr[0]._y) / (bemp2_mc._x - BallArr[0]._x)) - Math.PI;
}
_local5 = (_local7 * 90) / 1.57;
Kiy2_mc._x = BallWhite_mc._x;
Kiy2_mc._y = BallWhite_mc._y;
if (!winFlag) {
Kiy2_mc._visible = true;
}
NewDirAngle = _local5;
aimFlag = false;
CompPlay = true;
KiyTurn = true;
if (LEVEL >= 6) {
if (ShePlayFirst) {
NewDirAngle = NewDirAngle + 0.8;
}
}
if (Surrend) {
SurDY = Math.abs(HoleArr[HoleOK[GA]]._y - BallArr[GA]._y);
SurD = Math.abs(SurDY / Math.sin(AngHoles[GA] / 57.32));
if (SurD > 250) {
razbros = randRange(3, 7) / 10;
} else {
razbros = randRange(5, 9) / 10;
}
if (!ShePlayFirst) {
NewDirAngle = NewDirAngle + razbros;
}
}
ShePlayFirst = false;
if (NewDirAngle < -180) {
NewDirAngle = NewDirAngle + 360;
}
if (NewDirAngle > 180) {
NewDirAngle = NewDirAngle - 360;
}
if (Kiy2_mc._rotation < 0) {
Kiy2_mc._rotation = Kiy2_mc._rotation + 360;
}
if (Kiy2_mc._rotation < NewDirAngle) {
KiyClock = true;
} else {
KiyClock = false;
}
}
}
}
};
Kiy2_mc.onEnterFrame = function () {
if (!winFlag) {
if (CompPlay) {
if (KiyTurn) {
if (KiyClock) {
if (Kiy2_mc._rotation < NewDirAngle) {
Kiy2_mc._rotation = Kiy2_mc._rotation + 4;
}
} else if (Kiy2_mc._rotation > NewDirAngle) {
Kiy2_mc._rotation = Kiy2_mc._rotation - 4;
if (Kiy2_mc._rotation < 0) {
Kiy2_mc._rotation = Kiy2_mc._rotation + 360;
}
}
if (Math.abs(NewDirAngle - Kiy2_mc._rotation) < 6) {
Kiy2_mc._rotation = NewDirAngle;
KiyTurn = false;
wtK++;
}
}
if (wtK > 0) {
wtK++;
if (wtK >= 25) {
wtK = 0;
Kiy2_mc.gotoAndPlay("kiypush");
CompPlay = false;
}
}
}
if (this._currentframe == 7) {
CueSound_mc.gotoAndPlay(2);
}
if (this._currentframe == 8) {
Incr[0] = 16;
dirAngle[0] = NewDirAngle;
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;
WasGoal = false;
chkYouComp = 0;
}
}
};
END_btn.onRelease = function () {
i = 1;
while (i <= WBQnt) {
WBarr[i].removeMovieClip();
i++;
}
Kiy_mc.removeMovieClip();
Kiy2_mc.removeMovieClip();
if (LEVEL >= 8) {
LEVEL = 1;
}
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 () {
if (WhoWin == 1) {
YouComp12 = false;
}
if (WhoWin == 2) {
YouComp12 = true;
}
NextOff = true;
this._visible = false;
};
MorePlay_btn.onRelease = function () {
i = 1;
while (i <= WBQnt) {
WBarr[i].removeMovieClip();
i++;
}
WhoWin = 0;
Kiy_mc.removeMovieClip();
Kiy2_mc.removeMovieClip();
introflag = true;
LEVEL = 1;
gotoAndPlay ("introPlay");
};
GirlNextPic_mc.onEnterFrame = function () {
if (chngFlag) {
wch++;
if (wch < 3) {
Girl1[gNMem]._alpha = 100;
Girl1[gNMem]._visible = true;
}
if (wch > 25) {
if (!Girl1[LEVEL]._visible) {
Girl1[LEVEL]._visible = true;
Girl1[LEVEL]._alpha = 30;
}
if (Girl1[LEVEL]._alpha < 100) {
Girl1[LEVEL]._alpha = Girl1[LEVEL]._alpha + 2;
Girl1[gNMem]._alpha = Girl1[gNMem]._alpha - 2;
}
if (Girl1[LEVEL]._alpha >= 100) {
Girl1[LEVEL]._alpha = 100;
Girl1[gNMem]._alpha = 0;
Girl1[gNMem]._visible = false;
Face1[gNMem]._visible = false;
Face1[LEVEL]._visible = true;
chngFlag = false;
wch = 0;
}
}
}
if (NextOff) {
i = 1;
while (i <= WBQnt) {
WBarr[i].removeMovieClip();
i++;
}
if (Girl1[LEVEL]._alpha > 30) {
Girl1[LEVEL]._alpha = Girl1[LEVEL]._alpha - 2;
} else {
Girl1[LEVEL]._visible = false;
Girl1[LEVEL]._alpha = 100;
NextOff = false;
gotoAndPlay ("initNext");
}
}
};
Show_btn.onRelease = function () {
Girl1[LEVEL]._visible = true;
Girl1[LEVEL]._alpha = 100;
this._visible = false;
Hide_btn._visible = true;
};
Hide_btn.onRelease = function () {
Girl1[LEVEL]._visible = false;
this._visible = false;
Show_btn._visible = true;
};
Instance of Symbol 268 MovieClip "aim_mc" in Frame 31
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
}
Frame 32
introflag = true;
var Step = 0;
KiyD_mc._visible = false;
YouWant1_mc._visible = false;
Direction_mc._visible = false;
ToHit_mc._visible = false;
BallMove1_mc._visible = false;
BallMove1_mc.stop;
YouAiming_mc._visible = false;
YouAiming_mc.stop;
YouHit_mc._visible = false;
YouHit_mc.stop;
step1_btn._alpha = 40;
step2_btn._alpha = 40;
step3_btn._alpha = 40;
step4_btn._alpha = 40;
step5_btn._alpha = 40;
step6_btn._alpha = 40;
stop();
step1_btn.onRelease = function () {
Step = 1;
ClickStep_mc._visible = false;
ClickStep_mc.stop();
YouWant1_mc._visible = true;
Direction_mc._visible = false;
ToHit_mc._visible = false;
BallMove1_mc._visible = false;
BallMove1_mc.stop;
YouAiming_mc._visible = false;
YouAiming_mc.stop;
YouHit_mc._visible = false;
YouHit_mc.stop;
BallWhite_mc._visible = true;
BallRed_mc._visible = true;
step1_btn._alpha = 100;
step2_btn._alpha = 40;
step3_btn._alpha = 40;
step4_btn._alpha = 40;
step5_btn._alpha = 40;
step6_btn._alpha = 40;
};
step2_btn.onRelease = function () {
Step = 2;
ClickStep_mc._visible = false;
ClickStep_mc.stop();
YouWant1_mc._visible = false;
Direction_mc._visible = true;
ToHit_mc._visible = false;
BallMove1_mc._visible = false;
BallMove1_mc.stop;
YouAiming_mc._visible = false;
YouAiming_mc.stop;
YouHit_mc._visible = false;
YouHit_mc.stop;
BallWhite_mc._visible = true;
BallRed_mc._visible = true;
step1_btn._alpha = 40;
step2_btn._alpha = 100;
step3_btn._alpha = 40;
step4_btn._alpha = 40;
step5_btn._alpha = 40;
step6_btn._alpha = 40;
};
step3_btn.onRelease = function () {
Step = 3;
ClickStep_mc._visible = false;
ClickStep_mc.stop();
YouWant1_mc._visible = false;
Direction_mc._visible = false;
ToHit_mc._visible = true;
BallMove1_mc._visible = false;
BallMove1_mc.stop;
YouAiming_mc._visible = false;
YouAiming_mc.stop;
YouHit_mc._visible = false;
YouHit_mc.stop;
BallWhite_mc._visible = true;
BallRed_mc._visible = true;
step1_btn._alpha = 40;
step2_btn._alpha = 40;
step3_btn._alpha = 100;
step4_btn._alpha = 40;
step5_btn._alpha = 40;
step6_btn._alpha = 40;
};
step4_btn.onRelease = function () {
Step = 4;
ClickStep_mc._visible = false;
ClickStep_mc.stop();
YouWant1_mc._visible = false;
Direction_mc._visible = false;
ToHit_mc._visible = false;
BallMove1_mc._visible = true;
BallMove1_mc.gotoAndPlay(1);
YouAiming_mc._visible = false;
YouAiming_mc.stop;
YouHit_mc._visible = false;
YouHit_mc.stop;
BallWhite_mc._visible = true;
BallRed_mc._visible = true;
step1_btn._alpha = 40;
step2_btn._alpha = 40;
step3_btn._alpha = 40;
step4_btn._alpha = 100;
step5_btn._alpha = 40;
step6_btn._alpha = 40;
};
step5_btn.onRelease = function () {
Step = 5;
ClickStep_mc._visible = false;
ClickStep_mc.stop();
YouWant1_mc._visible = false;
Direction_mc._visible = false;
ToHit_mc._visible = false;
BallMove1_mc._visible = false;
BallMove1_mc.stop;
YouAiming_mc._visible = true;
YouAiming_mc.gotoAndPlay(1);
YouHit_mc._visible = false;
YouHit_mc.stop;
BallWhite_mc._visible = true;
BallRed_mc._visible = true;
step1_btn._alpha = 40;
step2_btn._alpha = 40;
step3_btn._alpha = 40;
step4_btn._alpha = 40;
step5_btn._alpha = 100;
step6_btn._alpha = 40;
};
step6_btn.onRelease = function () {
Step = 6;
ClickStep_mc._visible = false;
ClickStep_mc.stop();
YouWant1_mc._visible = false;
Direction_mc._visible = false;
ToHit_mc._visible = false;
BallMove1_mc._visible = false;
BallMove1_mc.stop;
YouAiming_mc._visible = false;
YouAiming_mc.stop;
YouHit_mc._visible = true;
YouHit_mc.gotoAndPlay(1);
BallWhite_mc._visible = false;
BallRed_mc._visible = false;
step1_btn._alpha = 40;
step2_btn._alpha = 40;
step3_btn._alpha = 40;
step4_btn._alpha = 40;
step5_btn._alpha = 40;
step6_btn._alpha = 100;
};
BackToGame_btn.onRelease = function () {
gotoAndPlay ("introPlay");
};
Frame 33
Mouse.show();
introflag = true;
stop();
playMore_btn.onRelease = function () {
gotoAndPlay ("introPlay");
};
Symbol 36 Button
on (release) {
getURL ("http://www.pornstripgames.com/");
}
Symbol 41 Button
on (release) {
getURL ("http://www.pornstripgames.com/");
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 20
gotoAndStop (1);
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 20
gotoAndStop (1);
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 27
gotoAndStop (1);
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 9
gotoAndStop ("Kiyfix");
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 9
gotoAndStop ("Kiyfix");
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 50
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 50
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 50
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 50
stop();
Symbol 276 MovieClip Frame 1
Symbol 276 MovieClip Frame 8
stop();
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 8
gotoAndStop (1);
Symbol 280 MovieClip Frame 1
Symbol 280 MovieClip Frame 18
stop();
Symbol 335 MovieClip Frame 100
stop();
Symbol 337 MovieClip Frame 105
stop();
Symbol 339 MovieClip Frame 94
stop();