Combined Code
frame 1 {
var openwide = 0;
this.onEnterFrame = function () {
this.gotoAndStop(1);
kirbyf.gotoAndStop(1);
if (Key.isDown(32)) {
this.gotoAndPlay(2);
}
};
}
movieClip 29 {
frame 1 {
stop();
}
frame 13 {
gotoAndPlay(2);
}
frame 20 {
gotoAndPlay(16);
}
frame 24 {
gotoAndStop(1);
}
frame 31 {
gotoAndPlay(27);
}
}
movieClip 32 {
}
frame 2 {
delete this.onEnterFrame;
}
movieClip 34 {
}
frame 91 {
kirbyf.gotoAndPlay(2);
}
frame 116 {
kirbyf.gotoAndStop(1);
}
frame 137 {
kirbyf.gotoAndPlay(2);
}
frame 211 {
kirbyf.gotoAndStop(1);
}
frame 251 {
kirbyf.gotoAndPlay(2);
}
frame 272 {
kirbyf.gotoAndStop(1);
}
frame 286 {
kirbyf.gotoAndPlay(2);
}
frame 326 {
kirbyf.gotoAndStop(1);
}
frame 420 {
delete this.onEnterFrame;
}
frame 421 {
stop();
this.onEnterFrame = function () {
if (Key.isDown(32)) {
if (openwide == 0) {
kirbyf.gotoAndPlay(14);
openwide = 1;
}
bigface._x += 0.5;
if (bigface._x > 125) {
this.gotoAndPlay(422);
}
} else {
if (openwide == 1) {
kirbyf.gotoAndPlay(21);
openwide = 0;
}
}
};
}
movieClip 41 {
}
frame 422 {
kirbyf.gotoAndPlay(21);
delete this.onEnterFrame;
}
movieClip 43 {
}
movieClip 45 {
}
frame 679 {
kirbyf.gotoAndPlay(25);
}
frame 680 {
this.onEnterFrame = function () {
thebackground._y += 4;
star1._y += 6;
star2._y += 6;
star3._y += 6;
star4._y += 6;
star5._y += 6;
bigface._rotation += 2;
if (star1._y > 440) {
star1._y -= 460;
}
if (star2._y > 440) {
star2._y -= 460;
}
if (star3._y > 440) {
star3._y -= 460;
}
if (star4._y > 440) {
star4._y -= 460;
}
if (star5._y > 440) {
star5._y -= 460;
}
if (thebackground._y > 3000) {
this.gotoAndStop(1);
}
};
}
frame 750 {
this.gotoAndPlay(680);
}