Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 4
gotoAndPlay (3);
Instance of Symbol 46 MovieClip "scoreboard" in Frame 5
onClipEvent (load) {
_root.kirbydam = 1;
}
onClipEvent (enterFrame) {
_root.scoreboard.bar.gotoAndStop(_root.kirbydam);
}
Instance of Symbol 47 MovieClip "star" in Frame 5
onClipEvent (load) {
coll = new Sound();
coll.attachSound("collect");
soundplayed = 0;
this.path = _root["starx" + count];
this.time = 0;
}
onClipEvent (enterFrame) {
this.time = this.time + 1;
this.pick = this.hitTest(_root.kirbymin);
if (this.pick == true) {
if (soundplayed == 0) {
coll.start(0, 1);
soundplayed = 1;
}
coll.onSoundComplete = function () {
soundplayed = 0;
};
_root.score = _root.score + _root.value;
_root.value = _root.value + 5;
removeMovieClip(this.path);
}
if (this.time == 90) {
removeMovieClip(this.path);
}
}
Instance of Symbol 48 MovieClip in Frame 5
onClipEvent (load) {
_root.left2 = "";
count = 1;
_root.speed = 60;
_root.wave = 1;
_root.wavechck = 1;
}
onClipEvent (enterFrame) {
if (_root.wave == 9) {
if (count == 25) {
_root.left2 = "5";
}
if (count == 26) {
_root.left2 = "4";
}
if (count == 27) {
_root.left2 = "3";
}
if (count == 28) {
_root.left2 = "2";
}
if (count == 29) {
_root.left2 = "1";
}
}
if (_root.kirbydam < 15) {
rand = Math.round(Math.random() * _root.speed);
if (rand == 1) {
_root.star.duplicateMovieClip("starx" + count, count);
_root["starx" + count]._x = random(440);
_root["starx" + count]._y = random(440);
count = count + 1;
if (count == 30) {
count = 1;
_root.wave = _root.wave + 1;
_root.speed = 60 - (2 * _root.wave);
_root.value = 10;
}
_root.speed = _root.speed - 1;
}
}
}
Instance of Symbol 52 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (checked == 0) {
if (_root.wavechck == (_root.wave - 1)) {
this._x = 250;
_root.wavechck = _root.wave;
checked = 1;
}
}
if (checked == 1) {
count = count + 1;
if (count == 60) {
this._x = -100;
count = 0;
checked = 0;
}
}
}
onClipEvent (load) {
checked = 0;
count = 0;
}
Instance of Symbol 54 MovieClip in Frame 5
onClipEvent (keyUp) {
if (Key.getCode() == 37) {
_root.kirbystatus = "still";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
_root.kirbystatus = "still";
}
}
Instance of Symbol 55 MovieClip in Frame 5
onClipEvent (load) {
_root.kirbyhurt = 0;
_root.enemy._y = 60;
_root.enemL = 0;
}
onClipEvent (enterFrame) {
if (_root.enemL == 0) {
randomen = Math.round(Math.random() * 200);
if (randomen == 50) {
_root.enemy.gotoAndPlay(2);
_root.enemy._y = 60 + Math.round(Math.random() * 320);
_root.enemL = 1;
}
}
}
Instance of Symbol 56 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.wave > 5) {
randomde = Math.round(Math.random() * 600);
if (_root.dededeap == 0) {
if (randomde == 100) {
_root.dededeap = 1;
_root.dededemain.gotoAndPlay(3);
}
}
if (_root.dededemain._x > 550) {
_root.dededeap = 0;
_root.dededemain.gotoAndPlay(1);
}
}
}
Instance of Symbol 57 MovieClip in Frame 5
onClipEvent (load) {
jump = new Sound();
jump.attachSound("Kirbyjump");
soundplayed = 0;
}
onClipEvent (enterFrame) {
if (soundplayed == 0) {
if (_root.kirbyhurt == 0) {
if (_root.kirbyjumpdir == "down") {
if (Key.isDown(32)) {
jump.start(0, 1);
soundplayed = 1;
}
}
}
}
}
onClipEvent (enterFrame) {
jump.onSoundComplete = function () {
soundplayed = 0;
};
}
Instance of Symbol 60 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.kirbydam > 14) {
_level0.gotoAndPlay("Game Over", 1);
}
}
Instance of Symbol 62 MovieClip "platg" in Frame 5
onClipEvent (enterFrame) {
if (_root.platg.hitTest(_root.kirbymin) == true) {
if (_root.kirbyjumpdir == "down") {
if (getProperty(_root.kirbymin, _y) < ((getProperty(_root.platg, _y) + 20) - getProperty(_root.kirbymin, _height))) {
_root.kirbystatus = "still";
_root.kirbyjump = false;
_root.kirbyjumpstat = 0;
_root.kirbystandstatus = 0;
_root.kirbyjumpdir = "down";
setProperty(_root.kirbymin, _y , (getProperty(_root.platg, _y) - getProperty(_root.kirbymin, _height)) + 5);
}
}
}
}
onClipEvent (enterFrame) {
if (_root.platg.hitTest(_root.kirbymin) == false) {
if (_root.kirbystandstatus == 0) {
_root.kirbystandstatus = 1;
_root.expo = 2;
_root.kirbyjump = true;
}
}
}
Instance of Symbol 80 MovieClip "kirbymin" in Frame 5
onClipEvent (load) {
_root.kirbydir = "right";
_root.kirbystatus = "still";
_root.kirbyjumpstat = 0;
_root.kirbyjump = false;
_root.kirbystandstatus = 0;
_root.expo = 20;
_root.score = 0;
_root.value = 10;
_root.kirbyhurt = 0;
_root.justhurt = 0;
}
onClipEvent (enterFrame) {
if (getProperty(_root.kirbymin, _x) < 0) {
setProperty(_root.kirbymin, _x , 0);
}
if ((getProperty(_root.kirbymin, _x) + getProperty(_root.kirbymin, _width)) > 500) {
setProperty(_root.kirbymin, _x , 500 - getProperty(_root.kirbymin, _width));
}
if (getProperty(_root.kirbymin, _y) < 0) {
setProperty(_root.kirbymin, _y , 0);
}
}
Instance of Symbol 116 MovieClip "dededemain" in Frame 5
onClipEvent (load) {
_root.dededeap = 0;
a = 0;
}
Instance of Symbol 126 MovieClip "starproj" in Frame 5
onClipEvent (load) {
fireso = new Sound();
fireso.attachSound("rodfire");
soundplayed = 0;
starmove = 0;
}
onClipEvent (enterFrame) {
if (this._x > 520) {
this._x = -50;
starmove = 0;
}
if (this._x < -20) {
this._x = -50;
starmove = 0;
}
if (this._y > 520) {
this._y = -50;
starmove = 0;
}
if (this._y < -20) {
this._y = -50;
starmove = 0;
}
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
if (starmove == 1) {
if (_root.stargotox > 0) {
_root.starproj._x = _root.starproj._x + (20 * Math.cos(_root.alpha));
_root.starproj._y = _root.starproj._y - (20 * Math.sin(_root.alpha));
}
if (_root.stargotox < 0) {
_root.starproj._x = _root.starproj._x - (20 * Math.cos(_root.alpha));
_root.starproj._y = _root.starproj._y + (20 * Math.sin(_root.alpha));
}
}
if (_root.fire == 1) {
if (soundplayed == 0) {
fireso.start();
soundplayed = 1;
}
fireso.onSoundComplete = function () {
soundplayed = 0;
};
_root.starproj._x = _root.para._x + _root.para.wadpar._x;
_root.starproj._y = _root.para._y + _root.para.wadpar._y;
_root.stargotox = _root.kirbymin._x - _root.starproj._x;
_root.stargotoy = _root.starproj._y - _root.kirbymin._y;
_root.alpha = Math.atan(_root.stargotoy / _root.stargotox);
starmove = 1;
_root.fire = 0;
}
}
Instance of Symbol 127 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.wave > 2) {
randwad = Math.round(Math.random() * 300);
if (_root.parapear == 1) {
if (_root.para._x > 550) {
_root.parapear = 0;
_root.para._x = 60;
_root.para.gotoAndPlay(1);
}
}
if ((_root.parapear == 0) && (randwad == 100)) {
_root.para._x = Math.round(Math.random() * 400) + 50;
_root.parapear = 1;
}
}
}
Instance of Symbol 136 MovieClip "para" in Frame 5
onClipEvent (load) {
_root.parapear = 0;
}
Frame 6
if (_root.kirbyhurt == 0) {
soundplayed = 0;
_root.hurtcount = 0;
_root.justhurt = 0;
if (Key.isDown(39)) {
if (_root.kirbyjump == false) {
_root.kirbydir = "right";
_root.kirbystatus = "walk";
setProperty(_root.kirbymin, _x , getProperty(_root.kirbymin, _x) + 4);
}
if (_root.kirbyjump == true) {
_root.kirbydir = "right";
setProperty(_root.kirbymin, _x , getProperty(_root.kirbymin, _x) + 4);
}
}
if (Key.isDown(37)) {
if (_root.kirbyjump == false) {
_root.kirbystatus = "walk";
_root.kirbydir = "left";
setProperty(_root.kirbymin, _x , getProperty(_root.kirbymin, _x) - 4);
}
if (_root.kirbyjump == true) {
_root.kirbydir = "left";
setProperty(_root.kirbymin, _x , getProperty(_root.kirbymin, _x) - 4);
}
}
if (Key.isDown(32)) {
if (_root.kirbyjumpstat == 0) {
_root.kirbystandstatus = 2;
_root.kirbyjump = true;
_root.kirbyjumpdir = "up";
_root.kirbystatus = "jump";
_root.kirbyjumpstat = 1;
_root.expo = 20;
}
}
}
if (_root.kirbyhurt == 1) {
hurt = new Sound();
hurt.attachSound("hurtsound");
if (soundplayed == 0) {
hurt.start();
soundplayed = 1;
}
_root.justhurt = 1;
_root.kirbystatus = "hurt";
_root.hurtcount = _root.hurtcount + 1;
_root.hurtcount = _root.hurtcount + 1;
if (_root.hurtcount > 100) {
_root.kirbyhurt = 0;
}
}
if (_root.kirbydam > 14) {
_level0.gotoAndPlay("Game Over", 1);
stopAllSounds();
} else if (_root.wave == 10) {
stopAllSounds();
gotoAndPlay (67);
} else {
gotoAndPlay (5);
}
Frame 7
count = 1;
do {
removeMovieClip("_root.starx" + count);
count = count + 1;
} while (count < 31);
Frame 64
_root.rankno = Math.round((_root.score / _root.wave) / 24);
if (_root.rankno < 10) {
_root.rank = "Rank 8: Waddle Dee Wuss";
}
if ((_root.rankno < 15) && (_root.rankno > 10)) {
_root.rank = "Rank 7: Dedede Dummy";
}
if ((_root.rankno < 20) && (_root.rankno > 15)) {
_root.rank = "Rank 6: Nago Novice";
}
if ((_root.rankno < 30) && (_root.rankno > 20)) {
_root.rank = "Rank 5: Rick Rookie";
}
if ((_root.rankno < 35) && (_root.rankno > 30)) {
_root.rank = "Rank 4: Popstar Professional";
}
if ((_root.rankno < 45) && (_root.rankno > 35)) {
_root.rank = "Rank 3: Warpstar Wonder";
}
if ((_root.rankno < 50) && (_root.rankno > 45)) {
_root.rank = "Rank 2: Metaknight Master";
}
if (_root.rankno > 50) {
_root.rank = "Rank 1: Kirby King";
}
Frame 66
stop();
Frame 67
count = 1;
do {
removeMovieClip("_root.starx" + count);
count = count + 1;
} while (count < 31);
Frame 155
_root.rankno = Math.round((_root.score / _root.wave) / 24);
if (_root.rankno < 10) {
_root.rank = "Rank 8: Waddle Dee Wuss";
}
if ((_root.rankno < 15) && (_root.rankno > 10)) {
_root.rank = "Rank 7: Dedede Dummy";
}
if ((_root.rankno < 20) && (_root.rankno > 15)) {
_root.rank = "Rank 6: Nago Novice";
}
if ((_root.rankno < 30) && (_root.rankno > 20)) {
_root.rank = "Rank 5: Rick Rookie";
}
if ((_root.rankno < 35) && (_root.rankno > 30)) {
_root.rank = "Rank 4: Popstar Professional";
}
if ((_root.rankno < 45) && (_root.rankno > 35)) {
_root.rank = "Rank 3: Warpstar Wonder";
}
if ((_root.rankno < 50) && (_root.rankno > 45)) {
_root.rank = "Rank 2: Metaknight Master";
}
if (_root.rankno > 50) {
_root.rank = "Rank 1: Kirby King";
}
Frame 172
stop();
Symbol 16 MovieClip Frame 20
gotoAndPlay (1);
Symbol 20 Button
on (release) {
gotoAndPlay (5);
}
Symbol 24 Button
on (press) {
gotoAndStop (2);
}
Symbol 26 Button
on (press) {
gotoAndStop (3);
}
Symbol 28 Button
on (press) {
gotoAndStop (1);
}
Symbol 32 Button
on (press) {
gotoAndStop (4);
}
Symbol 33 Button
on (press) {
gotoAndStop (2);
}
Symbol 35 Button
on (press) {
gotoAndStop (3);
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
Instance of Symbol 44 MovieClip "bar" in Symbol 46 MovieClip Frame 1
onClipEvent (load) {
_root.kirbydam = 1;
}
onClipEvent (enterFrame) {
_root.bar.gotoAndStop(_root.kirbydam);
}
Symbol 54 MovieClip Frame 2
if (_root.kirbyjump == true) {
if (_root.expo > 20) {
_root.expo = 20;
}
if (_root.expo < 4) {
_root.kirbyjumpdir = "down";
}
if (_root.kirbyjumpdir == "up") {
setProperty(_root.kirbymin, _y , getProperty(_root.kirbymin, _y) - _root.expo);
_root.expo = _root.expo * 0.8;
}
if (_root.kirbyjumpdir == "down") {
setProperty(_root.kirbymin, _y , getProperty(_root.kirbymin, _y) + _root.expo);
_root.expo = _root.expo / 0.8;
_root.kirbystatus = "fall";
if (_root.expo > 8) {
_root.kirbyjumpstat = 0;
}
}
}
gotoAndPlay (1);
Symbol 59 MovieClip Frame 3
gotoAndPlay (2);
Symbol 66 MovieClip Frame 15
gotoAndPlay (1);
Symbol 69 MovieClip Frame 11
gotoAndPlay (1);
Symbol 70 MovieClip Frame 15
gotoAndPlay (1);
Symbol 79 MovieClip Frame 2
if (_root.kirbystatus == "still") {
gotoAndPlay (1);
}
if (_root.kirbystatus == "walk") {
gotoAndPlay (3);
}
if (_root.kirbystatus == "jump") {
gotoAndPlay (5);
}
if (_root.kirbystatus == "fall") {
gotoAndPlay (7);
}
if (_root.kirbystatus == "hurt") {
gotoAndPlay (9);
}
Symbol 79 MovieClip Frame 4
if (_root.kirbystatus == "still") {
gotoAndPlay (1);
}
if (_root.kirbystatus == "walk") {
gotoAndPlay (3);
}
if (_root.kirbystatus == "jump") {
gotoAndPlay (5);
}
if (_root.kirbystatus == "fall") {
gotoAndPlay (7);
}
if (_root.kirbystatus == "hurt") {
gotoAndPlay (9);
}
Symbol 79 MovieClip Frame 6
if (_root.kirbystatus == "still") {
gotoAndPlay (1);
}
if (_root.kirbystatus == "walk") {
gotoAndPlay (3);
}
if (_root.kirbystatus == "jump") {
gotoAndPlay (5);
}
if (_root.kirbystatus == "fall") {
gotoAndPlay (7);
}
if (_root.kirbystatus == "hurt") {
gotoAndPlay (9);
}
Symbol 79 MovieClip Frame 8
if (_root.kirbystatus == "still") {
gotoAndPlay (1);
}
if (_root.kirbystatus == "walk") {
gotoAndPlay (3);
}
if (_root.kirbystatus == "jump") {
gotoAndPlay (5);
}
if (_root.kirbystatus == "fall") {
gotoAndPlay (7);
}
if (_root.kirbystatus == "hurt") {
gotoAndPlay (9);
}
Symbol 79 MovieClip Frame 15
if (_root.kirbystatus == "still") {
gotoAndPlay (1);
}
if (_root.kirbystatus == "walk") {
gotoAndPlay (3);
}
if (_root.kirbystatus == "jump") {
gotoAndPlay (5);
}
if (_root.kirbystatus == "fall") {
gotoAndPlay (7);
}
if (_root.kirbystatus == "hurt") {
gotoAndPlay (9);
}
Symbol 80 MovieClip Frame 2
if (_root.kirbydir == "right") {
gotoAndPlay (1);
}
if (_root.kirbydir == "left") {
gotoAndPlay (3);
}
Symbol 80 MovieClip Frame 4
if (_root.kirbydir == "right") {
gotoAndPlay (1);
}
if (_root.kirbydir == "left") {
gotoAndPlay (3);
}
Instance of Symbol 87 MovieClip "balloons" in Symbol 90 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(241);
}
}
Instance of Symbol 89 MovieClip "dee" in Symbol 90 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
Symbol 90 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 89 MovieClip "dee" in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
Symbol 91 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 89 MovieClip "dee" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
Symbol 95 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 89 MovieClip "dee" in Symbol 100 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
Symbol 100 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 89 MovieClip "dee" in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
Symbol 104 MovieClip Frame 20
gotoAndPlay (1);
Symbol 105 MovieClip Frame 1
_root.enemL = 0;
stop();
Instance of Symbol 81 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.wadLx = _root.enemy.wadle._x;
_root.wadLy = _root.enemy.wadle._y;
}
Symbol 105 MovieClip Frame 2
_root.enemL = 1;
Symbol 105 MovieClip Frame 240
_root.enemL = 0;
gotoAndStop (1);
Symbol 105 MovieClip Frame 241
_root.enemy.wf1._x = _root.wadLx;
_root.enemy.wf1._y = _root.wadLy;
pop = new Sound();
pop.attachSound("pop");
soundplayed = 0;
if (soundplayed == 0) {
pop.start(0, 1);
soundplayed = 1;
}
pop.onSoundComplete = function () {
soundplayed = 0;
};
Symbol 105 MovieClip Frame 242
_root.enemy.wf2._x = _root.wadLx;
_root.enemy.wf2._y = _root.wadLy;
Symbol 105 MovieClip Frame 253
_root.enemy.wf3._x = _root.wadLx;
_root.enemy.wf3._y = _root.wadLy;
Symbol 105 MovieClip Frame 257
_root.enemy.wf3._x = _root.wadLx;
_root.enemy.wf3._y = _root.wadLy;
Instance of Symbol 100 MovieClip "wf3" in Symbol 105 MovieClip Frame 257
onClipEvent (load) {
exp = 5;
}
onClipEvent (enterFrame) {
if (_root.enemy.wf3.hitTest(_root.platg) == true) {
_root.enemy.gotoAndPlay(350);
}
_root.enemy.wf3._y = _root.enemy.wf3._y + exp;
exp = exp * 1.2;
if (exp > 15) {
exp = 15;
}
}
Symbol 105 MovieClip Frame 350
_root.enemy.wr._x = _root.wadLx;
_root.enemy.wr._y = 470 - _root.enemy._y;
Symbol 105 MovieClip Frame 351
_root.enemy.wr._y = 470 - _root.enemy._y;
Symbol 105 MovieClip Frame 352
_root.enemy.wr._y = 470 - _root.enemy._y;
_root.enemy.wr._x = _root.enemy.wr._x - 3;
if ((_root.enemy._x + _root.enemy.wr._x) < -20) {
_root.enemy.gotoAndPlay(353);
_root.enemL = 0;
}
gotoAndPlay (351);
Symbol 105 MovieClip Frame 353
gotoAndPlay (1);
Symbol 113 MovieClip Frame 20
gotoAndPlay (1);
Symbol 114 MovieClip Frame 13
gotoAndPlay (1);
Symbol 115 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 107 MovieClip "dedededct" in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
onClipEvent (load) {
soundplayed = 0;
}
Symbol 116 MovieClip Frame 2
_root.dededemain._x = -82.1;
gotoAndPlay (1);
Symbol 116 MovieClip Frame 4
if (_root.dededemain._x < 100) {
_root.dededemain._x = _root.dededemain._x + 2;
}
if (_root.dededemain._x > 100) {
if ((a = 0)) {
_root.dededemain.gotoAndPlay(4);
a = 1;
}
}
if (_root.dededemain._x < 100) {
gotoAndPlay (3);
}
Symbol 116 MovieClip Frame 16
_root.kirbypositionx = _root.kirbymin._x;
_root.kirbypositiony = _root.kirbymin._y;
_root.dededepositionx = _root.dededemain._x;
_root.dededepositiony = _root.dededemain._y;
_root.comparex = _root.kirbypositionx - _root.dededepositionx;
_root.comparey = _root.dededepositiony - _root.kirbypositiony;
_root.theta = Math.atan(_root.comparey / _root.comparex);
throwh = new Sound();
throwh.attachSound("hammersound");
soundplayed = 0;
if (soundplayed == 0) {
throwh.start(0, 1);
soundplayed = 1;
}
throwh.onSoundComplete = function () {
soundplayed = 0;
};
Symbol 116 MovieClip Frame 17
if ((_root.dededemain.hammer._x + _root.dededemain._x) > 550) {
_root.dededemain.gotoAndPlay(19);
}
if ((_root.dededemain.hammer._x + _root.dededemain._x) < -50) {
_root.dededemain.gotoAndPlay(19);
}
if ((_root.dededemain._y - Math.sqrt(Math.pow(_root.dededemain.hammer._y, 2))) < -50) {
_root.dededemain.gotoAndPlay(19);
}
if ((_root.dededemain._y - Math.sqrt(Math.pow(_root.dededemain.hammer._y, 2))) > 550) {
_root.dededemain.gotoAndPlay(19);
}
Instance of Symbol 114 MovieClip "hammer" in Symbol 116 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.comparex > 0) {
_root.dededemain.hammer._x = _root.dededemain.hammer._x + (10 * Math.cos(_root.theta));
_root.dededemain.hammer._y = _root.dededemain.hammer._y - (10 * Math.sin(_root.theta));
}
if (_root.comparex < 0) {
_root.dededemain.hammer._x = _root.dededemain.hammer._x + (-10 * Math.cos(_root.theta));
_root.dededemain.hammer._y = _root.dededemain.hammer._y - (-10 * Math.sin(_root.theta));
}
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 2;
_root.justhurt = 1;
}
}
}
Symbol 116 MovieClip Frame 18
if ((_root.dededemain.hammer._x + _root.dededemain._x) > 550) {
_root.dededemain.gotoAndPlay(19);
}
if ((_root.dededemain.hammer._x + _root.dededemain._x) < -50) {
_root.dededemain.gotoAndPlay(19);
}
if ((_root.dededemain._y - Math.sqrt(Math.pow(_root.dededemain.hammer._y, 2))) < -50) {
_root.dededemain.gotoAndPlay(19);
}
if ((_root.dededemain._y - Math.sqrt(Math.pow(_root.dededemain.hammer._y, 2))) > 550) {
_root.dededemain.gotoAndPlay(19);
}
gotoAndPlay (17);
Instance of Symbol 115 MovieClip in Symbol 116 MovieClip Frame 19
onClipEvent (enterFrame) {
_root.dededemain._x = _root.dededemain._x + 3;
}
Symbol 116 MovieClip Frame 20
_root.dededemain._x = _root.dededemain._x + 2;
gotoAndPlay (19);
Symbol 126 MovieClip Frame 8
gotoAndPlay (1);
Symbol 132 MovieClip Frame 2
if (_root.fires == 0) {
gotoAndPlay (1);
}
if (_root.fires == 1) {
gotoAndPlay (3);
}
Symbol 132 MovieClip Frame 7
_root.fire = 1;
gotoAndPlay (1);
Symbol 133 MovieClip Frame 23
gotoAndPlay (1);
Instance of Symbol 133 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
if (_root.justhurt == 0) {
_root.kirbydam = _root.kirbydam + 1;
_root.justhurt = 1;
}
}
}
Symbol 135 MovieClip Frame 2
if (_root.kirbymin._x < _root.para._x) {
gotoAndPlay (1);
}
if (_root.kirbymin._x > _root.para._x) {
gotoAndPlay (3);
}
Symbol 135 MovieClip Frame 4
if (_root.kirbymin._x < _root.para._x) {
gotoAndPlay (1);
}
if (_root.kirbymin._x > _root.para._x) {
gotoAndPlay (3);
}
Symbol 136 MovieClip Frame 2
_root.fires = 0;
if (_root.parapear == 0) {
gotoAndPlay (1);
}
if (_root.parapear == 1) {
gotoAndPlay (3);
}
Instance of Symbol 135 MovieClip "wadpar" in Symbol 136 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
}
}
Symbol 136 MovieClip Frame 35
_root.fires = 1;
Symbol 136 MovieClip Frame 36
_root.fires = 0;
Symbol 136 MovieClip Frame 103
_root.fires = 1;
Symbol 136 MovieClip Frame 104
_root.fires = 0;
Symbol 136 MovieClip Frame 142
gotoAndPlay (147);
Instance of Symbol 104 MovieClip "wr" in Symbol 136 MovieClip Frame 147
onClipEvent (enterFrame) {
if (this.hitTest(_root.kirbymin) == true) {
_root.kirbyhurt = 1;
}
}
Symbol 136 MovieClip Frame 148
_root.para._x = _root.para._x + 4;
gotoAndPlay (147);
Symbol 155 Button
on (release) {
gotoAndPlay (5);
}
Symbol 182 MovieClip Frame 69
gotoAndPlay (68);