Frame 1
stop();
Frame 3
stopAllSounds();
stop();
Frame 4
depth = 1;
score = 0;
maxBallsAlive = 3;
ballsAlive = -2;
bnode._visible = false;
bnode.stop();
lives = 3;
level = 1;
ns = 0;
rndS = 15;
limit = 5;
levelUp._visible = false;
this.bomb._visible = false;
this.bomb.stop();
this.node._visible = false;
this.node.gotoAndStop(4);
_root.newnode = "node" + _root.depth;
_root.node.duplicateMovieClip(_root.newnode, _root.depth++);
h = SharedObject.getLocal("hiscores");
if (!h.data.best) {
h.data.best = 0;
}
yourBest = h.data.best;
explo._visible = false;
Instance of Symbol 56 MovieClip "b" in Frame 4
onClipEvent (enterFrame) {
this._x = _root._xmouse;
}
Frame 5
if (lives < 0) {
lives = 0;
gotoAndStop (7);
}
if (ballsAlive <= 0) {
ballsAlive = 0;
}
if (score > h.data.best) {
h.data.best = score;
}
yourBest = h.data.best;
h.flush();
Frame 6
gotoAndPlay (5);
Symbol 7 MovieClip Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
loadBar._height = getPercent * 220;
loadText = Math.round(getPercent * 100) + " %";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(2);
}
Symbol 15 Button
on (release) {
getURL ("http//:www.chickenslayerproductions.tk");
}
Symbol 17 MovieClip Frame 109
stopAllSounds();
Symbol 17 MovieClip Frame 110
stop();
_root.gotoAndStop("play");
stopAllSounds();
Symbol 28 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay(3);
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 40
_parent.removeMovieClip();
Symbol 43 MovieClip Frame 1
var scale = 25;
this._xscale = scale;
this._yscale = scale;
redAmount = 1;
this._x = _root.cannon._x;
this._y = _root.cannon._y;
vx = random(5) + 5;
vy = -(random(5) + 5);
_root.ballsAlive = _root.ballsAlive + 1;
boingSound = new Sound(this);
boingSound.attachSound("boing");
Symbol 43 MovieClip Frame 2
vy = vy + 0.12;
this._x = this._x + vx;
this._y = this._y + vy;
if (this._x <= 0) {
vx = -vx;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._x >= 550) {
vx = -vx;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._y <= 0) {
vy = -vy;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this.hitTest(_root.b)) {
_root.score = _root.score + 1;
if (vy > 0) {
vy = -vy;
}
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._y > 375) {
_root.lives = _root.lives - 1;
gotoAndPlay (4);
hitAnim.gotoAndPlay(20);
_root.ballsAlive = _root.ballsAlive - 1;
} else if (redAmount >= 20) {
_root.score = _root.score + 5;
gotoAndPlay (4);
hitAnim.gotoAndPlay(20);
_root.ballsAlive = _root.ballsAlive - 1;
}
Symbol 43 MovieClip Frame 3
gotoAndPlay (2);
Symbol 43 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 53
_parent.removeMovieClip();
Symbol 54 MovieClip Frame 1
var scale = 50;
this._xscale = scale;
this._yscale = scale;
redAmount = 1;
this._x = _root.cannon._x;
this._y = _root.cannon._y;
vx = random(5) + 5;
vy = -(random(5) + 5);
_root.ballsAlive = _root.ballsAlive + 1;
Symbol 54 MovieClip Frame 2
vy = vy + 0.12;
this._x = this._x + vx;
this._y = this._y + vy;
if (this._x < 0) {
vx = -vx;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._x > 550) {
vx = -vx;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._y < 0) {
vy = -vy;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this.hitTest(_root.b)) {
_root.score = _root.score + 1;
if (vy > 0) {
vy = -vy;
}
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._y > 385) {
_root.ballsAlive = _root.ballsAlive - 1;
this.removeMovieClip();
gotoAndStop (4);
}
if (redAmount >= 20) {
_root.ballsAlive = _root.ballsAlive - 1;
_root.score = _root.score + 20;
gotoAndStop (4);
hitAnim.gotoAndPlay(20);
_root.lives = _root.lives + 1;
}
Symbol 54 MovieClip Frame 3
gotoAndPlay (2);
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 40
this._visible = false;
Symbol 65 MovieClip Frame 1
_x = _root.cannon._x;
_y = _root.cannon._y;
vx = random(5) + 5;
vy = -(random(5) + 5);
Symbol 65 MovieClip Frame 2
vy = vy + 0.12;
this._x = this._x + vx;
this._y = this._y + vy;
if (this._x <= 0) {
vx = -vx;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._x >= 550) {
vx = -vx;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._y <= 0) {
vy = -vy;
redAmount = redAmount + 1;
hitAnim.gotoAndStop(redAmount);
}
if (this._y >= 375) {
this.removeMovieClip();
}
if (this.hitTest(_root.b)) {
_root.explo._visible = true;
_root.explo.play();
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
Symbol 65 MovieClip Frame 3
gotoAndPlay (2);
Symbol 73 MovieClip Frame 20
if ((random(_root.rndS) == 1) && (_root.ballsAlive < _root.maxBallsAlive)) {
_root.newnode = "node" + _root.depth;
_root.node.duplicateMovieClip(_root.newnode, _root.depth++);
_root.ns = _root.ns + 1;
} else {
gotoAndPlay (1);
}
if ((_root.ballsAlive < 1) && (_root.level <= 2)) {
_root.newnode = "node" + _root.depth;
_root.node.duplicateMovieClip(_root.newnode, _root.depth++);
_root.ns = _root.ns + 1;
}
if ((_root.ballsAlive < 2) && (_root.level <= 4)) {
_root.newnode = "node" + _root.depth;
_root.node.duplicateMovieClip(_root.newnode, _root.depth++);
_root.ns = _root.ns + 1;
}
if ((_root.ballsAlive < 4) && (_root.level > 4)) {
_root.newnode = "node" + _root.depth;
_root.node.duplicateMovieClip(_root.newnode, _root.depth++);
_root.ns = _root.ns + 1;
}
if (_root.ns >= _root.limit) {
_root.maxBallsAlive = _root.maxBallsAlive + 1;
_root.level = _root.level + 1;
_root.limit = _root.limit + 1;
_root.rndS = _root.rndS - 1;
_root.ns = 0;
_root.levelUp._visible = true;
_root.levelUp.play();
_root.lives = _root.lives + 1;
}
if (random(70) == 2) {
_root.newnode = "bnode" + _root.depth;
_root.bnode.duplicateMovieClip(_root.newnode, _root.depth++);
}
if (random(30) == 2) {
_root.newnode = "bonode" + _root.depth;
_root.bomb.duplicateMovieClip(_root.newnode, _root.depth++);
}
trace(_root.ballsAlive);
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 15
this._visible = false;
Symbol 91 Button
on (release) {
gotoAndPlay ("play");
}