Combined Code
frame 1 {
Mouse.show();
stop();
}
frame 1 {
LoadLine_mc.setMask(LoadMask_mc);
var X_start = LoadMask_mc._x;
var frmsLoaded = 0;
var darkOff = true;
PlayGamcore_btn._visible = false;
GamcoreLink_mc.onRelease = function () {
getURL('http://gamcore.com', '_blank');
};
var cc = 0;
var sec = 0;
var timelim = 50;
var secProc = 0;
LoadLine_mc.onEnterFrame = function () {
++cc;
if (cc >= 5) {
cc = 0;
if (sec < timelim) {
++sec;
secProc = (sec / timelim) * 100;
}
}
frmsLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (frmsLoaded >= secProc) {
LoadMask_mc._x = X_start + 1.45 * secProc;
procLoad_txt.text = 'loading ' + secProc + '%';
if (secProc >= 100) {
PlayGamcore_btn._visible = true;
Dark_mc._visible = false;
}
} else {
LoadMask_mc._x = X_start + 1.45 * frmsLoaded;
procLoad_txt.text = 'loading ' + frmsLoaded + '%';
if (frmsLoaded >= 100) {
PlayGamcore_btn._visible = true;
Dark_mc._visible = false;
}
}
};
PlayGamcore_btn.onRelease = function () {
play();
};
ShadePreload_mc.onEnterFrame = function () {
if (darkOff) {
if (this._alpha > 70) {
--this._alpha;
} else {
darkOff = false;
}
} else {
if (this._alpha < 100) {
++this._alpha;
} else {
darkOff = true;
}
}
};
}
// unknown tag 88 length 104
movieClip 8 {
}
movieClip 11 {
}
// unknown tag 88 length 138
movieClip 16 {
}
instance bannerVirtua_mc of movieClip 16 {
onClipEvent (release) {
getURL('http://c.actiondesk.com/?s=43872&p=26&pp=1', '_blank');
}
}
movieClip 19 {
}
instance of movieClip 19 {
onClipEvent (release) {
getURL('http://affiliates.thrixxx.com/scripts/connect.php?aid=9680956&ad=1&pr=8&gr=28&el=10606&ts=3&lg=en&c=0', '_blank');
}
}
movieClip 21 {
}
movieClip 23 {
}
// unknown tag 88 length 86
movieClip 28 {
}
movieClip 34 {
}
movieClip 37 {
}
movieClip 40 {
}
movieClip 41 {
frame 1 {
var i;
var cc = 0;
var sec = 0;
var intvl = 5;
var crnt = 0;
var advsLim = 12;
var AdvArr = new Array(14);
var URLsArr = new Array(14);
var AdsTexts = new Array();
var StrngTmp = new String();
var httpN;
var adN;
advSponsored_mc._visible = false;
advSponsored_mc.onRelease = function () {
getURL(URLsArr[crnt], '_blank');
};
advGamcore_mc.onRelease = function () {
getURL('http://gamcore.com', '_blank');
};
RedString_mc.onEnterFrame = function () {
++cc;
if (cc >= 25) {
cc = 0;
++sec;
if (sec >= intvl) {
sec = 0;
++crnt;
if (crnt >= advsLim) {
crnt = 0;
}
advSponsored_mc.advString_txt.text = AdvArr[crnt];
}
}
};
var reviews_xml = new XML();
reviews_xml.ignoreWhite = true;
reviews_xml.onLoad = function (success) {
if (success) {
AdsTexts = reviews_xml.firstChild.childNodes;
i = 0;
while (i < AdsTexts.length) {
AdvArr[i] = AdsTexts[i].firstChild.nodeValue;
StrngTmp = AdsTexts[i].toString();
httpN = StrngTmp.indexOf('http');
adN = StrngTmp.indexOf('>') - 1;
URLsArr[i] = StrngTmp.substring(httpN, adN);
++i;
}
advSponsored_mc.advString_txt.text = AdvArr[crnt];
advSponsored_mc._visible = true;
} else {}
};
reviews_xml.load('http://zazzybabes.com/misc/adverts.xml');
}
}
frame 2 {
function randRange(min, max) {
var v1 = Math.floor(Math.random() * (max - min + 1)) + min;
return v1;
}
var introflag = true;
var AssHuntFlag = 1;
var Pause_Flag = false;
var LEVEL = 1;
var DICKED;
Mouse.show();
stop();
Play_btn.onRelease = function () {
play();
};
help_btn.onRelease = function () {
helpFlag = !helpFlag;
if (helpFlag) {
help_mc.gotoAndPlay('goCome');
Pause_Flag = true;
} else {
help_mc.gotoAndPlay('goOut');
Pause_Flag = false;
}
};
help_mc.onRelease = function () {
helpFlag = false;
Pause_Flag = false;
if (helpFlag) {
help_mc.gotoAndPlay('goCome');
} else {
help_mc.gotoAndPlay('goOut');
}
};
var ccc = 0;
var ShootFlag = false;
var BeamSpeed = 50;
LazerBeam_mc.BeamBullet_mc.setMask(LazerBeam_mc.MaskBeam_mc);
LazerBeam_mc.onEnterFrame = function () {
++ccc;
if (ccc >= 25) {
ccc = 0;
LazerBeam_mc._rotation = randRange(1, 120) - 150;
ShootFlag = true;
}
if (ShootFlag) {
ShootFlag = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
LazerBeam_mc.BeamBullet_mc._visible = true;
LaserSound_mc.play();
}
if (LazerBeam_mc.BeamBullet_mc._visible) {
LazerBeam_mc.BeamBullet_mc._x += BeamSpeed;
if (LazerBeam_mc.BeamBullet_mc._x > 500) {
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
}
}
};
}
movieClip 44 {
}
movieClip 48 {
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 54 {
}
// unknown tag 88 length 143
// unknown tag 88 length 51
// unknown tag 88 length 171
// unknown tag 88 length 71
movieClip 70 {
}
// unknown tag 88 length 120
// unknown tag 88 length 149
movieClip 87 {
frame 1 {
stop();
}
frame 16 {
stop();
}
frame 24 {
gotoAndStop(1);
}
}
frame 3 {
stop();
KillerAss_mc.onEnterFrame = function () {
if (this._xscale > 40) {
this._xscale -= 1;
this._yscale = this._xscale;
this._y -= 3;
}
};
AssHunt_btn.onRelease = function () {
AssHuntFlag = 1;
gotoAndPlay('AssPlay');
};
YouHunt_btn.onRelease = function () {
AssHuntFlag = 2;
gotoAndPlay('DickPlay');
};
var ccc = 0;
var ShootFlag = false;
var BeamSpeed = 50;
LazerBeam_mc.BeamBullet_mc.setMask(LazerBeam_mc.MaskBeam_mc);
LazerBeam_mc.onEnterFrame = function () {
++ccc;
if (ccc >= 25) {
ccc = 0;
LazerBeam_mc._rotation = randRange(1, 120) - 150;
ShootFlag = true;
}
if (ShootFlag) {
ShootFlag = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
LazerBeam_mc.BeamBullet_mc._visible = true;
LaserSound_mc.play();
}
if (LazerBeam_mc.BeamBullet_mc._visible) {
LazerBeam_mc.BeamBullet_mc._x += BeamSpeed;
if (LazerBeam_mc.BeamBullet_mc._x > 500) {
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
}
}
};
}
// unknown tag 88 length 84
frame 4 {
function obstInstall() {
Obstcles[1]._y = ObsYInt;
i = 2;
while (i <= OstQ) {
Obstcles[i]._y = Obstcles[i - 1]._y + ObstGaps[LEVEL];
++i;
}
}
function initset() {
Yo = 0;
PlugNFuck_mc.stop();
PlugNFuck_mc._visible = false;
AssMove_mc._visible = true;
OstQ = ObstQArr[LEVEL];
if (NextLevFlag) {
obstInstall();
}
NextLevFlag = false;
moveFlag = false;
BurnSound_mc.gotoAndStop(1);
splashBurn_mc.gotoAndStop(1);
CongrNextLev_mc._visible = false;
CongrNextLev_mc._xscale = 64;
CongrNextLev_mc._yscale = CongrNextLev_mc._xscale;
i = 1;
while (i <= 4) {
dirFlag[i] = false;
++i;
}
Dir = 2;
Katz_mc._x = KatzX;
TouchPaddle = false;
i = 1;
while (i <= paddlsQ) {
if (i <= 5) {
j = 1;
}
if (i >= 6 && i <= 9) {
j = 2;
}
if (i >= 10 && i <= 14) {
j = 3;
}
if (i >= 15 && i <= 18) {
j = 4;
}
if (i >= 19 && i <= 20) {
j = 5;
}
if (i >= 21 && i <= 23) {
j = 6;
}
myPoint1.x = Paddles[i]._x;
myPoint1.y = Paddles[i]._y;
Obstcles[j].localToGlobal(myPoint1);
padsX[i] = myPoint1.x;
padsY[i] = myPoint1.y;
if (Katz_mc.KatzBody_mc.hitTest(Paddles[i])) {
TouchPaddle = false;
}
++i;
}
if (TouchPaddle) {
if (Katz_mc._x < 600) {
Katz_mc._x += 70;
} else {
Katz_mc._x -= 70;
}
}
Katz_mc._y = KatzY;
Katz_mc._rotation = 90;
Katz_mc._visible = true;
MorePlay_btn._visible = false;
next_btn._visible = false;
winFlag = false;
blockCC = 0;
Block_mc._visible = false;
Pause_Flag = false;
force = 0;
fc = 0;
LoadTime = LoadTimeInit - DICKED * 4;
if (LoadTime < 25) {
LoadTime = 25;
}
}
function AlfaCalc() {
if (AimPoint_mc._x > axle_mc._x) {
axle_mc._y = AxlY;
} else {
axle_mc._y = AxlY - ShftAxY;
}
if (AimPoint_mc._x > axle_mc._x) {
alfarad = Math.atan((axle_mc._y - AimPoint_mc._y) / (axle_mc._x - AimPoint_mc._x));
alfa = alfarad * 90 / 1.57;
alfa = AngleTo360(alfa);
return alfa;
}
alfarad = Math.atan((axle_mc._y - AimPoint_mc._y) / (axle_mc._x - AimPoint_mc._x)) - Math.PI;
alfa = alfarad * 90 / 1.57;
alfa = AngleTo360(alfa);
return alfa;
}
function AngleTo360(ang) {
dirAn_mc._rotation = ang;
ang = dirAn_mc._rotation;
return ang;
}
function randRange(min, max) {
var v1 = Math.floor(Math.random() * (max - min + 1)) + min;
return v1;
}
var VictoryLevel = 11;
var winFlag = false;
var i;
var j;
var assFrame;
var AxlRot;
var alfarad;
var alfa;
var ShootFlag = false;
var cc = 0;
var sec = 0;
var min = 0;
var blockCC = 0;
var BeamSpeed = 50;
var ShftAxY = 30;
var AxlY = axle_mc._y;
var PointToGlobal = new Object();
var VictoryFlag = false;
var speed = 6;
var Dir = 4;
var moveFlag = false;
var KillFlag = false;
var NextLevFlag = true;
var myPoint1 = new Object();
var LazerX;
var LazerY;
var head1X;
var head1Y;
var padsX = new Array(24);
var padsY = new Array(24);
var Yo = 0;
var KatzX = Katz_mc._x;
var KatzY = Katz_mc._y;
var prevX = Katz_mc._x;
var prevY = Katz_mc._y;
var WallSpeed = 1;
var dirFlag = new Array(false, false, false, false, false);
var Points = new Array(8);
Points[1] = Katz_mc.point1_mc;
Points[2] = Katz_mc.point2_mc;
Points[3] = Katz_mc.point3_mc;
Points[4] = Katz_mc.point4_mc;
Points[5] = Katz_mc.point5_mc;
var ObsYInt = -284;
var ObstYLim = 202;
var KatsYLim = 430;
var ObstJ;
var ObstGaps = new Array(1, 120, 120, 120, 110, 110, 110, 100, 100, 110, 110, 110);
var ObstQArr = new Array(4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6);
var obstReplceY = new Array(215, 215, 215, 215, 235, 235, 235, 305, 305, 305, 305, 305);
var OstQ = 4;
var Obstcles = new Array(8);
Obstcles[1] = walls_mc.obstacle1_mc;
Obstcles[2] = walls_mc.obstacle2_mc;
Obstcles[3] = walls_mc.obstacle3_mc;
Obstcles[4] = walls_mc.obstacle4_mc;
Obstcles[5] = walls_mc.obstacle5_mc;
Obstcles[6] = walls_mc.obstacle6_mc;
var Paddles = new Array();
Paddles[1] = walls_mc.obstacle1_mc.Paddle11;
Paddles[2] = walls_mc.obstacle1_mc.Paddle12;
Paddles[3] = walls_mc.obstacle1_mc.Paddle13;
Paddles[4] = walls_mc.obstacle1_mc.Paddle14;
Paddles[5] = walls_mc.obstacle1_mc.Paddle15;
Paddles[6] = walls_mc.obstacle2_mc.Paddle21;
Paddles[7] = walls_mc.obstacle2_mc.Paddle22;
Paddles[8] = walls_mc.obstacle2_mc.Paddle23;
Paddles[9] = walls_mc.obstacle2_mc.Paddle24;
Paddles[10] = walls_mc.obstacle3_mc.Paddle11;
Paddles[11] = walls_mc.obstacle3_mc.Paddle12;
Paddles[12] = walls_mc.obstacle3_mc.Paddle13;
Paddles[13] = walls_mc.obstacle3_mc.Paddle14;
Paddles[14] = walls_mc.obstacle3_mc.Paddle15;
Paddles[15] = walls_mc.obstacle4_mc.Paddle21;
Paddles[16] = walls_mc.obstacle4_mc.Paddle22;
Paddles[17] = walls_mc.obstacle4_mc.Paddle23;
Paddles[18] = walls_mc.obstacle4_mc.Paddle24;
Paddles[19] = walls_mc.obstacle5_mc.Paddle51;
Paddles[20] = walls_mc.obstacle5_mc.Paddle52;
Paddles[21] = walls_mc.obstacle6_mc.Paddle61;
Paddles[22] = walls_mc.obstacle6_mc.Paddle62;
Paddles[23] = walls_mc.obstacle6_mc.Paddle63;
var paddlsQ = 23;
var KzHt = 58;
var PdHt = 14;
var runFrame = 1;
var runRight = true;
var RunLim1 = randRange(1, 45);
var RunLim2 = randRange(49, 86);
var LisaScale = 0;
var LisaBigX = AnalLisa_mc._x;
var LisaBigY = AnalLisa_mc._y;
var LisaSmX = 306;
var LisaSmY = PlugNFuck_mc._y;
var LisaDy = (LisaSmY - LisaBigY) / 32;
var LisaDx = (LisaSmX - LisaBigX) / 32;
var blockDwnBtn = false;
var LoadTimeInit = 40;
var LoadTime = LoadTimeInit;
var TouchPaddle = false;
var StartShoot = false;
levelUp3_mc.setMask(levMask3_mc);
AnalLisa_mc._visible = false;
AnalLisa_mc.stop();
AnalLisa_mc._xscale = 37;
AnalLisa_mc._yscale = AnalLisa_mc._xscale;
AnalLisa_mc._x = LisaSmX;
AnalLisa_mc._y = LisaSmY;
axle_mc._visible = false;
LazerBeam_mc.BeamBullet_mc.setMask(LazerBeam_mc.MaskBeam_mc);
LazerBeam_mc.BeamBullet_mc._x = 0;
LazerBeam_mc.BeamBullet_mc._visible = false;
CongrYouWin_mc._visible = false;
CongrYouWin_mc._xscale = 64;
CongrYouWin_mc._yscale = CongrYouWin_mc._xscale;
SoundOn_btn._visible = false;
LEVEL = 1;
DICKED = LEVEL - 1;
var fc = 0;
var force = 100;
KiyPower_mc.setMask(PowerMask_mc);
var Force100 = PowerMask_mc._y;
var Force0 = PowerMask_mc._y + PowerMask_mc._height;
PowerMask_mc._y = Force0 - (PowerMask_mc._height / 100) * force;
StartShoot = false;
Mouse.show();
var myListener = new Object();
myListener.onKeyDown = function () {
if (RunInfo_mc._visible) {
RunInfo_mc._visible = false;
StartShoot = true;
}
if (winFlag) {
if (Key.getCode() !== 32) {
} else {
if (next_btn._visible) {
initset();
}
}
}
if (!winFlag) {
moveFlag = true;
switch (Key.getCode()) {
case 37:
Dir = 3;
dirFlag[Dir] = true;
checkHor();
break;
case 38:
Dir = 4;
dirFlag[Dir] = true;
checkVert();
break;
case 39:
Dir = 1;
dirFlag[Dir] = true;
checkHor();
break;
case 40:
Dir = 2;
dirFlag[Dir] = true;
checkVert();
break;
case 32:
}
}
};
myListener.onKeyUp = function () {
switch (Key.getCode()) {
case 37:
dirFlag[3] = false;
break;
case 38:
dirFlag[4] = false;
break;
case 39:
dirFlag[1] = false;
break;
case 40:
dirFlag[2] = false;
blockDwnBtn = false;
}
if (!dirFlag[1] && !dirFlag[2] && !dirFlag[3] && !dirFlag[4]) {
moveFlag = false;
}
blockDwnBtn = false;
};
Key.addListener(myListener);
initset();
obstInstall();
if (AssHuntFlag != 1) {
gotoAndPlay('introStart');
}
stop();
Katz_mc.onEnterFrame = function () {
if (!winFlag) {
prevX = Katz_mc._x;
prevY = Katz_mc._y;
if (moveFlag) {
switch (Dir) {
case 1:
this._x += speed;
break;
case 2:
if (!blockDwnBtn) {
this._y += speed;
}
break;
case 3:
this._x -= speed;
break;
case 4:
this._y -= speed;
}
this._rotation = (Dir - 1) * 90;
this.footsMove_mc.play();
} else {
this.footsMove_mc.gotoAndStop('footStop');
}
i = 1;
while (i <= paddlsQ) {
if (i <= 5) {
j = 1;
}
if (i >= 6 && i <= 9) {
j = 2;
}
if (i >= 10 && i <= 14) {
j = 3;
}
if (i >= 15 && i <= 18) {
j = 4;
}
if (i >= 19 && i <= 20) {
j = 5;
}
if (i >= 21 && i <= 23) {
j = 6;
}
myPoint1.x = Paddles[i]._x;
myPoint1.y = Paddles[i]._y;
Obstcles[j].localToGlobal(myPoint1);
padsX[i] = myPoint1.x;
padsY[i] = myPoint1.y;
if (Katz_mc.KatzBody_mc.hitTest(Paddles[i])) {
if (padsY[i] < KatsYLim) {
if (Dir == 2) {
if (Katz_mc.point3_mc.hitTest(Paddles[i])) {
if (!Katz_mc.point5_mc.hitTest(Paddles[i])) {
Katz_mc._x += KzHt / 4;
}
}
if (Katz_mc.point5_mc.hitTest(Paddles[i])) {
if (!Katz_mc.point3_mc.hitTest(Paddles[i])) {
Katz_mc._x -= KzHt / 4;
}
}
}
if (Katz_mc._y < padsY[i]) {
Katz_mc._y = padsY[i] - KzHt / 2 - PdHt / 2;
} else {
Katz_mc._y = padsY[i] + KzHt / 2 + PdHt / 2;
}
}
} else {
blockDwnBtn = false;
}
++i;
}
if (Katz_mc.KatzBody_mc.hitTest(walls_mc.WallLeft_mc)) {
Katz_mc._x = prevX;
}
if (Katz_mc.KatzBody_mc.hitTest(walls_mc.WalllRight_mc)) {
Katz_mc._x = prevX;
}
if (Katz_mc.KatzBody_mc.hitTest(walls_mc.WallDwn_mc)) {
Katz_mc._y = prevY;
}
AimPoint_mc._x = this._x;
AimPoint_mc._y = this._y;
if (Katz_mc.hitTest(FlameRow_mc)) {
winFlag = true;
splashBurn_mc._x = AimPoint_mc._x;
splashBurn_mc._y = AimPoint_mc._y;
splashBurn_mc.play();
BurnSound_mc.play();
Katz_mc._visible = false;
Katz_mc._x = KatzX;
Katz_mc._y = KatzY;
next_btn._visible = true;
}
if (Katz_mc.hitTest(AssHeart_mc)) {
winFlag = true;
Katz_mc._visible = false;
Katz_mc._x = KatzX;
Katz_mc._y = KatzY;
next_btn._visible = true;
NextLevFlag = true;
VictorySound_mc.play();
PlugNFuck_mc.gotoAndPlay(2);
PlugNFuck_mc._visible = true;
AssMove_mc._visible = false;
if (LEVEL < VictoryLevel) {
++LEVEL;
DICKED = LEVEL - 1;
}
CongrNextLev_mc._visible = true;
if (LEVEL == VictoryLevel) {
CongrNextLev_mc._visible = false;
CongrYouWin_mc._visible = true;
next_btn._visible = false;
MorePlay_btn._visible = true;
PlugNFuck_mc.stop();
PlugNFuck_mc._visible = false;
AnalLisa_mc.play();
AnalLisa_mc._visible = true;
}
}
}
};
MainLog_mc.onEnterFrame = function () {
if (!winFlag) {
if (this._x > 400) {
assFrame = 0.0975 * (AimPoint_mc._x - 400);
assFrame = Math.round(assFrame);
if (assFrame > 39) {
assFrame = 39;
}
assFrame += 47;
AssMove_mc.gotoAndStop(assFrame);
} else {
assFrame = 0.1175 * (400 - AimPoint_mc._x);
assFrame = Math.round(assFrame);
if (assFrame > 46) {
assFrame = 46;
}
assFrame = 47 - assFrame;
AssMove_mc.gotoAndStop(assFrame);
}
}
PointToGlobal.x = AssMove_mc.GunPoint_mc._x;
PointToGlobal.y = AssMove_mc.GunPoint_mc._y;
AssMove_mc.localToGlobal(PointToGlobal);
LazerBeam_mc._x = PointToGlobal.x;
LazerBeam_mc._y = PointToGlobal.y;
if (!LazerBeam_mc.BeamBullet_mc._visible) {
LazerBeam_mc._rotation = AlfaCalc();
}
if (ShootFlag) {
ShootFlag = false;
fc = 0;
LazerBeam_mc.BeamBullet_mc._x = 0;
LazerBeam_mc.BeamBullet_mc._visible = true;
LaserSound_mc.play();
}
if (LazerBeam_mc.BeamBullet_mc._visible) {
LazerBeam_mc.BeamBullet_mc._x += BeamSpeed;
if (LazerBeam_mc.BeamBullet_mc._x > 500) {
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
}
}
};
AimPoint_mc.onEnterFrame = function () {
if (!winFlag) {
PointToGlobal.x = LazerBeam_mc.BeamBullet_mc._x;
PointToGlobal.y = LazerBeam_mc.BeamBullet_mc._y;
LazerBeam_mc.localToGlobal(PointToGlobal);
LazerX = PointToGlobal.x;
LazerY = PointToGlobal.y;
KillFlag = false;
if (AimPoint_mc.hitTest(LazerX, LazerY, true)) {
KillFlag = true;
}
PointToGlobal.x = LazerBeam_mc.BeamBullet_mc.BeamPoint1_mc._x;
PointToGlobal.y = LazerBeam_mc.BeamBullet_mc.BeamPoint1_mc._y;
LazerBeam_mc.BeamBullet_mc.localToGlobal(PointToGlobal);
LazerX = PointToGlobal.x;
LazerY = PointToGlobal.y;
if (AimPoint_mc.hitTest(LazerX, LazerY, true)) {
KillFlag = true;
}
PointToGlobal.x = LazerBeam_mc.BeamBullet_mc.BeamPoint2_mc._x;
PointToGlobal.y = LazerBeam_mc.BeamBullet_mc.BeamPoint2_mc._y;
LazerBeam_mc.BeamBullet_mc.localToGlobal(PointToGlobal);
LazerX = PointToGlobal.x;
LazerY = PointToGlobal.y;
if (AimPoint_mc.hitTest(LazerX, LazerY, true)) {
KillFlag = true;
}
if (FreeZoneL_mc.hitTest(Katz_mc._x, Katz_mc._y, true) || FreeZoneR_mc.hitTest(Katz_mc._x, Katz_mc._y, true)) {
if (KillFlag) {
Block_mc._x = Katz_mc._x;
Block_mc._y = Katz_mc._y;
Block_mc._visible = true;
blockCC = 1;
}
KillFlag = false;
}
if (KillFlag) {
winFlag = true;
splash_mc._x = AimPoint_mc._x;
splash_mc._y = AimPoint_mc._y;
splash_mc.play();
Katz_mc._visible = false;
Katz_mc._x = KatzX;
Katz_mc._y = KatzY;
next_btn._visible = true;
RunLim1 = randRange(1, 45);
RunLim2 = randRange(49, 86);
}
}
};
walls_mc.onEnterFrame = function () {
i = 1;
while (i <= OstQ) {
Obstcles[i]._y -= WallSpeed;
if (Obstcles[i]._y < -290) {
Obstcles[i]._y = obstReplceY[LEVEL];
}
++i;
}
};
timer_mc.onEnterFrame = function () {
if (StartShoot) {
if (fc < LoadTime) {
++fc;
}
force = (fc / LoadTime) * 100;
PowerMask_mc._y = Force0 - (PowerMask_mc._height / 100) * force;
if (fc >= LoadTime) {
ShootTime = true;
if (!winFlag) {
if (!FreeZoneL_mc.hitTest(Katz_mc._x, Katz_mc._y, true) && !FreeZoneR_mc.hitTest(Katz_mc._x, Katz_mc._y, true)) {
ShootFlag = true;
}
}
}
}
if (!winFlag) {
++cc;
if (cc >= 25) {
cc = 0;
}
}
if (blockCC > 0) {
++blockCC;
if (blockCC > 12) {
blockCC = 0;
Block_mc._visible = false;
}
}
};
AssMove_mc.onEnterFrame = function () {
if (winFlag) {
if (runRight) {
if (runFrame < RunLim2) {
AssMove_mc.gotoAndStop(runFrame);
++runFrame;
} else {
runRight = false;
}
}
if (!runRight) {
if (runFrame > RunLim1) {
AssMove_mc.gotoAndStop(runFrame);
--runFrame;
} else {
runRight = true;
}
}
}
};
CongrNextLev_mc.onEnterFrame = function () {
if (this._visible) {
++Yo;
if (Yo < 100) {
++this._xscale;
this._yscale = this._xscale;
}
if (Yo > 100) {
--this._xscale;
this._yscale = this._xscale;
}
if (Yo >= 199) {
this._xscale = 100;
this._yscale = this._xscale;
this._visible = false;
Yo = 0;
}
}
};
CongrYouWin_mc.onEnterFrame = function () {
if (this._visible) {
++Yo;
if (Yo < 100) {
++this._xscale;
this._yscale = this._xscale;
}
if (Yo > 100) {
--this._xscale;
this._yscale = this._xscale;
}
if (Yo >= 199) {
this._xscale = 100;
this._yscale = this._xscale;
this._visible = false;
Yo = 0;
}
}
};
AnalLisa_mc.onRelease = function () {
if (this._visible) {
if (this._xscale < 40) {
LisaScale = 1;
}
if (this._xscale >= 95) {
LisaScale = 2;
}
}
};
var Lc = 0;
AnalLisa_mc.onEnterFrame = function () {
if (this._visible) {
if (LisaScale == 1) {
if (this._xscale < 100) {
this._xscale += 2;
this._yscale = this._xscale;
if (this._y > LisaBigY) {
this._y -= LisaDy;
this._x -= LisaDx;
}
++Lc;
} else {
this._xscale = 100;
this._yscale = this._xscale;
LisaScale = 0;
this._x = LisaBigX;
this._y = LisaBigY;
Lc = 0;
}
}
if (LisaScale == 2) {
if (this._xscale > 37) {
this._xscale -= 2;
this._yscale = this._xscale;
if (this._y < LisaSmY) {
this._y += LisaDy;
this._x += LisaDx;
}
++Lc;
} else {
this._xscale = 37;
this._yscale = this._xscale;
LisaScale = 0;
this._x = LisaSmX;
this._y = LisaSmY;
Lc = 0;
}
}
}
};
var lev3Old = 0;
var lev3Cng = false;
var mem3Y = levelUp3_mc.level_txt._y;
var Licr3 = 2;
levelUp3_mc.onEnterFrame = function () {
if (lev3Old != DICKED) {
this.levelN_txt.text = DICKED;
lev3Cng = true;
if (DICKED > lev3Old) {
Licr3 = 2;
} else {
Licr3 = -2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (lev3Cng) {
this.level_txt._y -= Licr3;
this.levelN_txt._y -= Licr3;
if (Licr3 > 0) {
if (this.levelN_txt._y <= mem3Y) {
this.level_txt.text = DICKED;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = DICKED;
}
} else {
if (this.levelN_txt._y >= mem3Y) {
this.level_txt.text = DICKED;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = DICKED;
}
}
}
};
next_btn.onRelease = function () {
initset();
};
End_btn.onRelease = function () {
introflag = true;
Key.removeListener(myListener);
gotoAndPlay('introStart');
};
MorePlay_btn.onRelease = function () {
introflag = true;
Key.removeListener(myListener);
gotoAndPlay('introPlay');
};
help_btn.onRelease = function () {
helpFlag = !helpFlag;
if (helpFlag) {
help_mc.gotoAndPlay('goCome');
Pause_Flag = true;
} else {
help_mc.gotoAndPlay('goOut');
Pause_Flag = false;
}
};
help_mc.onRelease = function () {
helpFlag = false;
Pause_Flag = false;
if (helpFlag) {
help_mc.gotoAndPlay('goCome');
} else {
help_mc.gotoAndPlay('goOut');
}
};
SoundOff_btn.onRelease = function () {
SoundOn_btn._visible = true;
this._visible = false;
};
SoundOn_btn.onRelease = function () {
SoundOff_btn._visible = true;
this._visible = false;
};
MoreGames_btn.onRelease = function () {
getURL('http://gamcore.com', '_blank');
};
}
movieClip 102 {
}
movieClip 106 {
}
movieClip 107 {
}
movieClip 110 {
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 122 {
}
movieClip 124 {
}
movieClip 126 {
frame 1 {
function randRange(min, max) {
var v1 = Math.floor(Math.random() * (max - min + 1)) + min;
return v1;
}
this._yscale = randRange(1, 100);
}
frame 2 {
this._yscale += 10;
if (this._yscale >= 100) {
this._yscale = 10;
}
}
frame 3 {
gotoAndPlay('fireStart');
}
}
movieClip 129 {
}
movieClip 130 {
}
movieClip 133 {
}
movieClip 136 {
}
// unknown tag 88 length 73
movieClip 142 {
}
movieClip 143 {
}
movieClip 147 {
frame 16 {
gotoAndPlay('footsGo');
}
}
movieClip 149 {
}
movieClip 151 {
}
movieClip 153 {
}
movieClip 156 {
frame 1 {
stop();
}
}
movieClip 166 {
frame 1 {
stop();
}
frame 2 {
burstSound_mc.play();
}
frame 24 {
gotoAndStop(1);
}
}
movieClip 168 {
frame 1 {
stop();
}
frame 2 {
burstSound_mc.play();
}
frame 24 {
stop();
}
}
movieClip 170 {
}
movieClip 337 {
frame 1 {
}
}
movieClip 343 {
frame 53 {
gotoAndPlay('C2');
}
}
movieClip 367 {
}
movieClip 393 {
}
movieClip 396 {
}
movieClip 399 {
frame 1 {
stop();
}
frame 16 {
stop();
}
frame 24 {
gotoAndStop(1);
}
}
// unknown tag 88 length 71
movieClip 403 {
}
movieClip 406 {
}
movieClip 413 {
}
movieClip 415 {
frame 1 {
stop();
}
frame 210 {
gotoAndPlay(2);
}
}
movieClip 417 {
frame 1 {
stop();
}
frame 47 {
gotoAndStop(1);
}
}
movieClip 419 {
frame 1 {
stop();
}
}
frame 5 {
function obstInstall() {
Obstcles[1]._y = ObsYInt;
i = 2;
while (i <= OstQ) {
Obstcles[i]._y = Obstcles[i - 1]._y + ObstGaps[LEVEL];
++i;
}
}
function initset() {
Yo = 0;
PlugNFuck_mc.stop();
PlugNFuck_mc._visible = false;
AssMove_mc._visible = true;
OstQ = ObstQArr[LEVEL];
if (NextLevFlag) {
obstInstall();
}
NextLevFlag = false;
moveFlag = false;
BurnSound_mc.gotoAndStop(1);
splashBurn_mc.gotoAndStop(1);
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
CongrNextLev_mc._visible = false;
CongrNextLev_mc._xscale = 64;
CongrNextLev_mc._yscale = CongrNextLev_mc._xscale;
i = 1;
while (i <= 4) {
dirFlag[i] = false;
++i;
}
Dir = 2;
Katz_mc._x = randRange(100, 700);
TouchPaddle = false;
i = 1;
while (i <= paddlsQ) {
if (i <= 5) {
j = 1;
}
if (i >= 6 && i <= 9) {
j = 2;
}
if (i >= 10 && i <= 14) {
j = 3;
}
if (i >= 15 && i <= 18) {
j = 4;
}
if (i >= 19 && i <= 20) {
j = 5;
}
if (i >= 21 && i <= 23) {
j = 6;
}
myPoint1.x = Paddles[i]._x;
myPoint1.y = Paddles[i]._y;
Obstcles[j].localToGlobal(myPoint1);
padsX[i] = myPoint1.x;
padsY[i] = myPoint1.y;
if (Katz_mc.KatzBody_mc.hitTest(Paddles[i])) {
TouchPaddle = true;
}
++i;
}
if (TouchPaddle) {
if (Katz_mc._x < 600) {
Katz_mc._x += 70;
} else {
Katz_mc._x -= 70;
}
}
Katz_mc._y = KatzY;
Katz_mc._rotation = 90;
Katz_mc._visible = true;
MorePlay_btn._visible = false;
next_btn._visible = false;
winFlag = false;
blockCC = 0;
Block_mc._visible = false;
KatzLog = 1;
NextKatz = 0;
cc = 0;
ShootTime = true;
Pause_Flag = false;
}
function AlfaCalc() {
if (aim_mc._x > axle_mc._x) {
axle_mc._y = AxlY;
} else {
axle_mc._y = AxlY - ShftAxY;
}
if (aim_mc._x > axle_mc._x) {
alfarad = Math.atan((axle_mc._y - aim_mc._y) / (axle_mc._x - aim_mc._x));
alfa = alfarad * 90 / 1.57;
alfa = AngleTo360(alfa);
return alfa;
}
alfarad = Math.atan((axle_mc._y - aim_mc._y) / (axle_mc._x - aim_mc._x)) - Math.PI;
alfa = alfarad * 90 / 1.57;
alfa = AngleTo360(alfa);
return alfa;
}
function AngleTo360(ang) {
dirAn_mc._rotation = ang;
ang = dirAn_mc._rotation;
return ang;
}
function randRange(min, max) {
var v1 = Math.floor(Math.random() * (max - min + 1)) + min;
return v1;
}
var VictoryLevel = 8;
var winFlag = false;
var i;
var j;
var assFrame;
var AxlRot;
var alfarad;
var alfa;
var ShootFlag = false;
var cc = 0;
var sec = 0;
var min = 0;
var blockCC = 0;
var BeamSpeed = 50;
var ShftAxY = 30;
var AxlY = axle_mc._y;
var PointToGlobal = new Object();
var VictoryFlag = false;
var speed = 6;
var Dir = 4;
var moveFlag = false;
var KillFlag = false;
var NextLevFlag = true;
var myPoint1 = new Object();
var LazerX;
var LazerY;
var head1X;
var head1Y;
var padsX = new Array(24);
var padsY = new Array(24);
var Yo = 0;
var KatzX = Katz_mc._x;
var KatzY = Katz_mc._y;
var prevX = Katz_mc._x;
var prevY = Katz_mc._y;
var WallSpeed = 1;
var dirFlag = new Array(false, false, false, false, false);
var pointsQ = 10;
var Points = new Array(11);
Points[1] = Katz_mc.point1_mc;
Points[2] = Katz_mc.point2_mc;
Points[3] = Katz_mc.point3_mc;
Points[4] = Katz_mc.point4_mc;
Points[5] = Katz_mc.point5_mc;
Points[6] = Katz_mc.pointFr_mc;
Points[7] = Katz_mc.pointR_mc;
Points[8] = Katz_mc.pointR2_mc;
Points[9] = Katz_mc.pointL_mc;
Points[10] = Katz_mc.pointL2_mc;
var ObstGaps = new Array(1, 120, 120, 120, 110, 110, 110, 100, 100);
var ObsYInt = -284;
var ObstYLim = 202;
var KatsYLim = 420;
var ObstJ;
var ObstQArr = new Array(1, 4, 4, 4, 5, 5, 5, 6, 6);
var obstReplceY = new Array(1, 215, 215, 215, 235, 235, 235, 305, 305);
var OstQ = 4;
var Obstcles = new Array(8);
Obstcles[1] = walls_mc.obstacle1_mc;
Obstcles[2] = walls_mc.obstacle2_mc;
Obstcles[3] = walls_mc.obstacle3_mc;
Obstcles[4] = walls_mc.obstacle4_mc;
Obstcles[5] = walls_mc.obstacle5_mc;
Obstcles[6] = walls_mc.obstacle6_mc;
var Paddles = new Array();
Paddles[1] = walls_mc.obstacle1_mc.Paddle11;
Paddles[2] = walls_mc.obstacle1_mc.Paddle12;
Paddles[3] = walls_mc.obstacle1_mc.Paddle13;
Paddles[4] = walls_mc.obstacle1_mc.Paddle14;
Paddles[5] = walls_mc.obstacle1_mc.Paddle15;
Paddles[6] = walls_mc.obstacle2_mc.Paddle21;
Paddles[7] = walls_mc.obstacle2_mc.Paddle22;
Paddles[8] = walls_mc.obstacle2_mc.Paddle23;
Paddles[9] = walls_mc.obstacle2_mc.Paddle24;
Paddles[10] = walls_mc.obstacle3_mc.Paddle11;
Paddles[11] = walls_mc.obstacle3_mc.Paddle12;
Paddles[12] = walls_mc.obstacle3_mc.Paddle13;
Paddles[13] = walls_mc.obstacle3_mc.Paddle14;
Paddles[14] = walls_mc.obstacle3_mc.Paddle15;
Paddles[15] = walls_mc.obstacle4_mc.Paddle21;
Paddles[16] = walls_mc.obstacle4_mc.Paddle22;
Paddles[17] = walls_mc.obstacle4_mc.Paddle23;
Paddles[18] = walls_mc.obstacle4_mc.Paddle24;
Paddles[19] = walls_mc.obstacle5_mc.Paddle51;
Paddles[20] = walls_mc.obstacle5_mc.Paddle52;
Paddles[21] = walls_mc.obstacle6_mc.Paddle61;
Paddles[22] = walls_mc.obstacle6_mc.Paddle62;
Paddles[23] = walls_mc.obstacle6_mc.Paddle63;
var paddlsQ = 23;
var KzHt = 58;
var PdHt = 14;
var runFrame = 1;
var runRight = true;
var RunLim1 = randRange(1, 45);
var RunLim2 = randRange(49, 86);
var LisaScale = 0;
var LisaBigX = AnalLisa_mc._x;
var LisaBigY = AnalLisa_mc._y;
var LisaSmX = 306;
var LisaSmY = PlugNFuck_mc._y;
var LisaDy = (LisaSmY - LisaBigY) / 32;
var LisaDx = (LisaSmX - LisaBigX) / 32;
var AssTurnX = AssTurn_mc._x;
var AssTurnY = AssTurn_mc._y;
var AssTurnXsm = 277;
var AssTurnYsm = 430;
var AsTrnDy = (AssTurnYsm - AssTurnY) / 25;
var AsTrnDx = (AssTurnXsm - AssTurnX) / 25;
var dirChose;
var JumpUp = true;
var Jcnt = 0;
var OldDir;
var MainDir;
var DirCnt = 0;
var HeadsX = new Array(11);
var HeadsY = new Array(11);
var ShootTime = true;
var NextKatz = 0;
var KatzLog = 0;
var killed = 0;
var MustKill = 50;
var GameOverFlag = false;
var TouchPaddle = false;
var ShQ = 0;
levelUp3_mc.setMask(levMask3_mc);
AnalLisa_mc._visible = false;
AnalLisa_mc.stop();
AnalLisa_mc._xscale = 37;
AnalLisa_mc._yscale = AnalLisa_mc._xscale;
AnalLisa_mc._x = LisaSmX;
AnalLisa_mc._y = LisaSmY;
AssTurn_mc._visible = false;
AssTurn_mc.stop();
AssTurn_mc._x = AssTurnXsm;
AssTurn_mc._y = AssTurnYsm;
AssTurn_mc._xscale = 50;
AssTurn_mc._yscale = AssTurn_mc._xscale;
axle_mc._visible = false;
LazerBeam_mc.BeamBullet_mc.setMask(LazerBeam_mc.MaskBeam_mc);
LazerBeam_mc.BeamBullet_mc._x = 0;
LazerBeam_mc.BeamBullet_mc._visible = false;
CongrYouWin_mc._visible = false;
CongrYouWin_mc._xscale = 64;
CongrYouWin_mc._yscale = CongrYouWin_mc._xscale;
SaveYourAss_mc._visible = false;
SoundOn_btn._visible = false;
LEVEL = 1;
DICKED = LEVEL - 1;
var LoadTime = 18;
var fc = 0;
var force = 100;
KiyPower_mc.setMask(PowerMask_mc);
var Force100 = PowerMask_mc._y;
var Force0 = PowerMask_mc._y + PowerMask_mc._height;
PowerMask_mc._y = Force0 - (PowerMask_mc._height / 100) * force;
if (AssHuntFlag != 2) {
gotoAndPlay('introStart');
}
initset();
obstInstall();
Mouse.hide();
aim_mc._x = _root._xmouse;
aim_mc._y = _root._ymouse;
aim_mc.startDrag(this);
stop();
Katz_mc.onEnterFrame = function () {
if (!winFlag) {
if (Jcnt > 0) {
++Jcnt;
}
i = 1;
while (i <= pointsQ) {
myPoint1.x = Points[i]._x;
myPoint1.y = Points[i]._y;
this.localToGlobal(myPoint1);
HeadsX[i] = myPoint1.x;
HeadsY[i] = myPoint1.y;
++i;
}
if (KatzLog == 1) {
Katz_mc._rotation = 90;
if (!walls_mc.hitTest(HeadsX[6], HeadsY[6], true)) {
OldDir = Dir;
Dir = 2;
moveFlag = true;
} else {
dirChose = randRange(1, 100);
if (dirChose < 50) {
OldDir = Dir;
Dir = 1;
moveFlag = true;
} else {
OldDir = Dir;
Dir = 3;
moveFlag = true;
}
}
KatzLog = 2;
}
if (KatzLog == 2) {
if (walls_mc.hitTest(HeadsX[6], HeadsY[6], true)) {
dirChose = randRange(1, 100);
if (dirChose <= 50) {
MainDir = 1;
Dir = 1;
OldDir = Dir;
this._rotation = (Dir - 1) * 90;
Jcnt = 1;
} else {
MainDir = 3;
Dir = 3;
OldDir = Dir;
this._rotation = (Dir - 1) * 90;
Jcnt = 1;
}
if (Katz_mc._x > 720) {
Dir = 3;
OldDir = Dir;
this._rotation = (Dir - 1) * 90;
Jcnt = 1;
}
if (Katz_mc._x < 80) {
Dir = 1;
OldDir = Dir;
this._rotation = (Dir - 1) * 90;
Jcnt = 1;
}
moveFlag = true;
} else {
if (Dir != 2) {
Jcnt = 0;
if (Dir == 1) {
if (walls_mc.hitTest(HeadsX[7], HeadsY[7], true)) {
OldDir = Dir;
Dir = 1;
} else {
if (!walls_mc.hitTest(HeadsX[8], HeadsY[8], true)) {
OldDir = Dir;
Dir = 2;
this._rotation = (Dir - 1) * 90;
moveFlag = true;
if (walls_mc.hitTest(HeadsX[5], HeadsY[5], true)) {
if (!walls_mc.hitTest(HeadsX[3], HeadsY[3], true)) {
Katz_mc._x -= speed;
}
}
if (walls_mc.hitTest(HeadsX[3], HeadsY[3], true)) {
if (!walls_mc.hitTest(HeadsX[5], HeadsY[5], true)) {
Katz_mc._x += speed;
}
}
}
}
}
if (Dir == 3) {
if (walls_mc.hitTest(HeadsX[9], HeadsY[9], true)) {
OldDir = Dir;
Dir = 3;
} else {
if (!walls_mc.hitTest(HeadsX[10], HeadsY[10], true)) {
OldDir = Dir;
Dir = 2;
this._rotation = (Dir - 1) * 90;
moveFlag = true;
if (walls_mc.hitTest(HeadsX[5], HeadsY[5], true)) {
if (!walls_mc.hitTest(HeadsX[3], HeadsY[3], true)) {
Katz_mc._x -= speed;
}
}
if (walls_mc.hitTest(HeadsX[3], HeadsY[3], true)) {
if (!walls_mc.hitTest(HeadsX[5], HeadsY[5], true)) {
Katz_mc._x += speed;
}
}
}
}
}
}
}
if (Katz_mc._y > AssHeart_mc._y - 40) {
if (Katz_mc._x > AssHeart_mc._x) {
OldDir = Dir;
Dir = 3;
this._rotation = (Dir - 1) * 90;
Jcnt = 1;
}
if (Katz_mc._x < AssHeart_mc._x) {
OldDir = Dir;
Dir = 1;
this._rotation = (Dir - 1) * 90;
Jcnt = 1;
}
}
}
if (Dir == 2) {
if (walls_mc.hitTest(HeadsX[5], HeadsY[5], true)) {
if (!walls_mc.hitTest(HeadsX[3], HeadsY[3], true)) {
Katz_mc._x -= speed;
}
}
if (walls_mc.hitTest(HeadsX[3], HeadsY[3], true)) {
if (!walls_mc.hitTest(HeadsX[5], HeadsY[5], true)) {
Katz_mc._x += speed;
}
}
}
prevX = Katz_mc._x;
prevY = Katz_mc._y;
if (!Pause_Flag) {
if (moveFlag) {
switch (Dir) {
case 1:
this._x += speed;
break;
case 2:
this._y += speed;
break;
case 3:
this._x -= speed;
break;
case 4:
this._y -= speed;
}
this._rotation = (Dir - 1) * 90;
this.footsMove_mc.play();
} else {
this.footsMove_mc.gotoAndStop('footStop');
}
}
i = 1;
while (i <= 5) {
if (walls_mc.hitTest(HeadsX[i], HeadsY[i], true)) {
j = 1;
while (j <= OstQ) {
if (Katz_mc.hitTest(Obstcles[j])) {
ObstJ = j;
}
++j;
}
if (Obstcles[ObstJ]._y < ObstYLim) {
Katz_mc._y = prevY;
Katz_mc._y -= WallSpeed;
if (DirCnt > 0) {
++DirCnt;
if (DirCnt > 4) {
DirCnt = 0;
}
}
if (Dir == 2) {
Dir = OldDir;
Jcnt = 3;
++DirCnt;
}
}
}
++i;
}
AimPoint_mc._x = this._x;
AimPoint_mc._y = this._y;
if (Katz_mc.hitTest(FlameRow_mc)) {
winFlag = true;
splashBurn_mc._x = AimPoint_mc._x;
splashBurn_mc._y = AimPoint_mc._y;
splashBurn_mc.play();
BurnSound_mc.play();
Katz_mc._visible = false;
Katz_mc._x = KatzX;
Katz_mc._y = KatzY;
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
NextKatz = 2;
}
if (Katz_mc.hitTest(AssHeart_mc)) {
winFlag = true;
Katz_mc._visible = false;
Katz_mc._x = KatzX;
Katz_mc._y = KatzY;
NextKatz = 1;
NextLevFlag = true;
SoundOops_mc.play();
PlugNFuck_mc.gotoAndPlay(2);
PlugNFuck_mc._visible = true;
AssMove_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
if (LEVEL < VictoryLevel) {
++LEVEL;
DICKED = LEVEL - 1;
ShQ = 0;
if (LoadTime < 25) {
++LoadTime;
}
}
CongrNextLev_mc._visible = true;
if (LEVEL == VictoryLevel) {
CongrNextLev_mc._visible = false;
CongrYouWin_mc._visible = true;
next_btn._visible = false;
NextKatz = 0;
SoundOopsOld_mc.play();
Pause_btn._visible = false;
MorePlay_btn._visible = true;
PlugNFuck_mc.stop();
PlugNFuck_mc._visible = false;
AnalLisa_mc.gotoAndPlay('C220');
AnalLisa_mc._visible = true;
Mouse.show();
aim_mc.stopDrag();
GameOverFlag = true;
}
}
}
};
aim_mc.onEnterFrame = function () {
if (!winFlag) {
if (this._x > 400) {
assFrame = 0.0975 * (this._x - 400);
assFrame = Math.round(assFrame);
if (assFrame > 39) {
assFrame = 39;
}
assFrame += 47;
AssMove_mc.gotoAndStop(assFrame);
} else {
assFrame = 0.1175 * (400 - this._x);
assFrame = Math.round(assFrame);
if (assFrame > 46) {
assFrame = 46;
}
assFrame = 47 - assFrame;
AssMove_mc.gotoAndStop(assFrame);
}
}
};
field_mc.onRelease = function () {
if (!winFlag) {
if (!Pause_Flag) {
if (ShootTime) {
ShootFlag = true;
ShootTime = false;
cc = 0;
fc = 0;
++ShQ;
}
}
}
if (KillInfo_mc._visible) {
KillInfo_mc._visible = false;
}
};
field_mc.onEnterFrame = function () {
if (!GameOverFlag) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
aim_mc._visible = true;
Mouse.hide();
} else {
aim_mc._visible = false;
Mouse.show();
}
}
};
MainLog_mc.onEnterFrame = function () {
if (!winFlag) {
PointToGlobal.x = AssMove_mc.GunPoint_mc._x;
PointToGlobal.y = AssMove_mc.GunPoint_mc._y;
AssMove_mc.localToGlobal(PointToGlobal);
LazerBeam_mc._x = PointToGlobal.x;
LazerBeam_mc._y = PointToGlobal.y;
if (!LazerBeam_mc.BeamBullet_mc._visible) {
LazerBeam_mc._rotation = AlfaCalc();
}
if (ShootFlag) {
ShootFlag = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
LazerBeam_mc.BeamBullet_mc._visible = true;
LaserSound_mc.play();
ccL = 0;
}
if (LazerBeam_mc.BeamBullet_mc._visible) {
LazerBeam_mc.BeamBullet_mc._x += BeamSpeed;
++ccL;
if (LazerBeam_mc.BeamBullet_mc._x > 500) {
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
}
}
}
};
AimPoint_mc.onEnterFrame = function () {
if (!winFlag) {
PointToGlobal.x = LazerBeam_mc.BeamBullet_mc._x;
PointToGlobal.y = LazerBeam_mc.BeamBullet_mc._y;
LazerBeam_mc.localToGlobal(PointToGlobal);
LazerX = PointToGlobal.x;
LazerY = PointToGlobal.y;
KillFlag = false;
if (AimPoint_mc.hitTest(LazerX, LazerY, true)) {
KillFlag = true;
}
PointToGlobal.x = LazerBeam_mc.BeamBullet_mc.BeamPoint1_mc._x;
PointToGlobal.y = LazerBeam_mc.BeamBullet_mc.BeamPoint1_mc._y;
LazerBeam_mc.BeamBullet_mc.localToGlobal(PointToGlobal);
LazerX = PointToGlobal.x;
LazerY = PointToGlobal.y;
if (AimPoint_mc.hitTest(LazerX, LazerY, true)) {
KillFlag = true;
}
PointToGlobal.x = LazerBeam_mc.BeamBullet_mc.BeamPoint2_mc._x;
PointToGlobal.y = LazerBeam_mc.BeamBullet_mc.BeamPoint2_mc._y;
LazerBeam_mc.BeamBullet_mc.localToGlobal(PointToGlobal);
LazerX = PointToGlobal.x;
LazerY = PointToGlobal.y;
if (AimPoint_mc.hitTest(LazerX, LazerY, true)) {
KillFlag = true;
}
if (KillFlag) {
winFlag = true;
LazerBeam_mc.BeamBullet_mc._visible = false;
LazerBeam_mc.BeamBullet_mc._x = 0;
splash_mc._x = AimPoint_mc._x;
splash_mc._y = AimPoint_mc._y;
splash_mc.play();
Katz_mc._visible = false;
Katz_mc._x = KatzX;
Katz_mc._y = KatzY;
NextKatz = 2;
++killed;
Killed_txt.text = killed;
if (killed >= MustKill) {
SaveYourAss_mc._visible = true;
NextKatz = 0;
AssMove_mc._visible = false;
Pause_btn._visible = false;
MorePlay_btn._visible = true;
AssTurn_mc._visible = true;
AssTurn_mc.play();
}
RunLim1 = randRange(1, 45);
RunLim2 = randRange(49, 86);
}
}
};
walls_mc.onEnterFrame = function () {
i = 1;
while (i <= OstQ) {
Obstcles[i]._y -= WallSpeed;
if (Obstcles[i]._y < -290) {
Obstcles[i]._y = obstReplceY[LEVEL];
}
++i;
}
};
timer_mc.onEnterFrame = function () {
if (fc < LoadTime) {
++fc;
}
force = (fc / LoadTime) * 100;
PowerMask_mc._y = Force0 - (PowerMask_mc._height / 100) * force;
if (fc >= LoadTime) {
ShootTime = true;
}
if (!winFlag) {
++cc;
if (cc >= 25) {
cc = 0;
}
}
if (blockCC > 0) {
++blockCC;
if (blockCC > 12) {
blockCC = 0;
Block_mc._visible = false;
}
}
if (NextKatz > 0) {
if (!Pause_Flag) {
++NextKatz;
if (NextKatz >= 50) {
NextKatz = 0;
initset();
}
}
}
};
AssMove_mc.onEnterFrame = function () {
if (winFlag) {
if (runRight) {
if (runFrame < RunLim2) {
AssMove_mc.gotoAndStop(runFrame);
++runFrame;
} else {
runRight = false;
}
}
if (!runRight) {
if (runFrame > RunLim1) {
AssMove_mc.gotoAndStop(runFrame);
--runFrame;
} else {
runRight = true;
}
}
}
};
CongrNextLev_mc.onEnterFrame = function () {
if (this._visible) {
++Yo;
if (Yo < 100) {
++this._xscale;
this._yscale = this._xscale;
}
if (Yo > 100) {
--this._xscale;
this._yscale = this._xscale;
}
if (Yo >= 199) {
this._xscale = 100;
this._yscale = this._xscale;
this._visible = false;
Yo = 0;
}
}
};
CongrYouWin_mc.onEnterFrame = function () {
if (this._visible) {
++Yo;
if (Yo < 100) {
++this._xscale;
this._yscale = this._xscale;
}
if (Yo > 100) {
--this._xscale;
this._yscale = this._xscale;
}
if (Yo >= 199) {
this._xscale = 100;
this._yscale = this._xscale;
this._visible = false;
Yo = 0;
}
}
};
SaveYourAss_mc.onEnterFrame = function () {
if (this._visible) {
++Yo;
if (Yo < 100) {
++this._xscale;
this._yscale = this._xscale;
}
if (Yo > 100) {
--this._xscale;
this._yscale = this._xscale;
}
if (Yo >= 199) {
this._xscale = 100;
this._yscale = this._xscale;
this._visible = false;
Yo = 0;
}
}
};
var Lc = 0;
AssTurn_mc.onRelease = function () {
if (this._visible) {
if (this._xscale <= 55) {
LisaScale = 1;
}
if (this._xscale >= 95) {
LisaScale = 2;
}
}
};
AssTurn_mc.onEnterFrame = function () {
if (this._visible) {
if (LisaScale == 1) {
if (this._xscale < 100) {
this._xscale += 2;
this._yscale = this._xscale;
if (this._y > AssTurnY) {
this._y -= AsTrnDy;
this._x -= AsTrnDx;
}
++Lc;
} else {
this._xscale = 100;
this._yscale = this._xscale;
LisaScale = 0;
this._x = AssTurnX;
this._y = AssTurnY;
Lc = 0;
}
}
if (LisaScale == 2) {
if (this._xscale > 50) {
this._xscale -= 2;
this._yscale = this._xscale;
if (this._y < AssTurnYsm) {
this._y += AsTrnDy;
this._x += AsTrnDx;
}
++Lc;
} else {
this._xscale = 50;
this._yscale = this._xscale;
LisaScale = 0;
this._x = AssTurnXsm;
this._y = AssTurnYsm;
Lc = 0;
}
}
trace(Lc);
}
};
AnalLisa_mc.onRelease = function () {
if (this._visible) {
if (this._xscale < 40) {
LisaScale = 1;
}
if (this._xscale >= 95) {
LisaScale = 2;
}
}
};
AnalLisa_mc.onEnterFrame = function () {
if (this._visible) {
if (LisaScale == 1) {
if (this._xscale < 100) {
this._xscale += 2;
this._yscale = this._xscale;
if (this._y > LisaBigY) {
this._y -= LisaDy;
this._x -= LisaDx;
}
++Lc;
} else {
this._xscale = 100;
this._yscale = this._xscale;
LisaScale = 0;
this._x = LisaBigX;
this._y = LisaBigY;
Lc = 0;
}
}
if (LisaScale == 2) {
if (this._xscale > 37) {
this._xscale -= 2;
this._yscale = this._xscale;
if (this._y < LisaSmY) {
this._y += LisaDy;
this._x += LisaDx;
}
++Lc;
} else {
this._xscale = 37;
this._yscale = this._xscale;
LisaScale = 0;
this._x = LisaSmX;
this._y = LisaSmY;
Lc = 0;
}
}
}
};
var lev3Old = 0;
var lev3Cng = false;
var mem3Y = levelUp3_mc.level_txt._y;
var Licr3 = 2;
levelUp3_mc.onEnterFrame = function () {
if (lev3Old != DICKED) {
this.levelN_txt.text = DICKED;
lev3Cng = true;
if (DICKED > lev3Old) {
Licr3 = 2;
} else {
Licr3 = -2;
this.levelN_txt._y = this.level_txt._y - 30;
}
}
if (lev3Cng) {
this.level_txt._y -= Licr3;
this.levelN_txt._y -= Licr3;
if (Licr3 > 0) {
if (this.levelN_txt._y <= mem3Y) {
this.level_txt.text = DICKED;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = DICKED;
}
} else {
if (this.levelN_txt._y >= mem3Y) {
this.level_txt.text = DICKED;
this.level_txt._y = mem3Y;
this.levelN_txt._y = this.level_txt._y + 30;
lev3Cng = false;
lev3Old = DICKED;
}
}
}
};
next_btn.onRelease = function () {
initset();
};
End_btn.onRelease = function () {
introflag = true;
gotoAndPlay('introStart');
};
Pause_btn.onRelease = function () {
if (!helpFlag) {
Pause_Flag = !Pause_Flag;
}
};
MorePlay_btn.onRelease = function () {
introflag = true;
gotoAndPlay('introPlay');
};
help_btn.onRelease = function () {
helpFlag = !helpFlag;
if (helpFlag) {
help_mc.gotoAndPlay('goCome');
Pause_Flag = true;
} else {
help_mc.gotoAndPlay('goOut');
Pause_Flag = false;
}
};
help_mc.onRelease = function () {
helpFlag = false;
Pause_Flag = false;
if (helpFlag) {
help_mc.gotoAndPlay('goCome');
} else {
help_mc.gotoAndPlay('goOut');
}
};
SoundOff_btn.onRelease = function () {
SoundOn_btn._visible = true;
this._visible = false;
};
SoundOn_btn.onRelease = function () {
SoundOff_btn._visible = true;
this._visible = false;
};
MoreGames_btn.onRelease = function () {
getURL('http://gamcore.com', '_blank');
};
}
movieClip 421 {
}
movieClip 422 {
}
movieClip 423 {
}
movieClip 427 {
}
movieClip 430 {
}
movieClip 433 {
}
movieClip 437 {
}
movieClip 439 {
}
movieClip 440 {
}
movieClip 442 {
}
movieClip 444 {
}
movieClip 454 {
frame 1 {
stop();
}
frame 16 {
stop();
}
frame 24 {
gotoAndStop(1);
}
}
movieClip 456 {
frame 1 {
stop();
}
}
movieClip 458 {
frame 1 {
stop();
}
}