Frame 1
totalscore = 0;
frame = 10;
first = 0;
second = 0;
min = 5;
sec = 0;
scored = 0;
stop();
gutter = false;
Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y + 1.5;
if (this._x > 600) {
this._x = -100;
}
if (this._y > 600) {
this._y = -200;
}
}
Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y + 1.5;
if (this._x > 600) {
this._x = -100;
}
if (this._y > 600) {
this._y = -200;
}
}
Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y + 1.5;
if (this._x > 600) {
this._x = -100;
}
if (this._y > 600) {
this._y = -200;
}
}
Frame 2
xmod = 1.04;
ymod = 1.02;
deflectionmod = 50;
displayscore = 0;
walll = 186.4;
wallr = 326.4;
Instance of Symbol 92 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.frame < 1) {
_root.gotoAndPlay("end");
}
}
Frame 3
stop();
Instance of Symbol 178 MovieClip "meter" in Frame 3
onClipEvent (load) {
spin = 0;
spindir = "right";
}
onClipEvent (enterFrame) {
this._x = _root.ball._x + (spin * 7);
if (_root.bowled == false) {
if (spindir == "right") {
spin = spin + (0.2 + (_root.frame * 0.005));
}
if (spindir == "left") {
spin = spin - (0.2 + (_root.frame * 0.005));
}
if (spin > 5) {
spindir = "left";
}
if (spin < -5) {
spindir = "right";
}
dirimage = spin + 5.5;
_root.ball.ospin = spin;
_root.spin = spin;
if ((spin > -1) and (spin < 1)) {
_root.ball.ospin = 0;
_root.spin = 0;
}
marker.gotoAndStop(int(dirimage * 5));
}
}
Instance of Symbol 180 MovieClip "ball" in Frame 3
onClipEvent (load) {
_root.displayscore = 0;
this._x = 260;
this._y = 373;
this._xscale = 50;
this._yscale = 50;
attempt = 1;
this._x = this._x + random(5);
_root.bowled = false;
}
onClipEvent (enterFrame) {
if (_root.bowled == true) {
_x = (_x + ((-mod) / 62));
if (ospin > 0) {
_root.spin = _root.spin - 0.15;
}
if (ospin < 0) {
_root.spin = _root.spin + 0.15;
}
this._x = this._x + _root.spin;
this._y = this._y - y;
if (_root.gutterleft.hitTest(_x, _y, true)) {
trace("gutter ball");
_root.gutter = true;
_x = (_x + 2.5);
_root.fx.gotoAndPlay("hitgutter");
_root.spin = 0;
ospin = 0;
}
if (_root.gutterright.hitTest(_x, _y, true)) {
trace("gutter ball");
_root.gutter = true;
_x = (_x - 2.5);
_root.fx.gotoAndPlay("hitgutter");
_root.spin = 0;
ospin = 0;
}
this._xscale = this._xscale - 0.6;
this._yscale = this._yscale - 0.6;
}
if (this._y < -500) {
_root.gutter = false;
if (attempt == 1) {
_root.ms.gotoAndPlay(2);
_root.first = _root.score;
if (_root.first > 9) {
_root.frame = _root.frame + 1;
attempt = 0;
_root.score = 0;
_root.totalscore = _root.totalscore + 300;
_root.first = 0;
_root.ft.gotoAndPlay(16);
_root.shout.gotoAndPlay("strike");
_root.gotoAndPlay(2);
}
_root.scored = _root.first;
_root.scored1.scored2.scored = _root.first * 10;
_root.scored1.gotoAndPlay(2);
} else if (attempt == 2) {
_root.second = _root.score;
_root.scored1.scored2.scored = _root.second * 10;
_root.scored1.gotoAndPlay(2);
}
_root.score = 0;
_root.displayscore = _root.first + _root.second;
trace("DISPLAY SCORE " + _root.displayscore);
_root.display.gotoAndPlay(2);
_root.fx.gotoAndPlay("back");
attempt++;
if (attempt == 3) {
_root.ft.gotoAndPlay(16);
if ((_root.first + _root.second) == 10) {
_root.totalscore = _root.totalscore + 100;
_root.frame = _root.frame + 1;
_root.shout.gotoAndPlay("spare");
}
_root.displayscore = 0;
_root.frame = _root.frame - 1;
_root.totalscore = _root.totalscore + ((_root.first + _root.second) * 10);
_root.first = 0;
_root.second = 0;
_root.ms.gotoAndPlay(2);
attempt = 1;
_root.gotoAndPlay(2);
}
_root.meter._visible = true;
_root.bowled = false;
this._xscale = 50;
this._yscale = 50;
this._x = 260;
this._y = 373;
mod = 0;
this.y = 0;
this.x = 0;
}
if (_root.bowled == false) {
this._x = _root._xmouse;
if (_x < 150) {
_x = 150;
}
if (_x > 400) {
_x = 400;
}
mod = this._x - 256;
}
}
onClipEvent (mouseDown) {
_root.ball.gotoAndStop(45);
_root.fx.gotoAndPlay("end");
_root.meter._visible = false;
_root.bowled = true;
y = 7;
}
Instance of Symbol 188 MovieClip "0" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp7._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 58) {
_y = 58;
y = 0;
}
}
Instance of Symbol 188 MovieClip "1" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp8._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 58) {
_y = 58;
y = 0;
}
}
Instance of Symbol 188 MovieClip "2" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp9._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 58) {
_y = 58;
y = 0;
}
}
Instance of Symbol 188 MovieClip "3" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp10._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 58) {
_y = 58;
y = 0;
}
}
Instance of Symbol 188 MovieClip "4" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
if (_x != 0) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp4._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 62) {
_y = 62;
y = 0;
}
}
}
Instance of Symbol 188 MovieClip "5" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if (this.hitTest(_root.ball) & (hit == false)) {
_root.score++;
_root.fp5._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 62) {
_y = 62;
y = 0;
}
}
Instance of Symbol 188 MovieClip "6" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp6._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 62) {
_y = 62;
y = 0;
}
}
Instance of Symbol 188 MovieClip "8" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if (this.hitTest(_root.ball) & (hit == false)) {
_root.score++;
_root.fp1._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 67) {
_y = 67;
y = 0;
}
}
Instance of Symbol 188 MovieClip "9" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.hitTest(_root.ball) & (hit == false)) && (_root.gutter == false)) {
_root.score++;
_root.fp2._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 67) {
_y = 67;
y = 0;
}
}
Instance of Symbol 188 MovieClip "10" in Frame 3
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if (this.hitTest(_root.ball) & (hit == false)) {
_root.score++;
_root.fp0._visible = false;
gotoAndPlay (2);
pinx = _x;
piny = _y;
ballx = _root.ball._x;
bally = _root.ball._y;
xdeflection = pinx - ballx;
ydeflection = piny - bally;
if (ydeflection > 0) {
ydeflection = -ydeflection;
}
hit = true;
this.x = (xdeflection / _root.deflectionmod) * _root.ball.y;
this.y = (ydeflection / _root.deflectionmod) * _root.ball.y;
}
if (this.x > 0) {
this.x = this.x / _root.xmod;
}
if (this.x < 0) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
if (_y > 72) {
_y = 72;
y = 0;
}
}
Instance of Symbol 180 MovieClip "ball" in Frame 4
onClipEvent (load) {
_root.displayscore = 0;
this._x = 260;
this._y = 373;
this._xscale = 50;
this._yscale = 50;
attempt = 1;
this._x = this._x + random(5);
_root.bowled = false;
}
onClipEvent (enterFrame) {
if (_root.bowled == true) {
_x = (_x + ((-mod) / 62));
if (ospin > 0) {
_root.spin = _root.spin - 0.15;
}
if (ospin < 0) {
_root.spin = _root.spin + 0.15;
}
this._x = this._x + _root.spin;
this._y = this._y - y;
if (_root.gutterleft.hitTest(_x, _y, true)) {
trace("gutter ball");
_root.gutter = true;
_x = (_x + 2.5);
_root.fx.gotoAndPlay("hitgutter");
_root.spin = 0;
ospin = 0;
}
if (_root.gutterright.hitTest(_x, _y, true)) {
trace("gutter ball");
_root.gutter = true;
_x = (_x - 2.5);
_root.fx.gotoAndPlay("hitgutter");
_root.spin = 0;
ospin = 0;
}
this._xscale = this._xscale - 0.6;
this._yscale = this._yscale - 0.6;
}
if (this._y < -500) {
_root.gutter = false;
if (attempt == 1) {
_root.ms.gotoAndPlay(2);
_root.first = _root.score;
if (_root.first > 9) {
attempt = 0;
_root.score = 0;
_root.totalscore = _root.totalscore + 300;
_root.first = 0;
trace("FIRST+" + _root.first);
_root.shout.gotoAndPlay("strike");
_root.ft.gotoAndPlay(16);
_root.gotoAndPlay(2);
}
_root.scored = _root.first;
_root.scored1.scored2.scored = _root.first * 10;
_root.scored1.gotoAndPlay(2);
} else if (attempt == 2) {
_root.second = _root.score;
_root.scored1.scored2.scored = _root.second * 10;
_root.scored1.gotoAndPlay(2);
}
_root.score = 0;
_root.displayscore = _root.first + _root.second;
trace("DISPLAY SCORE " + _root.displayscore);
_root.display.gotoAndPlay(2);
_root.fx.gotoAndPlay("back");
attempt++;
if (attempt == 3) {
_root.ft.gotoAndPlay(16);
if ((_root.first + _root.second) == 10) {
trace("SPARE");
_root.totalscore = _root.totalscore + 100;
_root.frame = _root.frame + 1;
_root.shout.gotoAndPlay("spare");
}
_root.displayscore = 0;
_root.frame = _root.frame - 1;
_root.totalscore = _root.totalscore + ((_root.first + _root.second) * 10);
_root.first = 0;
_root.second = 0;
_root.ms.gotoAndPlay(2);
trace("try again");
attempt = 1;
_root.gotoAndPlay(2);
}
_root.meter._visible = true;
_root.bowled = false;
this._xscale = 50;
this._yscale = 50;
this._x = 260;
this._y = 373;
mod = 0;
this.y = 0;
this.x = 0;
}
if (_root.bowled == false) {
this._x = _root._xmouse;
if (_x < 150) {
_x = 150;
}
if (_x > 400) {
_x = 400;
}
mod = this._x - 256;
}
}
onClipEvent (mouseDown) {
_root.ball.gotoAndStop(45);
_root.fx.gotoAndPlay("end");
_root.meter._visible = false;
_root.bowled = true;
y = 7;
}
Instance of Symbol 188 MovieClip "rp0" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp1" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp2" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp3" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp4" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp5" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp6" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp1" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp2" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 188 MovieClip "rp0" in Frame 4
onClipEvent (load) {
this.x = 0;
this.y = 0;
hit = false;
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if ((this.x > 0) || (this.x < 0)) {
this.x = this.x / _root.xmod;
}
if (this.y < 0) {
this.y = this.y / _root.ymod;
}
}
Instance of Symbol 3 MovieClip in Frame 4
onClipEvent (load) {
pinnumber = 0;
}
onClipEvent (enterFrame) {
if (_root["fp" + i].hitTest(_root.ball) & (_root["fp" + i].hit == false)) {
_root.score++;
_root["fp" + i]._visible = false;
_root["rp" + i].pinx = _root["rp" + i]._x;
_root["rp" + i].piny = _root["rp" + i]._y;
_root["rp" + i].ballx = _root.ball._x;
_root["rp" + i].bally = _root.ball._y;
_root["rp" + i].xdeflection = _root["rp" + i].pinx - _root["rp" + i].ballx;
_root["rp" + i].ydeflection = _root["rp" + i].piny - _root["rp" + i].bally;
if (_root["rp" + i].ydeflection > 0) {
_root["fp" + i].ydeflection = -_root["fp" + i].ydeflection;
}
_root["rp" + i].hit = true;
_root["rp" + i].x = (_root["rp" + i].xdeflection / _root.deflectionmod) * _root.ball.y;
_root["rp" + i].y = (_root["rp" + i].ydeflection / _root.deflectionmod) * _root.ball.y;
}
pinnumber++;
if (pinnumber > 9) {
pinnumber = 0;
}
}
Instance of Symbol 92 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.frame < 1) {
_root.gotoAndPlay("end");
}
}
Instance of Symbol 3 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y + 1.5;
if (this._x > 600) {
this._x = -100;
}
if (this._y > 600) {
this._y = -200;
}
}
Instance of Symbol 3 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y + 1.5;
if (this._x > 600) {
this._x = -100;
}
if (this._y > 600) {
this._y = -200;
}
}
Instance of Symbol 3 MovieClip in Frame 15
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y + 1.5;
if (this._x > 600) {
this._x = -100;
}
if (this._y > 600) {
this._y = -200;
}
}
Instance of Symbol 92 MovieClip "mst" in Frame 15
onClipEvent (load) {
olddate = new Date();
}
onClipEvent (enterFrame) {
newdate = new Date();
ms = newdate.getTime() - olddate.getTime();
pre = "";
if (ms > 1000) {
_root.c1._rotation = _root.c1._rotation + 6;
_root.c2._rotation = _root.c2._rotation - 6;
_root.sec = _root.sec - 1;
msec = 35;
olddate = new Date();
}
if (_root.sec < 0) {
_root.sec = 59;
_root.min = _root.min - 1;
}
if (_root.sec < 10) {
pre = "0";
}
clock = ((("0" + _root.min) + ":") + pre) + _root.sec;
if (_root.frame < 0) {
_root.fx.score = _root.totalscore;
_root.fx.id = 9;
_root.fx.getURL("http://www.hairybulletgames.com/submitscore.php", "_self", "GET");
}
if ((_root.sec == 0) && (_root.min == 0)) {
_root.fx.score = _root.totalscore;
_root.fx.id = 9;
_root.fx.getURL("http://www.hairybulletgames.com/submitscore.php", "_self", "GET");
}
mx = _root._xmouse;
my = _root._ymouse;
this.xpos = int((mx - _root.playingarea._x) / 36);
this.ypos = int((my - _root.playingarea._y) / 32);
}
Frame 32
stop();
Symbol 23 MovieClip Frame 20
stop();
Symbol 24 MovieClip Frame 29
stop();
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
stop();
Symbol 32 Button
on (release) {
stopAllSounds();
gotoAndPlay (2);
}
Symbol 36 Button
on (release) {
_root.title.gotoAndStop(77);
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 26
stop();
Symbol 46 MovieClip Frame 46
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
if (_root.displayscore == 1) {
stop();
}
if (_root.displayscore == 0) {
gotoAndStop (1);
}
Symbol 51 MovieClip Frame 6
if (_root.displayscore == 2) {
stop();
}
Symbol 51 MovieClip Frame 11
if (_root.displayscore == 3) {
stop();
}
Symbol 51 MovieClip Frame 16
if (_root.displayscore == 4) {
stop();
}
Symbol 51 MovieClip Frame 21
if (_root.displayscore == 5) {
stop();
}
Symbol 51 MovieClip Frame 26
if (_root.displayscore == 6) {
stop();
}
Symbol 51 MovieClip Frame 31
if (_root.displayscore == 7) {
stop();
}
Symbol 51 MovieClip Frame 36
if (_root.displayscore == 8) {
stop();
}
Symbol 51 MovieClip Frame 41
if (_root.displayscore == 9) {
stop();
}
Symbol 51 MovieClip Frame 46
if (_root.displayscore == 10) {
stop();
}
Symbol 51 MovieClip Frame 52
stop();
Symbol 68 MovieClip Frame 1
text.frame = _root.frame;
Symbol 68 MovieClip Frame 15
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 50
gotoAndStop (1);
Symbol 124 MovieClip Frame 1
this.totalscore = _root.totalscore;
if ((this.totalscore < 1000) && (this.totalscore > 99)) {
this.totalscore = "0" + _root.totalscore;
}
if (this.totalscore < 100) {
this.totalscore = "00" + _root.totalscore;
}
if (this.totalscore == 0) {
this.totalscore = "0000";
}
_root.ms.t.totalscore = this.totalscore;
stop();
Symbol 180 MovieClip Frame 45
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
r = random(3);
pinimage.gotoAndPlay(r);
Symbol 188 MovieClip Frame 82
stop();
Symbol 206 MovieClip Frame 1
score = _level0.totalscore;
gcode = _level0.gcode;
if (score == 0) {
score = 5;
}
if (url_dest == null) {
getURL ("game.cfm", "_self", "POST");
} else {
getURL (url_dest, "_self", "POST");
}
stop();