Frame 1
stop();
stop();
stop();
Instance of Symbol 34 MovieClip in Frame 1
/* no clip actions */
Frame 51
score = 0;
Life = 200;
stop();
i = 3;
while (10 >= i) {
_root.cake.duplicateMovieClip("cake" + i, i + 1000, cake);
i++;
}
Instance of Symbol 75 MovieClip "cake" in Frame 51
onClipEvent (load) {
function reset() {
if (this._name == "cake") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(5) + 3;
this._x = 600;
this._y = random(400);
this._xscale = random(100) + 20;
this._yscale = this._xscale;
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.score = _root.score + 5;
}
}
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this._visible = false;
play();
this.reset();
}
}
Instance of Symbol 75 MovieClip "cake2" in Frame 51
onClipEvent (load) {
function reset() {
if (this._name == "cake") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(5) + 3;
this._x = 600;
this._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.score = _root.score + 5;
}
}
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this._visible = false;
play();
this.reset();
}
}
Instance of Symbol 27 MovieClip in Frame 51
onClipEvent (load) {
function reset() {
if (this._name == "cake") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(3) + 2;
this._x = 600;
this._y = random(400);
}
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life + 5;
}
}
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
play();
this.reset();
}
}
Instance of Symbol 79 MovieClip in Frame 51
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.reset();
stop();
}
}
Instance of Symbol 34 MovieClip "player" in Frame 51
onClipEvent (load) {
speed = 4;
isJumping = false;
jumpSpeed = 0;
startY = _y;
}
onClipEvent (enterFrame) {
if (isJumping) {
_y = (_y + jumpSpeed);
jumpSpeed = jumpSpeed + 1;
if (_y >= startY) {
_y = startY;
isJumping = false;
speed = 4;
}
} else if (Key.isDown(32)) {
isJumping = true;
jumpSpeed = -20;
speed = 8;
}
if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = -100;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = 100;
}
if (Key.isDown(40)) {
_yscale = -100;
_root.gocrazy.play(1);
}
}
Instance of Symbol 85 MovieClip "knife1" in Frame 51
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life - 15;
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
}
}
onClipEvent (load) {
function reset() {
if (this._name == "cake") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(-5) - 3;
this._x = -40;
this._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (600 < this._x) {
this.reset();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.cutcut.play();
this.reset();
}
}
Instance of Symbol 85 MovieClip "knife2" in Frame 51
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life - 15;
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
}
}
onClipEvent (load) {
function reset() {
if (this._name == "cake") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(-5) - 3;
this._x = -40;
this._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (600 < this._x) {
this.reset();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.cutcut.play();
this.reset();
}
}
Instance of Symbol 87 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life - 1;
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.cutcut.play();
this.reset();
}
}
Instance of Symbol 87 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life - 1;
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.cutcut.play();
this.reset();
}
}
Instance of Symbol 89 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life - 1;
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.cutcut.play();
this.reset();
}
}
Instance of Symbol 87 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.life = _root.life - 1;
if (0 >= _root.life) {
stopAllSounds();
_root.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.cutcut.play();
this.reset();
}
}
Symbol 9 Button
on (press) {
gotoAndStop (53);
}
Symbol 21 Button
on (press) {
gotoAndStop (51);
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 46 Button
on (press) {
gotoAndStop (51);
}
Symbol 52 Button
on (press) {
gotoAndStop (1);
}
Symbol 65 MovieClip Frame 5
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 1985
stop();
Symbol 75 MovieClip Frame 12
gotoAndStop (1);
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 9
dun = "1";
Symbol 85 MovieClip Frame 1
play();
Symbol 92 Button
on (press) {
gotoAndStop (51);
}
Symbol 96 Button
on (press) {
gotoAndStop (1);
}