Frame 1
globalvolume = new Sound();
stop();
_root.kongregateServices.connect();
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this.gotoAndStop(9);
}
}
Instance of Symbol 13 MovieClip in Frame 1
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Frame 5
stop();
Frame 6
stop();
finaltime = 0;
grow = false;
dist = 0;
shrink = false;
Instance of Symbol 97 MovieClip "things" in Frame 6
onClipEvent (load) {
speed = 0;
friction = 0.9;
accel = 0.7;
}
onClipEvent (enterFrame) {
if (this._rotation >= 30) {
this._rotation = 30;
}
if (this._rotation <= -30) {
this._rotation = -30;
}
if (Key.isDown(39)) {
speed = speed + accel;
}
if (Key.isDown(37)) {
speed = speed - accel;
}
this._rotation = this._rotation + speed;
speed = speed * friction;
}
Instance of Symbol 100 MovieClip "controls" in Frame 6
onClipEvent (load) {
balls = 0;
seconds = 0;
difficulty = 100;
diffcount = 0;
difficulty2 = 300;
diffcount2 = 0;
bits = 0;
grows = 0;
shrinks = 0;
kills = 0;
}
onClipEvent (enterFrame) {
bits = bits + 1;
if (bits == 25) {
bits = 0;
seconds = seconds + 1;
diffcount = diffcount + 1;
}
if (diffcount == 20) {
diffcount = 0;
difficulty = difficulty - 15;
difficulty2 = difficulty2 - 8;
_root.harder.gotoAndPlay(2);
}
if (difficulty <= 10) {
difficulty = 10;
}
poop = random(difficulty);
poop2 = random(difficulty2);
if (poop == 1) {
balls = balls + 1;
duplicateMovieClip (_root.things.ball, "ball" + balls, (balls % 100) + 1100);
}
if (poop2 == 2) {
grows = grows + 1;
duplicateMovieClip (_root.things.grow, "grow" + grows, (grows % 100435) + 1145300);
}
if (poop2 == 3) {
shrinks = shrinks + 1;
duplicateMovieClip (_root.things.shrink, "shrink" + shrinks, (shrinks % 35) + 10);
}
if (poop2 == 4) {
kills = kills + 1;
duplicateMovieClip (_root.things.kill, "kill" + kills, (kills % 3324.332225) + 1.66644444444);
}
}
Frame 7
stop();
_root.kongregateStats.submit("HighScore", _root.control.seconds);
Instance of Symbol 122 MovieClip "poop2" in Frame 7
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 9 Button
on (release) {
_root.gotoAndPlay(5);
}
Symbol 10 MovieClip Frame 8
gotoAndPlay (1);
Symbol 18 MovieClip Frame 1
stop();
Symbol 28 Button
on (release) {
_root.nextFrame();
}
Symbol 31 Button
on (release) {
_root.globalvolume.setVolume(0);
gotoAndPlay (2);
}
Symbol 33 Button
on (release) {
_root.globalvolume.setVolume(100);
gotoAndPlay (1);
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 41 Button
on (release) {
getURL ("http://senor-taco.deviantart.com", "_blank");
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 10
stop();
Symbol 87 MovieClip Frame 1
stop();
_root.kill = false;
Symbol 87 MovieClip Frame 8
stop();
_root.kill = true;
Symbol 87 MovieClip Frame 9
_root.kill = false;
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 46 MovieClip "tilty" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
speed = 0;
friction = 0.9;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + speed;
speed = speed * friction;
}
Instance of Symbol 79 MovieClip "ball" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
if (_name != "ball") {
this._x = random(300) - 150;
speed = 0;
friction = 0.9;
accel = 0.5;
yspeed = 0;
falling = true;
this._width = random(20) + 20;
this._height = this._width;
mass = this._width;
DOANYTHING = true;
XD = 0;
YD = 0;
dist = 0;
}
}
onClipEvent (enterFrame) {
if (DOANYTHING == true) {
if (_root.kill == true) {
XD = this._x - _root.things.mainball._x;
YD = this._y - _root.things.mainball._y;
dist = Math.sqrt((XD * XD) + (YD * YD));
_root.dist = dist;
if (((mass / 2) + _root.things.mainball.woop) > dist) {
this._rotation = _root.things._rotation;
this.play();
_root.sound2.play();
DOANYTHING = false;
}
}
if (_name != "ball") {
this._rotation = this._rotation + (speed * 2);
if (falling == true) {
this._y = this._y + yspeed;
yspeed = yspeed + accel;
if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) {
this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2);
falling = false;
yspeed = 0;
}
} else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) {
this._y = this._y + yspeed;
yspeed = yspeed + 1;
if (_root.things._rotation > 0) {
this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10));
}
if (_root.things._rotation < 0) {
this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10));
}
this._alpha = this._alpha - 7;
if (_alpha < 0) {
this.removeMovieClip();
}
} else {
force = ((((this._x / 300) / 2) * mass) / 2) / 5;
if (this._x > 275) {
_root.things.speed = _root.things.speed - (force / 2);
}
if (this._x < 275) {
_root.things.speed = _root.things.speed + (force / 2);
}
speed = _root.things._rotation / (mass / 5);
this._x = this._x + speed;
speed = speed * friction;
}
}
}
}
Instance of Symbol 87 MovieClip "mainball" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
grow = false;
shrink = false;
speed = 0;
friction = 0.9;
accel = 0.5;
yspeed = 0;
falling = false;
this._width = 70;
this._height = this._width;
mass = this._width;
sizee = this._height / 2;
count = 1;
grow = false;
timer = 0;
multiplier = this._width / this._xscale;
woop = (this._xscale * multiplier) / 2;
timer2 = 0;
shrink = 0;
}
onClipEvent (enterFrame) {
_root.kongregateStats.submit("HighSize", woop * 2);
woop = (this._xscale * multiplier) / 2;
if (_root.grow == true) {
timer++;
if (timer == 20) {
timer = 0;
_root.grow = false;
}
this._xscale++;
this._yscale++;
}
if (_root.shrink == true) {
timer2++;
if (timer2 == 20) {
timer2 = 0;
_root.shrink = false;
}
this._xscale--;
this._yscale--;
}
mass = this._width;
this._rotation = this._rotation + (speed * 2);
if (falling == true) {
this._y = this._y + yspeed;
yspeed = yspeed + accel;
if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) {
this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2);
falling = false;
yspeed = 0;
}
} else {
this._y = (_root.things.tilty._y - woop) - (_root.things.tilty._height / 2);
if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) {
if (count == 1) {
_root.finaltime = _root.controls.seconds;
_root.timer._visible = false;
_root.fade.gotoAndPlay(2);
count = 2;
}
this._y = this._y + yspeed;
yspeed = yspeed + 1;
if (_root.things._rotation > 0) {
this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10));
}
if (_root.things._rotation < 0) {
this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10));
}
this._alpha = this._alpha - 4;
if (_alpha < 0) {
this.removeMovieClip();
}
} else {
force = ((((this._x / 300) / 2) * mass) / 2) / 5;
if (this._x > 275) {
_root.things.speed = _root.things.speed - (force / 2);
}
if (this._x < 275) {
_root.things.speed = _root.things.speed + (force / 2);
}
speed = _root.things._rotation / (mass / 5);
this._x = this._x + speed;
speed = speed * friction;
}
}
}
Instance of Symbol 89 MovieClip "grow" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
if (_name != "grow") {
this._x = random(300) - 150;
speed = 0;
friction = 0.9;
accel = 0.5;
yspeed = 0;
falling = true;
mass = this._width;
DOANYTHING = true;
}
}
onClipEvent (enterFrame) {
if (DOANYTHING == true) {
if (_name != "grow") {
XD = this._x - _root.things.mainball._x;
YD = this._y - _root.things.mainball._y;
dist = Math.sqrt((XD * XD) + (YD * YD));
_root.dist = dist;
if (((mass / 2) + _root.things.mainball.woop) > dist) {
_root.things.glow.play();
_root.sound3.play();
_root.grow = true;
DOANYTHING = false;
this._visible = false;
}
this._rotation = this._rotation + (speed * 2);
if (falling == true) {
this._y = this._y + yspeed;
yspeed = yspeed + accel;
if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) {
this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2);
falling = false;
yspeed = 0;
}
} else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) {
this._y = this._y + yspeed;
yspeed = yspeed + 1;
if (_root.things._rotation > 0) {
this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10));
}
if (_root.things._rotation < 0) {
this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10));
}
this._alpha = this._alpha - 7;
if (_alpha < 0) {
this.removeMovieClip();
}
} else {
force = ((((this._x / 300) / 2) * mass) / 2) / 5;
if (this._x > 275) {
_root.things.speed = _root.things.speed - (force / 2);
}
if (this._x < 275) {
_root.things.speed = _root.things.speed + (force / 2);
}
speed = _root.things._rotation / (mass / 5);
this._x = this._x + speed;
speed = speed * friction;
}
}
}
}
Instance of Symbol 91 MovieClip "shrink" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
if (_name != "shrink") {
this._x = random(300) - 150;
speed = 0;
friction = 0.9;
accel = 0.5;
yspeed = 0;
falling = true;
mass = this._width;
DOANYTHING = true;
}
}
onClipEvent (enterFrame) {
if (DOANYTHING == true) {
if (_name != "shrink") {
XD = this._x - _root.things.mainball._x;
YD = this._y - _root.things.mainball._y;
dist = Math.sqrt((XD * XD) + (YD * YD));
_root.dist = dist;
if (((mass / 2) + _root.things.mainball.woop) > dist) {
_root.sound3.play();
_root.things.glow.play();
_root.shrink = true;
DOANYTHING = false;
this._visible = false;
}
this._rotation = this._rotation + (speed * 2);
if (falling == true) {
this._y = this._y + yspeed;
yspeed = yspeed + accel;
if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) {
this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2);
falling = false;
yspeed = 0;
}
} else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) {
this._y = this._y + yspeed;
yspeed = yspeed + 1;
if (_root.things._rotation > 0) {
this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10));
}
if (_root.things._rotation < 0) {
this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10));
}
this._alpha = this._alpha - 7;
if (_alpha < 0) {
this.removeMovieClip();
}
} else {
force = ((((this._x / 300) / 2) * mass) / 2) / 5;
if (this._x > 275) {
_root.things.speed = _root.things.speed - (force / 2);
}
if (this._x < 275) {
_root.things.speed = _root.things.speed + (force / 2);
}
speed = _root.things._rotation / (mass / 5);
this._x = this._x + speed;
speed = speed * friction;
}
}
}
}
Instance of Symbol 93 MovieClip "kill" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
if (_name != "kill") {
this._x = random(300) - 150;
speed = 0;
friction = 0.9;
accel = 0.5;
yspeed = 0;
falling = true;
mass = this._width;
DOANYTHING = true;
}
}
onClipEvent (enterFrame) {
if (DOANYTHING == true) {
if (_name != "kill") {
XD = this._x - _root.things.mainball._x;
YD = this._y - _root.things.mainball._y;
dist = Math.sqrt((XD * XD) + (YD * YD));
_root.dist = dist;
if (((mass / 2) + _root.things.mainball.woop) > dist) {
_root.things.mainball.play();
_root.things.glow.play();
_root.sound.play();
DOANYTHING = false;
this._visible = false;
}
this._rotation = this._rotation + (speed * 2);
if (falling == true) {
this._y = this._y + yspeed;
yspeed = yspeed + accel;
if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) {
this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2);
falling = false;
yspeed = 0;
}
} else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) {
this._y = this._y + yspeed;
yspeed = yspeed + 1;
if (_root.things._rotation > 0) {
this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10));
}
if (_root.things._rotation < 0) {
this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10));
}
this._alpha = this._alpha - 7;
if (_alpha < 0) {
this.removeMovieClip();
}
} else {
force = ((((this._x / 300) / 2) * mass) / 2) / 5;
if (this._x > 275) {
_root.things.speed = _root.things.speed - (force / 2);
}
if (this._x < 275) {
_root.things.speed = _root.things.speed + (force / 2);
}
speed = _root.things._rotation / (mass / 5);
this._x = this._x + speed;
speed = speed * friction;
}
}
}
}
Instance of Symbol 96 MovieClip "glow" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.things.mainball._x;
this._y = _root.things.mainball._y;
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 20
stop();
_root.nextFrame();
Symbol 119 Button
on (release) {
_root.prevFrame();
}
Symbol 124 MovieClip Frame 20
stop();