Frame 1
function fadeToNewSong() {
if (beginning == true) {
if (track == 9) {
if (tick == false) {
vol1 = 0;
_root.soundclip.gotoAndStop(track);
tick = true;
}
if (vol1 < 70) {
vol1 = vol1 + 2;
}
}
if (track == 8) {
vol1 = 100;
if (timer2 >= 550) {
track = 10;
tick = false;
}
}
if ((track > 0) and (track < 8)) {
if (tick == false) {
if (vol1 <= 1) {
stopAllSounds();
_root.soundclip.gotoAndStop(track + 1);
vol1 = vol1 + 2;
tick = true;
} else {
vol1 = vol1 - 2;
}
} else {
vol1 = vol1 + 2;
}
if (vol1 == 100) {
track++;
tick = false;
}
}
if (track == 0) {
if (tick == false) {
_root.attachMovie("soundclip", "soundclip", 425);
_root.soundclip._x = -470;
_root.soundclip._y = -187;
tick = true;
}
vol1 = vol1 + 2;
if (vol1 == 100) {
track = 1;
tick = false;
}
}
}
}
function spawnStars() {
if (begin == true) {
i = 0;
while (i < numOfStars) {
_root.attachMovie("star", "star" + i, i);
_root["star" + i]._x = -100 + (Math.random() * 550);
_root["star" + i]._y = Math.random() * 400;
_root["star" + i]._height = Math.random() * 5;
_root["star" + i]._width = _root["star" + i]._height;
i++;
}
}
begin = false;
}
function updateStars() {
i = 0;
while (i < numOfStars) {
if (_root["star" + i]._x >= 700) {
_root["star" + i]._x = Math.random() * -550;
_root["star" + i]._y = Math.random() * 400;
}
if (_root["star" + i]._x <= -700) {
_root["star" + i]._x = (Math.random() * 550) + 550;
_root["star" + i]._y = Math.random() * 400;
}
if ((speed > 0) and (speed < 240)) {
_root["star" + i]._x = _root["star" + i]._x + ((speed / 4) * (_root["star" + i]._height / 4));
}
if ((speed > 30) and (speed < 240)) {
_root["star" + i]._width = speed / 4;
}
if (speed > 110) {
_root["star" + i].gotoAndStop(2);
}
if (speed > 180) {
_root["star" + i].gotoAndStop(3);
}
if (speed > 220) {
_root.rectanglw._alpha = speed - 220;
}
if (speed > 240) {
_root["star" + i]._x = _root["star" + i]._x + (((speed / 4) * (_root["star" + i]._height / 4)) * (10.4 - (speed / 25)));
_root["star" + i]._width = speed / 6;
}
if (speed > 299.792455) {
speed = 299.792457;
finalCounter = finalCounter + 0.25;
}
i++;
}
}
stop();
var vol = new Sound();
vol.setVolume(0);
switchSpeed = new Array(0, 5, 20, 65, 115, 170, 225, 299.72);
var vol1 = 0;
var track = 0;
var tick = false;
var depth2 = 425;
var depth = 1000000;
var numOfStars = 75;
var begin = true;
var speed = 0;
var speedAdd = 0.02;
var EXPAdd = 1;
var finalCounter = 0;
var EXP = 0;
var level = 1;
var toNextLevel = 0;
var fireRate = 5;
var levelUp = false;
var rapidfireMax = 40;
var rapidfire = rapidfireMax;
var rapidCounter = 3;
var rapidCounter2 = 0;
var rapidCounter3 = 1;
stamina = 0;
power = 0;
control = 0;
laxative = 0;
meditation = 0;
spawnStars();
var timer2 = 0;
var preloader1 = _root.getBytesLoaded();
var preloader2 = _root.getBytesTotal();
var Loaded = false;
var beginning = false;
onEnterFrame = function () {
if (_root.Loaded == true) {
if (speed >= switchSpeed[track]) {
fadeToNewSong();
}
vol.setVolume(vol1);
updateStars();
if (finalCounter >= 60) {
finalCounter = 60;
cutscene._alpha = 100;
player._alpha = 0;
cutscene.reverse1._alpha++;
cutscene.cutscene_BG._alpha++;
speedBar._y = 800;
butten._y = 800;
if (timer2 >= 550) {
fadeToNewSong();
}
} else if (finalcounter < 3) {
rectongle.gotoAndPlay(2);
}
if (EXP >= (Math.round(Math.pow(level, 1.5) * 200) + 12)) {
level++;
levelUp = true;
speedAdd = speedAdd + 0.01;
}
if (_root.butten.counter <= 40) {
rapidCounter2++;
if (rapidCounter2 >= rapidCounter) {
if (rapidfire < rapidfireMax) {
rapidfire++;
rapidCounter2 = 0;
}
}
}
_root.speedBar.speedText.text = Math.round(speed * 1000000);
_root.speedBar.expText.text = EXP;
_root.speedBar.level.text = level;
toNextLevel = (Math.round(Math.pow(level, 1.5) * 200) + 12) - EXP;
_root.speedBar.toNextLevel.text = toNextLevel;
_root.speedBar.rapidfire._width = rapidfire;
_root.speedBar.rapidfireOut._width = rapidfireMax + 3;
_root.cursor._x = _xmouse;
_root.cursor._y = _ymouse;
}
if (preloader1 == preloader2) {
Loaded = true;
pre.startbutten._x = 375;
pre.startbutten._y = 270;
}
_root.pre.byte2.text = ((preloader1 + " / ") + preloader2) + " bytes loaded";
};
Instance of Symbol 30 MovieClip "rectongle" in Frame 1
onClipEvent (load) {
this.swapDepths(55555550);
lastframe = 200;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.speed > 299.74) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe >= lastframe) {
this._alpha = this._alpha + 0.5;
}
}
Instance of Symbol 34 MovieClip "player" in Frame 1
onClipEvent (load) {
this.swapDepths(500);
_root.butten.swapDepths(501);
}
Instance of Symbol 108 MovieClip "speedBar" in Frame 1
onClipEvent (load) {
this.swapDepths(600);
}
Instance of Symbol 115 MovieClip "butten" in Frame 1
onClipEvent (load) {
function spawnShit() {
_root.depth++;
_root.attachMovie("shite", "shit" + _root.depth, _root.depth);
_root["shit" + _root.depth]._x = 470;
_root["shit" + _root.depth]._y = 187 + (Math.random() * 10);
_root["shit" + _root.depth]._rotation = -30 - (Math.random() * 90);
_root.speed = _root.speed + _root.speedAdd;
_root.EXP = _root.EXP + _root.EXPAdd;
}
var counter = 0;
var touchingCursor = false;
}
onClipEvent (mouseDown) {
if (_root.levelUp == false) {
this.gotoAndStop(3);
if (this.hitTest(_root.cursor)) {
spawnShit();
touchingCursor = true;
} else {
touchingCursor = false;
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.levelUp == false) {
if (this.hitTest(_root.cursor)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (touchingCursor == true) {
counter++;
this.gotoAndStop(3);
}
if (counter >= 48) {
counter = 48;
if (_root.rapidfire >= 1) {
_root.rapidfire = _root.rapidfire - _root.rapidCounter3;
spawnShit();
counter = counter - _root.fireRate;
}
}
}
}
onClipEvent (mouseUp) {
this.gotoAndStop(1);
touchingCursor = false;
counter = 0;
}
Instance of Symbol 135 MovieClip "pre" in Frame 1
onClipEvent (load) {
this.swapDepths(700);
}
Instance of Symbol 137 MovieClip "fade" in Frame 1
onClipEvent (load) {
this.swapDepths(750);
counter = 0;
incr = 1;
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
this._alpha = counter;
counter = counter + incr;
}
if (counter >= 100) {
this.gotoAndStop(3);
_root.beginning = true;
_root.pre.removeMovieClip();
}
if (this._currentframe == 3) {
this._alpha = counter;
counter = counter - incr;
}
if ((counter <= 0) and (this._currentframe == 3)) {
this.removeMovieClip();
}
}
Instance of Symbol 193 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(9000000000);
}
Symbol 14 MovieClip [shite] Frame 42
this.removeMovieClip();
Symbol 21 MovieClip [soundclip] Frame 1
stop();
Symbol 25 MovieClip [star] Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 201
stop();
Symbol 57 MovieClip Frame 3
if (_root.speed > 299.7) {
this.play();
} else {
gotoAndPlay (1);
}
Symbol 57 MovieClip Frame 20
stop();
Symbol 72 Button
on (rollOver) {
_root.speedBar.levelup.description.text = "Increased stamina allows for longer duration of rapidfire. Also boosts recharge rate by ~10%";
}
on (release) {
if (_root.stamina < 6) {
_root.rapidfireMax = _root.rapidfireMax + 10;
_root.rapidCounter--;
_root.stamina++;
_root.levelUp = false;
} else {
_root.speedBar.levelup.maxedout.a._alpha = 100;
}
}
Symbol 76 Button
on (rollOver) {
_root.speedBar.levelup.description.text = "Focus on improving colon strength to improve speed gained per boost by ~50%";
}
on (release) {
if (_root.power < 10) {
_root.speedAdd = _root.speedAdd * 1.5;
_root.speedAdd = Math.round(_root.speedAdd * 1000) / 1000;
_root.power++;
_root.levelUp = false;
} else {
_root.speedBar.levelup.maxedout.b._alpha = 100;
}
}
Symbol 80 Button
on (rollOver) {
_root.speedBar.levelup.description.text = "Meditate and achieve inner peace by staring ahead of you into the infinite beyond. Doesn't improve any stats, but gain 2x Exp.\nCan only be used twice.";
}
on (release) {
if (_root.meditation < 2) {
_root.EXPAdd = _root.EXPAdd * 2;
_root.meditation++;
_root.levelUp = false;
}
}
Symbol 85 Button
on (rollOver) {
_root.speedBar.levelup.description.text = "Focus on improving muscle control to raise rate of fire by ~25%";
}
on (release) {
if (_root.control < 3) {
_root.fireRate--;
_root.control++;
_root.levelUp = false;
} else {
_root.speedBar.levelup.maxedout.c._alpha = 100;
}
}
Symbol 89 Button
on (rollOver) {
_root.speedBar.levelup.description.text = "Switch to a better brand of laxative for better results. Slows depletion of the rapidfire bar by about 40%, allowing for longer sustained acceleration.";
}
on (release) {
if (_root.laxative < 4) {
_root.laxative++;
_root.rapidCounter3 = _root.rapidCounter3 * 0.6;
_root.levelUp = false;
} else {
_root.speedBar.levelup.maxedout.d._alpha = 100;
}
}
Instance of Symbol 91 MovieClip "e" in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.meditation >= 2) {
this._alpha = 100;
}
}
Instance of Symbol 91 MovieClip "d" in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.laxative >= 4) {
this._alpha = 100;
}
}
Instance of Symbol 91 MovieClip "c" in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.control >= 3) {
this._alpha = 100;
}
}
Instance of Symbol 91 MovieClip "b" in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.power >= 10) {
this._alpha = 100;
}
}
Instance of Symbol 91 MovieClip "a" in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.stamina >= 6) {
this._alpha = 100;
}
}
Symbol 98 MovieClip Frame 1
stop();
Instance of Symbol 98 MovieClip "levelup" in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.levelUp == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 105 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.butten.counter * 2.05;
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 126 Button
on (release) {
_root.pre.controls.text = "Your objective is to reach the speed of light by only using your own feces. \nControls - click the Take a Shit button to speed up. \nCan be held for rapid-fire.";
}
Symbol 130 Button
on (release) {
if (_root.fade._currentframe == 1) {
_root.fade.gotoAndStop(2);
}
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
stop();
this._alpha = 0;
Instance of Symbol 188 MovieClip "character" in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
this._rotation = -60;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.2;
}