Frame 1
lold.gotoAndStop(Math.floor((lold._totalframes * this.getBytesLoaded()) / this.getBytesTotal()));
if (this.getBytesLoaded() < this.getBytesTotal()) {
this.gotoAndPlay(1);
}
Frame 2
var wtf;
var wif2;
var puzo;
var zoomin = false;
var rckHeight;
var xms;
var yms;
var gameover = false;
this.s;
_global.xptr = 0;
_global.yptr = 0;
_global.x_p = 0;
_global.y_p = 0;
_global.canonic = true;
_global.gainwhat = 2;
var mouseretro = false;
_global.mouseM = true;
var freeze;
var Muscle;
var MaxBuff;
var ps;
var puzl;
var deltap = 13;
var msst;
var keyListener = new Object();
keyListener.onKeyDown = function () {
};
var zamin;
var zanum;
var radd = -1;
var sry;
var dmax = 10;
var countdown;
var mouseListener = new Object();
var Score;
var TuM;
var Alive;
var Bc1;
var rck;
var nMax = 25;
var nBall = 15;
var sizze = 2500;
var djx;
var djy;
var djy0;
var djx0;
var scS = 15;
var sizzez = 600;
var sizzezz = 250;
var radarzone = 1000;
var i = 5;
var heros = new Array();
var dummys = new Array();
bck._width = sizzez;
bck._height = sizzez;
var sry;
xms = 0;
yms = 0;
djx = 0;
djy = 0;
sry = this.attachMovie("sorry", "sry", 10000);
sry._visible = false;
sry._x = sizzez / 2;
sry._y = sizzez / 2;
Score = 0;
TuM = 0;
Alive = nMax;
i = 0;
while (i <= 8) {
Bc1 = bck.duplicateMovieClip("eboe" + i, dmax);
Bc1._width = Bc1._width + 2;
Bc1._height = Bc1._height + 2;
Bc1.cacheAsBitmap = true;
dmax++;
i++;
}
rck = bcc.duplicateMovieClip("rck", dmax);
rck._alpha = 10;
rck.gotoAndStop(0);
rck._visible = false;
dmax++;
i = 0;
while (i <= 20) {
Bc1 = boomm.duplicateMovieClip("fx" + i, 25540 + dmax);
Bc1._visible = false;
dmax++;
i++;
}
i = 0;
while (i <= (nMax + 1)) {
heros.push(new actor(sizze, sizze, i));
Bc1 = dot.duplicateMovieClip("radar_dot" + (i - 1), 1000 + dmax);
if (i == 0) {
radar.swapDepths(Bc1);
radar._visible = false;
}
dmax++;
i++;
}
Bc1 = dot.duplicateMovieClip("radar_dot" + (i - 1), 1000 + dmax);
dmax++;
puzometer.swapDepths(Bc1);
puzometer.gotoAndStop(0);
puzometer._visible = false;
Bc1 = dot.duplicateMovieClip("radar_dot3" + (i - 1), 1200 + dmax);
dmax++;
bloop.swapDepths(Bc1);
bloop.gotoAndStop(1);
bloop._visible = false;
i = 0;
while (i <= nMax) {
if (i > 0) {
heros[i].body1 = enema.duplicateMovieClip("ebody1", dmax);
dmax++;
erd = Math.floor(Math.random() * 41);
if (erd <= 10) {
heros[i].body2 = dummy4.duplicateMovieClip("ebody2", dmax);
} else if (erd <= 20) {
heros[i].body2 = dummy3.duplicateMovieClip("ebody2", dmax);
} else if (erd <= 30) {
heros[i].body2 = dummy5.duplicateMovieClip("ebody2", dmax);
} else {
heros[i].body2 = dummy.duplicateMovieClip("ebody2", dmax);
}
} else {
heros[i].body2 = dummy.duplicateMovieClip("ebody2", dmax);
dmax++;
heros[i].body1 = enema.duplicateMovieClip("ebody1", dmax);
}
dmax++;
heros[i].body2.cacheasBitmap = true;
heros[i].fx = sizze * Math.random();
heros[i].fy = sizze * Math.random();
if (i == 0) {
djx = heros[i].fx - (sizzez / 2);
djy = heros[i].fy - (sizzez / 2);
}
if (i != 0) {
heros[i].tummy = 1;
} else {
heros[i].tummy = 1;
}
heros[i].body2init();
i++;
}
i = 0;
while (i <= nBall) {
dummys.push(new dummyz(sizze, sizze));
i++;
}
i = 0;
while (i <= nBall) {
if (i < 4) {
dummys[i].body1 = can.duplicateMovieClip("ebody1", dmax);
dummys[i].infl = 1;
} else {
dummys[i].infl = 0;
dummys[i].body1 = real_trash.duplicateMovieClip("real_trash", dmax);
dummys[i].body1.gotoAndStop(Math.round(Math.random() * 5));
}
dmax++;
dummys[i].Randomized();
i++;
}
var my_fmt = new TextFormat();
my_fmt.font = "Demon";
my_fmt.size = 24;
my_fmt.color = 102;
my_fmt.align = right;
this.createTextField("stats_txt", 5000, stdd._x, stdd._y, 530, 22);
stats_txt.autoSize = true;
stats_txt.setNewTextFormat(my_fmt);
TuMax = 0;
stats_txt.selectable = false;
Frame 3
var gamemode;
if (_global.canonic) {
gn.gotoAndStop(1);
} else {
gn.gotoAndStop(2);
}
if (_global.mouseM) {
cn.gotoAndStop(1);
} else {
cn.gotoAndStop(2);
}
rck._visible = false;
_global.zoomzoom = 1;
var Muscle_room;
var Muscle_ready;
i = 0;
while (i <= nMax) {
setProperty("radar_dot" + i, _visible , false);
heros[i].body2._visible = false;
i++;
}
i = 0;
while (i <= nBall) {
dummys[i].body1._visible = false;
i++;
}
puzometer._visible = false;
radar._visible = false;
sry._visible = false;
b0.gotoAndStop(4);
b0.hnd0.hnd.gotoAndStop(4);
b0.leg10.leg1.gotoAndStop(4);
b0.leg20.leg2.gotoAndStop(4);
b0.pecs.gotoAndStop(4);
b2.gotoAndStop(1);
dd.textL.text = "3 MORE TO GO!";
b3.gotoAndStop(1);
i = 0;
while (i <= 30) {
heros[i].body1._x = -1000;
heros[i].body1._y = -1000;
setProperty("radar_dot" + i, _x , -1000);
setProperty("radar_dot" + i, _y , -1000);
i++;
}
i = 0;
while (i <= 5) {
dummys[i].body2._x = -1000;
dummys[i].body2._y = -1000;
i++;
}
stop();
radar._visible = false;
i = 0;
while (i <= 8) {
setProperty("eboe" + i, _x , -1000);
setProperty("eboe" + i, _y , -1000);
i++;
}
Frame 4
Frame 5
radar._visible = true;
_global.zoomzoom = 1;
puzometer.rooom.gotoAndStop(1);
puzometer.vooom.gotoAndStop(1);
Muscle_room = 1;
Muscle_ready = 0;
puzl = 0;
puzometer.mss._visible = false;
puzometer.mss2._visible = false;
puzometer.mss3._visible = false;
freeze = false;
ps = 0;
Muscle = 1;
msst = 1;
MaxBuff = 1;
puzometer.al._visible = false;
puzometer._visible = true;
puzo = 1;
if (radd == -1) {
radd = radar._width - 20;
}
dist = 200;
keyListener.onKeyUp = function () {
if (Key.getCode() == 17) {
}
if (Key.getCode() == 16) {
if ((++_global.gainwhat) > 2) {
_global.gainwhat = 1;
}
puzometer.switcher.gotoAndStop(_global.gainwhat);
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
heros[0].xmouses = 0;
_global.x_p = 0;
}
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
heros[0].ymouses = 0;
_global.y_p = 0;
}
};
keyListener.onKeyDown = function () {
if (Key.getCode() == 87) {
if (heros[0].body2.di._currentframe != 1) {
heros[0].body2.di.gotoAndStop(heros[0].body2.di._currentframe + 1);
}
}
if (Key.getCode() == 81) {
if (heros[0].body2.di._currentframe == 1) {
heros[0].body2.di.gotoAndStop(13);
} else if (heros[0].body2.di._currentframe != 2) {
heros[0].body2.di.gotoAndStop(heros[0].body2.di._currentframe - 1);
}
}
if (Key.getCode() == 80) {
if (freeze) {
sry._visible = false;
freeze = false;
} else if (!sry._visible) {
sry = _level0.attachMovie("sorry3", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = true;
sry.gotoAndPlay(1);
freeze = true;
}
}
if (Key.getCode() == 32) {
if (sry._visible) {
_level0.gotoAndPlay("game");
}
}
if (Key.isDown(37)) {
heros[0].xmouses = -1;
_global.x_p = -1;
_global.xptr = -1;
}
if (Key.isDown(39)) {
heros[0].xmouses = 1;
_global.xptr = 1;
_global.x_p = 1;
}
if (Key.isDown(38)) {
heros[0].ymouses = -1;
_global.y_p = -1;
_global.yptr = -1;
}
if (Key.isDown(40)) {
heros[0].ymouses = 1;
_global.y_p = 1;
_global.yptr = 1;
}
};
mouseListener.onMouseUp = function () {
if ((++_global.gainwhat) > 2) {
_global.gainwhat = 1;
}
puzometer.switcher.gotoAndStop(_global.gainwhat);
};
mouseListener.onMouseMove = function () {
xms = _xmouse;
yms = _ymouse;
};
Mouse.addListener(mouseListener);
heros[0].mouseretro = mouseretro;
Key.addListener(keyListener);
countdown = 1;
switch (gamemode) {
case 0 :
heros[0].body2 = dummy.duplicateMovieClip("ebody1", dmax);
break;
case 1 :
heros[0].body2 = dummy3.duplicateMovieClip("ebody1", dmax);
break;
case 2 :
heros[0].body2 = dummy4.duplicateMovieClip("ebody1", dmax);
break;
case 4 :
heros[0].body2 = dummy5.duplicateMovieClip("ebody1", dmax);
msst = 1;
break;
}
heros[0].p0 = -1;
heros[0].p01 = -1;
heros[0].body2init();
nMax = 20;
nBall = 6;
sizze = 3000;
Score = 0;
TuM = 0;
Alive = nMax;
i = 0;
while (i <= 8) {
Bc1._visible = Bc1._visible + true;
i++;
}
i = 0;
while (i <= (nMax + 1)) {
i++;
}
i = 0;
while (i <= nMax) {
heros[i].body2._visible = true;
if (i > 0) {
}
heros[i].fx = sizze * Math.random();
heros[i].fy = sizze * Math.random();
if (i == 0) {
heros[i].fx = -100;
djx = heros[i].fx - (sizzez / 2);
djy = heros[i].fy - (sizzez / 2);
}
heros[i].ca = 0;
heros[i].inflated = false;
heros[i].minflated = false;
heros[i].msst = 1;
if (i != 0) {
heros[i].tummy = 1;
} else {
heros[i].tummy = 1;
}
heros[i].body2init();
heros[i].DoIt(djx, djy);
i++;
}
i = 0;
while (i <= nBall) {
i++;
}
i = 0;
while (i <= nBall) {
dummys[i].ca = 0;
dummys[i].Randomized();
dummys[i].DoIt(djx, djy);
i++;
}
my_fmt.font = "Impact";
my_fmt.size = 30;
my_fmt.color = 102;
my_fmt.align = right;
sry = this.attachMovie("321", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = true;
sry.gotoAndPlay(1);
sry._visible = true;
stats_txt.autoSize = true;
stats_txt.setNewTextFormat(my_fmt);
TuMax = 0;
stats_txt.selectable = false;
djy0 = djy;
djx0 = djx;
rck.gotoAndStop(1);
rck._visible = true;
puzometer.switcher._visible = !_global.canonic;
puzometer.switcher.gotoAndStop(_global.gainwhat);
gameover = false;
Frame 6
if (freeze) {
if (sry._visible) {
return(undefined);
}
freeze = false;
}
if ((gamemode >= 0) && (msst != Muscle)) {
msst = Muscle;
heros[0].msst = Muscle;
heros[0].body2init();
}
puzometer.pointe._y = puzometer.mmax._y + ((puzometer.mmin._y - puzometer.mmax._y) * (1 - puzo));
if (bloop._visible) {
bloop._x = heros[0].body2._x;
bloop._y = heros[0].body2._y - 10;
if (heros[0].ca == 1) {
bloop._x = bloop._x + 50;
} else if (heros[0].ca == 0) {
bloop._x = bloop._x - 50;
} else {
bloop._visible = false;
}
}
if (sry._visible == false) {
if (zoomin) {
if (((_global.zoomzoom < (1 - ((((heros[0].tummy - 13) / 4) * 16) / 60))) && (heros[0].tummy > 13)) || ((_global.zoomzoom <= 1) && (heros[0].tummy <= 13))) {
_global.zoomzoom = _global.zoomzoom + 0.01;
i = 0;
while (i <= nBall) {
dummys[i].zz();
i++;
}
i = 0;
while (i <= nMax) {
heros[i].body2init();
i++;
}
} else {
zoomin = false;
}
} else if (((heros[0].tummy > 13) && (heros[0].tummy <= 16)) && (!heros[0].inflated)) {
if (_global.zoomzoom > (1 - ((((heros[0].tummy - 13) / 4) * 16) / 60))) {
_global.zoomzoom = _global.zoomzoom - 0.01;
i = 0;
while (i <= nBall) {
dummys[i].zz();
i++;
}
i = 0;
while (i <= nMax) {
heros[i].body2init();
i++;
}
}
}
if (((ps > ((100 + (2 * heros[0].tummy)) - (Muscle * 2))) && (_global.canonic)) || ((ps > ((100 + (2 * heros[0].tummy)) - (Muscle * 4))) && (!_global.canonic))) {
puzo = puzo - ((0.0008 * heros[0].tummy) + (0.0003 * Muscle));
if (puzo < 0) {
puzo = 1;
heros[0].tummy--;
Muscle--;
zoomin = true;
if (Muscle < 1) {
Muscle = 1;
}
if (heros[0].tummy < 0) {
heros[0].tummy = 0;
}
if (_global.canonic) {
Muscle_room = 1 + Math.floor(Muscle / 4);
if (Muscle_room >= 5) {
Muscle_room = 5;
}
Muscle_ready = 0;
puzometer.rooom.gotoAndStop(Muscle_room);
puzometer.vooom.gotoAndStop(Muscle_ready + 1);
}
heros[0].body2init();
}
if (puzometer.al._visible == false) {
puzometer.al._visible = true;
bloop.gotoAndPlay(1);
bloop._visible = true;
switch (Math.floor(Math.random() * 4)) {
case 0 :
bloop.textL.text = "FEED ME!";
break;
case 1 :
bloop.textL.text = "A DIET?!";
break;
case 2 :
bloop.textL.text = "GIMME FOOD!";
break;
case 3 :
bloop.textL.text = "I`M STARVING!";
break;
default :
bloop.textL.text = "FOOD!";
}
}
} else {
ps++;
puzometer.al._visible = false;
}
}
if ((sry._visible == true) && (countdown == 1)) {
if (sry._currentframe > 2) {
if (sry._currentframe >= 84) {
sry = this.attachMovie("sorry", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = false;
countdown = 0;
}
if (sry._currentframe < 64) {
return(undefined);
}
}
}
var whoA;
var xx;
var yy;
var zz;
var xx2;
var yy2;
var zz2;
i = 0;
while (i <= nBall) {
if ((((((dummys[i].fx - djx) - (sizzez / 2)) * ((dummys[i].fx - djx) - (sizzez / 2))) + (((dummys[i].fy - djy) - (sizzez / 2)) * ((dummys[i].fy - djy) - (sizzez / 2)))) * _global.zoomzoom) < ((2 * sizzez) * sizzez)) {
if (dummys[i].body1._visible == false) {
dummys[i].body1._visible = true;
}
dummys[i].DoIt(djx, djy);
} else if (dummys[i].body1._visible == true) {
dummys[i].body1._visible = false;
}
i++;
}
if (heros[0].ca == -2) {
if (heros[0].wait < 300) {
heros[0].wait++;
} else {
gotoAndStop ("startmenu");
}
}
djxx = -(djx - (sizzez * Math.floor(djx / sizzez)));
djyy = -(djy - (sizzez * Math.floor(djy / sizzez)));
var tt;
var j;
var i;
var ky;
tt = 0;
i = -1;
while (i <= 1) {
j = -1;
while (j <= 1) {
setProperty("eboe" + tt, _x , djxx - (sizzez * (i - 1)));
setProperty("eboe" + tt, _y , djyy - (sizzez * (j - 1)));
tt++;
j++;
}
i++;
}
yy = ((djy - djy0) / 3) + (rck._height / 6);
xx = ((djx - djx0) / 3) + (rck._width / 4);
if (yy < 0) {
yy = 0;
}
if (yy > rck._height) {
yy = rck._height;
}
if (xx < 0) {
xx = 0;
}
if (xx > (rck._width - sizzez)) {
xx = rck._width - sizzez;
}
rck._x = -xx;
rck._y = sizzez - yy;
tt = 0;
Alive = 0;
i = 1;
while (i <= nMax) {
zz = Math.sqrt(((heros[0].fx - heros[i].fx) * (heros[0].fx - heros[i].fx)) + ((heros[0].fy - heros[i].fy) * (heros[0].fy - heros[i].fy)));
if (heros[i].ca > -2) {
Alive++;
if (heros[i].tummy > TuMax) {
TuMax = heros[i].tummy;
}
if (zz > (radarzone / _global.zoomzoom)) {
setProperty("radar_dot" + i, _visible , false);
} else {
xx = radar._x + (((((zz / (radarzone / _global.zoomzoom)) * radd) / 2) * ((-heros[0].fx) + heros[i].fx)) / zz);
yy = radar._y + (((((zz / (radarzone / _global.zoomzoom)) * radd) / 2) * ((-heros[0].fy) + heros[i].fy)) / zz);
setProperty("radar_dot" + i, _x , xx);
setProperty("radar_dot" + i, _y , yy);
if (((heros[i].ca - 0.5) * getProperty("radar_dot" + i, _xscale)) < 0) {
setProperty("radar_dot" + i, _xscale , -getProperty("radar_dot" + i, _xscale));
}
setProperty("radar_dot" + i, _visible , true);
}
} else {
setProperty("radar_dot" + i, _visible , false);
}
i++;
}
if ((heros[0].ca == -4) && (sry._visible == false)) {
sry = this.attachMovie("sorry2", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = true;
sry.gotoAndPlay(1);
}
puzometer.sc.text = "Score: " + String(Score);
puzometer.mb.text = ("MaxBuff: " + String(MaxBuff)) + "/16";
puzometer.tu.text = ("Belly: " + String(heros[0].tummy)) + "/16";
if (((Alive == -1) && (heros[0].ca > 0)) && (sry._visible != true)) {
sry = this.attachMovie("sorry2", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = true;
sry.gotoAndPlay(1);
}
i = 0;
while (i <= nMax) {
zz = Math.sqrt(((heros[0].fx - heros[i].fx) * (heros[0].fx - heros[i].fx)) + ((heros[0].fy - heros[i].fy) * (heros[0].fy - heros[i].fy))) * _global.zoomzoom;
if ((zz > sizzez) && (heros[i].body2._visible == true)) {
heros[i].body2._visible = false;
}
if (zz < sizzez) {
if (heros[i].body2._visible == false) {
heros[i].body2._visible = true;
}
heros[i].DoIt(djx, djy);
if (heros[i].needfx != 0) {
done = -1;
j = 0;
while (j <= 20) {
if (getProperty("fx" + j, _visible) == false) {
done = j;
break;
}
j++;
}
if (done == -1) {
done = Math.floor(Math.random * 20);
}
j = done;
setProperty("fx" + j, _x , heros[i].body2._x);
setProperty("fx" + j, _y , heros[i].body2._y);
this["fx" + j].gotoAndPlay("k" + heros[i].needfx);
this["fx" + j]._visible = true;
heros[i].needfx = 0;
}
}
if (zz < sizzez) {
j = 0;
while (j <= nBall) {
if (dummys[j].ca != -1) {
xx = heros[i].body2._x;
yy = heros[i].body2._y;
xx = xx + ((heros[i].body2._xscale * (heros[i].body2.mund._x + (heros[i].body2.mund._width / 2))) / 100);
yy = yy + ((heros[i].body2._yscale * (heros[i].body2.mund._y + (heros[i].body2.mund._height / 2))) / 100);
xx2 = dummys[j].body1._x;
yy2 = dummys[j].body1._y;
zz = Math.sqrt(((xx - xx2) * (xx - xx2)) + ((yy - yy2) * (yy - yy2)));
zz2 = 30;
if (zz < zz2) {
dummys[j].ca = 0;
dummys[j].Randomized();
if (dummys[j].infl == 1) {
if (i == 0) {
bloop.gotoAndPlay(1);
bloop._visible = true;
switch (Math.floor(Math.random() * 4)) {
case 0 :
bloop.textL.text = "OH, MY BELLY!";
break;
case 1 :
bloop.textL.text = "GULP!!";
break;
case 2 :
bloop.textL.text = "HIS-S-S";
break;
default :
bloop.textL.text = "SSS-S";
}
}
heros[i].minflated = false;
heros[i].inflated = true;
heros[i].body2init();
} else if (dummys[j].infl == 0) {
if (i == 0) {
bloop.gotoAndPlay(1);
bloop._visible = true;
Score++;
switch (Math.floor(Math.random() * 4)) {
case 0 :
bloop.textL.text = "YAKKK!";
break;
case 1 :
bloop.textL.text = "TRASH!";
break;
case 2 :
bloop.textL.text = "WTF?!";
break;
default :
bloop.textL.text = "O, NO!";
}
}
heros[i].minflated = true;
heros[i].inflated = true;
heros[i].body2init();
}
}
}
j++;
}
}
zamin = 0;
zanum = -1;
j = i + 1;
while (j <= nMax) {
if ((((heros[i].ca > -2) && (heros[j].ca > -2)) && (heros[i].inflated == false)) && (heros[j].inflated == false)) {
xx = heros[i].body1._x;
yy = heros[i].body1._y;
var g;
var gh;
if (heros[i].ca == 1) {
}
xx = xx + ((heros[i].body2._xscale * (heros[i].body2.mund._x + (heros[i].body2.mund._width / 2))) / 100);
yy = yy + ((heros[i].body2._yscale * (heros[i].body2.mund._y + (heros[i].body2.mund._height / 2))) / 100);
xx2 = heros[j].body2._x;
yy2 = heros[j].body2._y;
xx2 = xx2 + ((heros[j].body2._xscale * (heros[j].body2.mund._x + (heros[j].body2.mund._width / 2))) / 100);
yy2 = yy2 + ((heros[j].body2._yscale * (heros[j].body2.mund._y + (heros[j].body2.mund._height / 2))) / 100);
if (heros[j].ca == 1) {
}
zz = Math.sqrt(((xx - xx2) * (xx - xx2)) + ((yy - yy2) * (yy - yy2)));
if ((zamin == 0) || (zamin > zz)) {
zamin = zz;
zanum = j;
}
zz2 = 300;
wtf = false;
wtf2 = wtf;
if ((((xx > (heros[j].body2._x - (heros[j].body2._width / 2))) && (xx < (heros[j].body2._x + (heros[j].body2._width / 2)))) && (yy > (heros[j].body2._y - (heros[j].body2._height / 2)))) && (yy < (heros[j].body2._y + (heros[j].body2._height / 2)))) {
wtf = true;
}
if ((((xx2 > (heros[i].body2._x - (heros[i].body2._width / 2))) && (xx2 < (heros[i].body2._x + (heros[i].body2._width / 2)))) && (yy2 > (heros[i].body2._y - (heros[i].body2._height / 2)))) && (yy2 < (heros[i].body2._y + (heros[i].body2._height / 2)))) {
wtf2 = true;
}
if (wtf || (wtf2)) {
whoA = -1;
if ((((heros[i].ca == 1) && (heros[j].ca == 0)) && (heros[i].fx <= heros[j].fx)) || (((heros[j].ca == 1) && (heros[i].ca == 0)) && (heros[j].fx <= heros[i].fx))) {
if (heros[i].tummy > heros[j].tummy) {
whoA = 1;
} else if (heros[i].tummy < heros[j].tummy) {
whoA = 2;
}
} else {
if (heros[i].fx <= heros[j].fx) {
if (heros[i].ca == 1) {
whoA = 1;
}
if (heros[j].ca == 0) {
whoA = 2;
}
}
if (heros[j].fx <= heros[i].fx) {
if (heros[j].ca == 1) {
whoA = 2;
}
if (heros[i].ca == 0) {
whoA = 1;
}
}
}
if (((whoA == 1) && ((heros[j].tummy - heros[i].tummy) > deltap)) || ((whoA == 2) && ((heros[i].tummy - heros[j].tummy) > deltap))) {
whoA = -1;
}
if ((whoA == 1) && (wtf == false)) {
whoA = -1;
}
if ((whoA == 2) && (wtf2 == false)) {
whoA = -1;
}
if (whoA == 1) {
heros[j].needfx = 2 + Math.floor(Math.random() * 3);
if (i != 0) {
heros[i].tummy = heros[i].tummy + (1 + Math.floor(Math.random() * 3));
} else if (!_global.canonic) {
puzl++;
if ((_global.gainwhat == 2) && (puzl >= (Muscle / 3))) {
puzl = 0;
puzometer.mss2.gotoAndPlay(1);
puzometer.mss2._visible = true;
Muscle = Muscle + 1;
if (Muscle > 18) {
Muscle = 18;
if (heros[0].tummy < 16) {
_global.gainwhat = 1;
puzometer.switcher.gotoAndStop(1);
}
}
} else if ((_global.gainwhat == 1) && (puzl >= (heros[0].tummy / 4))) {
if (!puzometer.mss2._visible) {
puzometer.mss3.gotoAndPlay(1);
puzometer.mss3._visible = true;
}
heros[i].tummy++;
if (heros[0].tummy > 16) {
heros[0].tummy = 16;
if (Muscle < 18) {
_global.gainwhat = 2;
puzometer.switcher.gotoAndStop(2);
}
}
}
puzo = 1;
ps = 0;
Score = Score + Math.abs(_global.gainwhat - 3);
} else {
Muscle_ready++;
if (Muscle_ready > Muscle_room) {
puzometer.mss2.gotoAndPlay(1);
puzometer.mss2._visible = true;
Muscle_ready = 0;
Muscle = Muscle + 1;
if (Muscle > 21) {
Muscle = 21;
}
}
Muscle_room = 1 + Math.floor(Muscle / 4);
if (Muscle_room >= 5) {
Muscle_room = 5;
}
puzometer.rooom.gotoAndStop(Muscle_room);
puzometer.vooom.gotoAndStop(Muscle_ready + 1);
puzo = 1;
puzl++;
ps = 0;
Score++;
if (puzl >= Math.sqrt(heros[0].tummy)) {
heros[i].tummy++;
if (heros[0].tummy > 16) {
heros[0].tummy = 16;
}
if (MaxBuff < heros[0].tummy) {
MaxBuff = heros[0].tummy;
}
puzl = 0;
if (!puzometer.mss2._visible) {
puzometer.mss3.gotoAndPlay(1);
puzometer.mss3._visible = true;
}
bloop.gotoAndPlay(1);
bloop._visible = true;
switch (Math.floor(Math.random() * 4)) {
case 0 :
bloop.textL.text = "I WANT MORE!";
break;
case 1 :
bloop.textL.text = "IT GROWS!";
break;
case 2 :
bloop.textL.text = "BURP!";
break;
case 3 :
bloop.textL.text = "OMG!";
break;
default :
bloop.textL.text = "O, YEAH!";
}
}
}
if (j == 0) {
sry = this.attachMovie("sorry", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = false;
countdown = 0;
heros[0].wait = 0;
sry._visible = true;
sry.gotoAndPlay(1);
}
heros[j].ca = -3;
heros[j].respTummy = (heros[0].tummy - 1) + Math.floor(Math.random() * 3);
heros[j].respMuscle = (heros[0].msst - 1) + Math.floor(Math.random() * 3);
heros[i].body2init();
heros[j].body2init();
}
if (whoA == 2) {
heros[i].needfx = 2 + Math.floor(Math.random() * 3);
heros[j].tummy++;
if (j != 0) {
heros[j].tummy = heros[j].tummy + 1;
} else {
puzo = puzo + (heros[i].tummy / heros[j].tummy);
ps = 0;
if (puzo > 1) {
puzo = puzo - Math.floor(puzo);
heros[j].tummy++;
}
}
if (i == 0) {
sry = this.attachMovie("sorry", "sry", 10000);
sry._x = sizzez / 2;
sry._y = sizzez / 2;
sry._visible = false;
countdown = 0;
heros[0].wait = 0;
sry._visible = true;
sry.gotoAndPlay(1);
}
heros[i].ca = -3;
heros[i].respTummy = (heros[0].tummy - 1) + Math.floor(Math.random() * 3);
heros[i].respMuscle = (heros[0].msst - 1) + Math.floor(Math.random() * 3);
heros[j].body2init();
heros[i].body2init();
}
break;
}
}
j++;
}
j = zanum;
i2 = i;
if ((((heros[i2].ca == 1) && (heros[j].ca == 0)) && (heros[i2].fx <= heros[j].fx)) || (((heros[j].ca == 1) && (heros[i2].ca == 0)) && (heros[j].fx <= heros[i2].fx))) {
if (heros[i2].tummy > heros[j].tummy) {
whoA = 1;
} else if (heros[i2].tummy < heros[j].tummy) {
whoA = 2;
}
} else {
if (heros[i2].fx <= heros[j].fx) {
if (heros[i2].ca == 1) {
whoA = 1;
}
if (heros[j].ca == 0) {
whoA = 2;
}
}
if (heros[j].fx <= heros[i2].fx) {
if (heros[j].ca == 1) {
whoA = 2;
}
if (heros[i2].ca == 0) {
whoA = 1;
}
}
}
if (((whoA == 1) && ((heros[j].tummy - heros[i2].tummy) > deltap)) || ((whoA == 2) && ((heros[i2].tummy - heros[j].tummy) > deltap))) {
whoA = -1;
}
if (whoA == 2) {
heros[j].xmouse = heros[i2].fx;
heros[j].ymouse = heros[i2].fy;
}
i++;
}
xx = heros[0].body2._x;
xx2 = heros[0].body2._x;
yy2 = heros[0].body2._y;
yy = heros[0].body2._y;
if (xx2 < sizzezz) {
djx = djx - (sizzezz - xx2);
}
if (xx > (sizzez - sizzezz)) {
djx = djx - ((sizzez - xx) - sizzezz);
}
if (yy < sizzezz) {
djy = djy - (sizzezz - yy);
}
if (yy2 > (sizzez - sizzezz)) {
djy = djy - ((sizzez - yy2) - sizzezz);
}
if (mouseretro) {
heros[0].ymouse = yms + djy;
heros[0].xmouse = xms + djx;
}
Frame 7
gotoAndPlay ("loop");
Frame 8
b0.gotoAndStop(1);
b0.hnd0.hnd.gotoAndStop(1);
b0.leg10.leg1.gotoAndStop(1);
b0.leg20.leg2.gotoAndStop(1);
b0.pecs.gotoAndStop(1);
stop();
Frame 9
b0.gotoAndStop(1);
b0.hnd0.hnd.gotoAndStop(1);
b0.leg10.leg1.gotoAndStop(1);
b0.leg20.leg2.gotoAndStop(1);
b0.pecs.gotoAndStop(1);
stop();
Frame 10
b0.gotoAndStop(1);
b0.hnd0.hnd.gotoAndStop(1);
b0.leg10.leg1.gotoAndStop(1);
b0.leg20.leg2.gotoAndStop(1);
b0.pecs.gotoAndStop(1);
stop();
Symbol 14 Button
on (release) {
this._visible = false;
}
Symbol 15 Button
on (release) {
_level0.gotoAndPlay("startmenu");
}
Symbol 16 MovieClip [sorry3] Frame 12
stop();
Symbol 19 Button
on (release) {
_level0.gotoAndPlay("game");
}
Symbol 20 MovieClip [sorry2] Frame 12
stop();
Symbol 23 MovieClip [sorry] Frame 12
stop();
Symbol 29 MovieClip [321] Frame 87
stop();
Symbol 39 MovieClip [body0] Frame 5
gotoAndPlay ("stand");
Symbol 39 MovieClip [body0] Frame 6
stop();
Symbol 39 MovieClip [body0] Frame 14
gotoAndPlay ("swimright");
Symbol 39 MovieClip [body0] Frame 15
Symbol 39 MovieClip [body0] Frame 19
gotoAndPlay ("swimleft");
Symbol 72 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 490 MovieClip [__Packages.dummyz] Frame 0
class dummyz
{
var xMax, yMax, ca, sindiv, amp, body1, fx, fy;
function dummyz (xxx, yyy) {
xMax = xxx;
yMax = yyy;
ca = 1;
sindiv = Math.random();
Randomized();
}
function Randomized() {
amp = 5 + (14 * Math.random());
if (p0 == 0) {
p0 = body1._xscale;
p01 = body1._yscale;
}
fx = Math.random() * xMax;
fy = Math.random() * yMax;
zz();
}
function zz() {
body1._xscale = p0 * _global.zoomzoom;
body1._yscale = p01 * _global.zoomzoom;
}
function DoIt(deX, deY) {
if (ca == -1) {
body1._visible = false;
} else {
body1._visible = true;
var dy;
dy = (amp / 5) * Math.sin(sindiv);
fy = fy + dy;
sindiv = sindiv + 0.37698;
if (sindiv > 6.283) {
sindiv = 0;
}
body1._x = (fx - deX) * _global.zoomzoom;
body1._y = (fy - deY) * _global.zoomzoom;
}
}
var p0 = 0;
var p01 = 0;
}
Symbol 491 MovieClip [__Packages.actor] Frame 0
class actor
{
var wait2, wait, ggut, spawn, xMax, yMax, isNpc, ca, sindiv, body2, body1, msst, tummy, dist, respTummy, respMuscle, fx, fy, xmouse, ymouse, krt, trn, magn, dire, Mx, dire_y, dire_x;
function actor (xxx, yyy, isNp) {
xmouses = 0;
ymouses = 0;
inflated = false;
wait2 = 0;
wait = 0;
ggut = 0;
spawn = 0;
xMax = xxx;
yMax = yyy;
isNpc = isNp;
ca = -1;
sindiv = Math.random();
Randomized();
}
function body2init() {
if (p0 == -1) {
p0 = body2._xscale;
p01 = body2._yscale;
}
body2._x = body1._x;
body2._y = body1._y;
body2.hnd0.hnd.gotoAndStop(msst);
body2.hnd01.hnd.gotoAndStop(msst);
body2.leg10.leg1.gotoAndStop(msst);
body2.leg20.leg2.gotoAndStop(msst);
body2.pecs.gotoAndStop(msst);
if (tummy < 17) {
body2.gotoAndStop(tummy);
body2.belly.gotoAndStop(tummy);
} else {
body2.gotoAndStop(16);
body2.belly.gotoAndStop(16);
}
body1._xscale = (p0 * _global.zoomzoom) * (1 + (tummy / DivP));
body1._yscale = (p01 * _global.zoomzoom) * (1 + (tummy / DivP));
body2._xscale = (p0 * _global.zoomzoom) * (1 + (tummy / DivP));
body2._yscale = (p01 * _global.zoomzoom) * (1 + (tummy / DivP));
if ((ca == 0) && (body2._xscale > 0)) {
body2._xscale = -body2._xscale;
}
if ((ca == 1) && (body2._xscale < 0)) {
body2._xscale = -body2._xscale;
}
dist = 6;
if (ca == -5) {
ca = -4;
}
if (ca == -3) {
wait = 30;
ca = -2;
}
}
function respawn() {
if ((spawn > 40) && (isNpc != 0)) {
ggut = 0;
inflated = false;
spawn = 0;
ca = -8;
tummy = respTummy;
msst = respMuscle;
if (tummy < 1) {
tummy = 1;
}
if (msst < 1) {
msst = 1;
}
wait = 30;
body2._visible = true;
fx = Math.random() * xMax;
fy = Math.random() * yMax;
Randomized();
body2init();
}
}
function Randomized() {
xmouse = Math.random() * xMax;
ymouse = Math.random() * yMax;
}
function DoIt(deX, deY) {
krt = 4;
trn = 20;
magn = 1.6;
if ((isNpc == 0) && (tummy >= 4)) {
if (iner > 0) {
iv = iv - ((iner * iner) / krt);
} else {
iv = iv + ((iner * iner) / krt);
}
iv = iv - (iv / trn);
iner = iner + iv;
if (iner > 1) {
iner = 1;
}
if (iner < -1) {
iner = -1;
}
if (inery > 0) {
ivy = ivy - ((inery * inery) / krt);
} else {
ivy = ivy + ((inery * inery) / krt);
}
ivy = ivy - (ivy / trn);
inery = inery + ivy;
if (inery > 1) {
inery = 1;
}
if (inery < -1) {
inery = -1;
}
if (xmouses != 0) {
iner = -xmouses;
iv = 0;
}
if (ymouses != 0) {
inery = -ymouses;
ivy = 0;
}
} else {
if (xmouses != 0) {
iner = 0;
iv = 0;
}
if (ymouses != 0) {
inery = 0;
ivy = 0;
}
}
if (ca == 1) {
dire = 1;
}
if (ca == 0) {
dire = -1;
}
Mx = body2.belly.transform.matrix;
dire_y = 0.1;
dire_x = 0.3;
Mx.c = (dire * iner) * dire_x;
Mx.d = 1 + ((dire * dire_y) * inery);
body2.belly.transform.matrix = Mx;
if ((ca == -4) || (inflated)) {
if (!minflated) {
if (tummy < 17) {
if (wait2 < 5) {
wait2++;
} else {
wait2 = 0;
tummy++;
body2init();
}
// unexpected jump
}
if (ca != -4) {
needfx = 1;
}
ca = -4;
body2.gotoAndStop("Explode");
body2.belly.gotoAndStop(1);
dy = ((2 * dist) / 5) * Math.sin(sindiv);
fy = fy + dy;
body1._x = (fx - deX) * _global.zoomzoom;
sindiv = sindiv + 0.37698;
if (sindiv > 6.283) {
sindiv = 0;
}
body1._y = (fy - deY) * _global.zoomzoom;
body2._x = (fx - deX) * _global.zoomzoom;
body2._y = (fy - deY) * _global.zoomzoom;
spawn++;
respawn();
return(undefined);
}
if (msst < 18) {
if (wait2 < 2) {
wait2++;
} else {
wait2 = 0;
msst++;
body2init();
}
} else {
if (ca != -4) {
needfx = 1;
}
ca = -4;
body2.gotoAndStop("Explode");
body2.belly.gotoAndStop(1);
dy = ((2 * dist) / 5) * Math.sin(sindiv);
fy = fy + dy;
body1._x = (fx - deX) * _global.zoomzoom;
sindiv = sindiv + 0.37698;
if (sindiv > 6.283) {
sindiv = 0;
}
body1._y = (fy - deY) * _global.zoomzoom;
body2._x = (fx - deX) * _global.zoomzoom;
body2._y = (fy - deY) * _global.zoomzoom;
spawn++;
respawn();
return(undefined);
}
}
if (ca == -2) {
body2._visible = false;
var pp = 0.8;
if (wait > 0) {
body1._xscale = body1._xscale * pp;
body1._yscale = body1._yscale * pp;
wait = wait - 1;
body2._xscale = body2._xscale * pp;
body2._yscale = body2._yscale * pp;
} else {
body1._x = -100;
body1._y = -100;
body2._x = -100;
body2._y = -100;
}
spawn++;
respawn();
return(undefined);
}
if (ca == -8) {
body1._x = fx - deX;
body1._y = fy - deY;
body2._x = fx - deX;
body2._y = fy - deY;
var pp = 0.89;
if (wait > 0) {
body2._visible = true;
body2._xscale = p0 * Math.pow(pp, wait);
body2._yscale = p01 * Math.pow(pp, wait);
wait = wait - 1;
} else {
ca = 0;
body2init();
}
return(undefined);
}
var r;
var dx;
var dy;
var xx;
var yy;
var re;
xx = fx;
yy = fy;
r = Math.sqrt(((xmouse - xx) * (xmouse - xx)) + ((ymouse - yy) * (ymouse - yy)));
if ((r > 30) || (isNpc == 0)) {
dx = ((1.5 * dist) * (xmouse - xx)) / r;
dy = ((1.5 * dist) * (ymouse - yy)) / r;
if ((isNpc != 0) || (!_global.mouseM)) {
if (dx > 0) {
xmouses = 1;
} else {
xmouses = -1;
}
if (dy > 0) {
ymouses = 1;
} else {
ymouses = -1;
}
}
if (isNpc == 0) {
if (_global.mouseM) {
dx = (2.5 * dist) * _global.xptr;
dy = (2.5 * dist) * _global.yptr;
if (_global.x_p == 0) {
_global.xptr = _global.xptr * 0.85;
}
if (_global.y_p == 0) {
_global.yptr = _global.yptr * 0.85;
}
if (Math.abs(_global.xptr) < 0.1) {
_global.xptr = 0;
}
if (Math.abs(_global.yptr) < 0.1) {
_global.yptr = 0;
}
} else {
dx = 1.7 * dx;
dy = 1.7 * dy;
if (r < 20) {
dx = 0;
dy = 0;
xmouses = 0;
ymouses = 0;
}
}
}
if ((!_global.canonic) && (msst < tummy)) {
var tmp;
tmp = Math.sqrt(tummy - msst) / 1.5;
dx = dx / tmp;
dy = dy / tmp;
}
if ((isNpc != 0) || (((isNpc == 0) && (ymouses == 0)) && (xmouses == 0))) {
dy = dy + (dist * Math.sin(sindiv));
}
fx = fx + dx;
fy = fy + dy;
if (dx > 0) {
if (ca != 1) {
body1.gotoAndPlay("swimright");
ca = 1;
body2init();
}
} else if (dx < 0) {
if (ca != 0) {
body1.gotoAndPlay("swimleft");
ca = 0;
body2init();
}
}
} else {
if (isNpc != 0) {
wait--;
if (wait < 0) {
Randomized();
}
}
if (isNpc != 0) {
dy = (dist / 5) * Math.sin(sindiv);
}
fy = fy + dy;
}
sindiv = sindiv + 0.37698;
if (sindiv > 6.283) {
sindiv = 0;
}
body1._x = fx - deX;
body1._y = fy - deY;
body2._x = fx - deX;
body2._y = fy - deY;
}
var mouseretro = false;
var needfx = 0;
var torr = -1;
var iner = 0;
var iv = 0;
var inery = 0;
var ivy = 0;
var imax = 1;
var inflated = false;
var minflated = false;
var p0 = -1;
var p01 = -1;
var DivP = 400;
var xmouses = 0;
var ymouses = 0;
}
Symbol 379 MovieClip Frame 5
gotoAndPlay ("stand");
Symbol 379 MovieClip Frame 6
stop();
Symbol 379 MovieClip Frame 14
gotoAndPlay ("swimright");
Symbol 379 MovieClip Frame 15
Symbol 379 MovieClip Frame 19
gotoAndPlay ("swimleft");
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 3
stop();
Symbol 390 MovieClip Frame 4
stop();
Symbol 390 MovieClip Frame 5
stop();
Symbol 390 MovieClip Frame 6
stop();
Symbol 390 MovieClip Frame 7
stop();
Symbol 390 MovieClip Frame 8
stop();
Symbol 402 MovieClip Frame 20
this._visible = false;
stop();
Symbol 402 MovieClip Frame 39
this._visible = false;
stop();
Symbol 402 MovieClip Frame 59
this._visible = false;
stop();
Symbol 402 MovieClip Frame 80
this._visible = false;
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 3
stop();
Symbol 407 MovieClip Frame 4
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
stop();
Symbol 430 MovieClip Frame 9
stop();
Symbol 432 MovieClip Frame 22
this._visible = false;
Symbol 434 MovieClip Frame 22
this._visible = false;
Symbol 444 MovieClip Frame 53
this._visible = false;
Symbol 452 Button
on (release) {
gamemode = 0;
gotoAndPlay ("game");
}
Symbol 455 Button
on (release) {
gamemode = 1;
gotoAndPlay ("game");
}
Symbol 458 Button
on (release) {
gamemode = 2;
gotoAndPlay ("game");
}
Symbol 461 Button
on (release) {
gamemode = 4;
gotoAndPlay ("game");
}
Symbol 465 Button
on (release) {
this.gotoAndStop("bonus");
}
Symbol 466 Button
on (release) {
this.gotoAndStop("bonus2");
}
Symbol 467 Button
on (release) {
this.gotoAndStop("bonus3");
}
Symbol 470 Button
on (release) {
gamemode = 4;
gotoAndPlay ("game");
}
Symbol 471 Button
on (release) {
gamemode = 1;
gotoAndPlay ("game");
}
Symbol 472 Button
on (release) {
gamemode = 2;
gotoAndPlay ("game");
}
Symbol 473 Button
on (release) {
mouseretro = !mouseretro;
_global.mouseM = !_global.mouseM;
if (_global.mouseM) {
cn.gotoAndStop(1);
} else {
cn.gotoAndStop(2);
}
}
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
stop();
Symbol 480 Button
on (release) {
_global.canonic = !_global.canonic;
if (_global.canonic) {
gn.gotoAndStop(1);
} else {
gn.gotoAndStop(2);
}
}
Symbol 483 Button
on (release) {
if (b0.hnd0.hnd._currentframe < 20) {
b0.leg10.leg1.gotoAndStop(b0.hnd0.hnd._currentframe + 1);
b0.leg20.leg2.gotoAndStop(b0.hnd0.hnd._currentframe + 1);
b0.pecs.gotoAndStop(b0.hnd0.hnd._currentframe + 1);
b0.hnd0.hnd.gotoAndStop(b0.hnd0.hnd._currentframe + 1);
b0.hnd01.hnd.gotoAndStop(b0.hnd01.hnd._currentframe + 1);
}
}
Symbol 484 Button
on (release) {
if (b0.hnd0.hnd._currentframe > 1) {
b0.hnd0.hnd.gotoAndStop(b0.hnd0.hnd._currentframe - 1);
b0.leg10.leg1.gotoAndStop(b0.hnd0.hnd._currentframe - 1);
b0.leg20.leg2.gotoAndStop(b0.hnd0.hnd._currentframe - 1);
b0.pecs.gotoAndStop(b0.hnd0.hnd._currentframe - 1);
b0.hnd01.hnd.gotoAndStop(b0.hnd01.hnd._currentframe - 1);
}
}
Symbol 485 Button
on (release) {
if (b0.belly._currentframe < 16) {
b0.belly.gotoAndStop(b0.belly._currentframe + 1);
}
}
Symbol 486 Button
on (release) {
if (b0.belly._currentframe > 1) {
b0.belly.gotoAndStop(b0.belly._currentframe - 1);
}
}
Symbol 487 Button
on (release) {
this.gotoAndStop("startmenu");
}