Frame 1
tb = getBytesTotal();
bl = getBytesLoaded();
Frame 2
if (lb < tb) {
gotoAndPlay (1);
}
Frame 10
function gettype() {
i = 0;
while (i <= 10) {
if (_root.ball.hitTest(_root.platforms.hit["p" + i])) {
trace(_root.platforms.hit["p" + i].type);
_root.handicap = _root.platforms.hit["p" + i].type;
break;
}
trace("GET TYPE");
i++;
}
}
par = new Array(0, 2, 3, 5, 7, 5, 6, 3, 8, 9, 10);
shots = 0;
level = 1;
lives = 3;
score = 0;
bounce = new Sound();
bounce.attachSound("bounce");
swing = new Sound();
swing.attachSound("swing");
stop();
Frame 20
trace("level " + _root.level);
trace("Par " + _root.par[level]);
levelpar = _root.par[level];
xstrength = 0;
ystrength = 0;
handicap = 0;
Instance of Symbol 43 MovieClip "c1" in Frame 21
onClipEvent (enterFrame) {
_x = (_x - 0.5);
if (_x < -150) {
_x = 650;
}
if (_x > 650) {
_x = -150;
}
if (_y < -150) {
_y = 500;
}
if (_y > 500) {
_y = -150;
}
}
Instance of Symbol 43 MovieClip "c2" in Frame 21
onClipEvent (enterFrame) {
_x = (_x - 0.2);
if (_x < -150) {
_x = 650;
}
if (_x > 650) {
_x = -150;
}
if (_y < -150) {
_y = 500;
}
if (_y > 500) {
_y = -150;
}
}
Instance of Symbol 57 MovieClip "platforms" in Frame 21
onClipEvent (load) {
this.gotoAndStop(_root.level);
}
Instance of Symbol 62 MovieClip "lives" in Frame 21
onClipEvent (load) {
this.gotoAndStop(_root.lives + 1);
}
Frame 40
stop();
Instance of Symbol 61 MovieClip "ball" in Frame 40
onClipEvent (load) {
_root.handicap = 1;
xspeed = _root.xstrength;
yspeed = _root.ystrength;
gravity = 6;
bounce = 100;
}
onClipEvent (enterFrame) {
if (_root.platforms._y < 0) {
_root.lives--;
if (_root.lives == -1) {
_root.gotoAndStop("gameover");
}
_root.gotoAndPlay("startlevel");
}
yspeed = yspeed + 0.4;
if ((_root.platforms.hit.hitTest(_x + 9, _y, true) && (xspeed > 0)) || (_root.platforms.hit.hitTest(_x - 9, _y, true) && (xspeed < 0))) {
if ((xspeed > 0.5) || (xspeed < -0.5)) {
_root.bounce.start();
}
xspeed = -xspeed;
} else if (_root.platforms.hit.hitTest(_x, (_y + yspeed) - 8, true)) {
bounce = yspeed;
_root.gettype();
if (yspeed < 0.5) {
_root.bounce.start();
}
yspeed = ((-yspeed) / 2.5) / _root.handicap;
}
if (_root.platforms.hit.hitTest(_x, (_y + yspeed) + 8, true)) {
bounce = yspeed;
_root.gettype();
if (yspeed > 0.8) {
_root.bounce.start();
}
yspeed = ((-yspeed) / 2.5) / _root.handicap;
}
_root.platforms._y = _root.platforms._y + (-yspeed);
_root.platforms._x = _root.platforms._x + (-xspeed);
_root.c1._y = _root.c1._y + (-(yspeed / 2));
_root.c1._x = _root.c1._x + (-(xspeed / 2));
_root.c2._y = _root.c2._y + (-(yspeed / 2));
_root.c2._x = _root.c2._x + (-(xspeed / 2));
xspeed = (xspeed / 1.02) / _root.handicap;
decals._rotation = decals._rotation + (xspeed * 3);
trace(bounce);
if ((((bounce < 0.6) && (xspeed < 0.1)) && (bounce > -0.6)) && (xspeed > -0.1)) {
_root.gotoAndStop("shoot");
}
}
Instance of Symbol 69 MovieClip in Frame 60
onClipEvent (load) {
if (_root.handicap == 2) {
this._y = -1000;
}
}
Instance of Symbol 61 MovieClip "ball2" in Frame 60
onClipEvent (load) {
if (_root.handicap == 2) {
stopAllSounds();
_root.gotoAndStop("endlevel");
}
}
Frame 76
_root.score = _root.score + (_root.levelpar - _root.shots);
trace("SCORE: " + _root.score);
trace("END of level....on to the next hole");
stop();
Frame 114
_root.gotoAndPlay("startlevel");
Frame 115
_root.mst.score = _root.score;
_root.mst.game = "Mile High Club";
_root.mst.loadVariables("record_score.php", "GET");
Symbol 13 MovieClip Frame 39
stop();
Symbol 18 Button
on (release) {
stopAllSounds();
gotoAndPlay ("startlevel");
}
Symbol 20 MovieClip Frame 61
stop();
Symbol 26 Button
on (release) {
getURL ("http://www.hairybulletgames.com");
}
Symbol 27 MovieClip Frame 100
stop();
Symbol 50 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip "p2" in Symbol 51 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 51 MovieClip Frame 1
onClipEvent (load) {
type = 2;
this.gotoAndStop("green");
}
Instance of Symbol 50 MovieClip "p2" in Symbol 52 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p3" in Symbol 52 MovieClip Frame 1
onClipEvent (load) {
type = 3;
this.gotoAndStop("bunker");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 52 MovieClip Frame 1
onClipEvent (load) {
type = 2;
this.gotoAndStop("green");
}
Instance of Symbol 50 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p2" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p6" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 2;
this.gotoAndStop("green");
}
Instance of Symbol 50 MovieClip "p5" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p4" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p7" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p3" in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p2" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p5" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
type = 2;
this.gotoAndStop("green");
}
Instance of Symbol 50 MovieClip "p2" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p3" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p4" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p2" in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
type = 2;
this.gotoAndStop("green");
}
Instance of Symbol 50 MovieClip "p3" in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
type = 1;
this.gotoAndStop("normal");
}
Instance of Symbol 50 MovieClip "p1" in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
type = 2;
this.gotoAndStop("green");
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 65 Button
on (release) {
_root.swing.start();
_root.shots++;
mod = 2.1;
_root.xstrength = ((275 - _root._xmouse) / mod) / _root.handicap;
_root.ystrength = ((200 - _root._ymouse) / mod) / _root.handicap;
_root.gotoAndStop("playshot");
}
Instance of Symbol 68 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + (Math.floor((180 * Math.atan2(_ymouse, _xmouse)) / Math.PI) + 90);
}
Symbol 73 MovieClip Frame 25
stop();
Symbol 77 MovieClip Frame 23
stop();
Symbol 81 Button
on (release) {
_root.shots = 0;
_root.level++;
stopAllSounds();
if (_root.level == 7) {
_root.gotoAndStop("gameover");
}
if (_root.level < 7) {
_root.gotoAndPlay("fade");
}
}
Symbol 85 MovieClip Frame 30
stop();
Symbol 88 Button
on (release) {
stopAllSounds();
gotoAndPlay ("init");
}