Frame 1
Stage.showMenu = false;
sYear = "2001";
t = new Date();
tYear = t.getFullYear();
if (sYear != tYear) {
copyrightNotice = ((("(c)" + sYear) + "-") + tYear) + " Xtreme Cartoon Co., All rights reserved.";
} else {
copyrightNotice = ("(c)" + sYear) + " Xtreme Cartoon Co. All rights reserved.";
}
Frame 2
stop();
Frame 3
1();
Frame 6
stop();
Frame 7
1();
Frame 60
stop();
Frame 61
1();
Frame 65
stop();
Instance of Symbol 151 MovieClip "tube1" in Frame 65
/* no clip actions */
Frame 66
1();
Frame 81
var redScore = 0;
var allComponentsInvisible = "yes";
stop();
Instance of Symbol 185 MovieClip "movieQualitySetting" in Frame 81
onClipEvent (enterFrame) {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
}
Instance of Symbol 146 MovieClip in Frame 81
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "yes";
controlObject = "no";
pauseScreen = "screen";
}
Instance of Symbol 195 MovieClip in Frame 81
//component parameters
onClipEvent (initialize) {
invisible = "yes";
nameVar = "blue";
leftVar = "50";
rightVar = "450";
topVar = "60";
bottomVar = "140";
}
Instance of Symbol 197 MovieClip in Frame 81
//component parameters
onClipEvent (initialize) {
invisible = "no";
nameVar = "red";
leftVar = "25";
rightVar = "475";
topVar = "200";
bottomVar = "300";
}
Instance of Symbol 198 MovieClip in Frame 81
onClipEvent (enterFrame) {
x = _root.blue._x;
y = _root.blue._y;
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
}
Instance of Symbol 206 MovieClip "redFuse" in Frame 81
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 1;
player = "red";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 81
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "redHealthBar";
graphic = "yes";
labelVar = "lose";
}
Instance of Symbol 243 MovieClip "red" in Frame 81
onClipEvent (load) {
var name = this._name;
var num = 1;
}
onClipEvent (enterFrame) {
initThis();
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
}
}
onClipEvent (mouseDown) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow != "yes") {
this.gotoAndStop("ready");
this.power.gotoAndStop("on");
readyToThrow = "yes";
}
}
}
}
}
onClipEvent (mouseUp) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow == "yes") {
this.gotoAndStop("throw");
this.power.gotoAndStop("off");
_root["bomb" + num].gotoAndStop("on");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
} else if (_root[name + "Active"] == "no") {
this.power.gotoAndStop("off");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
}
Instance of Symbol 245 MovieClip "bomb1" in Frame 81
onClipEvent (load) {
num = 1;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb1Active == "yes") {
if (this._y > 20) {
if (distanceTravel <= _root.distanceThrown) {
this._y = this._y - _root.redPower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 254 MovieClip "blue" in Frame 81
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
if (_root.blueState != "hit") {
bagX = _root.blueBag._x;
bagY = _root.blueBag._y;
blueX = this._x;
blueY = this._y;
randomDirection = random(10) + Number(1);
randomMotion = random(10) + Number(10);
if (randomDirection == 2) {
this._x = this._x + Number(randomMotion);
}
if (randomDirection == 4) {
this._x = this._x + (-randomMotion);
}
if (randomDirection == 6) {
this._y = this._y + (-randomMotion);
}
if (randomDirection == 8) {
this._y = this._y + Number(randomMotion);
}
if (_root.bombInHandBlue != "yes") {
if (bagX < blueX) {
this._x = this._x + -20;
}
if (bagX > blueX) {
this._x = this._x + 20;
}
if (bagY < blueY) {
this._y = this._y + -20;
}
if (bagY > blueY) {
this._y = this._y + 20;
}
}
if (_root.bombInHandBlue == "yes") {
redX = _root.red._x;
red1X = redX - 75;
red1W = red1X + Number(150);
blue1X = this._x;
if ((red1X < blue1X) and (red1W > blue1X)) {
if (redX < blue1X) {
this._x = this._x + -5;
}
if (redX > blue1X) {
this._x = this._x + 6;
}
} else {
if (redX < blue1X) {
this._x = this._x + -20;
}
if (redX > blue1X) {
this._x = this._x + 20;
}
}
throwBall = random(6);
if (throwBall == 3) {
this.gotoAndStop("throw");
}
}
}
}
}
Instance of Symbol 255 MovieClip "bomb2" in Frame 81
onClipEvent (load) {
num = 2;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb2Active == "yes") {
if (this._y < 300) {
if (distanceTravel <= _root.distanceThrownBlue) {
this._y = this._y + _root.bluePower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 206 MovieClip "blueFuse" in Frame 81
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 2;
player = "blue";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 81
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "blueHealthBar";
graphic = "yes";
labelVar = "winLevel1";
}
Frame 91
stop();
Instance of Symbol 185 MovieClip "movieQualitySetting" in Frame 91
onClipEvent (enterFrame) {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
}
Instance of Symbol 146 MovieClip in Frame 91
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "yes";
controlObject = "no";
pauseScreen = "screen";
}
Instance of Symbol 195 MovieClip in Frame 91
//component parameters
onClipEvent (initialize) {
invisible = "yes";
nameVar = "blue";
leftVar = "50";
rightVar = "450";
topVar = "60";
bottomVar = "140";
}
Instance of Symbol 197 MovieClip in Frame 91
//component parameters
onClipEvent (initialize) {
invisible = "no";
nameVar = "red";
leftVar = "25";
rightVar = "475";
topVar = "200";
bottomVar = "300";
}
Instance of Symbol 198 MovieClip in Frame 91
onClipEvent (enterFrame) {
x = _root.blue._x;
y = _root.blue._y;
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
}
Instance of Symbol 206 MovieClip "redFuse" in Frame 91
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 1;
player = "red";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 91
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "redHealthBar";
graphic = "yes";
labelVar = "lose";
}
Instance of Symbol 243 MovieClip "red" in Frame 91
onClipEvent (load) {
var name = this._name;
var num = 1;
}
onClipEvent (enterFrame) {
initThis();
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
}
}
onClipEvent (mouseDown) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow != "yes") {
this.gotoAndStop("ready");
this.power.gotoAndStop("on");
readyToThrow = "yes";
}
}
}
}
}
onClipEvent (mouseUp) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow == "yes") {
this.gotoAndStop("throw");
this.power.gotoAndStop("off");
_root["bomb" + num].gotoAndStop("on");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
} else if (_root[name + "Active"] == "no") {
this.power.gotoAndStop("off");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
}
Instance of Symbol 245 MovieClip "bomb1" in Frame 91
onClipEvent (load) {
num = 1;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb1Active == "yes") {
if (this._y > 20) {
if (distanceTravel <= _root.distanceThrown) {
this._y = this._y - _root.redPower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 255 MovieClip "bomb2" in Frame 91
onClipEvent (load) {
num = 2;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb2Active == "yes") {
if (this._y < 300) {
if (distanceTravel <= _root.distanceThrownBlue) {
this._y = this._y + _root.bluePower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 254 MovieClip "blue" in Frame 91
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
if (_root.blueState != "hit") {
bagX = _root.blueBag._x;
bagY = _root.blueBag._y;
blueX = this._x;
blueY = this._y;
randomDirection = random(10) + Number(1);
randomMotion = random(10) + Number(10);
if (randomDirection == 2) {
this._x = this._x + Number(randomMotion);
}
if (randomDirection == 4) {
this._x = this._x + (-randomMotion);
}
if (randomDirection == 6) {
this._y = this._y + (-randomMotion);
}
if (randomDirection == 8) {
this._y = this._y + Number(randomMotion);
}
if (_root.bombInHandBlue != "yes") {
if (bagX < blueX) {
this._x = this._x + -20;
}
if (bagX > blueX) {
this._x = this._x + 20;
}
if (bagY < blueY) {
this._y = this._y + -20;
}
if (bagY > blueY) {
this._y = this._y + 20;
}
}
if (_root.bombInHandBlue == "yes") {
redX = _root.red._x;
red1X = redX - 75;
red1W = red1X + Number(150);
blue1X = this._x;
if ((red1X < blue1X) and (red1W > blue1X)) {
if (redX < blue1X) {
this._x = this._x + -5;
}
if (redX > blue1X) {
this._x = this._x + 6;
}
} else {
if (redX < blue1X) {
this._x = this._x + -20;
}
if (redX > blue1X) {
this._x = this._x + 20;
}
}
throwBall = random(6);
if (throwBall == 3) {
this.gotoAndStop("throw");
}
}
}
}
}
Instance of Symbol 266 MovieClip in Frame 91
onClipEvent (load) {
num = 1;
speed = 40;
}
onClipEvent (enterFrame) {
rocket();
}
Instance of Symbol 206 MovieClip "blueFuse" in Frame 91
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 2;
player = "blue";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 91
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "blueHealthBar";
graphic = "yes";
labelVar = "winLevel2";
}
Instance of Symbol 151 MovieClip "tube1" in Frame 91
onClipEvent (load) {
num = 1;
rotation = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.shooter1.done != "yes") {
tubeRotation();
tube1();
} else if (thisScript1Done != "yes") {
this.gotoAndStop("done");
thisScript1Done = "yes";
}
}
}
Instance of Symbol 268 MovieClip "shooter1" in Frame 91
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (hit >= 5) {
if (thisScript1Done != "yes") {
done = "yes";
thisScript1Done = "yes";
}
}
}
Frame 101
stop();
Instance of Symbol 185 MovieClip "movieQualitySetting" in Frame 101
onClipEvent (enterFrame) {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
}
Instance of Symbol 146 MovieClip in Frame 101
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "yes";
controlObject = "no";
pauseScreen = "screen";
}
Instance of Symbol 195 MovieClip in Frame 101
//component parameters
onClipEvent (initialize) {
invisible = "yes";
nameVar = "blue";
leftVar = "50";
rightVar = "450";
topVar = "60";
bottomVar = "140";
}
Instance of Symbol 197 MovieClip in Frame 101
//component parameters
onClipEvent (initialize) {
invisible = "no";
nameVar = "red";
leftVar = "25";
rightVar = "475";
topVar = "200";
bottomVar = "300";
}
Instance of Symbol 198 MovieClip in Frame 101
onClipEvent (enterFrame) {
x = _root.blue._x;
y = _root.blue._y;
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
}
Instance of Symbol 206 MovieClip "redFuse" in Frame 101
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 1;
player = "red";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 101
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "redHealthBar";
graphic = "yes";
labelVar = "lose";
}
Instance of Symbol 243 MovieClip "red" in Frame 101
onClipEvent (load) {
var name = this._name;
var num = 1;
}
onClipEvent (enterFrame) {
initThis();
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
}
}
onClipEvent (mouseDown) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow != "yes") {
this.gotoAndStop("ready");
this.power.gotoAndStop("on");
readyToThrow = "yes";
}
}
}
}
}
onClipEvent (mouseUp) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow == "yes") {
this.gotoAndStop("throw");
this.power.gotoAndStop("off");
_root["bomb" + num].gotoAndStop("on");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
} else if (_root[name + "Active"] == "no") {
this.power.gotoAndStop("off");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
}
Instance of Symbol 245 MovieClip "bomb1" in Frame 101
onClipEvent (load) {
num = 1;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb1Active == "yes") {
if (this._y > 20) {
if (distanceTravel <= _root.distanceThrown) {
this._y = this._y - _root.redPower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 255 MovieClip "bomb2" in Frame 101
onClipEvent (load) {
num = 2;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb2Active == "yes") {
if (this._y < 300) {
if (distanceTravel <= _root.distanceThrownBlue) {
this._y = this._y + _root.bluePower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 254 MovieClip "blue" in Frame 101
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
if (_root.blueState != "hit") {
bagX = _root.blueBag._x;
bagY = _root.blueBag._y;
blueX = this._x;
blueY = this._y;
randomDirection = random(10) + Number(1);
randomMotion = random(10) + Number(10);
if (randomDirection == 2) {
this._x = this._x + Number(randomMotion);
}
if (randomDirection == 4) {
this._x = this._x + (-randomMotion);
}
if (randomDirection == 6) {
this._y = this._y + (-randomMotion);
}
if (randomDirection == 8) {
this._y = this._y + Number(randomMotion);
}
if (_root.bombInHandBlue != "yes") {
if (bagX < blueX) {
this._x = this._x + -20;
}
if (bagX > blueX) {
this._x = this._x + 20;
}
if (bagY < blueY) {
this._y = this._y + -20;
}
if (bagY > blueY) {
this._y = this._y + 20;
}
}
if (_root.bombInHandBlue == "yes") {
redX = _root.red._x;
red1X = redX - 75;
red1W = red1X + Number(150);
blue1X = this._x;
if ((red1X < blue1X) and (red1W > blue1X)) {
if (redX < blue1X) {
this._x = this._x + -5;
}
if (redX > blue1X) {
this._x = this._x + 6;
}
} else {
if (redX < blue1X) {
this._x = this._x + -20;
}
if (redX > blue1X) {
this._x = this._x + 20;
}
}
throwBall = random(6);
if (throwBall == 3) {
this.gotoAndStop("throw");
}
}
}
}
}
Instance of Symbol 266 MovieClip in Frame 101
onClipEvent (load) {
num = 2;
speed = 40;
}
onClipEvent (enterFrame) {
rocket();
}
Instance of Symbol 266 MovieClip in Frame 101
onClipEvent (load) {
num = 1;
speed = 40;
}
onClipEvent (enterFrame) {
rocket();
}
Instance of Symbol 206 MovieClip "blueFuse" in Frame 101
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 2;
player = "blue";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 101
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "blueHealthBar";
graphic = "yes";
labelVar = "winLevel3";
}
Instance of Symbol 151 MovieClip "tube2" in Frame 101
onClipEvent (load) {
num = 2;
rotation = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.shooter2.done != "yes") {
tubeRotation();
tube2();
} else if (thisScript1Done != "yes") {
this.gotoAndStop("done");
thisScript1Done = "yes";
}
}
}
Instance of Symbol 151 MovieClip "tube1" in Frame 101
onClipEvent (load) {
num = 1;
rotation = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.shooter1.done != "yes") {
tubeRotation();
tube1();
} else if (thisScript1Done != "yes") {
this.gotoAndStop("done");
thisScript1Done = "yes";
}
}
}
Instance of Symbol 268 MovieClip "shooter1" in Frame 101
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (hit >= 8) {
if (thisScript1Done != "yes") {
done = "yes";
thisScript1Done = "yes";
}
}
}
Instance of Symbol 275 MovieClip "shooter2" in Frame 101
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (hit >= 8) {
if (thisScript1Done != "yes") {
done = "yes";
thisScript1Done = "yes";
}
}
}
Frame 111
stop();
Instance of Symbol 185 MovieClip "movieQualitySetting" in Frame 111
onClipEvent (enterFrame) {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
}
Instance of Symbol 146 MovieClip in Frame 111
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "yes";
controlObject = "no";
pauseScreen = "screen";
}
Instance of Symbol 195 MovieClip in Frame 111
//component parameters
onClipEvent (initialize) {
invisible = "yes";
nameVar = "blue";
leftVar = "50";
rightVar = "450";
topVar = "60";
bottomVar = "140";
}
Instance of Symbol 197 MovieClip in Frame 111
//component parameters
onClipEvent (initialize) {
invisible = "no";
nameVar = "red";
leftVar = "25";
rightVar = "475";
topVar = "200";
bottomVar = "300";
}
Instance of Symbol 198 MovieClip in Frame 111
onClipEvent (enterFrame) {
x = _root.blue._x;
y = _root.blue._y;
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x < 100) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
if ((x > 400) and (y < 80)) {
_root.blue._y = 80;
}
}
Instance of Symbol 206 MovieClip "redFuse" in Frame 111
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 1;
player = "red";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 111
//component parameters
onClipEvent (initialize) {
invisible = "yes";
healthBarName = "redHealthBar";
graphic = "yes";
labelVar = "lose";
}
Instance of Symbol 243 MovieClip "red" in Frame 111
onClipEvent (load) {
var name = this._name;
var num = 1;
}
onClipEvent (enterFrame) {
initThis();
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
}
}
onClipEvent (mouseDown) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow != "yes") {
this.gotoAndStop("ready");
this.power.gotoAndStop("on");
readyToThrow = "yes";
}
}
}
}
}
onClipEvent (mouseUp) {
if (_root.game == "play") {
if (_root[name + "State"] != "hit") {
if (_root["bombInHand" + name] == "yes") {
if (readyToThrow == "yes") {
this.gotoAndStop("throw");
this.power.gotoAndStop("off");
_root["bomb" + num].gotoAndStop("on");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
} else if (_root[name + "Active"] == "no") {
this.power.gotoAndStop("off");
_root["bombInHand" + name] = "no";
readyToThrow = "no";
}
}
}
Instance of Symbol 245 MovieClip "bomb1" in Frame 111
onClipEvent (load) {
num = 1;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb1Active == "yes") {
if (this._y > 20) {
if (distanceTravel <= _root.distanceThrown) {
this._y = this._y - _root.redPower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 255 MovieClip "bomb2" in Frame 111
onClipEvent (load) {
num = 2;
var distanceTravel = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.bomb2Active == "yes") {
if (this._y < 300) {
if (distanceTravel <= _root.distanceThrownBlue) {
this._y = this._y + _root.bluePower;
distanceTravel = distanceTravel + 1;
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
} else {
this.gotoAndPlay("explode");
distanceTravel = 0;
}
}
}
}
Instance of Symbol 254 MovieClip "blue" in Frame 111
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
if (_root.game == "play") {
if (_root["bombInHandExplodes" + name] == "yes") {
this.gotoAndStop("hand");
}
if (_root.blueState != "hit") {
bagX = _root.blueBag._x;
bagY = _root.blueBag._y;
blueX = this._x;
blueY = this._y;
randomDirection = random(10) + Number(1);
randomMotion = random(10) + Number(10);
if (randomDirection == 2) {
this._x = this._x + Number(randomMotion);
}
if (randomDirection == 4) {
this._x = this._x + (-randomMotion);
}
if (randomDirection == 6) {
this._y = this._y + (-randomMotion);
}
if (randomDirection == 8) {
this._y = this._y + Number(randomMotion);
}
if (_root.bombInHandBlue != "yes") {
if (bagX < blueX) {
this._x = this._x + -20;
}
if (bagX > blueX) {
this._x = this._x + 20;
}
if (bagY < blueY) {
this._y = this._y + -20;
}
if (bagY > blueY) {
this._y = this._y + 20;
}
}
if (_root.bombInHandBlue == "yes") {
redX = _root.red._x;
red1X = redX - 75;
red1W = red1X + Number(150);
blue1X = this._x;
if ((red1X < blue1X) and (red1W > blue1X)) {
if (redX < blue1X) {
this._x = this._x + -5;
}
if (redX > blue1X) {
this._x = this._x + 6;
}
} else {
if (redX < blue1X) {
this._x = this._x + -20;
}
if (redX > blue1X) {
this._x = this._x + 20;
}
}
throwBall = random(6);
if (throwBall == 3) {
this.gotoAndStop("throw");
}
}
}
}
}
Instance of Symbol 266 MovieClip in Frame 111
onClipEvent (load) {
num = 2;
speed = 40;
}
onClipEvent (enterFrame) {
rocket();
}
Instance of Symbol 266 MovieClip in Frame 111
onClipEvent (load) {
num = 1;
speed = 40;
}
onClipEvent (enterFrame) {
rocket();
}
Instance of Symbol 206 MovieClip "blueFuse" in Frame 111
onClipEvent (enterFrame) {
if (initObject != "yes") {
var name = this._name;
num = 2;
player = "blue";
_root["bombInHandExplodes" + player] = "no";
_root["bombInHand" + player] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
if (_root.game == "play") {
if (fuse != "on") {
if (_root["bombInHand" + player] == "yes") {
this.gotoAndPlay("on");
fuse = "on";
}
}
if (_root["bombInHand" + player] != "yes") {
if (fuse != "off") {
this.gotoAndStop("off");
fuse = "off";
}
}
}
}
Instance of Symbol 151 MovieClip "tube2" in Frame 111
onClipEvent (load) {
num = 2;
rotation = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.shooter2.done != "yes") {
tubeRotation();
tube2();
} else if (thisScript1Done != "yes") {
this.gotoAndStop("done");
thisScript1Done = "yes";
}
}
}
Instance of Symbol 151 MovieClip "tube1" in Frame 111
onClipEvent (load) {
num = 1;
rotation = 0;
}
onClipEvent (enterFrame) {
if (_root.game == "play") {
if (_root.shooter1.done != "yes") {
tubeRotation();
tube1();
} else if (thisScript1Done != "yes") {
this.gotoAndStop("done");
thisScript1Done = "yes";
}
}
}
Instance of Symbol 268 MovieClip "shooter1" in Frame 111
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
}
Instance of Symbol 275 MovieClip "shooter2" in Frame 111
onClipEvent (enterFrame) {
if (initObject != "yes") {
initThis();
}
}
Frame 121
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
Instance of Symbol 185 MovieClip "movieQualitySetting" in Frame 121
onClipEvent (enterFrame) {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
}
Frame 157
stop();
Frame 158
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
Frame 191
stop();
Frame 192
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
Frame 222
stop();
Frame 236
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
Instance of Symbol 185 MovieClip "movieQualitySetting" in Frame 236
onClipEvent (enterFrame) {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
}
Frame 270
stop();
Symbol 3 MovieClip [collision detector (tell) III copy] Frame 1
function collisionBoxTeller() {
_root[box + "X"] = _parent._x + this._x;
_root[box + "Y"] = _parent._y + this._y;
_root[box + "W"] = (_parent._x + this._x) + this._width;
_root[box + "H"] = (_parent._y + this._y) + this._height;
}
if (invisible == "yes") {
this._visible = 0;
}
if (directions == "yes") {
if (_root.cdtd != "yes") {
_root.cdtd = "yes";
}
}
name = _parent._name;
_root[name + "State"] = "ok";
box = name + thisCollisionBox;
_root[name + "inactiveState"] = inactiveState;
Symbol 7 MovieClip Frame 1
Selection.setFocus(this);
this.onEnterFrame = function () {
if (runThis != 1) {
totalFileSize = _root.getBytesTotal();
this._xscale = 0;
runThis = 1;
}
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
if (amountLoaded >= 1) {
_level0.gotoAndStop("begin");
}
};
Symbol 11 Button
on (release) {
getURL ("http://www.circusx.com/?page=freegames", "_blank");
}
Symbol 13 Button
on (release) {
getURL ("http://www.gamepug.com/", "_blank");
}
Symbol 16 Button
on (release) {
getURL ("http://www.gamepug.com/", "_blank");
}
Symbol 28 MovieClip Frame 43
stop();
Symbol 31 Button
on (release) {
_root.gotoAndPlay("GO");
}
Symbol 36 Button
on (release) {
getURL ("http://www.circusx.com/", "_blank");
}
Symbol 39 Button
on (release) {
b = new Sound();
b.attachSound("Bottle Pop 2");
b.start();
_root.gotoAndStop("level 1");
}
Symbol 42 Button
on (press) {
b = new Sound();
b.attachSound("Bottle Pop 2");
b.start();
gotoAndStop (65);
}
Symbol 74 Button
on (press) {
_root.gotoAndStop("level 1");
}
Symbol 100 Button
on (press) {
this.nextFrame();
}
Symbol 103 Button
on (press) {
this.gotoAndStop("fuseTimer");
}
Symbol 106 Button
on (press) {
this.gotoAndStop("healthMeter");
}
Symbol 108 Button
on (press) {
this.gotoAndStop("pKey");
}
Symbol 109 Button
on (press) {
this.gotoAndStop("mouseLeftKey");
}
Symbol 115 Button
on (press) {
this.startDrag();
}
on (release) {
stopDrag();
}
Symbol 119 Button
on (press) {
this.gotoAndStop("index");
}
Symbol 123 Button
on (press) {
gotoAndStop (1);
}
Symbol 127 Button
on (press) {
this.prevFrame();
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 5
stop();
Symbol 135 MovieClip Frame 6
stop();
Symbol 135 MovieClip Frame 7
stop();
Symbol 135 MovieClip Frame 8
stop();
Symbol 135 MovieClip Frame 9
stop();
Symbol 135 MovieClip Frame 10
stop();
Symbol 146 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
if (((controlMovie == "no") and (controlObject == "no")) or ((controlMovie == "yes") and (controlObject == "yes"))) {
}
if (controlMovie == "yes") {
_root.game = "play";
}
thisScriptComplete = "yes";
pauseKey = new Object();
pauseKey.onKeyDown = function () {
keyCode = Key.getCode();
if (controlMovie == "yes") {
if (keyCode == 80) {
if (_root.game == "play") {
_root.game = "pause";
_root[pauseScreen].gotoAndStop("pause");
keyCode = 0;
} else if (_root.game == "pause") {
_root.game = "play";
_root[pauseScreen].gotoAndStop("play");
keyCode = 0;
}
}
}
};
key.addListener(pauseKey);
Selection.setFocus(this);
this.onEnterFrame = function () {
if (controlObject == "yes") {
if (_root.game == "play") {
if (thisScriptComplete != "yes") {
_parent.play();
thisScriptComplete = "yes";
}
}
if (_root.game == "pause") {
if (thisScriptComplete != "no") {
_parent.stop();
thisScriptComplete = "no";
}
}
}
if (controlMovie == "yes") {
_root[pauseScreen].gotoAndStop(_root.game);
}
};
Instance of Symbol 146 MovieClip in Symbol 150 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 150 MovieClip Frame 4
stop();
Symbol 150 MovieClip Frame 5
stop();
Symbol 150 MovieClip Frame 6
gotoAndStop (5);
Symbol 151 MovieClip Frame 1
function tube1() {
direction = random(10);
if (direction == 2) {
if (rotation < 15) {
rotation = rotation + 15;
}
} else if (direction == 4) {
if (rotation > -75) {
rotation = rotation - 15;
}
}
}
function tube2() {
direction = random(10);
if (direction == 2) {
if (rotation < 75) {
rotation = rotation + 15;
}
} else if (direction == 4) {
if (rotation > -15) {
rotation = rotation - 15;
}
}
}
function tubeRotation() {
if (_root[state] != "hit") {
if (rotation == 75) {
this._rotation = 75;
_root["rotation" + num] = 75;
_root["cosine" + num] = -0.9659;
_root["sine" + num] = 0.2588;
}
if (rotation == 60) {
this._rotation = 60;
_root["rotation" + num] = 60;
_root["cosine" + num] = -0.866;
_root["sine" + num] = 0.5;
}
if (rotation == 45) {
this._rotation = 45;
_root["rotation" + num] = 45;
_root["cosine" + num] = -0.7071;
_root["sine" + num] = 0.7071;
}
if (rotation == 30) {
this._rotation = 30;
_root["rotation" + num] = 30;
_root["cosine" + num] = -0.5;
_root["sine" + num] = 0.866;
}
if (rotation == 15) {
this._rotation = 15;
_root["rotation" + num] = 15;
_root["cosine" + num] = -0.2588;
_root["sine" + num] = 0.9659;
}
if (rotation == 0) {
this._rotation = 0;
_root["rotation" + num] = 0;
_root["cosine" + num] = 0;
_root["sine" + num] = 1;
}
if (rotation == -15) {
this._rotation = -15;
_root["rotation" + num] = -15;
_root["cosine" + num] = 0.2588;
_root["sine" + num] = 0.9659;
}
if (rotation == -30) {
this._rotation = -30;
_root["rotation" + num] = -30;
_root["cosine" + num] = 0.5;
_root["sine" + num] = 0.866;
}
if (rotation == -45) {
this._rotation = -45;
_root["rotation" + num] = -45;
_root["cosine" + num] = 0.7071;
_root["sine" + num] = 0.7071;
}
if (rotation == -60) {
this._rotation = -60;
_root["rotation" + num] = -60;
_root["cosine" + num] = 0.866;
_root["sine" + num] = 0.5;
}
if (rotation == -75) {
this._rotation = -75;
_root["rotation" + num] = -75;
_root["cosine" + num] = 0.9659;
_root["sine" + num] = 0.2588;
}
}
}
state = ["shooter" + num] + "State";
stop();
Symbol 151 MovieClip Frame 5
stop();
Symbol 157 Button
on (release) {
gotoAndStop (5);
_root.game = "pause";
}
Symbol 162 Button
on (press) {
_level0.movieQualityUserSet = 1;
gotoAndStop (7);
}
Symbol 164 Button
on (press) {
_level0.movieQualityUserSet = 2;
gotoAndStop (14);
}
Symbol 165 Button
on (press) {
_level0.movieQualityUserSet = 3;
gotoAndStop (22);
}
Symbol 167 Button
on (press) {
_level0.movieQualityUserSet = 2;
_level0.movieQualitySetting.movieQuality = 2;
gotoAndStop (14);
}
Symbol 168 Button
on (press) {
_level0.movieQualityUserSet = 3;
_level0.movieQualitySetting.movieQuality = 3;
gotoAndStop (22);
}
Symbol 169 Button
on (press) {
_level0.movieQualityUserSet = 1;
_level0.movieQualitySetting.movieQuality = 1;
gotoAndStop (7);
}
Symbol 170 MovieClip Frame 1
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
stop();
Symbol 170 MovieClip Frame 7
stop();
Symbol 170 MovieClip Frame 14
stop();
Symbol 170 MovieClip Frame 22
stop();
Symbol 172 Button
on (press) {
if ((_root.audioVolume > 0) and (_root.audioVolume <= 140)) {
_root.audioVolume = Number(_root.audioVolume) - 20;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
b = new Sound(_level1);
b.attachSound("beep");
b.start();
b.setVolume(_root.audioVolume);
}
}
Symbol 173 Button
on (press) {
if ((_root.audioVolume >= 0) and (_root.audioVolume < 140)) {
_root.audioVolume = Number(_root.audioVolume) + 20;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
b = new Sound(_level1);
b.attachSound("beep");
b.start();
b.setVolume(_root.audioVolume);
}
}
Symbol 175 MovieClip Frame 1
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
stop();
Symbol 177 Button
on (release) {
gotoAndStop (1);
_root.game = "play";
}
Symbol 178 MovieClip Frame 1
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.defaultAudioSet != 1) {
_root.defaultAudioSet = 1;
_root.audioVolume = 80;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
}
if (movieQualityChange != _level0.movieQualitySetting.movieQuality) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
}
movieQualityChange = _level0.movieQualitySetting.movieQuality;
}
};
_root.game = "play";
stop();
Symbol 178 MovieClip Frame 2
1();
Symbol 178 MovieClip Frame 5
stop();
Instance of Symbol 170 MovieClip in Symbol 178 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
}
Instance of Symbol 175 MovieClip in Symbol 178 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
}
Symbol 178 MovieClip Frame 6
1();
Symbol 193 MovieClip Frame 1
_root.movieControls.gotoAndStop("down");
stop();
Symbol 193 MovieClip Frame 10
stop();
Symbol 195 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
Selection.setFocus(this);
this.onEnterFrame = function () {
x = _root[nameVar]._x;
y = _root[nameVar]._y;
if (x < leftVar) {
_root[nameVar]._x = leftVar;
}
if (x > rightVar) {
_root[nameVar]._x = rightVar;
}
if (y < topVar) {
_root[nameVar]._y = topVar;
}
if (y > bottomVar) {
_root[nameVar]._y = bottomVar;
}
};
Symbol 197 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.game == "pause") {
if (dragVar != "no") {
stopDrag();
dragVar = "no";
Mouse.show();
}
} else if (_root[nameVar + "State"] == "hit") {
if (dragVar != "no") {
stopDrag();
dragVar = "no";
}
} else if (dragVar != "yes") {
startDrag (_root[nameVar], true, leftVar, topVar, rightVar, bottomVar);
dragVar = "yes";
Mouse.hide();
}
if ((_root.game == "pause") and (_root[nameVar + "State"] == "hit")) {
if (dragVar == "no") {
Mouse.show();
}
}
};
Symbol 206 MovieClip Frame 1
_root["bombInHandExplodes" + player] = "no";
fuse = "off";
stop();
Instance of Symbol 146 MovieClip in Symbol 206 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 206 MovieClip Frame 2
gotoAndStop (1);
Symbol 206 MovieClip Frame 34
_root["bombInHandExplodes" + player] = "yes";
_root[player + "State"] = "hit";
_root[player + "Active"] = "no";
stop();
Symbol 208 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
name = _parent._name;
_root[name + "State"] = "ok";
box = name + thisCollisionBox;
_root[name + "inactiveState"] = inactiveState;
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.game == "play") {
_root[box + "X"] = _parent._x + this._x;
_root[box + "Y"] = _parent._y + this._y;
_root[box + "W"] = (_parent._x + this._x) + this._width;
_root[box + "H"] = (_parent._y + this._y) + this._height;
}
};
Instance of Symbol 208 MovieClip in Symbol 210 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
thisCollisionBox = "Bag";
inactiveState = "no";
}
Symbol 212 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
_root[healthBarName].healthPoints = 100;
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root[healthBarName].healthPoints > 0) {
if (graphic == "yes") {
_root[healthBarName]._xscale = _root[healthBarName].healthPoints;
}
} else {
_root.gotoAndPlay(labelVar);
}
};
Symbol 221 MovieClip Frame 1
_root.bluePower = 40;
_root.distanceThrownBlue = 4;
Instance of Symbol 146 MovieClip in Symbol 221 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 221 MovieClip Frame 2
_root.bluePower = 40;
_root.distanceThrownBlue = 4;
Symbol 221 MovieClip Frame 3
_root.bluePower = 50;
_root.distanceThrownBlue = 5;
Symbol 221 MovieClip Frame 4
_root.bluePower = 50;
_root.distanceThrownBlue = 5;
Symbol 221 MovieClip Frame 5
_root.bluePower = 60;
_root.distanceThrownBlue = 6;
Symbol 221 MovieClip Frame 6
_root.bluePower = 60;
_root.distanceThrownBlue = 6;
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 5
stop();
Symbol 224 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
thisMovie = _parent._name;
_root[thisMovie + "State"] = "";
_root[thisMovie + "Active"] = "yes";
totalLoops = Number(firstColorLength) + Number(secondColorLength);
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.game == "play") {
if (_root[thisMovie + "Active"] == "no") {
if (loop <= totalLoops) {
loop = loop + 1;
if (loop <= firstColorLength) {
c = new Color(_parent);
colorTransform = new Object();
colorTransform = {ra:"100", rb:"75", ga:"100", gb:"-25", ba:"100", bb:"50", aa:"100", ab:"0"};
c.setTransform(colorTransform);
} else {
c = new Color(_parent);
colorTransform = new Object();
colorTransform = {ra:"100", rb:"75", ga:"100", gb:"75", ba:"100", bb:"75", aa:"100", ab:"0"};
c.setTransform(colorTransform);
}
} else {
_root[thisMovie + "State"] = "";
_root[thisMovie + "Active"] = "yes";
loop = 0;
c = new Color(_parent);
colorTransform = new Object();
colorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
c.setTransform(colorTransform);
}
}
}
};
Symbol 226 MovieClip Frame 1
if ((invisible == "yes") or (_root.allComponentsInvisible == "yes")) {
this._visible = 0;
}
thisMovie = _parent._name;
name = otherMovie;
box = name + otherCollisionBox;
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.game == "play") {
aX = _parent._x + this._x;
aY = _parent._y + this._y;
aW = (_parent._x + this._x) + this._width;
aH = (_parent._y + this._y) + this._height;
bX = _root[box + "X"];
bY = _root[box + "Y"];
bW = _root[box + "W"];
bH = _root[box + "H"];
if ((_root[thisMovie + "State"] != "hit") and (_root[thisMovie + "Active"] != "no")) {
if ((_root[otherMovie + "State"] != "hit") and (_root[otherMovie + "Active"] != "no")) {
if ((((aX <= bW) and (aW >= bX)) and (aY <= bH)) and (aH >= bY)) {
_parent.gotoAndStop(thisLabel);
_root[otherMovie].gotoAndStop(otherLabel);
if (hitter == "yes") {
_root[otherMovie + "State"] = "hit";
if (_root[otherMovie + "inactiveState"] == "yes") {
_root[otherMovie + "Active"] = "no";
}
}
if (Score == "yes") {
_root[scoreBoxName] = _root[scoreBoxName] + Number(points);
}
if (Health == "yes") {
_root[healthBarName].healthPoints = _root[healthBarName].healthPoints - Number(healthPoints);
}
}
}
}
}
};
Symbol 227 MovieClip Frame 1
_root.redPower = 40;
_root.distanceThrown = 4;
Instance of Symbol 146 MovieClip in Symbol 227 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 227 MovieClip Frame 2
_root.redPower = 40;
_root.distanceThrown = 4;
Symbol 227 MovieClip Frame 3
_root.redPower = 50;
_root.distanceThrown = 5;
Symbol 227 MovieClip Frame 4
_root.redPower = 50;
_root.distanceThrown = 5;
Symbol 227 MovieClip Frame 5
_root.redPower = 60;
_root.distanceThrown = 6;
Symbol 227 MovieClip Frame 6
_root.redPower = 60;
_root.distanceThrown = 6;
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 5
stop();
Instance of Symbol 146 MovieClip in Symbol 229 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 229 MovieClip Frame 5
num = random(4);
if (_root.game == "play") {
if (num == 2) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 146 MovieClip in Symbol 231 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 232 MovieClip Frame 2
stop();
Instance of Symbol 146 MovieClip in Symbol 234 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Instance of Symbol 146 MovieClip in Symbol 236 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 236 MovieClip Frame 2
name = _parent.name;
num = _parent.num;
_root["bomb" + num]._x = _root[name]._x;
_root["bomb" + num]._y = _root[name]._y - 75;
Symbol 236 MovieClip Frame 8
if (_root.game != "pause") {
_parent.gotoAndStop("off");
}
Symbol 237 MovieClip Frame 1
name = _parent.name;
_root["bombInHand" + name] = "no";
Instance of Symbol 146 MovieClip in Symbol 237 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 237 MovieClip Frame 15
if (_root.game != "pause") {
_parent.gotoAndStop("off");
}
Symbol 242 MovieClip Frame 1
name = _parent.name;
_root["bombInHand" + name] = "no";
Instance of Symbol 146 MovieClip in Symbol 242 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 242 MovieClip Frame 15
_root["bombInHandExplodes" + name] = "no";
if (_root.game != "pause") {
_parent.gotoAndStop("off");
}
Symbol 243 MovieClip Frame 1
function initThis() {
if (initObject != "yes") {
var readyToThrow = "no";
var drag = "no";
this["bombInHandExplodes" + name] = "no";
_root["bombInHand" + name] = "no";
_root[("bomb" + num) + "Active"] = "no";
initObject = "yes";
}
}
stop();
Instance of Symbol 224 MovieClip in Symbol 243 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
firstColorLength = "15";
secondColorLength = "15";
}
Instance of Symbol 226 MovieClip in Symbol 243 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "no";
thisLabel = "ball";
otherMovie = "redBag";
otherCollisionBox = "bag";
otherLabel = "";
score = "no";
points = "";
scoreBoxName = "";
health = "no";
healthPoints = "";
healthBarName = "";
}
Instance of Symbol 226 MovieClip in Symbol 243 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "no";
thisLabel = "ball";
otherMovie = "redBag";
otherCollisionBox = "bag";
otherLabel = "";
score = "no";
points = "";
scoreBoxName = "";
health = "no";
healthPoints = "";
healthBarName = "";
}
Instance of Symbol 208 MovieClip in Symbol 243 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
thisCollisionBox = "Body";
inactiveState = "yes";
}
Symbol 243 MovieClip Frame 6
_root["bombInHand" + name] = "yes";
stop();
Symbol 243 MovieClip Frame 12
stop();
Symbol 243 MovieClip Frame 19
stop();
Symbol 243 MovieClip Frame 26
stop();
Symbol 243 MovieClip Frame 32
stop();
Symbol 245 MovieClip Frame 1
_root.bomb1Active = "no";
stop();
Instance of Symbol 226 MovieClip in Symbol 245 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "yes";
thisLabel = "hit";
otherMovie = "blue";
otherCollisionBox = "Body";
otherLabel = "hit";
score = "yes";
points = "50";
scoreBoxName = "redScore";
health = "yes";
healthPoints = "10";
healthBarName = "blueHealthBar";
}
Instance of Symbol 226 MovieClip in Symbol 245 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "yes";
thisLabel = "hit";
otherMovie = "shooter2";
otherCollisionBox = "Head";
otherLabel = "hit";
score = "yes";
points = "50";
scoreBoxName = "redScore";
health = "no";
healthPoints = "";
healthBarName = "";
}
Instance of Symbol 226 MovieClip in Symbol 245 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "yes";
thisLabel = "hit";
otherMovie = "shooter1";
otherCollisionBox = "Head";
otherLabel = "hit";
score = "yes";
points = "50";
scoreBoxName = "redScore";
health = "no";
healthPoints = "";
healthBarName = "";
}
Symbol 245 MovieClip Frame 5
_root.bomb1Active = "yes";
stop();
Symbol 245 MovieClip Frame 11
this._x = -50;
gotoAndStop (1);
Symbol 245 MovieClip Frame 16
this._x = -50;
gotoAndStop (1);
Instance of Symbol 146 MovieClip in Symbol 246 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Instance of Symbol 146 MovieClip in Symbol 247 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 247 MovieClip Frame 2
_root.powerBlue.gotoAndPlay("on");
Symbol 247 MovieClip Frame 3
randomPower = random(2) + Number(1);
Symbol 247 MovieClip Frame 8
if (_root.game != "pause") {
if (randomPower == 2) {
gotoAndPlay (11);
} else {
gotoAndPlay (3);
}
}
Symbol 247 MovieClip Frame 11
_root.powerBlue.gotoAndPlay("off");
name = _parent.name;
_root.bombInHandBlue = "no";
_root.bomb2.gotoAndStop("on");
_root.bomb2._x = _root[name]._x;
_root.bomb2._y = _root[name]._y + 50;
_root.bomb2Active = "yes";
Symbol 247 MovieClip Frame 17
if (_root.game != "pause") {
_parent.gotoAndStop("off");
}
Instance of Symbol 146 MovieClip in Symbol 249 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 249 MovieClip Frame 11
_root.blueState = "ok";
_root.blueActive = "yes";
if (_root.game != "pause") {
_parent.gotoAndStop("off");
}
Instance of Symbol 146 MovieClip in Symbol 253 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 253 MovieClip Frame 11
_root.blueState = "ok";
_root.blueActive = "yes";
if (_root.game != "pause") {
_parent.gotoAndStop("off");
}
Symbol 254 MovieClip Frame 1
function initThis() {
name = this._name;
var bombExplodesInHandBlue = "no";
_root.bombInHandBlue = "no";
initObject = "yes";
}
stop();
Instance of Symbol 226 MovieClip in Symbol 254 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "no";
thisLabel = "ball";
otherMovie = "blueBag";
otherCollisionBox = "bag";
otherLabel = "";
score = "no";
points = "";
scoreBoxName = "";
health = "no";
healthPoints = "";
healthBarName = "";
}
Instance of Symbol 226 MovieClip in Symbol 254 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "no";
thisLabel = "ball";
otherMovie = "blueBag";
otherCollisionBox = "bag";
otherLabel = "";
score = "no";
points = "";
scoreBoxName = "";
health = "no";
healthPoints = "";
healthBarName = "";
}
Instance of Symbol 208 MovieClip in Symbol 254 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
thisCollisionBox = "Body";
inactiveState = "no";
}
Symbol 254 MovieClip Frame 7
_root.bombInHandBlue = "yes";
stop();
Symbol 254 MovieClip Frame 13
stop();
Symbol 254 MovieClip Frame 20
_root.bombInHandBlue = "no";
stop();
Symbol 254 MovieClip Frame 25
_root.bombInHandBlue = "no";
stop();
Symbol 255 MovieClip Frame 1
_root.bomb2Active = "no";
stop();
Instance of Symbol 226 MovieClip in Symbol 255 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "yes";
thisLabel = "hit";
otherMovie = "red";
otherCollisionBox = "Body";
otherLabel = "hit";
score = "yes";
points = "50";
scoreBoxName = "blueScore";
health = "yes";
healthPoints = "10";
healthBarName = "redHealthBar";
}
Symbol 255 MovieClip Frame 5
_root.bomb2Active = "yes";
stop();
Symbol 255 MovieClip Frame 10
_root.bomb2Active = "no";
Symbol 255 MovieClip Frame 11
this._x = -50;
this.gotoAndStop("off");
Symbol 255 MovieClip Frame 16
_root.bomb2Active = "no";
this._x = -50;
this.gotoAndStop("off");
Instance of Symbol 208 MovieClip in Symbol 257 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
thisCollisionBox = "Bag";
inactiveState = "no";
}
Symbol 266 MovieClip Frame 1
function rocket() {
if (_root.game == "play") {
if (_root["shooter" + num].done != "yes") {
if ((_root["shooter" + num] + "State") != "hit") {
if (thisBall != "active") {
if ((_root[thisMovie + "State"] != "hit") and (_root[thisMovie + "Active"] != "no")) {
randomTennisBall = random(20) + 1;
if (randomTennisBall == 10) {
this._x = _root["tube" + num]._x;
this._y = _root["tube" + num]._y;
this._rotation = _root["rotation" + num];
thisBall = "active";
x = _root["cosine" + num];
y = _root["sine" + num];
this.gotoAndPlay("on");
}
}
}
}
if (thisBall == "active") {
if (_root[thisMovie + "State"] != "hit") {
if (this._y < 400) {
this._x = this._x + (x * speed);
this._y = this._y + (y * speed);
} else {
thisBall = "inActive";
this._rotation = 0;
this._x = _root["tube" + num]._x;
this._y = _root["tube" + num]._y;
this.gotoAndStop("off");
}
} else {
thisBall = "inActive";
}
}
} else if (thisScript1Done != "yes") {
this.gotoAndStop("off");
thisScript1Done = "yes";
}
}
}
thisMovie = _parent._name;
stop();
Instance of Symbol 226 MovieClip in Symbol 266 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
hitter = "yes";
thisLabel = "hit";
otherMovie = "red";
otherCollisionBox = "body";
otherLabel = "hit";
score = "yes";
points = "50";
scoreBoxName = "blueScore";
health = "yes";
healthPoints = "10";
healthBarName = "redHealthBar";
}
Symbol 266 MovieClip Frame 3
thisBall = "active";
stop();
Symbol 266 MovieClip Frame 7
_root["fuse" + num].gotoAndStop("off");
thisBall = "inActive";
this._rotation = 0;
this._x = _root["tube" + num]._x;
this._y = _root["tube" + num]._y;
this.gotoAndStop("off");
Instance of Symbol 146 MovieClip in Symbol 267 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 267 MovieClip Frame 10
name = _parent.name;
if (_parent.done != "yes") {
_root[name + "State"] = "ok";
_root[name + "Active"] = "yes";
_parent.gotoAndStop("off");
} else {
stop();
}
Symbol 267 MovieClip Frame 11
stop();
Symbol 267 MovieClip Frame 12
gotoAndStop (11);
Symbol 268 MovieClip Frame 1
function initThis() {
name = this._name;
_root[name + "State"] = "ok";
_root[name + "Active"] = "yes";
initObject = "yes";
}
stop();
Instance of Symbol 208 MovieClip in Symbol 268 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
thisCollisionBox = "Head";
inactiveState = "no";
}
Symbol 268 MovieClip Frame 5
hit = hit + 1;
stop();
Instance of Symbol 146 MovieClip in Symbol 274 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
controlMovie = "no";
controlObject = "yes";
pauseScreen = "";
}
Symbol 274 MovieClip Frame 10
name = _parent.name;
if (_parent.done != "yes") {
_root[name + "State"] = "ok";
_root[name + "Active"] = "yes";
_parent.gotoAndStop("off");
} else {
stop();
}
Symbol 274 MovieClip Frame 11
stop();
Symbol 274 MovieClip Frame 12
gotoAndStop (11);
Symbol 275 MovieClip Frame 1
function initThis() {
name = this._name;
_root[name + "State"] = "ok";
_root[name + "Active"] = "yes";
initObject = "yes";
}
stop();
Instance of Symbol 208 MovieClip in Symbol 275 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
invisible = "yes";
thisCollisionBox = "Head";
inactiveState = "no";
}
Symbol 275 MovieClip Frame 5
hit = hit + 1;
stop();
Symbol 300 Button
on (press) {
b = new Sound();
b.attachSound("Bottle Pop 2");
b.start();
_root.gotoAndStop("level 2");
}
Symbol 307 Button
on (press) {
b = new Sound();
b.attachSound("Bottle Pop 2");
b.start();
_root.gotoAndStop("level 3");
}
Symbol 312 Button
on (press) {
b = new Sound();
b.attachSound("Bottle Pop 2");
b.start();
_root.gotoAndStop("level 4");
}
Symbol 321 Button
on (press) {
b = new Sound();
b.attachSound("Bottle Pop 2");
b.start();
_root.redScore = 0;
_root.gotoAndPlay("start");
}