Frame 1
stop();
Frame 10
_root.devb.onRelease = function () {
getURL ("http://www.snowbunnyluv.deviantart.com", "_blank");
};
stop();
_root.easyb.onRelease = function () {
gotoAndPlay ("lv1");
};
_root.hardb.onRelease = function () {
gotoAndPlay ("lv2");
};
soundbgloop = new Sound();
soundbgloop.attachSound("bgloop1");
soundbgloop.setVolume(100);
soundready = new Sound();
soundready.attachSound("ready");
soundready.setVolume(90);
soundgo = new Sound();
soundgo.attachSound("gooo");
soundgo.setVolume(90);
_root.soundbgloop2.stop();
_root.soundbgloop.start(0, 999);
Frame 20
xBox = 53;
yBox = 75;
X = (Y = 4);
bCount = 0;
score = 0;
enemylife = 3;
lives = 3;
ballspeed = 0;
paddle = 10;
soundblip = new Sound();
soundblip.attachSound("blip");
soundblip.setVolume(100);
soundbang = new Sound();
soundbang.attachSound("bang");
soundbang.setVolume(100);
soundow = new Sound();
soundow.attachSound("ow");
soundow.setVolume(100);
soundwah = new Sound();
soundwah.attachSound("wah");
soundwah.setVolume(100);
soundurgh = new Sound();
soundurgh.attachSound("urgh");
soundurgh.setVolume(100);
soundbgloop2 = new Sound();
soundbgloop2.attachSound("bgloop2");
soundbgloop2.setVolume(50);
_root.soundbgloop.stop();
_root.soundbgloop2.start(0, 999);
_root.soundgo.start(0, 1);
onEnterFrame = function () {
if (_root.lives == 3) {
_root.life1._visible = true;
_root.life2._visible = true;
_root.life3._visible = true;
}
if (_root.lives == 2) {
_root.life1._visible = true;
_root.life2._visible = true;
_root.life3._visible = false;
}
if (_root.lives == 1) {
_root.life1._visible = true;
_root.life2._visible = false;
_root.life3._visible = false;
}
};
i = 1;
while (i < 37) {
duplicateMovieClip (box, "box" + i, i);
if (_name != "box") {
thebox = "box" + i;
_root[thebox]._x = xBox;
_root[thebox]._y = yBox;
_root[thebox].gotoAndStop(random(5) + 1);
_root[thebox].enemyeyes.gotoAndPlay(random(700) + 1);
_root[thebox].enemymouth.gotoAndStop(random(6) + 1);
}
if ((((((i == 6) or (i == 12)) or (i == 18)) or (i == 24)) or (i == 30)) or (i == 36)) {
yBox = yBox + 40;
xBox = 53;
} else {
xBox = xBox + 68;
}
i++;
}
stop();
Instance of Symbol 146 MovieClip "ball" in Frame 20
onClipEvent (load) {
_x = (random(320) + 50);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
if (_x < 30) {
_root.X = 5;
_root.soundbang.start(0, 1);
_root.ball.gotoAndPlay(15);
}
if (_x > 420) {
_root.X = -5;
_root.soundbang.start(0, 1);
_root.ball.gotoAndPlay(25);
}
if (_y < 20) {
_root.Y = 5;
_root.soundbang.start(0, 1);
}
if (_y > 600) {
_root.lives = _root.lives - 1;
_root.ballspeed = 0;
_root.paddle = 10;
_x = (random(320) + 50);
_y = 295;
_root.Y = 2;
_root.X = 2;
}
if (_root.lives == 0) {
_root.playGame = false;
_root.gotoAndStop("lose");
}
if (_root.bCount == 36) {
_root.playGame = false;
_root.gotoAndStop("win");
}
if (this.b_hotspot.hitTest(_root.pad)) {
_root.Y = -5;
_root.hitsounds.gotoAndPlay(random(4) + 1);
_root.pad2.gotoAndPlay(5);
diffx = ((_root.pad._x - _root.ball._x) / 7) * -1;
_root.X = _root.X + int(diffx);
}
if (_root.ballspeed == 1) {
_root.ball._x = _root.ball._x + (_root.X * 1.5);
_root.ball._y = _root.ball._y + (_root.Y * 1.5);
} else {
_root.ball._x = _root.ball._x + _root.X;
_root.ball._y = _root.ball._y + _root.Y;
}
}
}
Instance of Symbol 103 MovieClip in Frame 20
onClipEvent (load) {
function reset() {
this._y = -2500 + random(200);
this._x = random(350) + 50;
speedincrease = 8;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + speedincrease;
if (this._y > 600) {
reset();
}
if (this.hitTest(_root.pad)) {
this.gotoAndPlay(5);
reset();
}
}
Instance of Symbol 151 MovieClip "pad" in Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(37) and (_x > 45)) {
_x = (_x - _root.paddle);
}
if (Key.isDown(39) and (_x < 402)) {
_x = (_x + _root.paddle);
}
if (Key.isDown(32)) {
_root.playGame = true;
}
if (Key.isDown(17) and (_global.loser == 1)) {
i = 1;
while (i < 37) {
removeMovieClip("box" + i);
i++;
}
_root.gotoAndPlay(1);
}
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndPlay(5);
}
if (this.hitTest(_root.enemy1.newbullet.bolt.hotspot)) {
_root.lives = _root.lives - 1;
_root.soundow.start(0, 1);
_root.pad2.gotoAndPlay(5);
}
if (_root.lives == 0) {
_root.playGame = false;
_root.gotoAndStop("lose");
}
}
Instance of Symbol 76 MovieClip "pad2" in Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(37) and (_x > 45)) {
_x = (_x - _root.paddle);
}
if (Key.isDown(39) and (_x < 402)) {
_x = (_x + _root.paddle);
}
if (Key.isDown(32)) {
_root.playGame = true;
}
}
Instance of Symbol 191 MovieClip "box" in Frame 20
onClipEvent (enterFrame) {
if (this.hotspot.hitTest(_root.ball.b_hotspot)) {
_root.soundwah.start(0, 1);
_root.Y = 5;
_root.bCount++;
_root.ball.gotoAndPlay(35);
if (this._currentframe == 1) {
_root.score = _root.score + 500;
this.gotoAndPlay("purpledeath");
}
if (this._currentframe == 2) {
_root.score = _root.score + 300;
this.gotoAndPlay("yellowdeath");
}
if (this._currentframe == 3) {
_root.score = _root.score + 300;
this.gotoAndPlay("greendeath");
}
if (this._currentframe == 4) {
_root.score = _root.score + 500;
this.gotoAndPlay("pinkdeath");
}
if (this._currentframe == 5) {
_root.score = _root.score + 400;
this.gotoAndPlay("bluedeath");
}
}
}
Instance of Symbol 103 MovieClip "speedball" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.pad)) {
this.gotoAndPlay(5);
}
}
Frame 25
xBox = 53;
yBox = 75;
X = (Y = 6);
bCount = 0;
score = 0;
enemylife = 3;
lives = 3;
ballspeed = 0;
paddle = 10;
soundblip = new Sound();
soundblip.attachSound("blip");
soundblip.setVolume(100);
soundbang = new Sound();
soundbang.attachSound("bang");
soundbang.setVolume(100);
soundow = new Sound();
soundow.attachSound("ow");
soundow.setVolume(100);
soundwah = new Sound();
soundwah.attachSound("wah");
soundwah.setVolume(100);
soundurgh = new Sound();
soundurgh.attachSound("urgh");
soundurgh.setVolume(100);
soundbgloop2 = new Sound();
soundbgloop2.attachSound("bgloop2");
soundbgloop2.setVolume(50);
_root.soundbgloop.stop();
_root.soundbgloop2.start(0, 999);
_root.soundgo.start(0, 1);
onEnterFrame = function () {
if (_root.lives == 3) {
_root.life1._visible = true;
_root.life2._visible = true;
_root.life3._visible = true;
}
if (_root.lives == 2) {
_root.life1._visible = true;
_root.life2._visible = true;
_root.life3._visible = false;
}
if (_root.lives == 1) {
_root.life1._visible = true;
_root.life2._visible = false;
_root.life3._visible = false;
}
};
i = 1;
while (i < 37) {
duplicateMovieClip (box, "box" + i, i);
if (_name != "box") {
thebox = "box" + i;
_root[thebox]._x = xBox;
_root[thebox]._y = yBox;
_root[thebox].gotoAndStop(random(5) + 1);
_root[thebox].enemyeyes.gotoAndPlay(random(700) + 1);
_root[thebox].enemymouth.gotoAndStop(random(6) + 1);
}
if ((((((i == 6) or (i == 12)) or (i == 18)) or (i == 24)) or (i == 30)) or (i == 36)) {
yBox = yBox + 40;
xBox = 53;
} else {
xBox = xBox + 68;
}
i++;
}
stop();
Instance of Symbol 146 MovieClip "ball" in Frame 25
onClipEvent (load) {
_x = (random(320) + 50);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
if (_x < 30) {
_root.X = 6;
_root.soundbang.start(0, 1);
_root.ball.gotoAndPlay(15);
}
if (_x > 420) {
_root.X = -6;
_root.soundbang.start(0, 1);
_root.ball.gotoAndPlay(25);
}
if (_y < 20) {
_root.Y = 6;
_root.soundbang.start(0, 1);
}
if (_y > 600) {
_root.lives = _root.lives - 1;
_root.ballspeed = 0;
_root.paddle = 10;
_x = (random(320) + 50);
_y = 295;
_root.Y = 2;
_root.X = 2;
}
if (_root.lives == 0) {
_root.playGame = false;
_root.gotoAndStop("lose");
}
if (_root.bCount == 39) {
_root.playGame = false;
_root.gotoAndStop("win");
}
if (this.b_hotspot.hitTest(_root.pad)) {
_root.Y = -6;
_root.hitsounds.gotoAndPlay(random(4) + 1);
_root.pad2.gotoAndPlay(5);
diffx = ((_root.pad._x - _root.ball._x) / 7) * -1;
_root.X = _root.X + int(diffx);
}
if (_root.ballspeed == 1) {
_root.ball._x = _root.ball._x + (_root.X * 1.5);
_root.ball._y = _root.ball._y + (_root.Y * 1.5);
} else {
_root.ball._x = _root.ball._x + _root.X;
_root.ball._y = _root.ball._y + _root.Y;
}
}
}
Instance of Symbol 103 MovieClip in Frame 25
onClipEvent (load) {
function reset() {
this._y = -3000 + random(200);
this._x = random(350) + 50;
speedincrease = 8;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + speedincrease;
if (this._y > 600) {
reset();
}
if (this.hitTest(_root.pad)) {
this.gotoAndPlay(5);
reset();
}
}
Instance of Symbol 107 MovieClip "extralife" in Frame 25
onClipEvent (load) {
function reset() {
this._y = -9000 + random(1000);
this._x = random(350) + 50;
extralife = 10;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + extralife;
if (this._y > 600) {
reset();
}
if (this.hitTest(_root.pad) & (_root.lives < 3)) {
_root.lives = _root.lives + 1;
trace(_root.lives);
reset();
}
}
Instance of Symbol 151 MovieClip "pad" in Frame 25
onClipEvent (enterFrame) {
if (Key.isDown(37) and (_x > 45)) {
_x = (_x - _root.paddle);
}
if (Key.isDown(39) and (_x < 402)) {
_x = (_x + _root.paddle);
}
if (Key.isDown(32)) {
_root.playGame = true;
}
if (Key.isDown(17) and (_global.loser == 1)) {
i = 1;
while (i < 37) {
removeMovieClip("box" + i);
i++;
}
_root.gotoAndPlay(1);
}
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndPlay(5);
}
if (this.hitTest(_root.enemy1.newbullet.bolt.hotspot)) {
_root.lives = _root.lives - 1;
_root.soundow.start(0, 1);
_root.pad2.gotoAndPlay(5);
}
if (_root.lives == 0) {
_root.playGame = false;
_root.gotoAndStop("lose");
}
}
Instance of Symbol 76 MovieClip "pad2" in Frame 25
onClipEvent (enterFrame) {
if (Key.isDown(37) and (_x > 45)) {
_x = (_x - _root.paddle);
}
if (Key.isDown(39) and (_x < 402)) {
_x = (_x + _root.paddle);
}
if (Key.isDown(32)) {
_root.playGame = true;
}
}
Instance of Symbol 191 MovieClip "box" in Frame 25
onClipEvent (enterFrame) {
if (this.hotspot.hitTest(_root.ball.b_hotspot)) {
_root.soundwah.start(0, 1);
_root.Y = 7;
_root.bCount++;
_root.ball.gotoAndPlay(35);
if (this._currentframe == 1) {
_root.score = _root.score + 500;
this.gotoAndPlay("purpledeath");
}
if (this._currentframe == 2) {
_root.score = _root.score + 300;
this.gotoAndPlay("yellowdeath");
}
if (this._currentframe == 3) {
_root.score = _root.score + 300;
this.gotoAndPlay("greendeath");
}
if (this._currentframe == 4) {
_root.score = _root.score + 500;
this.gotoAndPlay("pinkdeath");
}
if (this._currentframe == 5) {
_root.score = _root.score + 400;
this.gotoAndPlay("bluedeath");
}
}
}
Instance of Symbol 203 MovieClip "enemy1" in Frame 25
onClipEvent (enterFrame) {
if (this.thundercloud.hotspot.hitTest(_root.ball.b_hotspot)) {
_root.soundurgh.start(0, 1);
_root.Y = 8;
_root.score = _root.score + (random(5000) + 5000);
_root.bCount++;
_root.enemylife = _root.enemylife - 1;
this.thundercloud.gotoAndPlay(35);
if (_root.enemylife == 0) {
this.thundercloud.gotoAndPlay(10);
_root.timer.gotoAndPlay(130);
}
}
}
Instance of Symbol 103 MovieClip "speedball" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.pad)) {
this.gotoAndPlay(5);
}
}
Frame 50
stop();
i = 1;
while (i < 37) {
removeMovieClip("box" + i);
i++;
}
_root.restartb.onRelease = function () {
gotoAndPlay ("intro");
};
soundbgloop3 = new Sound();
soundbgloop3.attachSound("bgloop3");
soundbgloop3.setVolume(90);
_root.soundbgloop2.stop();
_root.soundbgloop3.start(0, 999);
Frame 55
stop();
i = 1;
while (i < 37) {
removeMovieClip("box" + i);
i++;
}
_root.restartb.onRelease = function () {
gotoAndPlay ("intro");
};
soundbgloop4 = new Sound();
soundbgloop4.attachSound("bgloop4");
soundbgloop4.setVolume(90);
_root.soundbgloop2.stop();
_root.soundbgloop4.start(0, 999);
Symbol 8 MovieClip [shooting] Frame 50
this.removeMovieClip();
Symbol 12 MovieClip Frame 35
stop();
Symbol 38 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.gotoAndStop("intro");
}
Symbol 38 MovieClip Frame 2
gotoAndPlay (1);
Symbol 49 MovieClip Frame 1
stop();
Symbol 54 Button
on (rollOver) {
_root.soundready.start(0, 1);
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 13
gotoAndPlay (1);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 5
_root.ballspeed = _root.ballspeed + 1;
trace(_root.ballspeed);
_root.paddle = 15;
Symbol 103 MovieClip Frame 210
_root.ballspeed = 0;
_root.paddle = 10;
Instance of Symbol 76 MovieClip "cloud" in Symbol 110 MovieClip Frame 1
on (rollOver) {
gotoAndStop (20);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 115 Button
on (rollOver) {
_root.soundready.start(0, 1);
}
Symbol 117 Button
on (rollOver) {
_root.soundready.start(0, 1);
}
Symbol 131 MovieClip Frame 57
gotoAndPlay(random(350));
Symbol 133 MovieClip Frame 44
gotoAndPlay(random(400));
Symbol 136 MovieClip Frame 1
stop();
_root.bgs.gotoAndStop(random(3) + 1);
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 11
gotoAndPlay (1);
Symbol 146 MovieClip Frame 21
stop();
Symbol 146 MovieClip Frame 31
stop();
Symbol 146 MovieClip Frame 41
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
stop();
Symbol 150 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
_root.box.gotoAndPlay(random(5) + 1);
Symbol 191 MovieClip Frame 3
stop();
Symbol 191 MovieClip Frame 4
stop();
Symbol 191 MovieClip Frame 5
stop();
Symbol 191 MovieClip Frame 36
this.removeMovieClip();
Symbol 191 MovieClip Frame 62
this.removeMovieClip();
Symbol 191 MovieClip Frame 87
this.removeMovieClip();
Symbol 191 MovieClip Frame 113
this.removeMovieClip();
Symbol 191 MovieClip Frame 139
this.removeMovieClip();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 28
stop();
Symbol 202 MovieClip Frame 55
gotoAndPlay (1);
Symbol 204 MovieClip Frame 1
gotoAndPlay(random(80));
Symbol 204 MovieClip Frame 121
_root.enemy1.attachMovie("shooting", "newbullet", 9);
_root.enemy1.newbullet._x = _root.enemy1.thundercloud._x;
gotoAndPlay (1);
Symbol 204 MovieClip Frame 130
stop();