Frame 1
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentDone = int((loadedBytes / totalBytes) * 100);
bar.gotoAndStop(percentDone);
if (_framesloaded == _totalframes) {
gotoAndPlay (3);
}
Stage.showMenu = false;
Frame 2
gotoAndPlay (1);
Frame 3
gotoAndPlay (1116);
Frame 4
_root.health = 100;
_root.bosshealth = 100;
Instance of Symbol 61 MovieClip "ground" in Frame 4
/* no clip actions */
Instance of Symbol 96 MovieClip "health" in Frame 4
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
Frame 46
stop();
Instance of Symbol 158 MovieClip "Hero" in Frame 46
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == true)) and (health >= 0)) {
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 19;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if ((((_root.Hero._x > 250) and Key.isDown(39)) and (pie == false)) and (_root.Hero._y < 450)) {
_root.ground._x = _root.ground._x - 10;
_root.ground2._x = _root.ground2._x - 5;
_root.bgobjects._x = _root.bgobjects._x - 10;
_root.bridge._x = _root.bridge._x - 10;
_root.water._x = _root.water._x - 10;
_root.koopa1._x = _root.koopa1._x - 10;
_root.koopa2._x = _root.koopa2._x - 10;
_root.koopa3._x = _root.koopa3._x - 10;
_root.koopa4._x = _root.koopa4._x - 10;
_root.koopa5._x = _root.koopa5._x - 10;
_root.goomba1._x = _root.goomba1._x - 10;
_root.goomba2._x = _root.goomba2._x - 10;
_root.mushroom._x = _root.mushroom._x - 10;
_root.thwomp1._x = _root.thwomp1._x - 10;
_root.objects2._x = _root.objects2._x - 10;
_root.exit1._x = _root.exit1._x - 10;
_root.coins._x = _root.coins._x - 10;
_root.fdsaf._x = _root.fdsaf._x - 5;
_root.scenery._x = _root.scenery._x - 10;
_root.end2._x = _root.end2._x - 10;
_root.hero._x = _root.hero._x - 10;
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if ((((_root.Hero._x < 250) and Key.isDown(37)) and (pie == false)) and (_root.Hero._y < 450)) {
_root.ground._x = _root.ground._x + 10;
_root.ground2._x = _root.ground2._x + 5;
_root.bgobjects._x = _root.bgobjects._x + 10;
_root.bridge._x = _root.bridge._x + 10;
_root.water._x = _root.water._x + 10;
_root.koopa1._x = _root.koopa1._x + 10;
_root.koopa2._x = _root.koopa2._x + 10;
_root.koopa3._x = _root.koopa3._x + 10;
_root.koopa4._x = _root.koopa4._x + 10;
_root.koopa5._x = _root.koopa5._x + 10;
_root.goomba1._x = _root.goomba1._x + 10;
_root.goomba2._x = _root.goomba2._x + 10;
_root.mushroom._x = _root.mushroom._x + 10;
_root.objects2._x = _root.objects2._x + 10;
_root.exit1._x = _root.exit1._x + 10;
_root.coins._x = _root.coins._x + 10;
_root.fdsaf._x = _root.fdsaf._x + 5;
_root.scenery._x = _root.scenery._x + 10;
_root.end2._x = _root.end2._x + 10;
_root.hero._x = _root.hero._x + 10;
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (_root.ground.end.hitTest(_root.Hero)) {
stopAllSounds();
_root.play();
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
onClipEvent (enterFrame) {
if (_root.end2.hitTest(_root.Hero)) {
_root.play();
}
}
Instance of Symbol 171 MovieClip "koopa1" in Frame 46
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 171 MovieClip "koopa2" in Frame 46
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 171 MovieClip "koopa3" in Frame 46
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 171 MovieClip "koopa4" in Frame 46
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 179 MovieClip "goomba1" in Frame 46
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 179 MovieClip "goomba2" in Frame 46
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Frame 63
gotoAndPlay (65);
Frame 64
stop();
gotoAndPlay (4);
pie = false;
Frame 65
stopAllSounds();
Instance of Symbol 96 MovieClip "health" in Frame 65
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
Frame 149
stop();
Instance of Symbol 228 MovieClip "boss" in Frame 149
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 158 MovieClip "Hero" in Frame 149
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == true)) and (health >= 0)) {
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 17;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if (((_root.Hero._x > 250) and Key.isDown(39)) and (pie == false)) {
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (((_root.Hero._x < 250) and Key.isDown(37)) and (pie == false)) {
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.boss4.boss5)) {
_root.health = _root.health - 10;
this.gotoAndStop(11);
if (this._x > boss5._x) {
this._x = this._x + 50;
jumping = true;
_root.Hero.grav_y = 26;
}
if (this._x < boss5._x) {
this._x = this._x - 50;
jumping = true;
_root.Hero.grav_y = 26;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.boss2.boss3.damage)) {
bosshealth = bosshealth - 20;
_root.score = _root.score + 100;
_root.boss.boss2.boss3.gotoAndPlay(7);
}
}
Instance of Symbol 230 MovieClip "thwomphealth" in Frame 149
onClipEvent (enterFrame) {
if (_root.bosshealth == 100) {
this.gotoAndStop(1);
}
if (_root.bosshealth == 90) {
this.gotoAndStop(2);
}
if (_root.bosshealth == 80) {
this.gotoAndStop(3);
}
if (_root.bosshealth == 70) {
this.gotoAndStop(4);
}
if (_root.bosshealth == 60) {
this.gotoAndStop(5);
}
if (_root.bosshealth == 50) {
this.gotoAndStop(6);
}
if (_root.bosshealth == 40) {
this.gotoAndStop(7);
}
if (_root.bosshealth == 30) {
this.gotoAndStop(8);
}
if (_root.bosshealth == 20) {
this.gotoAndStop(9);
}
if (_root.bosshealth == 10) {
this.gotoAndStop(10);
}
if (_root.bosshealth == 0) {
this.gotoAndStop(11);
}
}
Frame 271
stopAllSounds();
Frame 272
stop();
Frame 273
stop();
gotoAndPlay (65);
pie = false;
Frame 274
stop();
_root.health = 100;
_root.bosshealth = 100;
Instance of Symbol 243 MovieClip "skeleton1" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 243 MovieClip "skeleton2" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 249 MovieClip "beetle2" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 252 MovieClip "mushroom" in Frame 274
onClipEvent (load) {
dead = false;
}
onClipEvent (enterFrame) {
if (this.side2.hitTest(_root.Hero) and (dead == false)) {
_root.score = _root.score - -100;
this.gotoAndStop(2);
_root.health = _root.health + 10;
}
}
onClipEvent (enterFrame) {
if (_root.health > 100) {
_root.health = 100;
}
}
Instance of Symbol 259 MovieClip "dino2" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(5);
_root.hero.grav_y = 14;
}
}
onClipEvent (enterFrame) {
if (this.head2.hitTest(_root.Hero)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 268 MovieClip "boo1" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 7;
}
}
Instance of Symbol 268 MovieClip "boo2" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 7;
}
}
Instance of Symbol 268 MovieClip "boo3" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 7;
}
}
Instance of Symbol 249 MovieClip "beetle4" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 249 MovieClip "beetle3" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 259 MovieClip "dino1" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(5);
_root.Hero.grav_y = 14;
}
}
onClipEvent (enterFrame) {
if (this.head2.hitTest(_root.Hero)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 249 MovieClip "beetle1" in Frame 274
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if ((this._x < 575) and (dead == false)) {
this._x = this._x - speed;
} else if (dead == true) {
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.side.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
onClipEvent (enterFrame) {
if (this.head.hitTest(_root.Hero)) {
this.gotoAndStop(2);
_root.Hero.grav_y = 8;
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(this._x, this._y + 45, true)) {
grav_y = 0;
jumping = false;
} else {
jumping = true;
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 276 MovieClip "lava" in Frame 274
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.Hero)) {
_root.hero.grav_y = 30;
_root.hero.gotoAndPlay(18);
if (_root.health >= 20) {
_root.health = _root.health - 20;
} else {
_root.health = _root.health - 10;
}
}
}
onClipEvent (enterFrame) {
if (this.top2.hitTest(_root.Hero)) {
_root.hero.grav_y = 30;
_root.hero.gotoAndPlay(18);
if (_root.health >= 20) {
_root.health = _root.health - 20;
} else {
_root.health = _root.health - 10;
}
}
}
onClipEvent (enterFrame) {
if (this.top3.hitTest(_root.Hero)) {
_root.hero.grav_y = 30;
_root.hero.gotoAndPlay(18);
if (_root.health >= 20) {
_root.health = _root.health - 20;
} else {
_root.health = _root.health - 10;
}
}
}
Instance of Symbol 61 MovieClip "ground" in Frame 274
/* no clip actions */
Instance of Symbol 158 MovieClip "Hero" in Frame 274
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == true)) and (health >= 0)) {
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 19;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if ((((_root.Hero._x > 250) and Key.isDown(39)) and (pie == false)) and (_root.Hero._y < 450)) {
_root.ground._x = _root.ground._x - 10;
_root.ground2._x = _root.ground2._x - 5;
_root.lava._x = _root.lava._x - 10;
_root.beetle1._x = _root.beetle1._x - 10;
_root.beetle2._x = _root.beetle2._x - 10;
_root.beetle3._x = _root.beetle3._x - 10;
_root.beetle4._x = _root.beetle4._x - 10;
_root.dino1._x = _root.dino1._x - 10;
_root.dino2._x = _root.dino2._x - 10;
_root.mushroom._x = _root.mushroom._x - 10;
_root.skeleton1._x = _root.skeleton1._x - 10;
_root.skeleton2._x = _root.skeleton2._x - 10;
_root.thwomp1._x = _root.thwomp1._x - 10;
_root.boo1._x = _root.boo1._x - 10;
_root.boo2._x = _root.boo2._x - 10;
_root.boo3._x = _root.boo3._x - 10;
_root.exit1._x = _root.exit1._x - 10;
_root.coins._x = _root.coins._x - 10;
_root.fdsaf._x = _root.fdsaf._x - 5;
_root.scenery._x = _root.scenery._x - 10;
_root.hero._x = _root.hero._x - 10;
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if ((((_root.Hero._x < 250) and Key.isDown(37)) and (pie == false)) and (_root.Hero._y < 450)) {
_root.ground._x = _root.ground._x + 10;
_root.ground2._x = _root.ground2._x + 5;
_root.lava._x = _root.lava._x + 10;
_root.beetle1._x = _root.beetle1._x + 10;
_root.beetle2._x = _root.beetle2._x + 10;
_root.beetle3._x = _root.beetle3._x + 10;
_root.beetle4._x = _root.beetle4._x + 10;
_root.dino1._x = _root.dino1._x + 10;
_root.dino2._x = _root.dino2._x + 10;
_root.mushroom._x = _root.mushroom._x + 10;
_root.skeleton1._x = _root.skeleton1._x + 10;
_root.skeleton2._x = _root.skeleton2._x + 10;
_root.thwomp1._x = _root.thwomp1._x + 10;
_root.boo1._x = _root.boo1._x + 10;
_root.boo2._x = _root.boo2._x + 10;
_root.boo3._x = _root.boo3._x + 10;
_root.exit1._x = _root.exit1._x + 10;
_root.coins._x = _root.coins._x + 10;
_root.fdsaf._x = _root.fdsaf._x + 5;
_root.scenery._x = _root.scenery._x + 10;
_root.hero._x = _root.hero._x + 10;
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (_root.ground.end.hitTest(_root.Hero)) {
stopAllSounds();
_root.play();
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
Instance of Symbol 96 MovieClip "health" in Frame 274
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
Frame 291
gotoAndPlay (293);
Frame 292
stop();
gotoAndStop (274);
pie = false;
Frame 293
stop();
Instance of Symbol 295 MovieClip "right" in Frame 293
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 158 MovieClip "Hero" in Frame 293
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == true)) and (health >= 0)) {
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if (((Key.isDown(16) and (jumping == false)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(4);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 17;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if (((_root.Hero._x > 250) and Key.isDown(39)) and (pie == false)) {
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (((_root.Hero._x < 250) and Key.isDown(37)) and (pie == false)) {
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
Instance of Symbol 303 MovieClip "boss" in Frame 293
onClipEvent (load) {
dead = false;
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.thwomp.hitTest(_root.Hero) and (dead == false)) {
_root.Hero.gotoAndStop(14);
_root.health = _root.health - 20;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 75;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 75;
}
}
}
}
onClipEvent (enterFrame) {
if (this.bottom.hitTest(_root.Hero)) {
_root.health = _root.health - 20;
if (_root.Hero._x > bottom._x) {
_root.Hero._x = _root.Hero._x + 75;
}
if (_root.Hero._x < bottom._x) {
_root.Hero._x = _root.Hero._x - 75;
}
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
onClipEvent (enterFrame) {
if (_root.bosshealth == 0) {
_root.play();
}
}
Instance of Symbol 230 MovieClip "thwomphealth" in Frame 293
onClipEvent (enterFrame) {
if (_root.bosshealth == 100) {
this.gotoAndStop(1);
}
if (_root.bosshealth == 90) {
this.gotoAndStop(2);
}
if (_root.bosshealth == 80) {
this.gotoAndStop(3);
}
if (_root.bosshealth == 70) {
this.gotoAndStop(4);
}
if (_root.bosshealth == 60) {
this.gotoAndStop(5);
}
if (_root.bosshealth == 50) {
this.gotoAndStop(6);
}
if (_root.bosshealth == 40) {
this.gotoAndStop(7);
}
if (_root.bosshealth == 30) {
this.gotoAndStop(8);
}
if (_root.bosshealth == 20) {
this.gotoAndStop(9);
}
if (_root.bosshealth == 10) {
this.gotoAndStop(10);
}
if (_root.bosshealth == 0) {
this.gotoAndStop(11);
}
}
Instance of Symbol 314 MovieClip "bullet1" in Frame 293
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.thwomp)) {
_root.boss.thwomp.gotoAndPlay(2);
this.gotoAndStop(1);
_root.score = _root.score + 100;
_root.bosshealth = _root.bosshealth - 20;
}
}
Instance of Symbol 314 MovieClip "bullet2" in Frame 293
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.thwomp)) {
_root.boss.thwomp.gotoAndPlay(2);
this.gotoAndStop(1);
_root.score = _root.score + 100;
_root.bosshealth = _root.bosshealth - 20;
}
}
Instance of Symbol 96 MovieClip "health" in Frame 293
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.health > 100) {
_root.health = _root.health - 10;
}
}
Frame 410
stopAllSounds();
Frame 411
stop();
Instance of Symbol 230 MovieClip "thwomphealth" in Frame 411
onClipEvent (enterFrame) {
if (_root.bosshealth == 100) {
this.gotoAndStop(1);
}
if (_root.bosshealth == 90) {
this.gotoAndStop(2);
}
if (_root.bosshealth == 80) {
this.gotoAndStop(3);
}
if (_root.bosshealth == 70) {
this.gotoAndStop(4);
}
if (_root.bosshealth == 60) {
this.gotoAndStop(5);
}
if (_root.bosshealth == 50) {
this.gotoAndStop(6);
}
if (_root.bosshealth == 40) {
this.gotoAndStop(7);
}
if (_root.bosshealth == 30) {
this.gotoAndStop(8);
}
if (_root.bosshealth == 20) {
this.gotoAndStop(9);
}
if (_root.bosshealth == 10) {
this.gotoAndStop(10);
}
if (_root.bosshealth == 0) {
this.gotoAndStop(11);
}
}
Instance of Symbol 314 MovieClip "bullet1" in Frame 411
onClipEvent (enterFrame) {
if (this.hitTest(_root.boss.thwomp)) {
_root.boss.thwomp.gotoAndPlay(2);
this.gotoAndStop(1);
_root.score = _root.score + 100;
_root.bosshealth = _root.bosshealth - 20;
}
}
Instance of Symbol 96 MovieClip "health" in Frame 411
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.health > 100) {
_root.health = _root.health - 10;
}
}
Frame 412
stop();
gotoAndStop (293);
pie = false;
Frame 413
stop();
_root.bosshealth = 100;
_root.health = 100;
Instance of Symbol 43 MovieClip "leftside" in Frame 413
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 61 MovieClip "ground" in Frame 413
/* no clip actions */
Instance of Symbol 43 MovieClip "rightside" in Frame 413
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 349 MovieClip "razor1" in Frame 413
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.hittester.hittester.hittester.hitTest(_root.Hero)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
Instance of Symbol 349 MovieClip "razor2" in Frame 413
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.hittester.hittester.hittester.hitTest(_root.Hero)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
Instance of Symbol 352 MovieClip "razor3" in Frame 413
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.hittester.hittester.hittester.hitTest(_root.Hero)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
Instance of Symbol 358 MovieClip "crusher" in Frame 413
onClipEvent (enterFrame) {
if (this._x < 575) {
this.play();
} else if (this._x > 575) {
this.stop();
}
}
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.crusher.bottom.hitTest(_root.Hero)) {
_root.Hero.gotoAndStop(14);
_root.health = _root.health - 20;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 75;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 75;
}
}
}
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Instance of Symbol 349 MovieClip "razor4" in Frame 413
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.hittester.hittester.hittester.hitTest(_root.Hero)) {
_root.Hero.gotoAndStop(11);
_root.health = _root.health - 10;
if (_root.Hero._x > this._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < this._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
Instance of Symbol 158 MovieClip "Hero" in Frame 413
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if ((Key.isDown(39) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == true)) and (health >= 0)) {
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 19;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if (_root.ground.end3.hitTest(_root.Hero)) {
stopAllSounds();
_root.play();
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
onClipEvent (enterFrame) {
if (_root.fdsaf.hitTest(_root.Hero) and (pie == false)) {
_root.fdsaf._x = _root.fdsaf._x - 2;
_root.Hero._x = _root.Hero._x - 2;
_root.coins._x = _root.coins._x - 2;
_root.hittests._x = _root.hittests._x - 2;
_root.ground._x = _root.ground._x - 2;
_root.razor1._x = _root.razor1._x - 2;
_root.razor2._x = _root.razor2._x - 2;
_root.razor3._x = _root.razor3._x - 2;
_root.razor4._x = _root.razor4._x - 2;
_root.crusher._x = _root.crusher._x - 2;
_root.fdsaf.theend._x = _root.fdsaf.theend._x - 2;
} else {
pie = true;
_root.bullets.bullet1.gotoAndStop(1);
_root.bullets.bullet1.stop();
}
}
onClipEvent (enterFrame) {
if (_root.bullets.bullet1.bullet.top.hitTest(_root.Hero.jump.feet)) {
_root.bullets.bullet1.stop();
_root.bullets.bullet1.bullet.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (_root.bullets.bullet1.bullet.sides.hitTest(_root.Hero.body)) {
_root.Hero.gotoAndStop(14);
_root.health = _root.health - 10;
_root.bullets.bullet1.gotoAndPlay(80);
_root.bullets.bullet1.bullet.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (_root.ground.end3.hitTest(_root.Hero)) {
stopAllSounds();
_root.play();
}
}
onClipEvent (enterFrame) {
if (_root.hittests.hitTest(_root.Hero) and _root.leftside.hitTest(_root.Hero)) {
_root.health = 0;
_root.fdsaf._x = _root.fdsaf._x + 2;
_root.Hero._x = _root.Hero._x + 2;
_root.coins._x = _root.coins._x + 2;
_root.hittests._x = _root.hittests._x + 2;
_root.ground._x = _root.ground._x + 2;
_root.razor1._x = _root.razor1._x + 2;
_root.razor2._x = _root.razor2._x + 2;
_root.razor3._x = _root.razor3._x + 2;
_root.razor4._x = _root.razor4._x + 2;
_root.crusher._x = _root.crusher._x + 2;
_root.fdsaf.theend._x = _root.fdsaf.theend._x + 2;
}
}
Instance of Symbol 96 MovieClip "health" in Frame 413
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
Frame 430
gotoAndPlay (432);
Frame 431
stop();
gotoAndStop (413);
pie = false;
Frame 432
stop();
Instance of Symbol 382 MovieClip "fireenemy" in Frame 432
onClipEvent (enterFrame) {
if (_root.health > 0) {
if (this.fire.hitme.hitTest(_root.Hero)) {
_root.Hero.gotoAndStop(14);
_root.health = _root.health - 10;
if (_root.Hero._x > hitme._x) {
_root.Hero._x = _root.Hero._x + 50;
}
if (_root.Hero._x < hitme._x) {
_root.Hero._x = _root.Hero._x - 50;
}
}
}
}
Instance of Symbol 96 MovieClip "health" in Frame 432
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
Instance of Symbol 230 MovieClip "thwomphealth" in Frame 432
onClipEvent (enterFrame) {
if (_root.bosshealth == 100) {
this.gotoAndStop(1);
}
if (_root.bosshealth == 90) {
this.gotoAndStop(2);
}
if (_root.bosshealth == 80) {
this.gotoAndStop(3);
}
if (_root.bosshealth == 70) {
this.gotoAndStop(4);
}
if (_root.bosshealth == 60) {
this.gotoAndStop(5);
}
if (_root.bosshealth == 50) {
this.gotoAndStop(6);
}
if (_root.bosshealth == 40) {
this.gotoAndStop(7);
}
if (_root.bosshealth == 30) {
this.gotoAndStop(8);
}
if (_root.bosshealth == 20) {
this.gotoAndStop(9);
}
if (_root.bosshealth == 10) {
this.gotoAndStop(10);
}
if (_root.bosshealth == 0) {
this.gotoAndStop(11);
}
}
Instance of Symbol 397 MovieClip "fireball" in Frame 432
onClipEvent (enterFrame) {
if (this.fireball.hitTest(_root.Hero.body)) {
_root.fireball.gotoAndStop(1);
_root.Hero.gotoAndStop(14);
_root.health = _root.health - 10;
}
}
onClipEvent (enterFrame) {
if (this.fireball.hitTest(_root.Hero.kick.feet)) {
_root.fireball.gotoAndStop(4);
this.fireball2._x = _root.Hero._x;
this.fireball2._x = this.fireball2._x + 150;
}
}
onClipEvent (enterFrame) {
if (this.fireball2.hitTest(_root.bowser)) {
_root.fireball.gotoAndStop(1);
_root.bowser.gotoAndStop(4);
}
}
Instance of Symbol 158 MovieClip "Hero" in Frame 432
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((Key.isDown(39) and (pie == false)) and (scrollwalk == true)) and (health >= 0)) {
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if ((Key.isDown(16) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(4);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 17;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else if (Key.isDown(16) and (pie == false)) {
this.gotoAndStop(4);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if (((_root.Hero._x > 250) and Key.isDown(39)) and (pie == false)) {
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (((_root.Hero._x < 250) and Key.isDown(37)) and (pie == false)) {
scrollwalk = true;
} else {
scrollwalk = false;
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
onClipEvent (enterFrame) {
if (_root.bowser.hitTest(_root.Hero.body) and (_root.health > 0)) {
_root.health = _root.health - 10;
this.gotoAndStop(11);
if (this._x > bowser._x) {
this._x = this._x + 50;
jumping = true;
_root.Hero.grav_y = 26;
}
if (this._x < bowser._x) {
this._x = this._x - 50;
jumping = true;
_root.Hero.grav_y = 26;
}
}
}
onClipEvent (enterFrame) {
if (_root.fireball.hitTest(_root.Hero.body) and (_root.health > 0)) {
_root.health = _root.health - 10;
this.gotoAndStop(11);
if (this._x > fireball._x) {
this._x = this._x + 50;
jumping = true;
_root.Hero.grav_y = 26;
}
if (this._x < fireball._x) {
this._x = this._x - 50;
jumping = true;
_root.Hero.grav_y = 26;
}
}
}
onClipEvent (enterFrame) {
if (_root.bullets.bullet1.bullet.top.hitTest(_root.Hero.jump.feet)) {
_root.bullets.bullet1.stop();
_root.bullets.bullet1.bullet.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (_root.bullets.bullet1.bullet.sides.hitTest(_root.Hero.body)) {
_root.Hero.gotoAndStop(14);
_root.health = _root.health - 10;
_root.bullets.bullet1.gotoAndPlay(80);
_root.bullets.bullet1.bullet.gotoAndPlay(3);
}
}
Instance of Symbol 43 MovieClip in Frame 432
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Frame 432
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 433 MovieClip "bowser" in Frame 432
onClipEvent (enterFrame) {
if (_root.bosshealth == 0) {
_root.hero.gotoAndStop(19);
_root.pie = true;
_root.Shell.gotoAndStop(2);
this.gotoAndStop(6);
} else if (_root.health < 10) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fireball.fireball2.fireball4) and (_root.bosshealth > 0)) {
_root.bosshealth = _root.bosshealth - 20;
_root.boss.gotoAndStop(4);
}
}
Frame 433
gotoAndPlay (435);
Instance of Symbol 433 MovieClip "bowser" in Frame 433
onClipEvent (enterFrame) {
if (_root.bosshealth == 0) {
_root.hero.gotoAndStop(19);
_root.pie = true;
_root.Shell.gotoAndStop(2);
this.gotoAndStop(6);
} else if (_root.health < 10) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.attack1.bowserhurt.hitTest(_root.Hero.kick)) {
_root.bosshealth = _root.bosshealth - 20;
this.gotoAndStop(4);
} else if (this.attack2.bowserhurt.hitTest(_root.Hero.kick)) {
_root.bosshealth = _root.bosshealth - 20;
this.gotoAndStop(4);
}
}
Frame 434
stop();
gotoAndStop (432);
pie = false;
Frame 1115
stop();
Instance of Symbol 43 MovieClip in Frame 1116
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Frame 1116
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 96 MovieClip "health" in Frame 1116
onClipEvent (enterFrame) {
if (_root.health == 100) {
this.gotoAndStop(1);
}
if (_root.health == 90) {
this.gotoAndStop(2);
}
if (_root.health == 80) {
this.gotoAndStop(3);
}
if (_root.health == 70) {
this.gotoAndStop(4);
}
if (_root.health == 60) {
this.gotoAndStop(5);
}
if (_root.health == 50) {
this.gotoAndStop(6);
}
if (_root.health == 40) {
this.gotoAndStop(7);
}
if (_root.health == 30) {
this.gotoAndStop(8);
}
if (_root.health == 20) {
this.gotoAndStop(9);
}
if (_root.health == 10) {
this.gotoAndStop(10);
}
if (_root.health == 0) {
this.gotoAndStop(11);
}
}
Frame 1165
pie = false;
_root.health = 100;
stop();
Instance of Symbol 158 MovieClip "Hero" in Frame 1165
onClipEvent (enterFrame) {
if ((Key.isDown(37) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x - 10;
this._xscale = -100;
this.gotoAndStop(2);
} else if ((Key.isDown(39) and (pie == false)) and (health >= 0)) {
standing = false;
this._x = this._x + 10;
this._xscale = 100;
this.gotoAndStop(2);
} else if (((_root.Shell.hitTest(_root.Hero) and Key.isDown(17)) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(10);
} else if ((Key.isDown(40) and (pie == false)) and (health >= 0)) {
this.gotoAndStop(5);
} else if (((_root.health < 10) && (death == false)) && (jumping == false)) {
this.gotoAndStop(8);
pie = true;
} else if ((_root.Hero._y > 450) and (_root.health > 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else if ((_root.Hero._y > 450) and (_root.health <= 0)) {
pie = true;
_root.poop.gotoAndPlay(2);
_root.replay.gotoAndStop(2);
} else {
pie = false;
standing = true;
this.gotoAndStop(1);
}
}
onClipEvent (load) {
grav_y = 0;
jumping = false;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!jumping)) and (pie == false)) {
grav_y = 19;
jumping = true;
this.gotoAndStop(6);
}
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -15) {
grav_y = -15;
}
this._y = this._y - grav_y;
}
if (_root.ground.hitTest(this._x, this._y + 42, true)) {
grav_y = 0;
jumping = false;
} else if (Key.isDown(40) and (pie == false)) {
this.gotoAndStop(5);
} else {
jumping = true;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this.gotoAndStop(12);
this._x = 50;
}
}
onClipEvent (load) {
death = false;
}
onClipEvent (enterFrame) {
if (_root.ground.end.hitTest(_root.Hero)) {
stopAllSounds();
_root.play();
}
}
onClipEvent (enterFrame) {
if (_root.health < 10) {
pie = true;
}
}
onClipEvent (enterFrame) {
if (_root.ground.end2.hitTest(_root.Hero)) {
_root.play();
}
}
Frame 1166
stop();
Frame 1167
stop();
Frame 1168
stop();
Frame 1169
stop();
Frame 1170
stop();
Frame 1171
stop();
Frame 1172
stop();
Frame 1173
stop();
Frame 1874
stopAllSounds();
gotoAndPlay (4);
Symbol 4 MovieClip Frame 1
bar.stop();
Symbol 4 MovieClip Frame 100
bar.stop();
Instance of Symbol 20 MovieClip "theend" in Symbol 21 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._x < 575) {
_root.fdsaf._x = _root.fdsaf._x + 2;
_root.Hero._x = _root.Hero._x + 2;
_root.coins._x = _root.coins._x + 2;
_root.hittests._x = _root.hittests._x + 2;
_root.ground._x = _root.ground._x + 2;
_root.razor1._x = _root.razor1._x + 2;
_root.razor2._x = _root.razor2._x + 2;
_root.razor3._x = _root.razor3._x + 2;
_root.razor4._x = _root.razor4._x + 2;
_root.crusher._x = _root.crusher._x + 2;
this._x = this._x + 2;
}
}
Symbol 34 MovieClip Frame 75
gotoAndPlay (55);
Symbol 50 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip "pipetop" in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this) and Key.isDown(40)) {
_root.gotoAndPlay("Cinematic 1", 1);
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Symbol 67 MovieClip Frame 10
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
_root.score = _root.score - -50;
_root.coin = _root.coin - -1;
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Symbol 96 MovieClip Frame 1
stop();
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 4
stop();
Symbol 96 MovieClip Frame 5
stop();
Symbol 96 MovieClip Frame 6
stop();
Symbol 96 MovieClip Frame 7
stop();
Symbol 96 MovieClip Frame 8
stop();
Symbol 96 MovieClip Frame 9
stop();
Symbol 96 MovieClip Frame 10
stop();
Symbol 96 MovieClip Frame 11
stop();
Symbol 100 MovieClip Frame 26
stop();
Symbol 136 MovieClip Frame 24
stop();
_root.replay.gotoAndStop(2);
_root.replay2._x + 187.4;
Symbol 149 MovieClip Frame 25
gotoAndPlay (1);
Symbol 154 MovieClip Frame 20
stop();
Symbol 155 MovieClip Frame 17
gotoAndPlay (407);
Symbol 158 MovieClip Frame 1
_root.poopy = false;
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
stop();
Symbol 158 MovieClip Frame 4
stop();
Symbol 158 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 6
stop();
Symbol 158 MovieClip Frame 7
stop();
Symbol 158 MovieClip Frame 8
stop();
_root.head.gotoAndStop(2);
Symbol 158 MovieClip Frame 9
stop();
Symbol 158 MovieClip Frame 10
stop();
Symbol 158 MovieClip Frame 11
_root.poopy = true;
stop();
Symbol 158 MovieClip Frame 12
stop();
Symbol 158 MovieClip Frame 13
stop();
Symbol 158 MovieClip Frame 14
stop();
Symbol 158 MovieClip Frame 15
stop();
Symbol 158 MovieClip Frame 16
_root.pipe = true;
stop();
Symbol 158 MovieClip Frame 17
stop();
Symbol 158 MovieClip Frame 18
stop();
Symbol 158 MovieClip Frame 19
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 10
stop();
Symbol 171 MovieClip Frame 1
if (_root.pie == true) {
gotoAndStop (4);
}
if (_root.poopy == true) {
gotoAndStop (4);
}
stop();
Instance of Symbol 160 MovieClip "head" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 171 MovieClip Frame 2
dead = true;
_root.bosslife.bosskill = _root.bosslife.bosskill - -1;
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
if ((level = 1)) {
_root.kill = _root.kill - -1;
}
_root.score = _root.score - -200;
if ((level = 2)) {
_root.kill2 = _root.kill2 - -1;
}
_root.score2 = _root.score2 - -200;
if ((_root.level = 3)) {
_root.kill3 = _root.kill3 - -1;
}
_root.score3 = _root.score3 - -200;
stop();
Instance of Symbol 169 MovieClip in Symbol 171 MovieClip Frame 2
onClipEvent (enterFrame) {
jumping = true;
if (_root.ground.hitTest(this._x, this._y + 50, true)) {
grav_y = 0;
jumping = false;
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
}
Symbol 171 MovieClip Frame 3
stop();
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 177 MovieClip Frame 10
stop();
Symbol 178 MovieClip Frame 10
stop();
Symbol 179 MovieClip Frame 1
if (_root.pie == true) {
gotoAndStop (4);
}
if (_root.poopy == true) {
gotoAndStop (4);
}
stop();
Instance of Symbol 160 MovieClip "head" in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 179 MovieClip Frame 2
dead = true;
_root.bosslife.bosskill = _root.bosslife.bosskill - -1;
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
if ((level = 1)) {
_root.kill = _root.kill - -1;
}
_root.score = _root.score - -200;
if ((level = 2)) {
_root.kill2 = _root.kill2 - -1;
}
_root.score2 = _root.score2 - -200;
if ((_root.level = 3)) {
_root.kill3 = _root.kill3 - -1;
}
_root.score3 = _root.score3 - -200;
stop();
Instance of Symbol 178 MovieClip in Symbol 179 MovieClip Frame 2
onClipEvent (enterFrame) {
jumping = true;
if (_root.ground.hitTest(this._x, this._y + 50, true)) {
grav_y = 0;
jumping = false;
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
}
Symbol 179 MovieClip Frame 3
stop();
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
stopAllSounds();
Symbol 187 MovieClip Frame 41
stop();
Symbol 192 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.coin = 0;
_root.kill = 0;
_root.gotoAndStop(64);
}
Symbol 196 Button
on (release) {
stopAllSounds();
_root.health = 100;
_root.play();
}
Symbol 198 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 2
stop();
_root.replay.score2 = _root.score;
Symbol 199 MovieClip Frame 3
stop();
Instance of Symbol 43 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 63
stop();
Symbol 222 MovieClip Frame 6
gotoAndPlay (1);
gotoAndPlay (1);
Symbol 222 MovieClip Frame 7
_root.bosshealth = _root.bosshealth - 20;
Symbol 222 MovieClip Frame 15
if (_root.bosshealth == 0) {
_root.play();
_root.boss.boss2.stop();
_root.boss.boss2.boss3.gotoAndStop(66);
_root.boss.boss2.boss3.bossend.gotoAndPlay(2);
}
Symbol 222 MovieClip Frame 65
gotoAndPlay (1);
Symbol 222 MovieClip Frame 66
stop();
Symbol 224 MovieClip Frame 104
_root.action = random(4);
if (_root.action == 0) {
_root.boss.gotoAndStop(1);
} else if (_root.action == 1) {
_root.boss.gotoAndStop(2);
} else if (_root.action == 2) {
_root.boss.gotoAndStop(3);
} else if (_root.action == 3) {
_root.boss.gotoAndStop(4);
}
Symbol 227 MovieClip Frame 71
_root.action = random(4);
if (_root.action == 0) {
_root.boss.gotoAndStop(1);
} else if (_root.action == 1) {
_root.boss.gotoAndStop(2);
} else if (_root.action == 2) {
_root.boss.gotoAndStop(3);
} else if (_root.action == 3) {
_root.boss.gotoAndStop(4);
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 3
stop();
Symbol 228 MovieClip Frame 4
stop();
Symbol 230 MovieClip Frame 1
stop();
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 3
stop();
Symbol 230 MovieClip Frame 4
stop();
Symbol 230 MovieClip Frame 5
stop();
Symbol 230 MovieClip Frame 6
stop();
Symbol 230 MovieClip Frame 7
stop();
Symbol 230 MovieClip Frame 8
stop();
Symbol 230 MovieClip Frame 9
stop();
Symbol 230 MovieClip Frame 10
stop();
Symbol 230 MovieClip Frame 11
stop();
Symbol 233 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.coin = 0;
_root.kill = 0;
_root.health = 100;
_root.bosshealth = 100;
_root.gotoAndStop(273);
}
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
stop();
_root.boss.gotoAndStop(1);
_root.boss.boss2.stop();
_root.boss.boss2.boss3.stop();
_root.replay.score2 = _root.score;
Symbol 234 MovieClip Frame 3
stop();
Symbol 236 Button
on (release) {
stopAllSounds();
gotoAndPlay (274);
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Symbol 242 MovieClip Frame 22
_root.BOSS.gotoAndStop(1);
Symbol 243 MovieClip Frame 1
if (_root.pie == true) {
gotoAndStop (4);
}
if (_root.poopy == true) {
gotoAndStop (4);
}
stop();
Instance of Symbol 160 MovieClip "head" in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 243 MovieClip Frame 2
dead = true;
_root.bosslife.bosskill = _root.bosslife.bosskill - -1;
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
if ((level = 1)) {
_root.kill = _root.kill - -1;
}
_root.score = _root.score - -200;
if ((level = 2)) {
_root.kill2 = _root.kill2 - -1;
}
_root.score2 = _root.score2 - -200;
if ((_root.level = 3)) {
_root.kill3 = _root.kill3 - -1;
}
_root.score3 = _root.score3 - -200;
stop();
Instance of Symbol 169 MovieClip in Symbol 243 MovieClip Frame 2
onClipEvent (enterFrame) {
jumping = true;
if (_root.ground.hitTest(this._x, this._y + 50, true)) {
grav_y = 0;
jumping = false;
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
}
Symbol 243 MovieClip Frame 3
stop();
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
stop();
Symbol 243 MovieClip Frame 4
stop();
Symbol 249 MovieClip Frame 1
if (_root.pie == true) {
gotoAndStop (4);
}
if (_root.poopy == true) {
gotoAndStop (4);
}
stop();
Instance of Symbol 160 MovieClip "head" in Symbol 249 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 249 MovieClip Frame 2
dead = true;
_root.bosslife.bosskill = _root.bosslife.bosskill - -1;
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
if ((level = 1)) {
_root.kill = _root.kill - -1;
}
_root.score = _root.score - -200;
if ((level = 2)) {
_root.kill2 = _root.kill2 - -1;
}
_root.score2 = _root.score2 - -200;
if ((_root.level = 3)) {
_root.kill3 = _root.kill3 - -1;
}
_root.score3 = _root.score3 - -200;
stop();
Instance of Symbol 169 MovieClip in Symbol 249 MovieClip Frame 2
onClipEvent (enterFrame) {
jumping = true;
if (_root.ground.hitTest(this._x, this._y + 50, true)) {
grav_y = 0;
jumping = false;
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
}
Symbol 249 MovieClip Frame 3
stop();
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
stop();
Symbol 249 MovieClip Frame 4
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 259 MovieClip Frame 1
if (_root.pie == true) {
gotoAndStop (4);
}
if (_root.poopy == true) {
gotoAndStop (4);
}
stop();
Instance of Symbol 160 MovieClip "head" in Symbol 259 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 259 MovieClip Frame 2
dead = true;
_root.bosslife.bosskill = _root.bosslife.bosskill - -1;
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
if ((level = 1)) {
_root.kill = _root.kill - -1;
}
_root.score = _root.score - -200;
if ((level = 2)) {
_root.kill2 = _root.kill2 - -1;
}
_root.score2 = _root.score2 - -200;
if ((_root.level = 3)) {
_root.kill3 = _root.kill3 - -1;
}
_root.score3 = _root.score3 - -200;
stop();
Instance of Symbol 169 MovieClip in Symbol 259 MovieClip Frame 2
onClipEvent (enterFrame) {
jumping = true;
if (_root.ground.hitTest(this._x, this._y + 50, true)) {
grav_y = 0;
jumping = false;
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
}
Symbol 259 MovieClip Frame 3
stop();
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
stop();
Symbol 259 MovieClip Frame 4
stop();
Instance of Symbol 160 MovieClip "head2" in Symbol 259 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 267 MovieClip Frame 10
stop();
Symbol 268 MovieClip Frame 1
if (_root.pie == true) {
gotoAndStop (3);
}
stop();
Symbol 268 MovieClip Frame 2
dead = true;
_root.bosslife.bosskill = _root.bosslife.bosskill - -1;
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
if ((level = 1)) {
_root.kill = _root.kill - -1;
}
_root.score = _root.score - -300;
if ((level = 2)) {
_root.kill2 = _root.kill2 - -1;
}
if ((_root.level = 3)) {
_root.kill3 = _root.kill3 - -1;
}
_root.score3 = _root.score3 - -300;
stop();
_root.Hero.gotoAndStop(1);
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
_root.Hero._y = _root.Hero._y - 10;
grav_y = 20;
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 2
onClipEvent (enterFrame) {
jumping = true;
}
onClipEvent (enterFrame) {
if (jumping == true) {
grav_y = grav_y - 2;
if (grav_y <= -10) {
grav_y = -10;
}
this._y = this._y - grav_y;
}
}
Symbol 268 MovieClip Frame 3
stop();
Instance of Symbol 160 MovieClip "top" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 160 MovieClip "top2" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 160 MovieClip "top3" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Instance of Symbol 160 MovieClip "top3" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 278 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.coin = 0;
_root.kill = 0;
_root.gotoAndStop(292);
}
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
_root.replay.score2 = _root.score;
Symbol 279 MovieClip Frame 3
stop();
Symbol 285 MovieClip Frame 26
stop();
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip "pipetop" in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this) and Key.isDown(40)) {
_root.gotoAndPlay("Cinematic 1", 1);
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x + 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Instance of Symbol 43 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._y = _root.Hero._y + 15;
}
}
Symbol 295 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip in Symbol 295 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x - 10;
}
}
Symbol 295 MovieClip Frame 2
stop();
Instance of Symbol 43 MovieClip in Symbol 295 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.bullet2.gotoAndPlay(2);
_root.left.gotoAndPlay(2);
_root.right.gotoAndPlay(1);
}
}
Symbol 298 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 10;
}
}
Symbol 298 MovieClip Frame 2
stop();
Instance of Symbol 43 MovieClip "leftswitch" in Symbol 298 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.bullet1.gotoAndPlay(2);
_root.right.gotoAndPlay(2);
_root.left.gotoAndPlay(1);
}
}
Symbol 301 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip "bottom" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.health == 0) {
this.gotoAndStop(2);
}
}
Symbol 301 MovieClip Frame 13
gotoAndStop (1);
Symbol 303 MovieClip Frame 31
gotoAndPlay (1);
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
_root.score = _root.score + 200;
_root.kill = _root.kill + 1;
Symbol 313 MovieClip Frame 20
_root.bullets.bullet1.gotoAndPlay(80);
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
Symbol 314 MovieClip Frame 20
this.gotoAndStop(1);
Symbol 321 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.coin = 0;
_root.kill = 0;
_root.health = 100;
_root.bosshealth = 100;
_root.gotoAndStop(412);
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
stop();
_root.replay.score2 = _root.score;
Symbol 322 MovieClip Frame 3
stop();
Symbol 325 MovieClip Frame 1
stop();
stop();
Symbol 340 Button
on (release) {
stopAllSounds();
gotoAndPlay (413);
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
scrollwalk = false;
_root.Hero._x = _root.Hero._x - 10;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 69 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 43 MovieClip "righthittest" in Symbol 356 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x - 12;
}
}
Instance of Symbol 43 MovieClip in Symbol 356 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Hero.hitTest(this)) {
_root.Hero._x = _root.Hero._x + 12;
}
}
Symbol 359 MovieClip Frame 22
Symbol 359 MovieClip Frame 80
_root.action = random(4);
if (_root.action == 0) {
_root.bullets.gotoAndStop(1);
} else if (_root.action == 1) {
_root.bullets.gotoAndStop(2);
} else if (_root.action == 2) {
_root.bullets.gotoAndStop(3);
} else if (_root.action == 3) {
_root.bullets.gotoAndStop(4);
}
Symbol 359 MovieClip Frame 81
play();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 2
_root.score = _root.score + 200;
Symbol 360 MovieClip Frame 20
_root.bullets.bullet1.gotoAndPlay(80);
Symbol 361 MovieClip Frame 22
Symbol 361 MovieClip Frame 80
_root.action = random(4);
if (_root.action == 0) {
_root.bullets.gotoAndStop(1);
} else if (_root.action == 1) {
_root.bullets.gotoAndStop(2);
} else if (_root.action == 2) {
_root.bullets.gotoAndStop(3);
} else if (_root.action == 3) {
_root.bullets.gotoAndStop(4);
}
Symbol 361 MovieClip Frame 81
play();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 2
stop();
Symbol 362 MovieClip Frame 3
stop();
Symbol 362 MovieClip Frame 4
stop();
Symbol 364 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.coin = 0;
_root.kill = 0;
_root.health = 100;
_root.bosshealth = 100;
_root.gotoAndStop(431);
}
Symbol 365 Button
on (release) {
stopAllSounds();
_root.health = 100;
_root.score = 0;
_root.play();
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 2
stop();
_root.replay.score2 = _root.score;
Symbol 366 MovieClip Frame 3
stop();
Symbol 372 MovieClip Frame 26
stop();
Symbol 382 MovieClip Frame 80
gotoAndPlay (1);
Symbol 393 MovieClip Frame 25
stop();
_root.fireball.gotoAndStop(1);
Symbol 395 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 25
stop();
_root.fireball.gotoAndStop(1);
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
stop();
Symbol 397 MovieClip Frame 3
stop();
Symbol 397 MovieClip Frame 4
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 398 MovieClip Frame 3
stop();
Symbol 398 MovieClip Frame 4
stop();
Symbol 402 Button
on (release) {
stopAllSounds();
_root.score = 0;
_root.coin = 0;
_root.kill = 0;
_root.health = 100;
_root.bosshealth = 100;
_root.gotoAndStop(434);
}
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
_root.replay.score2 = _root.score;
Symbol 406 MovieClip Frame 12
stop();
attack = random(4);
if (attack == 1) {
_root.bowser.gotoAndStop(1);
}
if ((attack = 2)) {
_root.bowser.gotoAndStop(2);
}
if ((attack = 3)) {
_root.bowser.gotoAndStop(3);
}
if (attack < 3) {
_root.bowser.gotoAndStop(5);
}
Symbol 411 MovieClip Frame 4
_root.fireball.gotoAndStop(2);
Symbol 411 MovieClip Frame 40
attack = random(4);
if (attack == 1) {
_root.bowser.gotoAndStop(1);
}
if ((attack = 2)) {
_root.bowser.gotoAndStop(2);
}
if ((attack = 3)) {
_root.bowser.gotoAndStop(3);
}
if (attack < 3) {
_root.bowser.gotoAndStop(5);
}
Symbol 412 MovieClip Frame 4
_root.fireball.gotoAndStop(2);
Symbol 412 MovieClip Frame 40
attack = random(4);
if (attack == 1) {
_root.bowser.gotoAndStop(1);
}
if ((attack = 2)) {
_root.bowser.gotoAndStop(2);
}
if ((attack = 3)) {
_root.bowser.gotoAndStop(3);
}
if (attack < 3) {
_root.bowser.gotoAndStop(5);
}
Symbol 417 MovieClip Frame 23
_root.bowser.gotoAndStop(1);
Symbol 418 MovieClip Frame 19
attack = random(4);
if (attack == 1) {
_root.bowser.gotoAndStop(1);
}
if ((attack = 2)) {
_root.bowser.gotoAndStop(2);
}
if ((attack = 3)) {
_root.bowser.gotoAndStop(3);
}
if (attack < 3) {
_root.bowser.gotoAndStop(5);
}
Symbol 428 MovieClip Frame 7
stop();
Symbol 432 MovieClip Frame 1
Symbol 432 MovieClip Frame 50
stopAllSounds();
_root.play();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 3
stop();
Symbol 433 MovieClip Frame 4
stop();
Symbol 433 MovieClip Frame 5
stop();
Symbol 433 MovieClip Frame 6
stop();
_root.kill3 = _root.kill3 - -1;
Symbol 512 MovieClip Frame 12
stop();
Symbol 515 Button
on (release) {
gotoAndPlay (1165);
}
Symbol 519 MovieClip Frame 10
stop();
Symbol 528 MovieClip Frame 10
stop();
Symbol 530 MovieClip Frame 10
stop();
Symbol 532 MovieClip Frame 10
stop();
Symbol 534 MovieClip Frame 10
stop();
Symbol 536 MovieClip Frame 10
stop();
Symbol 537 Button
on (release) {
stopAllSounds();
gotoAndStop (1173);
}
Symbol 538 Button
on (release) {
gotoAndPlay (1166);
}
Symbol 539 Button
on (release) {
getURL ("http://www.visualanimations.com/", "_blank");
}
Symbol 540 Button
on (release) {
getURL ("http://www.rcimaginations.net/", "_blank");
}
Symbol 541 Button
on (release) {
getURL ("mailto:dagio@visualanimations.com");
}
Symbol 542 Button
on (release) {
getURL ("mailto:chunkymonkey4u2@rcimaginations.net");
}
Symbol 543 Button
on (release) {
gotoAndStop (1165);
}
Symbol 545 Button
on (release) {
gotoAndStop (1167);
}
Symbol 547 Button
on (release) {
gotoAndStop (1168);
}
Symbol 549 Button
on (release) {
gotoAndStop (1169);
}
Symbol 558 Button
on (release) {
gotoAndStop (1170);
}
Symbol 560 Button
on (release) {
gotoAndStop (1171);
}
Symbol 562 Button
on (release) {
gotoAndStop (1172);
}
Symbol 566 Button
on (release) {
gotoAndStop (1166);
}
Symbol 581 Button
on (release) {
_root._quality = "HIGH";
gotoAndPlay (1174);
}
Symbol 585 Button
on (release) {
_root._quality = "MEDIUM";
gotoAndPlay (1174);
}
Symbol 588 Button
on (release) {
_root._quality = "LOW";
gotoAndPlay (1174);
}
Symbol 592 Button
on (release) {
stopAllSounds();
gotoAndPlay (4);
}