Frame 1
Mouse.hide();
startDrag ("cursor", true);
stop();
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Frame 19
stop();
Frame 20
stop();
Frame 21
stop();
Frame 167
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
frame = 1;
Mouse.hide();
startDrag ("cursor", true);
stop();
Instance of Symbol 19 MovieClip "redbox1" in Frame 167
onClipEvent (load) {
function reset() {
this._x = random(650);
this._y = -10;
moveSpeed = random(5) + 3;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this._y > 560) and (_root.frame == 1)) {
reset();
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 167
onClipEvent (load) {
function reset() {
this._x = random(650);
this._y = -10;
moveSpeed = random(5) + 3;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this._y > 560) and (_root.frame == 1)) {
reset();
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 167
onClipEvent (load) {
function reset() {
this._x = random(650);
this._y = -10;
moveSpeed = random(5) + 3;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this._y > 560) and (_root.frame == 1)) {
reset();
}
}
Instance of Symbol 76 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 78 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 80 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 82 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 84 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 86 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 167
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Frame 168
_root.frame = 3;
Instance of Symbol 104 MovieClip "laser" in Frame 168
onClipEvent (enterFrame) {
this._x = 417.95;
this._y = _root._ymouse;
}
Frame 169
numEnemy = 8;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.text.gotoAndStop(14);
Instance of Symbol 152 MovieClip in Frame 169
onClipEvent (enterFrame) {
if (_root.score > 200) {
_root.nextFrame();
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 169
onClipEvent (load) {
timeremain = "inf";
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
}
onClipEvent (enterFrame) {
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
this._y = _root._ymouse;
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 164 MovieClip "vertical" in Frame 169
onClipEvent (load) {
this._x = 400;
this._y = 275;
}
onClipEvent (enterFrame) {
if (_root._xmouse <= 285) {
this._x = 286;
} else if (_root._xmouse >= 545) {
this._x = 544;
} else {
this._x = _root._xmouse;
}
}
Instance of Symbol 170 MovieClip "bonus" in Frame 169
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 200;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 200;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 200;
_root.message.gotoAndStop(4);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 400;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 200;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 200;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 169
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 170
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
i++;
}
stop();
Instance of Symbol 152 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (_root.score > 500) {
_root.nextFrame();
}
}
Frame 171
numEnemy = 4;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
stop();
Instance of Symbol 152 MovieClip in Frame 171
onClipEvent (enterFrame) {
if (_root.score > 1000) {
_root.laser.timeremain = 0;
_root.text.gotoAndStop(15);
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 171
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 172
Mouse.hide();
startDrag ("cursor", true);
frame = 0;
stop();
stopAllSounds();
Instance of Symbol 164 MovieClip "vertical" in Frame 172
onClipEvent (load) {
this._x = 400;
this._y = 275;
}
onClipEvent (enterFrame) {
if (_root._xmouse <= 285) {
this._x = 286;
} else if (_root._xmouse >= 545) {
this._x = 544;
} else {
this._x = _root._xmouse;
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 172
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 172
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 170 MovieClip "bonus" in Frame 172
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 172
onClipEvent (load) {
_root.power = 0;
}
onClipEvent (enterFrame) {
mode = "stage";
}
Frame 173
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 104 MovieClip "laser" in Frame 173
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
this.gotoAndStop(1);
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 152 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 200) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 173
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 267 MovieClip "check" in Frame 173
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.score >= 200) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Frame 174
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 174
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 174
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 175
numEnemy = 8;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 175
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
this.gotoAndStop(1);
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 152 MovieClip in Frame 175
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 600) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 267 MovieClip "check" in Frame 175
onClipEvent (enterFrame) {
if (_root.score >= 600) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 175
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 176
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 176
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 176
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 177
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
i++;
}
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 177
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 152 MovieClip in Frame 177
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 1500) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 177
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 267 MovieClip "check" in Frame 177
onClipEvent (enterFrame) {
if (_root.score >= 1500) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 177
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 177
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 177
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 177
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 177
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 177
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 177
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 178
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 178
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 178
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 179
numEnemy = 8;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
i++;
}
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 179
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 152 MovieClip in Frame 179
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 2500) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 267 MovieClip "check" in Frame 179
onClipEvent (enterFrame) {
if (_root.score >= 2500) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 179
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 179
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 179
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 179
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 179
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 179
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 179
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 179
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Frame 180
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 180
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 180
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 181
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 181
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 152 MovieClip in Frame 181
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 3000) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 181
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 267 MovieClip "check" in Frame 181
onClipEvent (enterFrame) {
if (_root.score >= 3000) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 181
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 181
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 181
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 181
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 181
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 181
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 181
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 181
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Frame 182
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 182
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 182
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 183
numEnemy = 8;
i = 2;
while (i <= numEnemy) {
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 183
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 152 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 4000) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 267 MovieClip "check" in Frame 183
onClipEvent (enterFrame) {
if (_root.score >= 4000) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 183
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 183
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 183
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 183
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 183
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 183
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 183
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 183
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 183
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Frame 184
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 184
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 184
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 185
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 185
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 152 MovieClip in Frame 185
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 5000) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 267 MovieClip "check" in Frame 185
onClipEvent (enterFrame) {
if (_root.score >= 5000) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 185
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 185
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 185
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 185
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 185
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 185
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 185
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 185
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 185
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Frame 186
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 186
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 204 MovieClip in Frame 186
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Frame 187
numEnemy = 8;
i = 2;
while (i <= numEnemy) {
multibox1.duplicateMovieClip("multibox" + i, i + 300);
i++;
}
stop();
Instance of Symbol 104 MovieClip "laser" in Frame 187
onClipEvent (load) {
timeremain = 60;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 152 MovieClip in Frame 187
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score <= 10000) {
_root.finish.gotoAndStop(2);
} else {
_root.finish.gotoAndStop(3);
}
} else {
_root.finish.gotoAndStop(1);
}
}
Instance of Symbol 267 MovieClip "check" in Frame 187
onClipEvent (enterFrame) {
if (_root.score >= 10000) {
this.nextFrame();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 187
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 187
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 187
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "stage") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 187
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 187
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 187
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 187
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 187
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 187
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Frame 188
stop();
Frame 189
Mouse.hide();
startDrag ("cursor", true);
frame = 0;
stop();
_root.scoretable.filename = "scores/zapper.sco";
_root.scoretable.scoresize = 10;
_root.scoretable.action = "INSERT";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = name;
_root.scoretable.winscore = score;
_root.scoretable.loadVariables("http://www.covertjamboree.com/scores.php", "GET");
stopAllSounds();
Instance of Symbol 204 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 189
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 152 MovieClip "MC" in Frame 189
onClipEvent (enterFrame) {
mode = "timeattack";
}
onClipEvent (load) {
name = "";
_root.power = 0;
}
Frame 190
numEnemy = 6;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
Instance of Symbol 152 MovieClip in Frame 190
onClipEvent (enterFrame) {
if (_root.score >= 300) {
_root.nextFrame();
}
}
Instance of Symbol 164 MovieClip "vertical" in Frame 190
onClipEvent (load) {
this._x = 400;
this._y = 275;
}
onClipEvent (enterFrame) {
if (_root._xmouse <= 285) {
this._x = 286;
} else if (_root._xmouse >= 545) {
this._x = 544;
} else {
this._x = _root._xmouse;
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 190
onClipEvent (load) {
timeremain = 180;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.powerupnumber = powerupnumber;
_root.poweruptime = poweruptime;
_root.powerupremain = powerupremain;
_root.powerdownnumber = powerdownnumber;
_root.powerdowntime = powerdowntime;
_root.powerdownremain = powerdownremain;
if (poweruptime >= 50) {
powerupnumber = random(3) + 1;
poweruptime = 0;
}
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
if (((_root.whitebox1.powerup2 == 1) or (_root.whitebox2.powerup2 == 1)) or (_root.whitebox3.powerup2 == 1)) {
powerupremain = powerupremain - 1;
if (powerupremain == 0) {
powerupnumber = 0;
if (_root.whitebox2.powerup2 == 1) {
this.gotoAndStop(1);
}
_root.whitebox1.powerup2 = 0;
_root.whitebox2.powerup2 = 0;
_root.whitebox3.powerup2 = 0;
_root.power = 0;
}
}
if (powerdowntime >= 60) {
powerdownnumber = random(3) + 1;
powerdowntime = 0;
}
if (((_root.brownbox1.powerdown2 == 1) or (_root.brownbox2.powerdown2 == 1)) or (_root.brownbox3.powerdown2 == 1)) {
powerdownremain = powerdownremain - 1;
if (powerdownremain == 0) {
powerdownnumber = 0;
if (_root.brownbox1.powerdown2 == 1) {
this.gotoAndStop(1);
}
_root.brownbox1.powerdown2 = 0;
_root.brownbox2.powerdown2 = 0;
_root.brownbox3.powerdown2 = 0;
_root.power = 0;
}
}
}
Instance of Symbol 170 MovieClip "bonus" in Frame 190
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 600;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 300;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 300;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 190
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 191
numEnemy = 6;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
i++;
}
stop();
Instance of Symbol 152 MovieClip in Frame 191
onClipEvent (enterFrame) {
if (_root.score >= 1000) {
_root.nextFrame();
}
}
Instance of Symbol 29 MovieClip "whitebox1" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 200;
_root.message.gotoAndStop(2);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox3" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerupremain = 400;
_root.message.gotoAndStop(3);
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox3" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 3) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 200;
_root.message.gotoAndStop(7);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox1" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 1) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 200;
_root.message.gotoAndStop(5);
_root.laser.gotoAndStop(5);
_root.power = 1;
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 29 MovieClip "whitebox2" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerup = false;
powerup2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerupnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.gotoAndStop(4);
_root.laser.powerupremain = 200;
_root.message.gotoAndStop(4);
_root.power = 1;
powerup2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerup2 == 0) {
_root.laser.powerupnumber = 0;
}
if (_root.powerupnumber == 0) {
reset();
}
}
}
Instance of Symbol 24 MovieClip "brownbox2" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -30;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
powerdown = false;
powerdown2 = 0;
go = false;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.laser.powerdownnumber == 2) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
}
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.red)) or this.hitTest(_root.laser.green)) {
this.play();
if (go == false) {
_root.laser.powerdownremain = 200;
_root.message.gotoAndStop(6);
powerdown2 = 1;
go = true;
}
}
if (this._y > 580) {
if (powerdown2 == 0) {
_root.laser.powerdownnumber = 0;
}
if (_root.powerdownnumber == 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 191
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 192
numEnemy = 6;
i = 2;
while (i <= numEnemy) {
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
stop();
Instance of Symbol 152 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (_root.score >= 1500) {
_root.nextFrame();
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 192
onClipEvent (load) {
function reset() {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 193
stop();
Instance of Symbol 152 MovieClip in Frame 193
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
_root.nextFrame();
}
}
Frame 194
stop();
Instance of Symbol 497 MovieClip "scoretable" in Frame 194
onClipEvent (load) {
this._visible = false;
_root.button._visible = false;
}
Frame 195
Mouse.hide();
startDrag ("cursor", true);
stop();
_root.lose = 0;
stopAllSounds();
Instance of Symbol 152 MovieClip "challenge" in Frame 195
onClipEvent (load) {
challenge1 = 0;
challenge2 = 0;
challenge3 = 0;
challenge4 = 0;
challenge5 = 0;
challenge6 = 0;
challenge7 = 0;
challenge8 = 0;
challenge9 = 0;
challenge10 = 0;
}
Instance of Symbol 267 MovieClip "check2" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge2 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check1" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge1 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check4" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge4 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check3" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge3 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check6" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge6 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check5" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge5 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check8" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge8 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check7" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge7 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check10" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge10 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 267 MovieClip "check9" in Frame 195
onClipEvent (enterFrame) {
if (_root.challenge.challenge9 == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 195
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 504 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 506 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 508 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 510 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 512 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 514 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 516 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 518 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 520 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 522 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (this.hitTest(_root.laser.red)) {
this.play();
}
}
Instance of Symbol 527 MovieClip "music" in Frame 195
onClipEvent (load) {
_root.sound = 0;
}
Frame 196
stop();
_root.lose = 0;
Instance of Symbol 170 MovieClip "bonus" in Frame 196
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 196
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 196
onClipEvent (load) {
mode = "challenge1";
}
Frame 197
numEnemy = 3;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.gotoAndStop(4);
_root.laser.timeremain = 30;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score >= 15) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge1 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
if (_root.lose != 1) {
_root.finish.gotoAndStop(1);
_root.laser.lose = 0;
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 197
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
lose = 0;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.lose = lose;
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
} else {
timeremain = 0;
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 197
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge1") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.rainbow)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 197
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge1") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
_root.finish.gotoAndStop(2);
_root.laser.lose = 1;
}
if (_root.lose == 1) {
_root.laser.timeremain = 0;
}
if (this._y > 560) {
if (_root.timeremain == 0) {
_root.laser.lose = 1;
} else {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 197
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge1") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
_root.finish.gotoAndStop(2);
_root.laser.lose = 1;
}
if (_root.lose == 1) {
_root.laser.timeremain = 0;
}
if (this._y > 560) {
if (_root.timeremain == 0) {
_root.laser.lose = 1;
} else {
reset();
}
}
}
Instance of Symbol 267 MovieClip "check" in Frame 197
onClipEvent (enterFrame) {
if (_root.score >= 15) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 198
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 198
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 198
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 198
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 198
onClipEvent (load) {
mode = "challenge2";
}
Frame 199
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 199
onClipEvent (enterFrame) {
if (_root.combo >= 25) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge2 = 1;
}
if ((_root.timeremain == 0) and (_root.check.gotit == false)) {
_root.finish.gotoAndStop(2);
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 199
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
if ((powerupnumber == 1) and (_root.brownbox1.powerdown2 == 1)) {
this._y = this._y;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
if (timeremain > 0) {
timeremain = timeremain - 0.0166666666666667;
if (_root.timeremain == 0) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
if (timer != 0) {
timer = timer - 1;
} else {
combo = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 199
onClipEvent (load) {
gotit = false;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.combo == 25) and (gotit == false)) {
gotit = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 199
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge2") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.redV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 199
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge2") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.green) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.greenV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 199
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge2") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if ((this.hitTest(_root.laser.blue) or this.hitTest(_root.laser.rainbow)) or this.hitTest(_root.vertical.blueV)) {
this.play();
if (go == false) {
_root.bonus.xbonus++;
if ((_root.powerdownnumber == 2) and (_root.brownbox2.powerdown2 == 1)) {
_root.laser.combo = 0;
} else {
_root.laser.combo++;
_root.laser.timer = 30;
}
if ((_root.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + (2 * _root.laser.combo);
}
if ((_root.laser.powerupnumber == 0) and (_root.laser.powerdownnumber == 0)) {
_root.laser.poweruptime = _root.laser.poweruptime + 2;
_root.laser.powerdowntime = _root.laser.powerdowntime + 2;
}
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 200
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 200
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 200
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 200
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 200
onClipEvent (load) {
mode = "challenge3";
}
Frame 201
numEnemy = 4;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (_root.lose == 1) {
_root.finish.gotoAndStop(2);
}
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge3 = 1;
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 201
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
xbonus = 0;
powerupremain = 0;
poweruptime = 0;
powerupnumber = 0;
powerdownremain = 0;
powerdowntime = 0;
powerdownnumber = 0;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 201
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge3") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.red)) {
this.play();
go = true;
}
if (this._y > 560) {
if (_root.timeremain != 0) {
if (go == false) {
_root.lose = 1;
} else {
reset();
}
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 201
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge3") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.green)) {
this.play();
go = true;
}
if (this._y > 560) {
if (_root.timeremain != 0) {
if (go == false) {
_root.lose = 1;
} else {
reset();
}
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 201
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge3") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.blue)) {
this.play();
go = true;
}
if (this._y > 560) {
if (_root.timeremain != 0) {
if (go == false) {
_root.lose = 1;
} else {
reset();
}
}
}
}
Frame 202
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 202
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 202
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 202
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 202
onClipEvent (load) {
mode = "challenge4";
}
Frame 203
numEnemy = 3;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.gotoAndStop(4);
_root.laser.timeremain = 30;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 203
onClipEvent (load) {
_root.laser.timeremain = 30;
}
onClipEvent (enterFrame) {
if (_root.lose == 1) {
_root.finish.gotoAndStop(2);
_root.color._visible = false;
}
if (_root.timeremain == 0) {
if (_root.score >= 20) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge4 = 1;
_root.color._visible = false;
} else {
_root.finish.gotoAndStop(2);
_root.color._visible = false;
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 203
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
shootonly = 1;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 575 MovieClip "color" in Frame 203
onClipEvent (load) {
this._visible = true;
}
Instance of Symbol 267 MovieClip "check" in Frame 203
onClipEvent (enterFrame) {
if (_root.score >= 20) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 203
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge4") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.rainbow)) {
if (_root.shootonly == 1) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
} else {
_root.lose = 1;
_root.laser.timeremain = 0;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 203
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge4") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.rainbow)) {
if (_root.shootonly == 3) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
} else {
_root.lose = 1;
_root.laser.timeremain = 0;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 203
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge4") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.rainbow)) {
if (_root.shootonly == 2) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
} else {
_root.lose = 1;
_root.laser.timeremain = 0;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 204
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 204
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 204
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 204
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 204
onClipEvent (load) {
mode = "challenge5";
}
Frame 205
numEnemy = 3;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 205
onClipEvent (load) {
_root.laser.timeremain = 30;
}
onClipEvent (enterFrame) {
if (_root.lose == 1) {
_root.finish.gotoAndStop(2);
}
if (_root.timeremain == 0) {
if (_root.score >= 30) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge5 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 205
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
shootonly = 1;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 205
onClipEvent (enterFrame) {
if (_root.score >= 30) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 205
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge5") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
squarerotate = random(2);
}
}
reset();
}
onClipEvent (enterFrame) {
if (squarerotate == 1) {
this._rotation = this._rotation + 9;
}
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.red)) {
if (squarerotate == 1) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
} else {
_root.lose = 1;
_root.laser.timeremain = 0;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 205
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge5") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(4) + 2;
this.gotoAndStop(1);
go = false;
squarerotate = random(2);
}
}
reset();
}
onClipEvent (enterFrame) {
if (squarerotate == 1) {
this._rotation = this._rotation + 9;
}
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.green)) {
if (squarerotate == 1) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
} else {
_root.lose = 1;
_root.laser.timeremain = 0;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 205
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge5") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(5) + 2;
this.gotoAndStop(1);
go = false;
squarerotate = random(2);
}
}
reset();
}
onClipEvent (enterFrame) {
if (squarerotate == 1) {
this._rotation = this._rotation + 9;
}
this._y = this._y + moveSpeed;
if (this.hitTest(_root.laser.blue)) {
if (squarerotate == 1) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
} else {
_root.lose = 1;
_root.laser.timeremain = 0;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 206
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 206
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 206
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 206
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 206
onClipEvent (load) {
mode = "challenge6";
}
Frame 207
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
_root.laser.lose = 0;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score >= 80) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge6 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 207
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
shootonly = 1;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 207
onClipEvent (enterFrame) {
if (_root.score >= 80) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 207
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge6") {
this._x = random(220) + 300;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
appear = random(2);
if (appear == 1) {
this._y = -5;
} else if (appear == 0) {
this._y = 550;
}
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
if (appear == 1) {
this._y = this._y + moveSpeed;
} else if (appear == 0) {
this._y = this._y - moveSpeed;
}
if (this.hitTest(_root.laser.red)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (appear == 1) {
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
} else if (appear == 0) {
if (this._y < -10) {
if (_root.timeremain != 0) {
reset();
}
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 207
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge6") {
this._x = random(220) + 300;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
appear = random(2);
if (appear == 1) {
this._y = -5;
} else if (appear == 0) {
this._y = 550;
}
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
if (appear == 1) {
this._y = this._y + moveSpeed;
} else if (appear == 0) {
this._y = this._y - moveSpeed;
}
if (this.hitTest(_root.laser.green)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (appear == 1) {
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
} else if (appear == 0) {
if (this._y < -10) {
if (_root.timeremain != 0) {
reset();
}
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 207
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge6") {
this._x = random(220) + 300;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
appear = random(2);
if (appear == 1) {
this._y = -5;
} else if (appear == 0) {
this._y = 550;
}
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
if (appear == 1) {
this._y = this._y + moveSpeed;
} else if (appear == 0) {
this._y = this._y - moveSpeed;
}
if (this.hitTest(_root.laser.blue)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (appear == 1) {
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
} else if (appear == 0) {
if (this._y < -10) {
if (_root.timeremain != 0) {
reset();
}
}
}
}
Frame 208
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 208
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 208
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 208
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 208
onClipEvent (load) {
mode = "challenge7";
}
Frame 209
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
_root.laser.lose = 0;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 209
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score >= 90) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge7 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 209
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
shootonly = 1;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 209
onClipEvent (enterFrame) {
if (_root.score >= 90) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 209
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge7") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
squarealpha = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (squarealpha == false) {
this._alpha = this._alpha - 2;
} else {
this._alpha = this._alpha + 2;
}
if (this._alpha <= 0) {
squarealpha = true;
}
if (this._alpha >= 100) {
squarealpha = false;
}
if (this.hitTest(_root.laser.red)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 209
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge7") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
squarealpha = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (squarealpha == false) {
this._alpha = this._alpha - 2;
} else {
this._alpha = this._alpha + 2;
}
if (this._alpha <= 0) {
squarealpha = true;
}
if (this._alpha >= 100) {
squarealpha = false;
}
if (this.hitTest(_root.laser.green)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 209
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge7") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
squarealpha = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (squarealpha == false) {
this._alpha = this._alpha - 2;
} else {
this._alpha = this._alpha + 2;
}
if (this._alpha <= 0) {
squarealpha = true;
}
if (this._alpha >= 100) {
squarealpha = false;
}
if (this.hitTest(_root.laser.blue)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 210
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 210
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 210
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 210
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 210
onClipEvent (load) {
mode = "challengemulti";
}
Frame 211
numEnemy = 10;
i = 2;
while (i <= numEnemy) {
multibox1.duplicateMovieClip("multibox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
_root.laser.lose = 0;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 211
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score >= 50) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge8 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
}
Instance of Symbol 606 MovieClip "multibox1" in Frame 211
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challengemulti") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
squarecolor = random(3);
if (squarecolor == 1) {
this.gotoAndPlay(1);
} else if (squarecolor == 2) {
this.gotoAndPlay(30);
} else if (squarecolor == 0) {
this.gotoAndPlay(61);
}
this.red.gotoAndStop(1);
this.green.gotoAndStop(1);
this.blue.gotoAndStop(1);
go = false;
}
}
reset();
current = 0;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (current == 1) {
if (this.hitTest(_root.laser.red)) {
if (go == false) {
_root.laser.score++;
go = true;
}
this.stop();
this.red.play();
}
}
if (current == 2) {
if (this.hitTest(_root.laser.green)) {
if (go == false) {
_root.laser.score++;
go = true;
}
this.stop();
this.green.play();
}
}
if (current == 3) {
if (this.hitTest(_root.laser.blue)) {
if (go == false) {
_root.laser.score++;
go = true;
}
this.stop();
this.blue.play();
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
} else {
this._visible = false;
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 211
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
shootonly = 1;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 211
onClipEvent (enterFrame) {
if (_root.score >= 50) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 212
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 212
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 212
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 212
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 212
onClipEvent (load) {
mode = "challenge9";
}
Frame 213
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
_root.laser.lose = 0;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score >= 60) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge9 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 213
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
}
onClipEvent (enterFrame) {
if (_root.timeremain != 0) {
this._y = 450;
} else {
this._y = _root._ymouse;
}
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 213
onClipEvent (enterFrame) {
if (_root.score >= 60) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 213
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge9") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (_root.timeremain != 0) {
if (this.hitTest(_root.laser.red)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 213
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge9") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (_root.timeremain != 0) {
if (this.hitTest(_root.laser.green)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 213
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge9") {
this._x = random(220) + 300;
this._y = -10;
moveSpeed = random(3) + 2;
this.gotoAndStop(1);
go = false;
}
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (_root.timeremain != 0) {
if (this.hitTest(_root.laser.blue)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
}
if (this._y > 560) {
if (_root.timeremain != 0) {
reset();
}
}
}
Frame 214
stop();
_root.lose = 0;
Instance of Symbol 104 MovieClip "laser" in Frame 214
onClipEvent (enterFrame) {
this._y = _root._ymouse;
}
Instance of Symbol 170 MovieClip "bonus" in Frame 214
onClipEvent (load) {
xbonus = 0;
bonusscore = 0;
}
onClipEvent (enterFrame) {
if (xbonus > 0) {
this.play();
this._y = this._y;
} else {
this._y = _root.laser._y;
}
}
Instance of Symbol 204 MovieClip in Frame 214
onClipEvent (enterFrame) {
if ((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) {
this.play();
}
}
Instance of Symbol 152 MovieClip "MC" in Frame 214
onClipEvent (load) {
mode = "challenge10";
}
Frame 215
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
redbox1.duplicateMovieClip("redbox" + i, i + 100);
i++;
}
stop();
_root.laser.timeremain = 30;
_root.laser.lose = 0;
if (_root.sound == 0) {
_root.music.play();
}
Instance of Symbol 152 MovieClip in Frame 215
onClipEvent (enterFrame) {
if (_root.timeremain == 0) {
if (_root.score >= 90) {
_root.finish.gotoAndStop(3);
_root.challenge.challenge10 = 1;
} else {
_root.finish.gotoAndStop(2);
}
}
}
Instance of Symbol 104 MovieClip "laser" in Frame 215
onClipEvent (load) {
timeremain = 30;
timer = 0;
combo = 0;
score = 0;
lose = 0;
}
onClipEvent (enterFrame) {
this._y = _root._ymouse;
_root.timeremain = timeremain;
_root.timer = timer;
_root.score = score;
_root.combo = combo;
_root.shootonly = shootonly;
if ((timeremain > 0) and (_root.lose == 0)) {
timeremain = timeremain - 0.0166666666666667;
if ((_root.timeremain == 0) and (_root.lose == 0)) {
_root.finish.gotoAndStop(2);
}
} else {
timeremain = 0;
}
}
Instance of Symbol 267 MovieClip "check" in Frame 215
onClipEvent (enterFrame) {
if (_root.score >= 90) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 215
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge10") {
this._x = random(220) + 300;
this._y = random(540) + 10;
this.gotoAndStop(1);
go = false;
time = 160;
}
}
reset();
}
onClipEvent (enterFrame) {
if (time > 0) {
time = time - 1;
}
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (_root.timeremain != 0) {
if (this.hitTest(_root.laser.red)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
}
if (time == 0) {
if (_root.timeremain != 0) {
reset();
} else {
this._visible = false;
this._x = 1000;
this._y = 1000;
}
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 215
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge10") {
this._x = random(220) + 300;
this._y = random(540) + 10;
this.gotoAndStop(1);
go = false;
time = 160;
}
}
reset();
}
onClipEvent (enterFrame) {
if (time > 0) {
time = time - 1;
}
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (_root.timeremain != 0) {
if (this.hitTest(_root.laser.green)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
}
if (time == 0) {
if (_root.timeremain != 0) {
reset();
} else {
this._visible = false;
this._x = 1000;
this._y = 1000;
}
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 215
onClipEvent (load) {
function reset() {
if (_root.MC.mode == "challenge10") {
this._x = random(220) + 300;
this._y = random(540) + 10;
this.gotoAndStop(1);
go = false;
time = 160;
}
}
reset();
}
onClipEvent (enterFrame) {
if (time > 0) {
time = time - 1;
}
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (_root.timeremain != 0) {
if (this.hitTest(_root.laser.blue)) {
if (go == false) {
this.play();
_root.laser.score++;
go = true;
}
}
}
if (time == 0) {
if (_root.timeremain != 0) {
reset();
} else {
this._visible = false;
this._x = 1000;
this._y = 1000;
}
}
}
Frame 216
Mouse.hide();
startDrag ("cursor", true);
Frame 217
Mouse.hide();
startDrag ("cursor", true);
numEnemy = 5;
i = 2;
while (i <= numEnemy) {
redbox1.duplicateMovieClip("redbox" + i, i + 100);
greenbox1.duplicateMovieClip("greenbox" + i, i + 200);
bluebox1.duplicateMovieClip("bluebox" + i, i + 300);
i++;
}
Instance of Symbol 19 MovieClip "redbox1" in Frame 217
onClipEvent (load) {
function reset() {
this._x = random(650);
this._y = -10;
moveSpeed = random(5) + 3;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this._y > 560) {
reset();
}
}
Instance of Symbol 26 MovieClip "greenbox1" in Frame 217
onClipEvent (load) {
function reset() {
this._x = random(650);
this._y = -10;
moveSpeed = random(5) + 3;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this._y > 560) {
reset();
}
}
Instance of Symbol 21 MovieClip "bluebox1" in Frame 217
onClipEvent (load) {
function reset() {
this._x = random(650);
this._y = -10;
moveSpeed = random(5) + 3;
}
reset();
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
this._y = this._y + moveSpeed;
if (this._y > 560) {
reset();
}
}
Symbol 16 Button
on (rollOver) {
tellTarget ("_root.cursor") {
gotoAndPlay (2);
};
}
on (dragOut) {
tellTarget ("_root.cursor") {
gotoAndPlay (1);
};
}
on (rollOut) {
tellTarget ("_root.cursor") {
gotoAndPlay (1);
};
}
on (release) {
tellTarget ("_root.cursor") {
gotoAndPlay (1);
};
}
on (release) {
_root.play();
}
Symbol 17 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 11
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 11
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 11
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 11
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 11
stop();
Symbol 36 Button
on (release) {
_root.gotoAndStop("main");
}
Symbol 49 MovieClip Frame 162
_root.gotoAndPlay("introcont");
Symbol 62 MovieClip Frame 155
stop();
_root.gotoAndPlay("introcont2");
Symbol 71 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 21
stop();
_root.gotoAndStop("tutorial");
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 21
stop();
_root.gotoAndStop("challenge");
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 21
stop();
_root.gotoAndStop("timeattack");
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 21
stop();
_root.gotoAndStop("options");
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 21
stop();
_root.gotoAndStop("credits");
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 21
stop();
_root.gotoAndStop("stage");
Symbol 92 MovieClip Frame 1
if ((_root.powerupnumber == 1) and (_root.whitebox1.go == true)) {
play();
} else {
stop();
}
Symbol 95 MovieClip Frame 1
if ((_root.powerupnumber == 1) and (_root.whitebox1.go == true)) {
play();
} else {
stop();
}
Symbol 98 MovieClip Frame 1
if ((_root.powerupnumber == 1) and (_root.whitebox1.go == true)) {
play();
} else {
stop();
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
stop();
Symbol 104 MovieClip Frame 4
stop();
Symbol 104 MovieClip Frame 5
stop();
Symbol 108 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
}
on (keyPress "a") {
_root.laser.gotoAndStop(1);
}
on (keyPress "s") {
_root.laser.gotoAndStop(2);
}
on (keyPress "d") {
_root.laser.gotoAndStop(3);
}
Symbol 112 MovieClip Frame 10
stop();
Symbol 115 Button
on (release) {
nextFrame();
}
Symbol 132 Button
on (release) {
_root.nextFrame();
}
Symbol 137 Button
on (release) {
_root.gotoAndStop("main");
}
Symbol 138 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("main");
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 3
stop();
Instance of Symbol 19 MovieClip in Symbol 140 MovieClip Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 26 MovieClip in Symbol 140 MovieClip Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Instance of Symbol 21 MovieClip in Symbol 140 MovieClip Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Symbol 140 MovieClip Frame 4
stop();
Symbol 140 MovieClip Frame 5
stop();
Symbol 140 MovieClip Frame 6
stop();
Symbol 140 MovieClip Frame 7
stop();
Instance of Symbol 29 MovieClip in Symbol 140 MovieClip Frame 7
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Symbol 140 MovieClip Frame 8
stop();
Symbol 140 MovieClip Frame 9
stop();
Instance of Symbol 24 MovieClip in Symbol 140 MovieClip Frame 9
onClipEvent (enterFrame) {
this._rotation = this._rotation + 9;
}
Symbol 140 MovieClip Frame 10
stop();
Symbol 140 MovieClip Frame 11
stop();
Symbol 140 MovieClip Frame 12
stop();
Symbol 140 MovieClip Frame 13
stop();
Symbol 140 MovieClip Frame 14
stop();
Symbol 140 MovieClip Frame 15
stop();
Symbol 150 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
_root.laser.rainbow.play();
if ((_root.laser.powerupnumber == 3) and (_root.whitebox3.powerup2 == 1)) {
_root.vertical.redV.play();
_root.vertical.greenV.play();
_root.vertical.blueV.play();
}
}
on (keyPress "a") {
if ((_root.laser.powerupnumber != 2) and (_root.whitebox2.go == false)) {
_root.laser.gotoAndStop(1);
_root.vertical.gotoAndStop(1);
}
}
on (keyPress "s") {
if ((_root.laser.powerupnumber != 2) and (_root.whitebox2.go == false)) {
_root.laser.gotoAndStop(2);
_root.vertical.gotoAndStop(2);
}
}
on (keyPress "d") {
if ((_root.laser.powerupnumber != 2) and (_root.whitebox2.go == false)) {
_root.laser.gotoAndStop(3);
_root.vertical.gotoAndStop(3);
}
}
Symbol 159 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 1
stop();
xbonus = 0;
bonusscore = 0;
Symbol 170 MovieClip Frame 3
if (this.xbonus > 2) {
play();
bonusscore = xbonus * 50;
} else {
gotoAndStop (1);
}
Symbol 170 MovieClip Frame 4
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 5
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 6
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 7
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 8
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 9
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 10
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 11
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 12
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 13
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 14
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 15
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 16
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 17
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 18
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 19
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 20
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 21
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 22
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 23
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 24
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 25
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 26
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 27
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 28
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 29
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 30
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 31
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 32
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 33
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 34
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 35
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 36
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 37
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 38
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 39
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 40
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 41
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 42
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 43
bonusscore = xbonus * 25;
Symbol 170 MovieClip Frame 44
if ((_root.laser.powerdownnumber == 3) and (_root.brownbox3.powerdown2 == 1)) {
_root.laser.score = _root.laser.score + 0;
} else {
_root.laser.score = _root.laser.score + bonusscore;
}
Symbol 172 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
stop();
Instance of Symbol 172 MovieClip in Symbol 179 MovieClip Frame 2
onClipEvent (enterFrame) {
this._xscale = this._xscale - (_root.powerupremain / 300);
if (this._xscale <= 0) {
this._xscale = 100;
_root.message.gotoAndStop(1);
}
}
Symbol 179 MovieClip Frame 3
stop();
Instance of Symbol 172 MovieClip in Symbol 179 MovieClip Frame 3
onClipEvent (enterFrame) {
this._xscale = this._xscale - (_root.powerupremain / 600);
if (this._xscale <= 0) {
this._xscale = 100;
_root.message.gotoAndStop(1);
}
}
Symbol 179 MovieClip Frame 4
stop();
Instance of Symbol 172 MovieClip in Symbol 179 MovieClip Frame 4
onClipEvent (enterFrame) {
this._xscale = this._xscale - (_root.powerupremain / 300);
if (this._xscale <= 0) {
this._xscale = 100;
_root.message.gotoAndStop(1);
}
}
Symbol 179 MovieClip Frame 5
stop();
Instance of Symbol 172 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
this._xscale = this._xscale - (_root.powerdownremain / 300);
if (this._xscale <= 0) {
this._xscale = 100;
_root.message.gotoAndStop(1);
}
}
Symbol 179 MovieClip Frame 6
stop();
Symbol 179 MovieClip Frame 7
stop();
Symbol 191 Button
on (press) {
_root.laser.red.play();
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 20
stop();
_root.nextFrame();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 20
stop();
_root.prevFrame();
_root.redbox1.reset();
_root.greenbox1.reset();
_root.bluebox1.reset();
_root.finish.gotoAndStop(1);
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 20
stop();
stopAllSounds();
_root.gotoAndStop("main");
Symbol 214 MovieClip Frame 40
stop();
_root.laser.powerupremain = 1;
_root.laser.powerdownremain = 1;
_root.message.gotoAndStop(1);
Instance of Symbol 210 MovieClip in Symbol 214 MovieClip Frame 40
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Instance of Symbol 212 MovieClip in Symbol 214 MovieClip Frame 40
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 20
stop();
_root.nextFrame();
_root.finish.gotoAndStop(1);
_root.redbox1.reset();
_root.greenbox1.reset();
_root.bluebox1.reset();
Symbol 218 MovieClip Frame 41
stop();
_root.laser.powerupremain = 1;
_root.laser.powerdownremain = 1;
_root.message.gotoAndStop(1);
Instance of Symbol 212 MovieClip in Symbol 218 MovieClip Frame 41
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 41
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
_root.laser.powerupremain = 1;
_root.laser.powerdownremain = 1;
_root.message.gotoAndStop(1);
stop();
Symbol 219 MovieClip Frame 3
_root.laser.powerupremain = 1;
_root.laser.powerdownremain = 1;
_root.message.gotoAndStop(1);
stop();
Symbol 227 Button
on (release) {
_root.exitmessage.gotoAndStop(2);
}
Symbol 233 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("main");
}
Symbol 237 Button
on (release) {
_root.exitmessage.gotoAndStop(1);
}
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 246 Button
on (release) {
if (_root.MC.mode == "stage") {
gotoAndStop (2);
stopAllSounds();
} else if (_root.MC.mode == "timeattack") {
gotoAndStop (3);
stopAllSounds();
} else {
gotoAndStop (4);
stopAllSounds();
}
}
Symbol 249 Button
on (release) {
gotoAndStop (1);
}
Symbol 251 Button
on (release) {
gotoAndStop (1);
}
Symbol 253 Button
on (release) {
gotoAndStop (1);
}
Symbol 254 MovieClip Frame 1
stop();
_root.sound = 0;
Symbol 254 MovieClip Frame 2
stop();
_root.sound = 1;
Symbol 254 MovieClip Frame 3
stop();
Symbol 254 MovieClip Frame 4
stop();
_root.sound = 1;
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
stop();
Symbol 287 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
_root.laser.rainbow.play();
if ((_root.powerupnumber == 3) and (_root.whitebox3.powerup2 == 1)) {
_root.vertical.redV.play();
_root.vertical.greenV.play();
_root.vertical.blueV.play();
}
}
on (keyPress "a") {
if (_root.power == 0) {
_root.laser.gotoAndStop(1);
_root.vertical.gotoAndStop(1);
}
}
on (keyPress "s") {
if (_root.power == 0) {
_root.laser.gotoAndStop(2);
_root.vertical.gotoAndStop(2);
}
}
on (keyPress "d") {
if (_root.power == 0) {
_root.laser.gotoAndStop(3);
_root.vertical.gotoAndStop(3);
}
}
Symbol 397 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
_root.laser.rainbow.play();
if ((_root.powerupnumber == 3) and (_root.whitebox3.powerup2 == 1)) {
_root.vertical.redV.play();
_root.vertical.greenV.play();
_root.vertical.blueV.play();
}
}
on (keyPress "a") {
if (((_root.laser.powerupnumber != 2) and (_root.whitebox2.go == false)) or ((_root.laser.powerdownnumber != 1) and (_root.brownbox2.go == false))) {
_root.laser.gotoAndStop(1);
_root.vertical.gotoAndStop(1);
}
}
on (keyPress "s") {
if (((_root.laser.powerupnumber != 2) and (_root.whitebox2.go == false)) or ((_root.laser.powerdownnumber != 1) and (_root.brownbox2.go == false))) {
_root.laser.gotoAndStop(2);
_root.vertical.gotoAndStop(2);
}
}
on (keyPress "d") {
if (((_root.laser.powerupnumber != 2) and (_root.whitebox2.go == false)) or ((_root.laser.powerdownnumber != 1) and (_root.brownbox2.go == false))) {
_root.laser.gotoAndStop(3);
_root.vertical.gotoAndStop(3);
}
}
Symbol 399 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("main");
}
Symbol 403 Button
on (press) {
_root.laser.red.play();
}
Symbol 414 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
_root.laser.rainbow.play();
if ((_root.powerupnumber == 3) and (_root.whitebox3.powerup2 == 1)) {
_root.vertical.redV.play();
_root.vertical.greenV.play();
_root.vertical.blueV.play();
}
}
on (keyPress "a") {
if (_root.power == 0) {
_root.laser.gotoAndStop(1);
_root.vertical.gotoAndStop(1);
}
}
on (keyPress "s") {
if (_root.power == 0) {
_root.laser.gotoAndStop(2);
_root.vertical.gotoAndStop(2);
}
}
on (keyPress "d") {
if (_root.power == 0) {
_root.laser.gotoAndStop(3);
_root.vertical.gotoAndStop(3);
}
}
Symbol 469 Button
on (release) {
_root.scoretable.filename = "scores/zapper.sco";
_root.scoretable.scoresize = 10;
_root.scoretable.action = "INSERT";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = _root.finish.name;
_root.scoretable.winscore = _root.score;
_root.scoretable.loadVariables("http://www.covertjamboree.com/scores.php", "GET");
_root.finish._visible = false;
_root.scoretable._visible = true;
_root.button._visible = true;
}
Symbol 470 MovieClip Frame 60
stop();
_root.finish.name = "";
Symbol 500 Button
on (press) {
_root.laser.red.play();
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 20
stop();
_root.gotoAndStop("C1");
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 20
stop();
_root.gotoAndStop("C2");
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 20
stop();
_root.gotoAndStop("C3");
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 20
stop();
_root.gotoAndStop("C4");
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 20
stop();
_root.gotoAndStop("C5");
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 20
stop();
_root.gotoAndStop("C6");
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 20
stop();
_root.gotoAndStop("C7");
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 20
stop();
_root.gotoAndStop("C8");
Symbol 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 20
stop();
_root.gotoAndStop("C9");
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 20
stop();
_root.gotoAndStop("C10");
Symbol 525 Button
on (release) {
_root.gotoAndStop("main");
stopAllSounds();
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
stop();
Symbol 527 MovieClip Frame 1
stop();
Symbol 531 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("challenge");
}
Symbol 532 Button
on (press) {
_root.laser.rainbow.play();
}
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 20
stop();
stopAllSounds();
_root.gotoAndStop("challenge");
Symbol 542 MovieClip Frame 40
stop();
Instance of Symbol 210 MovieClip in Symbol 542 MovieClip Frame 40
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Instance of Symbol 541 MovieClip in Symbol 542 MovieClip Frame 40
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Symbol 544 MovieClip Frame 40
stop();
Instance of Symbol 541 MovieClip in Symbol 544 MovieClip Frame 40
onClipEvent (enterFrame) {
if (((this.hitTest(_root.laser.red) or this.hitTest(_root.laser.green)) or this.hitTest(_root.laser.blue)) or this.hitTest(_root.laser.rainbow)) {
this.play();
}
}
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 3
stop();
Symbol 549 Button
on (press) {
_root.laser.red.play();
_root.laser.green.play();
_root.laser.blue.play();
_root.laser.rainbow.play();
}
on (keyPress "a") {
_root.laser.gotoAndStop(1);
_root.vertical.gotoAndStop(1);
}
on (keyPress "s") {
_root.laser.gotoAndStop(2);
_root.vertical.gotoAndStop(2);
}
on (keyPress "d") {
_root.laser.gotoAndStop(3);
_root.vertical.gotoAndStop(3);
}
Symbol 575 MovieClip Frame 1
_root.laser.shootonly = 1;
Symbol 575 MovieClip Frame 201
_root.laser.shootonly = 2;
Symbol 575 MovieClip Frame 401
_root.laser.shootonly = 3;
Symbol 606 MovieClip Frame 1
current = 1;
Symbol 606 MovieClip Frame 30
current = 2;
Symbol 606 MovieClip Frame 61
current = 3;
Symbol 636 Button
on (release) {
_quality = "low";
}
Symbol 640 Button
on (release) {
_quality = "medium";
}
Symbol 644 Button
on (release) {
_quality = "high";
}
Symbol 657 Button
on (release) {
getURL ("http://www.covertjamboree.com/forum/index.php?act=ST&f=16&t=255&s=713cf295e57822ad57d27e6f797e7c3d", "_blank");
}