Frame 1
globalvolume = new Sound();
stop();
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this.gotoAndStop(9);
}
}
Instance of Symbol 14 MovieClip in Frame 1
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Frame 5
stop();
Frame 6
stop();
finaltime = 0;
Instance of Symbol 40 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 43 MovieClip "controls" in Frame 6
onClipEvent (load) {
balls = 0;
seconds = 0;
difficulty = 100;
diffcount = 0;
bits = 0;
}
onClipEvent (enterFrame) {
bits = bits + 1;
if (bits == 25) {
bits = 0;
seconds = seconds + 1;
diffcount = diffcount + 1;
}
if (diffcount == 20) {
diffcount = 0;
difficulty = difficulty - 10;
_root.harder.gotoAndPlay(2);
}
poop = random(difficulty);
if (poop == 1) {
balls = balls + 1;
duplicateMovieClip (_root.things.ball, "ball" + balls, (balls % 100) + 1100);
}
}
Frame 7
stop();
Symbol 9 Button
on (release) {
_root.gotoAndPlay(5);
}
Symbol 10 MovieClip Frame 8
gotoAndPlay (1);
Symbol 17 MovieClip Frame 1
stop();
Symbol 26 Button
on (release) {
_root.nextFrame();
}
Symbol 28 Button
on (release) {
_root.globalvolume.setVolume(0);
gotoAndPlay (2);
}
Symbol 30 Button
on (release) {
_root.globalvolume.setVolume(100);
gotoAndPlay (1);
}
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Instance of Symbol 35 MovieClip "tilty" in Symbol 40 MovieClip Frame 1
onClipEvent (load) {
speed = 0;
friction = 0.9;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + speed;
speed = speed * friction;
}
Instance of Symbol 37 MovieClip "ball" in Symbol 40 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;
}
}
onClipEvent (enterFrame) {
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 39 MovieClip "ball" in Symbol 40 MovieClip Frame 1
onClipEvent (load) {
speed = 0;
friction = 0.9;
accel = 0.5;
yspeed = 0;
falling = false;
this._width = 70;
this._height = this._width;
mass = this._width;
count = 1;
}
onClipEvent (enterFrame) {
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)))) {
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;
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 20
stop();
_root.nextFrame();
Symbol 54 Button
on (release) {
_root.prevFrame();
}
Symbol 57 MovieClip Frame 20
stop();