Frame 4
stopAllSounds();
Frame 6
stop();
Frame 10
stopAllSounds();
Frame 12
stop();
timeBox.html = true;
scoreBox.html = true;
var theTime = 100;
var theScore = 0;
_root.timeBox.htmlText = ("<b>Time: " + _root.theTime.toString()) + "</b>";
Frame 13
stop();
finalScoreBox.html = true;
finalScoreBox.htmlText = ("<b>Final score: " + theScore.toString()) + "</b>";
Symbol 10 MovieClip Frame 1
Stage.showMenu = false;
stopAllSounds();
Symbol 15 MovieClip Frame 1
this._visible = true;
Symbol 15 MovieClip Frame 150
this._visible = true;
Symbol 15 MovieClip Frame 175
stop();
this._visible = false;
Symbol 21 MovieClip Frame 1
this._visible = false;
Symbol 24 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((_root._ymouse > 75) && (_root._ymouse < 275)) && (_root._xmouse > 25)) && (_root._xmouse < 525)) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
} else {
Mouse.show();
}
return(undefined);
};
Symbol 25 MovieClip [wadefin] Frame 1
stop();
onEnterFrame = function () {
var _local4;
var _local3;
this._x = this._x - (5 + Math.round(_root.preGame.speedBonus));
if (this._x < (25 - (this._width / 2))) {
this.swapDepths(7777);
this.removeMovieClip();
}
if (this.hitTest(_root.preGame.player.theShape)) {
_root.preGame.loseGame();
return(undefined);
}
_local4 = 0;
while (_local4 < 100) {
if ((_root.preGame["proj" + _local4.toString()] != undefined) && (this.hitTest(_root.preGame["proj" + _local4.toString()]))) {
_root.preGame.splodePlayer.gotoAndPlay(2);
_local3 = 0;
while (_root.preGame["splode" + _local3.toString()] != undefined) {
_local3++;
}
_root.preGame.numKills++;
_root.preGame.attachMovie("splode", "splode" + _local3.toString(), 2000 + _local3);
_root.preGame["splode" + _local3.toString()]._x = this._x;
_root.preGame["splode" + _local3.toString()]._y = this._y;
_root.preGame["proj" + _local4.toString()].removeMovieClip();
this.removeMovieClip();
}
_local4++;
}
return(undefined);
};
Symbol 27 MovieClip [proj] Frame 1
onEnterFrame = function () {
this._x = this._x + 20;
if (this._x > (550 + (this._width / 2))) {
this.removeMovieClip();
}
return(undefined);
};
Symbol 68 MovieClip [splode] Frame 81
this.removeMovieClip();
Symbol 77 MovieClip Frame 1
stop();
var buttonDown;
if (buttonDown == undefined) {
buttonDown = false;
}
onRollOver = function () {
gotoAndStop (2);
return(undefined);
};
onRollOut = function () {
gotoAndStop (1);
return(undefined);
};
onPress = function () {
buttonDown = true;
gotoAndStop (3);
return(undefined);
};
onMouseUp = function () {
if (buttonDown == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
buttonDown = false;
return(undefined);
};
onRelease = function () {
_root.preGame.beepPlayer.gotoAndPlay(2);
Mouse.show();
_root.stopAllSounds();
_root.play();
return(undefined);
};
Symbol 80 MovieClip Frame 21
stop();
Symbol 82 MovieClip Frame 1
stop();
onEnterFrame = function () {
theBar._xscale = (100 * _root.getBytesLoaded()) / _root.getBytesTotal();
if (theBar._xscale == 100) {
gotoAndStop (2);
_parent.play();
_parent.uselessCaptions._visible = false;
}
return(undefined);
};
onEnterFrame();
Symbol 82 MovieClip Frame 2
stop();
onEnterFrame = null;
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 17
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
var enemyRate = 0.03;
var speedBonus = 0;
var curTimer = 1;
var theTime = 0;
var numKills = 0;
stop();
_root.stop();
theOver.swapDepths(5000);
onMouseDown = function () {
var _local2;
if (!((((_root._ymouse > 75) && (_root._ymouse < 275)) && (_root._xmouse > 25)) && (_root._xmouse < 525))) {
return(undefined);
}
_local2 = 0;
while (_root.preGame["proj" + _local2.toString()] != undefined) {
_local2++;
}
_root.preGame.attachMovie("proj", "proj" + _local2.toString(), 1000 + _local2);
_root.preGame["proj" + _local2.toString()]._x = _root._xmouse;
_root.preGame["proj" + _local2.toString()]._y = _root._ymouse;
firePlayer.gotoAndPlay(2);
player.gotoAndPlay(2);
return(undefined);
};
onEnterFrame = function () {
var _local2;
curTimer++;
if (curTimer >= 24) {
curTimer = 1;
theTime++;
timeBox.text = "Time: " + theTime.toString();
}
scoreBox.text = "Score: " + (theTime * (numKills + 1)).toString();
enemyRate = enemyRate * 1.002;
speedBonus = speedBonus + 0.01;
if (enemyRate > 0.5) {
enemyRate = 0.3;
}
_local2 = 0;
while (_root.preGame["wade" + _local2.toString()] != undefined) {
_local2++;
}
if (Math.random() < enemyRate) {
_root.preGame.attachMovie("wadefin", "wade" + _local2.toString(), 500 + _local2);
_root.preGame["wade" + _local2.toString()]._x = 525 + Math.ceil(_root.preGame["wade" + _local2.toString()]._width / 2);
_root.preGame["wade" + _local2.toString()]._y = Math.round((75 + (_root.preGame["wade" + _local2.toString()]._height / 2)) + (Math.random() * (200 - _root.preGame["wade" + _local2.toString()]._height)));
}
return(undefined);
};
loseGame = function () {
var _local2;
stopAllSounds();
enemyRate = 0.03;
speedBonus = 0;
curTimer = 1;
theTime = 0;
numKills = 0;
_local2 = 0;
while (_local2 < 500) {
if (_root.preGame["proj" + _local2.toString()] != undefined) {
_root.preGame["proj" + _local2.toString()].removeMovieClip();
}
if (_root.preGame["wade" + _local2.toString()] != undefined) {
_root.preGame["wade" + _local2.toString()].removeMovieClip();
}
if (_root.preGame["splode" + _local2.toString()] != undefined) {
_root.preGame["splode" + _local2.toString()].removeMovieClip();
}
_local2++;
}
theInstructions.gotoAndPlay(1);
return(undefined);
};
Symbol 100 MovieClip Frame 1
stop();
var buttonDown;
if (buttonDown == undefined) {
buttonDown = false;
}
onRollOver = function () {
gotoAndStop (2);
return(undefined);
};
onRollOut = function () {
gotoAndStop (1);
return(undefined);
};
onPress = function () {
buttonDown = true;
gotoAndStop (3);
return(undefined);
};
onMouseUp = function () {
if (buttonDown == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
buttonDown = false;
return(undefined);
};
onRelease = function () {
_root.beepPlayer.gotoAndPlay(2);
_root.play();
return(undefined);
};
Symbol 110 MovieClip Frame 1
this._visible = false;
Symbol 111 MovieClip Frame 1
stop();
var velX;
var velY;
var theNum;
setNumber = function () {
var _local3 = "";
var _local2;
_local2 = 0;
while (_local2 < this._name.length) {
if ((((((((((this._name.charAt(_local2) == "0") || (this._name.charAt(_local2) == "1")) || (this._name.charAt(_local2) == "2")) || (this._name.charAt(_local2) == "3")) || (this._name.charAt(_local2) == "4")) || (this._name.charAt(_local2) == "5")) || (this._name.charAt(_local2) == "6")) || (this._name.charAt(_local2) == "7")) || (this._name.charAt(_local2) == "8")) || (this._name.charAt(_local2) == "9")) {
_local3 = _local3 + this._name.charAt(_local2);
}
_local2++;
}
theNum = Number(_local3);
return(undefined);
};
getAngle = function (velX, velY) {
theMod = Math.sqrt((velX * velX) + (velY * velY));
theAngle = Math.asin((-velY) / theMod);
if ((velX < 0) && ((-velY) > 0)) {
theAngle = Math.PI - theAngle;
}
if ((velX < 0) && ((-velY) < 0)) {
theAngle = -3.14159265358979 - theAngle;
}
if ((theAngle == 0) && (velX < 0)) {
theAngle = Math.PI;
}
return(((-180 * theAngle) / Math.PI) + 90);
};
handleNode = function (pX, pY) {
var _local2;
var _local3;
var _local6;
_local2 = Math.sqrt(((this._x - pX) * (this._x - pX)) + ((this._y - pY) * (this._y - pY)));
if (_local2 > 1) {
_local3 = _local2 - 1;
velX = velX + (((_local3 * (pX - this._x)) / _local2) / 15);
velY = velY + (((_local3 * (pY - this._y)) / _local2) / 15);
}
return(undefined);
};
if (velX == undefined) {
velX = 0;
velY = 0;
setNumber();
}
if (theNum != 4) {
adair._visible = false;
}
updateNode = function () {
var _local4;
var _local3;
var _local6;
var _local5;
if (theNum == 1) {
_local4 = _root._xmouse;
_local3 = _root._ymouse;
} else {
_local4 = _root["rope" + (theNum - 1).toString()]._x;
_local3 = _root["rope" + (theNum - 1).toString()]._y;
}
handleNode(_local4, _local3);
if (theNum != 4) {
_local6 = _root["rope" + (theNum + 1).toString()]._x;
_local5 = _root["rope" + (theNum + 1).toString()]._y;
}
handleNode(_local6, _local5);
velX = velX * 0.94;
velY = velY * 0.94;
velY = velY + 0.5;
this._x = this._x + velX;
this._y = this._y + velY;
if ((this._x < 0) || (this._x > 550)) {
this._x = this._x - velX;
velX = velX * -0.75;
}
if ((this._y < 0) || (this._y > 400)) {
this._y = this._y - velY;
velY = velY * -0.75;
}
this._rotation = getAngle(_local4 - this._x, _local3 - this._y);
ropeSeg._yscale = Math.sqrt(((this._x - _local4) * (this._x - _local4)) + ((this._y - _local3) * (this._y - _local3))) * 10;
return(undefined);
};
Symbol 112 MovieClip Frame 1
stop();
onEnterFrame = function () {
var _local2;
_local2 = 1;
while (_local2 <= 4) {
_root["rope" + _local2.toString()].updateNode();
_local2++;
}
return(undefined);
};
Symbol 137 MovieClip [heart] Frame 1
if (this._name == "deleteheart") {
this.swapDepths(5000);
this.removeMovieClip();
}
onEnterFrame = function () {
if (_root._currentframe != 12) {
this.removeMovieClip();
}
this._y = this._y + 3;
if (this._y > 412) {
this.removeMovieClip();
}
if (this.hitTest(_root.rope4.theShape)) {
_root.loliPlayer.gotoAndPlay(2);
_root.theScore++;
_root.scoreBox.htmlText = ("<b>Score: " + _root.theScore.toString()) + "</b>";
this.removeMovieClip();
}
return(undefined);
};
Symbol 140 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 142 MovieClip [face] Frame 1
if (this._name == "deleteangry") {
this.swapDepths(5000);
this.removeMovieClip();
}
onEnterFrame = function () {
if (_root._currentframe != 12) {
this.removeMovieClip();
}
this._y = this._y + 5;
if (this._y > 412) {
this.removeMovieClip();
}
if (this.hitTest(_root.rope4.theShape)) {
_root.diePlayer.gotoAndPlay(2);
_root.theTime = _root.theTime - 10;
if (_root.theTime <= 0) {
stopAllSounds();
_root.gotoAndStop(_root._currentframe + 1);
}
_root.timeBox.htmlText = ("<b>Time: " + _root.theTime.toString()) + "</b>";
this.removeMovieClip();
}
return(undefined);
};
Symbol 143 MovieClip Frame 1
stop();
var pCount;
if (pCount == undefined) {
pCount = 1;
}
onEnterFrame = function () {
var _local2;
var _local3;
pCount++;
if (pCount >= 24) {
pCount = 1;
_root.theTime--;
if (_root.theTime <= 0) {
stopAllSounds();
_root.gotoAndStop(_root._currentframe + 1);
}
_root.timeBox.htmlText = ("<b>Time: " + _root.theTime.toString()) + "</b>";
}
if (Math.random() < 0.04) {
_local3 = _root.getNextHighestDepth();
_root.attachMovie("heart", "heart" + _local3.toString(), _local3);
_local2 = _root["heart" + _local3.toString()];
_local2._x = 25 + (500 * Math.random());
_local2._y = -12;
_local2._xscale = 53;
_local2._yscale = 53;
}
if (Math.random() < 0.01) {
_local3 = _root.getNextHighestDepth();
_root.attachMovie("face", "face" + _local3.toString(), _local3);
_local2 = _root["face" + _local3.toString()];
_local2._x = 515 * Math.random();
_local2._y = -50;
_local2._xscale = 79;
_local2._yscale = 79;
}
return(undefined);
};
Symbol 145 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
var buttonDown;
if (buttonDown == undefined) {
buttonDown = false;
}
onRollOver = function () {
gotoAndStop (2);
return(undefined);
};
onRollOut = function () {
gotoAndStop (1);
return(undefined);
};
onPress = function () {
buttonDown = true;
gotoAndStop (3);
return(undefined);
};
onMouseUp = function () {
if (buttonDown == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
buttonDown = false;
return(undefined);
};
onRelease = function () {
_root.beepPlayer.gotoAndPlay(2);
_root.gotoAndPlay(220);
return(undefined);
};