Frame 1
function itemHandler0(obj, item) {
getURL ("http://www.petitiononline.com/MOB1337/petition.html", "_blank");
}
function itemHandler1(obj, item) {
getURL ("http://www.newgrounds.com/bbs/topic.php?id=299765&page=999", "_blank");
}
function itemHandler2(obj, item) {
getURL ("http://makeobesityhistory.111mb.com/index.html", "_blank");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Make Obesity History!", itemHandler0));
myMenu.customItems.push(new ContextMenuItem("Thread", itemHandler1));
myMenu.customItems.push(new ContextMenuItem("Site", itemHandler2));
_root.menu = myMenu;
Instance of Symbol 14 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(49998);
}
Frame 2
stop();
Instance of Symbol 17 MovieClip in Frame 2
onClipEvent (load) {
var bytes = _root.getBytesTotal();
H = 0;
}
onClipEvent (enterFrame) {
var bytes_loaded = _root.getBytesLoaded();
percent = (bytes_loaded / bytes) * 100;
if (bytes_loaded == bytes) {
_root.plop = 100;
_root.PLBack.fading = 1;
_root.gotoAndStop(3);
} else {
H++;
_root.PL.duplicateMovieClip("PL" + H, H);
_root["PL" + H]._rotation = 3.6 * percent;
_root.plop = int(percent);
}
}
Instance of Symbol 20 MovieClip "PL" in Frame 2
onClipEvent (enterFrame) {
if (_name != "PL") {
_alpha = (_alpha - 1);
if (_alpha < 2) {
this.removeMovieClip();
}
} else {
this._visible = 0;
}
}
Instance of Symbol 12 MovieClip "PLBack" in Frame 2
onClipEvent (load) {
fading = 0;
}
onClipEvent (enterFrame) {
if (fading) {
_alpha = (_alpha - 1);
}
}
Instance of Symbol 22 MovieClip "percy" in Frame 2
onClipEvent (load) {
this.swapDepths(50001);
}
onClipEvent (enterFrame) {
HAG = _root.plop;
if (_root.plop > 99) {
this.removeMovieClip();
}
}
Frame 3
stopAllSounds();
_root.s = new Sound();
_root.s.attachSound("atb");
loop = loop + 1;
if (loop > 1) {
_root.s.setVolume(_root.vol);
} else {
vol = 80;
_root.s.setVolume(vol);
}
_root.oldscore = 0;
var savefile = SharedObject.getLocal("OBESE");
_root.oldscore = savefile.data.score;
if (savefile.data.score == undefined) {
_root.oldscore = 0;
failtxt = "Tip: As the speed goes up, so do the scores per coin.\r\rTip: If you get trapped inside your tail, hit SPACE to warp through";
}
stop();
Instance of Symbol 29 MovieClip in Frame 3
onClipEvent (enterFrame) {
his = "YOUR CURRENT HIGH SCORE: " + _root.oldscore;
}
Instance of Symbol 47 MovieClip "xhairs" in Frame 3
onClipEvent (load) {
this.swapDepths(99999);
}
Frame 4
function clearfats() {
i = z - 200;
while (i < (z + 10)) {
removeMovieClip("_root.orig" + i);
i++;
}
}
function initfats() {
z = 1000;
i = 1;
while (i < maxfats) {
dupe();
i++;
}
}
function dupe() {
if (produced == lvlup) {
shitfader.gotoAndPlay(2);
} else {
z++;
duplicateMovieClip ("orig", "orig" + z, z);
}
}
produced = 0;
score = 0;
edn = 0;
spd = 3;
lvlup = 30;
maxfats = 10;
initfats();
Mouse.hide();
startDrag ("xhairs", true);
xhairs.swapDepths(99999);
shitfader.swapDepths(49997);
stop();
Instance of Symbol 93 MovieClip "orig" in Frame 4
onClipEvent (load) {
_height = (random(75) + 25);
_width = (_height * 0.81);
_x = random(500);
_y = random(400);
angle = random(360);
pressed = 0;
spd = random(_root.spd) + 2;
points = int(100 - _height);
G = _width / 2;
H = _height / 2;
MINX = -G;
MINY = -H;
MAXX = 500 + G;
MAXY = 400 + H;
if (_name == "orig") {
_visible = false;
stop();
}
var col = 16777215;
colswap = random(7) + 1;
if (colswap == 1) {
col = 15132160 /* 0xE6E600 */;
}
if (colswap == 2) {
col = 5855577 /* 0x595959 */;
}
if (colswap == 3) {
col = 9044198 /* 0x8A00E6 */;
}
if (colswap == 4) {
col = 58880;
}
if (colswap == 5) {
col = 15108654 /* 0xE68A2E */;
}
if (colswap == 6) {
col = 230;
}
if (colswap == 7) {
col = 15073280 /* 0xE60000 */;
}
new Color(shirt).setRGB(col);
}
onClipEvent (enterFrame) {
if (_name == "orig") {
_visible = false;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * angle)));
_x = (_x - (spd * Math.sin((Math.PI/180) * angle)));
if (pressed) {
_alpha = (_alpha - 3);
if (_alpha < 5) {
gotoAndStop (14);
}
} else if ((((_x < MINX) or (_x > MAXX)) or (_y < MINY)) or (_y > MAXY)) {
gotoAndStop (14);
}
}
Instance of Symbol 131 MovieClip in Frame 4
onClipEvent (load) {
this.swapDepths(50000);
}
onClipEvent (enterFrame) {
if (_root._currentframe == 10) {
lvl = "";
scr = "Score: " + _root.score;
} else if (_root._currentframe > 3) {
lvl = "Level: " + (_root._currentframe - 3);
scr = "Score: " + _root.score;
}
}
Frame 5
spd = 5;
lvlup = 130;
maxfats = 15;
initfats();
Mouse.hide();
startDrag ("xhairs", true);
xhairs.swapDepths(99999);
shitfader.swapDepths(49997);
Frame 6
spd = 7;
lvlup = 300;
maxfats = 18;
initfats();
Mouse.hide();
startDrag ("xhairs", true);
xhairs.swapDepths(99999);
shitfader.swapDepths(49997);
Frame 7
spd = 10;
lvlup = 550;
maxfats = 21;
initfats();
Mouse.hide();
startDrag ("xhairs", true);
xhairs.swapDepths(99999);
shitfader.swapDepths(49997);
Frame 8
spd = 15;
lvlup = 1200;
maxfats = 28;
initfats();
edn = 1;
Mouse.hide();
startDrag ("xhairs", true);
xhairs.swapDepths(99999);
shitfader.swapDepths(49997);
Frame 10
if (_root.score > _root.oldscore) {
pants = (((((("Congratulations! You broke your record.\r\rPrevious highscore: " + _root.oldscore) + newline) + newline) + "New highscore: ") + _root.score) + newline) + newline;
savefile.data.score = _root.score;
savefile.flush();
_root.oldscore = _root.score;
} else {
pants = (((((("Oh dear. Not your best effort ever...\r\rPrevious highscore: " + _root.oldscore) + newline) + newline) + "This time: ") + _root.score) + newline) + newline;
}
Instance of Symbol 156 MovieClip in Frame 10
onClipEvent (enterFrame) {
this.pants = _root.pants;
}
Symbol 9 MovieClip [shit] Frame 45
this.removeMovieClip();
Symbol 20 MovieClip Frame 75
stop();
Symbol 36 Button
on (release) {
_root.nextFrame();
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 6
gotoAndStop (1);
Symbol 68 Button
on (press) {
pressed = 1;
_root.score = _root.score + points;
_root.xhairs.nextFrame();
_root.SFX.gotoAndStop(random(6) + 2);
Mouse.hide();
k = _root.z;
_root.attachMovie("shit", "shit" + k, k - 100);
_root["shit" + k]._width = (_width / 100) * 35;
_root["shit" + k]._height = (_width / 100) * 60;
_root["shit" + k]._x = _x;
_root["shit" + k]._y = _y;
}
Symbol 69 Button
on (press) {
pressed = 1;
_root.score = _root.score + (points + 100);
_root.xhairs.nextFrame();
_root.SFX.gotoAndStop(random(6) + 2);
Mouse.hide();
k = _root.z;
_root.attachMovie("shit", "shit" + k, k - 100);
_root["shit" + k]._width = (_width / 100) * 35;
_root["shit" + k]._height = (_width / 100) * 60;
_root["shit" + k]._x = _x;
_root["shit" + k]._y = _y;
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 7
if (pressed) {
gotoAndPlay (8);
} else {
gotoAndPlay (1);
}
Symbol 93 MovieClip Frame 8
speech.gotoAndStop(random(8) + 1);
Symbol 93 MovieClip Frame 13
gotoAndPlay (9);
Symbol 93 MovieClip Frame 14
_root.dupe();
_root.produced++;
this.removeMovieClip();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
_root.SFX.gotoAndStop(8);
Symbol 97 MovieClip Frame 28
_root.clearfats();
Symbol 97 MovieClip Frame 43
if ((_root._currentframe - 2) < 6) {
gumboot = ("OMFG LEVEL " + (_root._currentframe - 2)) + "!!!";
} else {
gumboot = "EDN!!11!!1!";
}
Symbol 97 MovieClip Frame 46
if (_root.edn) {
_root.gotoAndStop(10);
} else {
_root.nextFrame();
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
gotoAndStop (1);
Symbol 105 MovieClip Frame 3
gotoAndStop (1);
Symbol 105 MovieClip Frame 4
gotoAndStop (1);
Symbol 105 MovieClip Frame 5
gotoAndStop (1);
Symbol 105 MovieClip Frame 6
gotoAndStop (1);
Symbol 105 MovieClip Frame 7
gotoAndStop (1);
Symbol 105 MovieClip Frame 8
gotoAndStop (1);
Symbol 114 Button
on (release) {
getURL ("http://makeobesityhistory.111mb.com/index.html", "_blank");
}
on (rollOver) {
Mouse.show();
stopDrag();
_root.xhairs._x = -350;
_root.xhairs._visible = 0;
}
on (rollOut, dragOut) {
Mouse.hide();
startDrag ("_root.xhairs", true);
_root.xhairs._visible = 1;
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
_root.vol = _root.vol + 1;
if (_root.vol > 99) {
_root.vol = 100;
_root.s.setVolume(_root.vol);
gotoAndStop (1);
}
_root.s.setVolume(_root.vol);
Symbol 121 MovieClip Frame 3
gotoAndPlay (2);
Symbol 121 MovieClip Frame 4
_root.vol = _root.vol - 1;
if (_root.vol < 1) {
_root.vol = 0;
_root.s.setVolume(_root.vol);
gotoAndStop (1);
}
_root.s.setVolume(_root.vol);
Symbol 121 MovieClip Frame 5
gotoAndPlay (4);
Symbol 125 Button
on (press) {
volcontrol.gotoAndPlay(2);
}
on (release, releaseOutside) {
volcontrol.gotoAndStop(1);
}
on (rollOver) {
Mouse.show();
stopDrag();
_root.xhairs._x = -350;
_root.xhairs._visible = 0;
}
on (rollOut, dragOut) {
volcontrol.gotoAndStop(1);
Mouse.hide();
startDrag ("_root.xhairs", true);
_root.xhairs._visible = 1;
}
Symbol 128 Button
on (press) {
volcontrol.gotoAndPlay(4);
}
on (release, releaseOutside) {
volcontrol.gotoAndStop(1);
}
on (rollOver) {
Mouse.show();
stopDrag();
_root.xhairs._x = -350;
_root.xhairs._visible = 0;
}
on (rollOut, dragOut) {
volcontrol.gotoAndStop(1);
Mouse.hide();
startDrag ("_root.xhairs", true);
_root.xhairs._visible = 1;
}
Symbol 132 Button
on (press) {
_root.gotoAndStop(10);
}
Symbol 153 Button
on (release) {
_root.gotoAndStop(3);
}