Frame 1
_root.bomb = false;
_root.deathcount = 0;
Instance of Symbol 76 MovieClip "trigger2" in Frame 2
onClipEvent (load) {
active = false;
onlyonce = true;
}
onClipEvent (enterFrame) {
if ((_root.trigger2.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.gotoAndStop("lvl1-3");
active = false;
}
}
Instance of Symbol 76 MovieClip "trigger3" in Frame 2
onClipEvent (load) {
active = false;
onlyonce = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.missappear = true;
active = false;
}
}
Instance of Symbol 144 MovieClip "hero" in Frame 2
onClipEvent (load) {
gravity = 2;
scale = _xscale;
walkSpeed = 8;
abletojump = false;
falling = true;
time = 0;
timer = 0;
stopmoving = false;
jumping = false;
trans = false;
right = false;
left = false;
_root.bulletleft._visible = false;
_root.bulletright._visible = false;
bulletCounter = 1;
}
onClipEvent (enterFrame) {
if (((((((Key.isDown(37) && (!_root.leftbound.hitTest(_x - 15, _y + 12, true))) && (!_root.leftbound.hitTest(_x - 15, _y - 12, true))) && (!_root.leftbound.hitTest(_x - 15, _y + 25, true))) && (!_root.leftbound.hitTest(_x - 15, _y - 25, true))) && (!_root.leftbound.hitTest(_x - 15, _y, true))) && (stopmoving == false)) && (_root.dead == false)) {
_x = (_x - walkSpeed);
_xscale = (-scale);
_root.hero.gotoAndStop(2);
left = true;
right = false;
} else if (((((((Key.isDown(39) && (!_root.rightbound.hitTest(_x + 15, _y + 12, true))) && (!_root.rightbound.hitTest(_x + 15, _y - 12, true))) && (!_root.rightbound.hitTest(_x + 15, _y + 25, true))) && (!_root.rightbound.hitTest(_x + 15, _y - 25, true))) && (!_root.rightbound.hitTest(_x + 15, _y, true))) && (stopmoving == false)) && (_root.dead == false)) {
_x = (_x + walkSpeed);
_xscale = scale;
_root.hero.gotoAndStop(2);
right = true;
left = false;
} else {
this.gotoAndStop(1);
}
if (Key.isDown(37) && (Key.isDown(39))) {
stopmoving = true;
this.gotoAndStop(1);
} else {
stopmoving = false;
}
if (((((!_root.platforms.hitTest(_x, _y + 25, true)) && (!_root.platforms.hitTest(_x + 6, _y + 25, true))) && (!_root.platforms.hitTest(_x - 6, _y + 25, true))) && (falling == true)) && (_root.dead == false)) {
_y = (_y + (gravity + time));
if (time >= 2) {
abletojump = false;
} else {
abletojump = true;
}
if (time <= 12) {
time = time + 1;
}
this.gotoAndStop(4);
} else {
timer = 0;
time = 0;
jumping = false;
abletojump = true;
}
if (_root.platforms.hitTest(_x - 8, _y + 22, true) && (_root.dead == false)) {
_y = (_y - 2);
}
if (_root.platforms.hitTest(_x, _y + 22, true) && (_root.dead == false)) {
_y = (_y - 2);
}
if (_root.platforms.hitTest(_x + 8, _y + 22, true) && (_root.dead == false)) {
_y = (_y - 2);
}
if (((Key.isDown(38) && (abletojump == true)) && (_root.dead == false)) && (timer == 0)) {
abletojump = false;
jumping = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("jump.wav");
kirupaSound.start();
}
if ((jumping == true) && (timer <= 14)) {
_y = (_y - ((21 - timer) - gravity));
this.gotoAndStop(3);
timer++;
}
if (timer >= 14) {
timer = 0;
jumping = false;
}
if (((Key.isDown(32) && (shottimer <= 0)) && (_root.dead == false)) && (right == true)) {
bulletCounter++;
_root.bulletright.duplicateMovieClip("bulletright" + bulletCounter, bulletCounter);
_root["bulletright" + bulletCounter]._visible = true;
shottimer = 6;
kirupaSound = new Sound(this);
kirupaSound.attachSound("laser.wav");
kirupaSound.start();
_root.hero.armshoot.gotoAndPlay(2);
}
if (((Key.isDown(32) && (shottimer <= 0)) && (_root.dead == false)) && (left == true)) {
bulletCounter++;
_root.bulletleft.duplicateMovieClip("bulletleft" + bulletCounter, bulletCounter);
_root["bulletleft" + bulletCounter]._visible = true;
shottimer = 6;
kirupaSound = new Sound(this);
kirupaSound.attachSound("laser.wav");
kirupaSound.start();
_root.hero.armshoot.gotoAndPlay(2);
}
shottimer--;
if (Key.isDown(75) && (_root.dead == false)) {
_root.deathcount = _root.deathcount + 1;
_root.dead = true;
}
if (_root.dead == true) {
this.gotoAndStop(5);
}
if ((((((((((!_root.deadzone.hitTest(_x, _y + 24, true)) && (!_root.deadzone.hitTest(_x + 14, _y + 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y + 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y, true))) && (!_root.deadzone.hitTest(_x + 14, _y, true))) && (!_root.deadzone.hitTest(_x, _y - 24, true))) && (!_root.deadzone.hitTest(_x + 14, _y - 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y - 24, true))) && (!_root.deadzone.hitTest(_x, _y, true))) && (_root.dead == false)) {
_root.dead = false;
} else {
_root.dead = true;
}
if ((((((!_root.upbound.hitTest(_x + 8, _y - 24, true)) && (!_root.upbound.hitTest(_x, _y - 24, true))) && (!_root.upbound.hitTest(_x - 8, _y - 24, true))) && (!_root.upbound.hitTest(_x + 8, _y - 27, true))) && (!_root.upbound.hitTest(_x, _y - 27, true))) && (!_root.upbound.hitTest(_x - 8, _y - 27, true))) {
} else {
(jumping = false);
(timer = 0);
}
if ((((((!_root.upbound.box.hitTest(_x + 8, _y - 24, true)) && (!_root.upbound.box.hitTest(_x, _y - 24, true))) && (!_root.upbound.box.hitTest(_x - 8, _y - 24, true))) && (!_root.upbound.box.hitTest(_x + 8, _y - 27, true))) && (!_root.upbound.box.hitTest(_x, _y - 27, true))) && (!_root.upbound.box.hitTest(_x - 8, _y - 27, true))) {
} else {
_root.upbound.box.gotoAndPlay(2);
(jumping = false);
(timer = 0);
}
}
Instance of Symbol 146 MovieClip "bulletleft" in Frame 2
onClipEvent (load) {
bulletMoveSpeed = 12;
val = -100;
this._y = _root.hero._y - 5;
this._x = _root.hero._x - 14;
}
onClipEvent (enterFrame) {
this._x = this._x - bulletMoveSpeed;
if (this._x < val) {
this.removeMovieClip();
}
if (_root.missappear == true) {
val = 900;
}
}
Instance of Symbol 146 MovieClip "bulletright" in Frame 2
onClipEvent (load) {
bulletMoveSpeed = 12;
val = 900;
this._y = _root.hero._y - 5;
this._x = _root.hero._x + 8;
}
onClipEvent (enterFrame) {
this._x = this._x + bulletMoveSpeed;
if (this._x > val) {
this.removeMovieClip();
}
if (_root.missappear == true) {
val = -100;
}
}
Frame 3
_root.save1 = false;
_root.missappear = false;
Instance of Symbol 151 MovieClip "mus" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(77) && (counter <= 0)) {
if (_root.ono == true) {
_root.player.gotoAndStop(2);
_root.mus.gotoAndStop(2);
counter = 5;
}
if (_root.ono == false) {
_root.player.gotoAndStop(1);
_root.mus.gotoAndStop(1);
counter = 5;
}
}
counter--;
}
Instance of Symbol 152 MovieClip "player" in Frame 3
onClipEvent (load) {
active = false;
onlyonce = true;
}
onClipEvent (enterFrame) {
if ((_root.ono == true) && (onlyonce == true)) {
active = true;
onlyonce = false;
}
if (active == true) {
kirupaSound = new Sound(this);
kirupaSound.attachSound("super.mp3");
kirupaSound.start(0, 999);
active = false;
}
if (_root.ono == false) {
onlyonce = true;
}
}
Instance of Symbol 156 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.bomb == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 158 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(66) && (_root.bomb == true)) {
this.gotoAndPlay(2);
}
}
Frame 4
_root.dead = false;
_root.b1dead = false;
_root.platformed = false;
_root.screenpause = false;
_root.scrn1 = true;
_root.scrn2 = false;
_root.scrn3 = false;
_root.scrn4 = false;
_root.scrn5 = false;
_root.scrn6 = false;
_root.scrn7 = false;
_root.scrn8 = false;
_root.scrn9 = false;
_root.boss = false;
_root.crit = false;
Frame 5
stop();
Instance of Symbol 209 MovieClip "death" in Frame 5
onClipEvent (load) {
timer = 0;
this.gotoAndPlay(44);
}
onClipEvent (enterFrame) {
if (_root.dead == true) {
_root.death._x = _root.hero._x;
_root.death._y = _root.hero._y;
this.gotoAndPlay(1);
timer = timer + 1;
}
if (timer == 1) {
timer = 2;
this.thing1.thing2.gotoAndPlay(1);
this.thing1.gotoAndPlay(1);
kirupaSound = new Sound(this);
kirupaSound.attachSound("bloodplosion.wav");
kirupaSound.start();
}
if (timer >= 4) {
timer = 3;
}
if (Key.isDown(82) && (_root.dead == true)) {
_root.gotoAndPlay("startover");
}
}
Frame 7
stop();
_root.thismovel = true;
_root.thismover = true;
_root.stuff.enemy2.hp = 5;
_root.stuff.enemy3.hp = 3;
_root.stuff.enemy4.hp = 25;
if (_root.save1 == true) {
_root.scrn1 = false;
_root.scrn6 = true;
_root.deadzone._x = _root.deadzone._x + 1600;
_root.hero._x = _root.hero._x - 60;
_root.leftbound._x = _root.leftbound._x + 1600;
_root.rightbound._x = _root.rightbound._x + 1600;
_root.platforms._x = _root.platforms._x + 1600;
_root.stuff._x = _root.stuff._x + 1600;
_root.upbound._x = _root.upbound._x + 1600;
_root.deadzone._y = _root.deadzone._y - 600;
_root.hero._y = _root.hero._y + 400;
_root.leftbound._y = _root.leftbound._y - 600;
_root.rightbound._y = _root.rightbound._y - 600;
_root.platforms._y = _root.platforms._y - 600;
_root.stuff._y = _root.stuff._y - 600;
_root.upbound._y = _root.upbound._y - 600;
}
Instance of Symbol 401 MovieClip "deadzone" in Frame 7
onClipEvent (enterFrame) {
}
Instance of Symbol 144 MovieClip "hero" in Frame 7
onClipEvent (load) {
gravity = 2;
scale = _xscale;
walkSpeed = 8;
abletojump = false;
falling = true;
time = 0;
timer = 0;
stopmoving = false;
jumping = false;
trans = false;
right = true;
left = false;
_root.bulletleft._visible = false;
_root.bulletright._visible = false;
bulletCounter = 10;
}
onClipEvent (enterFrame) {
if ((((((((Key.isDown(37) && (!_root.leftbound.hitTest(_x - 15, _y + 12, true))) && (!_root.leftbound.hitTest(_x - 15, _y - 12, true))) && (!_root.leftbound.hitTest(_x - 15, _y + 25, true))) && (!_root.leftbound.hitTest(_x - 15, _y - 25, true))) && (!_root.leftbound.hitTest(_x - 15, _y, true))) && (stopmoving == false)) && (_root.dead == false)) && (_root.screenpause == false)) {
_x = (_x - walkSpeed);
_xscale = (-scale);
_root.hero.gotoAndStop(2);
left = true;
right = false;
} else if ((((((((Key.isDown(39) && (!_root.rightbound.hitTest(_x + 15, _y + 12, true))) && (!_root.rightbound.hitTest(_x + 15, _y - 12, true))) && (!_root.rightbound.hitTest(_x + 15, _y + 25, true))) && (!_root.rightbound.hitTest(_x + 15, _y - 25, true))) && (!_root.rightbound.hitTest(_x + 15, _y, true))) && (stopmoving == false)) && (_root.dead == false)) && (_root.screenpause == false)) {
_x = (_x + walkSpeed);
_xscale = scale;
_root.hero.gotoAndStop(2);
right = true;
left = false;
} else if (_root.screenpause == false) {
this.gotoAndStop(1);
}
if ((Key.isDown(37) && (Key.isDown(39))) && (_root.screenpause == false)) {
stopmoving = true;
this.gotoAndStop(1);
} else {
stopmoving = false;
}
if ((((((!_root.platforms.hitTest(_x, _y + 25, true)) && (!_root.platforms.hitTest(_x + 6, _y + 25, true))) && (!_root.platforms.hitTest(_x - 6, _y + 25, true))) && (falling == true)) && (_root.dead == false)) && (_root.screenpause == false)) {
_y = (_y + (gravity + time));
if (time >= 2) {
abletojump = false;
} else {
abletojump = true;
}
if (time <= 12) {
time = time + 1;
}
this.gotoAndStop(4);
} else {
timer = 0;
time = 0;
jumping = false;
abletojump = true;
}
if (((_root.platforms.hitTest(_x - 8, _y + 22, true) && (_root.dead == false)) && (_root.platformed == false)) && (_root.screenpause == false)) {
_y = (_y - 2);
}
if (((_root.platforms.hitTest(_x, _y + 22, true) && (_root.dead == false)) && (_root.platformed == false)) && (_root.screenpause == false)) {
_y = (_y - 2);
}
if (((_root.platforms.hitTest(_x + 8, _y + 22, true) && (_root.dead == false)) && (_root.platformed == false)) && (_root.screenpause == false)) {
_y = (_y - 2);
}
if ((((Key.isDown(38) && (abletojump == true)) && (_root.dead == false)) && (timer == 0)) && (_root.screenpause == false)) {
abletojump = false;
jumping = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("jump.wav");
kirupaSound.start();
}
if ((jumping == true) && (timer <= 14)) {
_y = (_y - ((21 - timer) - gravity));
this.gotoAndStop(3);
timer++;
}
if (timer >= 14) {
timer = 0;
jumping = false;
}
if ((((Key.isDown(32) && (shottimer <= 0)) && (_root.dead == false)) && (right == true)) && (_root.screenpause == false)) {
bulletCounter++;
_root.bulletright.duplicateMovieClip("bulletright" + bulletCounter, bulletCounter);
_root["bulletright" + bulletCounter]._visible = true;
shottimer = 6;
kirupaSound = new Sound(this);
kirupaSound.attachSound("laser.wav");
kirupaSound.start();
_root.hero.armshoot.gotoAndPlay(2);
}
if ((((Key.isDown(32) && (shottimer <= 0)) && (_root.dead == false)) && (left == true)) && (_root.screenpause == false)) {
bulletCounter++;
_root.bulletleft.duplicateMovieClip("bulletleft" + bulletCounter, bulletCounter);
_root["bulletleft" + bulletCounter]._visible = true;
shottimer = 6;
kirupaSound = new Sound(this);
kirupaSound.attachSound("laser.wav");
kirupaSound.start();
_root.hero.armshoot.gotoAndPlay(2);
}
shottimer--;
if (Key.isDown(75) && (_root.dead == false)) {
_root.dead = true;
}
if (_root.dead == true) {
this.gotoAndStop(5);
}
if ((((((((((!_root.deadzone.hitTest(_x, _y + 24, true)) && (!_root.deadzone.hitTest(_x + 14, _y + 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y + 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y, true))) && (!_root.deadzone.hitTest(_x + 14, _y, true))) && (!_root.deadzone.hitTest(_x, _y - 24, true))) && (!_root.deadzone.hitTest(_x + 14, _y - 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y - 24, true))) && (!_root.deadzone.hitTest(_x, _y, true))) && (_root.dead == false)) {
_root.dead = false;
} else {
_root.dead = true;
}
if ((((((!_root.upbound.hitTest(_x + 8, _y - 24, true)) && (!_root.upbound.hitTest(_x, _y - 24, true))) && (!_root.upbound.hitTest(_x - 8, _y - 24, true))) && (!_root.upbound.hitTest(_x + 8, _y - 27, true))) && (!_root.upbound.hitTest(_x, _y - 27, true))) && (!_root.upbound.hitTest(_x - 8, _y - 27, true))) {
} else {
(jumping = false);
(timer = 0);
}
}
Instance of Symbol 410 MovieClip "bulletleft" in Frame 7
onClipEvent (load) {
bulletMoveSpeed = 12;
this._y = _root.hero._y - 5;
this._x = _root.hero._x - 14;
}
onClipEvent (enterFrame) {
this._x = this._x - bulletMoveSpeed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy2.enemy2body)) {
_root.stuff.enemy2.hp = _root.stuff.enemy2.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy3.enemy3body)) {
_root.stuff.enemy3.hp = _root.stuff.enemy3.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy4.enemy4b.enemy4body.deathbox2) && (_root.scrn9 == true)) {
if (_root.boss == true) {
_root.stuff.enemy4.hp = _root.stuff.enemy4.hp - 1;
}
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.shroom.body)) {
_root.stuff.shroom.gotoAndStop(2);
_root.dead = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.baddie1) && (_root.b1dead == false)) {
_root.stuff.baddie1.flesh.gotoAndPlay(2);
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
}
Instance of Symbol 410 MovieClip "bulletright" in Frame 7
onClipEvent (load) {
bulletMoveSpeed = 12;
this._y = _root.hero._y - 5;
this._x = _root.hero._x + 8;
}
onClipEvent (enterFrame) {
this._x = this._x + bulletMoveSpeed;
if (this._x > 900) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy2.enemy2body)) {
_root.stuff.enemy2.hp = _root.stuff.enemy2.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy3.enemy3body)) {
_root.stuff.enemy3.hp = _root.stuff.enemy3.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy4.enemy4b.enemy4body.deathbox2) && (_root.scrn9 == true)) {
if (_root.boss == true) {
_root.stuff.enemy4.hp = _root.stuff.enemy4.hp - 1;
}
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.shroom.body)) {
_root.stuff.shroom.gotoAndStop(2);
_root.dead = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.baddie1) && (_root.b1dead == false)) {
_root.stuff.baddie1.flesh.gotoAndPlay(2);
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
}
Instance of Symbol 413 MovieClip "ebulletright2" in Frame 7
onClipEvent (load) {
ebulletMoveSpeed = 10;
this._y = _root.stuff.enemy2._y - 454;
this._x = _root.stuff.enemy2._x + 700;
}
onClipEvent (enterFrame) {
this._x = this._x + ebulletMoveSpeed;
if (this._x > 900) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
}
Instance of Symbol 413 MovieClip "ebulletleft2" in Frame 7
onClipEvent (load) {
ebulletMoveSpeed = 10;
this._y = _root.stuff.enemy2._y - 454;
this._x = _root.stuff.enemy2._x + 685;
}
onClipEvent (enterFrame) {
this._x = this._x - ebulletMoveSpeed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
}
Instance of Symbol 209 MovieClip "death" in Frame 7
onClipEvent (load) {
timer = 0;
this.gotoAndPlay(44);
}
onClipEvent (enterFrame) {
if (_root.dead == true) {
_root.death._x = _root.hero._x;
_root.death._y = _root.hero._y;
this.gotoAndPlay(1);
timer = timer + 1;
}
if (timer == 1) {
timer = 2;
_root.deathcount = _root.deathcount + 1;
this.thing1.thing2.gotoAndPlay(1);
this.thing1.gotoAndPlay(1);
kirupaSound = new Sound(this);
kirupaSound.attachSound("bloodplosion.wav");
kirupaSound.start();
kirupaSound = new Sound(this);
kirupaSound.attachSound("Death2.wav");
kirupaSound.start();
}
if (timer >= 4) {
timer = 3;
}
if (Key.isDown(82) && (_root.dead == true)) {
_root.gotoAndPlay("startover");
}
}
Instance of Symbol 392 MovieClip "ebulletup" in Frame 7
onClipEvent (load) {
ebulletMoveSpeed = 15;
this._y = _root.stuff.enemy3._y + 105;
this._x = _root.stuff.enemy3._x + 691;
}
onClipEvent (enterFrame) {
this._y = this._y - ebulletMoveSpeed;
if (this._y > 700) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
}
Instance of Symbol 419 MovieClip "ebulletleft3" in Frame 7
onClipEvent (load) {
ebulletMoveSpeed = 20;
this._y = _root.stuff.enemy4._y - 1024;
this._x = _root.stuff.enemy4._x + 625;
down = false;
up = false;
val = 10;
mod = 1;
}
onClipEvent (enterFrame) {
if (_root.scrn9 == true) {
this._x = this._x - ebulletMoveSpeed;
this._y = this._y + (val * mod);
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
if (_root.crit == true) {
this.gotoAndStop(2);
}
if (val <= -20) {
val = 20;
}
val--;
if (_root.crit == true) {
mod = -1;
}
}
}
Instance of Symbol 144 MovieClip "hero" in Frame 9
onClipEvent (load) {
gravity = 2;
scale = _xscale;
walkSpeed = 8;
abletojump = false;
falling = true;
time = 0;
timer = 0;
stopmoving = false;
jumping = false;
trans = false;
right = true;
left = false;
_root.bulletleft._visible = false;
_root.bulletright._visible = false;
bulletCounter = 10;
}
onClipEvent (enterFrame) {
if ((((((((Key.isDown(37) && (!_root.leftbound.hitTest(_x - 15, _y + 12, true))) && (!_root.leftbound.hitTest(_x - 15, _y - 12, true))) && (!_root.leftbound.hitTest(_x - 15, _y + 25, true))) && (!_root.leftbound.hitTest(_x - 15, _y - 25, true))) && (!_root.leftbound.hitTest(_x - 15, _y, true))) && (stopmoving == false)) && (_root.dead == false)) && (_root.screenpause == false)) {
_x = (_x - walkSpeed);
_xscale = (-scale);
_root.hero.gotoAndStop(2);
left = true;
right = false;
} else if ((((((((Key.isDown(39) && (!_root.rightbound.hitTest(_x + 15, _y + 12, true))) && (!_root.rightbound.hitTest(_x + 15, _y - 12, true))) && (!_root.rightbound.hitTest(_x + 15, _y + 25, true))) && (!_root.rightbound.hitTest(_x + 15, _y - 25, true))) && (!_root.rightbound.hitTest(_x + 15, _y, true))) && (stopmoving == false)) && (_root.dead == false)) && (_root.screenpause == false)) {
_x = (_x + walkSpeed);
_xscale = scale;
_root.hero.gotoAndStop(2);
right = true;
left = false;
} else if (_root.screenpause == false) {
this.gotoAndStop(1);
}
if ((Key.isDown(37) && (Key.isDown(39))) && (_root.screenpause == false)) {
stopmoving = true;
this.gotoAndStop(1);
} else {
stopmoving = false;
}
if ((((((!_root.platforms.hitTest(_x, _y + 25, true)) && (!_root.platforms.hitTest(_x + 6, _y + 25, true))) && (!_root.platforms.hitTest(_x - 6, _y + 25, true))) && (falling == true)) && (_root.dead == false)) && (_root.screenpause == false)) {
_y = (_y + (gravity + time));
if (time >= 2) {
abletojump = false;
} else {
abletojump = true;
}
if (time <= 12) {
time = time + 1;
}
this.gotoAndStop(4);
} else {
timer = 0;
time = 0;
jumping = false;
abletojump = true;
}
if (((_root.platforms.hitTest(_x - 8, _y + 22, true) && (_root.dead == false)) && (_root.platformed == false)) && (_root.screenpause == false)) {
_y = (_y - 2);
}
if (((_root.platforms.hitTest(_x, _y + 22, true) && (_root.dead == false)) && (_root.platformed == false)) && (_root.screenpause == false)) {
_y = (_y - 2);
}
if (((_root.platforms.hitTest(_x + 8, _y + 22, true) && (_root.dead == false)) && (_root.platformed == false)) && (_root.screenpause == false)) {
_y = (_y - 2);
}
if ((((Key.isDown(38) && (abletojump == true)) && (_root.dead == false)) && (timer == 0)) && (_root.screenpause == false)) {
abletojump = false;
jumping = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("jump.wav");
kirupaSound.start();
}
if ((jumping == true) && (timer <= 14)) {
_y = (_y - ((21 - timer) - gravity));
this.gotoAndStop(3);
timer++;
}
if (timer >= 14) {
timer = 0;
jumping = false;
}
if ((((Key.isDown(32) && (shottimer <= 0)) && (_root.dead == false)) && (right == true)) && (_root.screenpause == false)) {
bulletCounter++;
_root.bulletright.duplicateMovieClip("bulletright" + bulletCounter, bulletCounter);
_root["bulletright" + bulletCounter]._visible = true;
shottimer = 6;
kirupaSound = new Sound(this);
kirupaSound.attachSound("laser.wav");
kirupaSound.start();
_root.hero.armshoot.gotoAndPlay(2);
}
if ((((Key.isDown(32) && (shottimer <= 0)) && (_root.dead == false)) && (left == true)) && (_root.screenpause == false)) {
bulletCounter++;
_root.bulletleft.duplicateMovieClip("bulletleft" + bulletCounter, bulletCounter);
_root["bulletleft" + bulletCounter]._visible = true;
shottimer = 6;
kirupaSound = new Sound(this);
kirupaSound.attachSound("laser.wav");
kirupaSound.start();
_root.hero.armshoot.gotoAndPlay(2);
}
shottimer--;
if (Key.isDown(75) && (_root.dead == false)) {
_root.dead = true;
}
if (_root.dead == true) {
this.gotoAndStop(5);
}
if ((((((((((!_root.deadzone.hitTest(_x, _y + 24, true)) && (!_root.deadzone.hitTest(_x + 14, _y + 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y + 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y, true))) && (!_root.deadzone.hitTest(_x + 14, _y, true))) && (!_root.deadzone.hitTest(_x, _y - 24, true))) && (!_root.deadzone.hitTest(_x + 14, _y - 24, true))) && (!_root.deadzone.hitTest(_x - 14, _y - 24, true))) && (!_root.deadzone.hitTest(_x, _y, true))) && (_root.dead == false)) {
_root.dead = false;
} else {
_root.dead = true;
}
if ((((((!_root.upbound.hitTest(_x + 8, _y - 24, true)) && (!_root.upbound.hitTest(_x, _y - 24, true))) && (!_root.upbound.hitTest(_x - 8, _y - 24, true))) && (!_root.upbound.hitTest(_x + 8, _y - 27, true))) && (!_root.upbound.hitTest(_x, _y - 27, true))) && (!_root.upbound.hitTest(_x - 8, _y - 27, true))) {
} else {
(jumping = false);
(timer = 0);
}
}
Instance of Symbol 410 MovieClip "bulletleft" in Frame 9
onClipEvent (load) {
bulletMoveSpeed = 12;
this._y = _root.hero._y - 5;
this._x = _root.hero._x - 14;
}
onClipEvent (enterFrame) {
this._x = this._x - bulletMoveSpeed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy2.enemy2body)) {
_root.stuff.enemy2.hp = _root.stuff.enemy2.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy3.enemy3body)) {
_root.stuff.enemy3.hp = _root.stuff.enemy3.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy4.enemy4b.enemy4body.deathbox2) && (_root.scrn9 == true)) {
if (_root.boss == true) {
_root.stuff.enemy4.hp = _root.stuff.enemy4.hp - 1;
}
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.shroom.body)) {
_root.stuff.shroom.gotoAndStop(2);
_root.dead = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.baddie1) && (_root.b1dead == false)) {
_root.stuff.baddie1.flesh.gotoAndPlay(2);
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
}
Instance of Symbol 410 MovieClip "bulletright" in Frame 9
onClipEvent (load) {
bulletMoveSpeed = 12;
this._y = _root.hero._y - 5;
this._x = _root.hero._x + 8;
}
onClipEvent (enterFrame) {
this._x = this._x + bulletMoveSpeed;
if (this._x > 900) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy2.enemy2body)) {
_root.stuff.enemy2.hp = _root.stuff.enemy2.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy3.enemy3body)) {
_root.stuff.enemy3.hp = _root.stuff.enemy3.hp - 1;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.enemy4.enemy4b.enemy4body.deathbox2) && (_root.scrn9 == true)) {
if (_root.boss == true) {
_root.stuff.enemy4.hp = _root.stuff.enemy4.hp - 1;
}
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.shroom.body)) {
_root.stuff.shroom.gotoAndStop(2);
_root.dead = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
if (this.hitTest(_root.stuff.baddie1) && (_root.b1dead == false)) {
_root.stuff.baddie1.flesh.gotoAndPlay(2);
kirupaSound = new Sound(this);
kirupaSound.attachSound("up.wav");
kirupaSound.start();
this.removeMovieClip();
}
}
Instance of Symbol 413 MovieClip "ebulletright2" in Frame 9
onClipEvent (load) {
ebulletMoveSpeed = 10;
this._y = _root.stuff.enemy2._y - 454;
this._x = _root.stuff.enemy2._x + 700;
}
onClipEvent (enterFrame) {
this._x = this._x + ebulletMoveSpeed;
if (this._x > 900) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
}
Instance of Symbol 413 MovieClip "ebulletleft2" in Frame 9
onClipEvent (load) {
ebulletMoveSpeed = 10;
this._y = _root.stuff.enemy2._y - 454;
this._x = _root.stuff.enemy2._x + 685;
}
onClipEvent (enterFrame) {
this._x = this._x - ebulletMoveSpeed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
}
Instance of Symbol 209 MovieClip "death" in Frame 9
onClipEvent (load) {
timer = 0;
this.gotoAndPlay(44);
}
onClipEvent (enterFrame) {
if (_root.dead == true) {
_root.death._x = _root.hero._x;
_root.death._y = _root.hero._y;
this.gotoAndPlay(1);
timer = timer + 1;
}
if (timer == 1) {
timer = 2;
this.thing1.thing2.gotoAndPlay(1);
this.thing1.gotoAndPlay(1);
kirupaSound = new Sound(this);
kirupaSound.attachSound("bloodplosion.wav");
kirupaSound.start();
kirupaSound = new Sound(this);
kirupaSound.attachSound("Death.wav");
kirupaSound.start();
}
if (timer >= 4) {
timer = 3;
}
if (Key.isDown(82) && (_root.dead == true)) {
_root.gotoAndPlay("startover");
}
}
Instance of Symbol 392 MovieClip "ebulletup" in Frame 9
onClipEvent (load) {
ebulletMoveSpeed = 15;
this._y = _root.stuff.enemy3._y + 105;
this._x = _root.stuff.enemy3._x + 691;
}
onClipEvent (enterFrame) {
this._y = this._y - ebulletMoveSpeed;
if (this._y > 700) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
}
Instance of Symbol 419 MovieClip "ebulletleft3" in Frame 9
onClipEvent (load) {
ebulletMoveSpeed = 20;
this._y = _root.stuff.enemy4._y - 1024;
this._x = _root.stuff.enemy4._x + 625;
down = false;
up = false;
val = 10;
mod = 1;
}
onClipEvent (enterFrame) {
if (_root.scrn9 == true) {
this._x = this._x - ebulletMoveSpeed;
this._y = this._y + (val * mod);
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.removeMovieClip();
}
if (_root.screenpause == true) {
this.removeMovieClip();
}
if (_root.crit == true) {
this.gotoAndStop(2);
}
if (val <= -20) {
val = 20;
}
val--;
if (_root.crit == true) {
mod = -1;
}
}
}
Symbol 27 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 35 Button
on (release) {
_root.play();
}
Symbol 36 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 36 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 5
stop();
Symbol 139 MovieClip Frame 4
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 144 MovieClip Frame 3
stop();
Symbol 144 MovieClip Frame 4
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 1
stop();
_root.ono = true;
Symbol 152 MovieClip Frame 2
stopAllSounds();
stop();
_root.ono = false;
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
_root.bomb = false;
Symbol 158 MovieClip Frame 29
if (_root.scrn2 == true) {
_root.stuff.enemy3.hp = 0;
_root.stuff.baddie1.flesh.gotoAndPlay(2);
_root.b1dead = true;
}
if (_root.scrn4 == true) {
_root.stuff.enemy2.hp = 0;
}
if (_root.scrn9 == true) {
if (_root.stuff.enemy4.hp >= 11) {
_root.stuff.enemy4.hp = _root.stuff.enemy4.hp - 10;
}
if (_root.stuff.enemy4.hp <= 10) {
_root.stuff.enemy4.hp = 0;
}
}
Symbol 164 MovieClip Frame 45
stop();
Symbol 181 MovieClip Frame 40
stop();
Symbol 185 MovieClip Frame 30
stop();
Symbol 186 MovieClip Frame 30
stop();
Symbol 208 MovieClip Frame 45
stop();
Symbol 209 MovieClip Frame 46
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 39
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 229 MovieClip Frame 8
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 3
_root.rightbound.d1.gotoAndPlay(10);
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 3
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 150
if (_root.boss == true) {
_root.boss = false;
}
Symbol 289 MovieClip Frame 161
if (_root.scrn9 == true) {
_root.deadzone.bosstrap.play();
}
Symbol 289 MovieClip Frame 262
if (_root.boss == false) {
_root.boss = true;
}
Symbol 291 MovieClip Frame 150
if (_root.boss == true) {
_root.boss = false;
}
Symbol 291 MovieClip Frame 161
if (_root.scrn9 == true) {
_root.deadzone.bosstrap.play();
}
Symbol 291 MovieClip Frame 243
if (_root.boss == false) {
_root.boss = true;
}
Symbol 292 MovieClip Frame 2
_root.kills = _root.kills + 1;
Symbol 292 MovieClip Frame 14
stop();
Symbol 293 MovieClip Frame 1
stop();
Instance of Symbol 289 MovieClip "enemy4b" in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.scrn9 == false) {
this.gotoAndStop(1);
} else {
this.play();
}
}
Symbol 293 MovieClip Frame 2
stop();
_root.boss = true;
Symbol 293 MovieClip Frame 3
_root.deadzone.ending.gotoAndPlay(2);
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
_root.bomb = true;
Symbol 303 MovieClip Frame 30
stop();
Symbol 331 MovieClip Frame 1
stop();
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
}
}
Symbol 331 MovieClip Frame 2
_root.b1dead = true;
Symbol 331 MovieClip Frame 16
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip "trigger" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap1.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn1 = false;
_root.scrn3 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn3 = false;
_root.scrn1 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 230 MovieClip "enemy2" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
edead = false;
scale = _xscale;
edeadsound = false;
_root.ebulletleft2._visible = false;
_root.ebulletright2._visible = false;
ebulletCounter = 50;
}
onClipEvent (enterFrame) {
if (((((((((this._x + 700) >= _root.hero._x) && (this._y >= ((_root.hero._y - 12) + 460))) && (this._y <= ((_root.hero._y + 12) + 460))) && (eshottimer <= 0)) && (edead == false)) && (_root.dead == false)) && (_root.screenpause == false)) && (_root.scrn4 == true)) {
ebulletCounter++;
kirupaSound = new Sound(this);
kirupaSound.attachSound("fireball.wav");
kirupaSound.start();
_root.ebulletleft2.duplicateMovieClip("ebulletleft2" + ebulletCounter, ebulletCounter);
_root["ebulletleft2" + ebulletCounter]._visible = true;
eshottimer = 10;
_root.stuff.enemy2.enemy2body.gotoAndPlay(2);
} else if (((((((((this._x + 700) <= _root.hero._x) && (this._y >= ((_root.hero._y - 12) + 460))) && (this._y <= ((_root.hero._y + 12) + 460))) && (eshottimer <= 0)) && (edead == false)) && (_root.dead == false)) && (_root.screenpause == false)) && (_root.scrn4 == true)) {
ebulletCounter++;
kirupaSound = new Sound(this);
kirupaSound.attachSound("fireball.wav");
kirupaSound.start();
_root.ebulletright2.duplicateMovieClip("ebulletright2" + ebulletCounter, ebulletCounter);
_root["ebulletright2" + ebulletCounter]._visible = true;
eshottimer = 10;
_root.stuff.enemy2.enemy2body.gotoAndPlay(2);
}
eshottimer--;
if ((_root.stuff.enemy2.hp == 0) && (edeadsound == false)) {
this.gotoAndStop(3);
edead = true;
}
if ((((((_root.stuff.lv.hitTest(_x - 0, _y - 15, true) != true) && (edead == false)) && (_root.hero._y <= (this._y - 460))) && (_root.screenpause == false)) && (_root.scrn4 == true)) && (_root.dead == false)) {
this._y = this._y - 5;
}
if ((((((_root.stuff.lv.hitTest(_x - 0, _y - 0, true) != true) && (edead == false)) && (_root.hero._y >= (this._y - 460))) && (_root.screenpause == false)) && (_root.scrn4 == true)) && (_root.dead == false)) {
this._y = this._y + 5;
}
if ((((_root.hero._x - 700) >= this._x) && (_root.screenpause == false)) && (_root.scrn4 == true)) {
_root.stuff.enemy2.enemy2body._xscale = -scale;
} else {
_root.stuff.enemy2.enemy2body._xscale = scale;
}
}
Instance of Symbol 76 MovieClip "goingleft" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn1 = false;
_root.scrn2 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn2 = false;
_root.scrn1 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.platforms.trap3.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 100) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 237 MovieClip "enemy3" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
edead = false;
dead = false;
edeadsound = false;
_root.ebulletup._visible = false;
_root.ebulletdown._visible = false;
ebulletCounter = 5;
}
onClipEvent (enterFrame) {
if ((((((((this._y >= (_root.hero._y - 104)) && (this._x >= ((_root.hero._x - 25) - 690))) && (this._x <= ((_root.hero._x + 25) - 690))) && (eshottimer <= 0)) && (edead == false)) && (_root.dead == false)) && (_root.screenpause == false)) && (_root.scrn2 == true)) {
ebulletCounter++;
kirupaSound = new Sound(this);
kirupaSound.attachSound("shot.wav");
kirupaSound.start();
_root.ebulletup.duplicateMovieClip("ebulletup" + ebulletCounter, ebulletCounter);
_root["ebulletup" + ebulletCounter]._visible = true;
eshottimer = 18;
}
eshottimer--;
if ((_root.stuff.enemy3.hp == 0) && (edeadsound == false)) {
gotoAndStop (3);
edead = true;
}
if ((((((_root.thismovel == true) && (edead == false)) && (_root.hero._x <= (this._x + 690))) && (_root.screenpause == false)) && (_root.scrn2 == true)) && (_root.dead == false)) {
this._x = this._x - 5;
}
if ((((((_root.thismover == true) && (edead == false)) && (_root.hero._x >= (this._x + 690))) && (_root.screenpause == false)) && (_root.scrn2 == true)) && (_root.dead == false)) {
this._x = this._x + 5;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.stuff.enemy3)) {
_root.thismover = false;
} else {
_root.thismover = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.stuff.enemy3)) {
_root.thismovel = false;
} else {
_root.thismovel = true;
}
}
Instance of Symbol 244 MovieClip "shroom" in Symbol 343 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.deathbox)) {
_root.dead = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap4.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 120) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap5.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 180) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn2 = false;
_root.scrn4 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn4 = false;
_root.scrn2 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap1b.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.stuff.lol.gotoAndStop(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip "goingright" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn1 = false;
_root.scrn2 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn2 = false;
_root.scrn1 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap2b.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap2c.gotoAndPlay(2);
kirupaSound = new Sound(this);
kirupaSound.attachSound("shot.wav");
kirupaSound.start();
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.leftbound.secret1.gotoAndStop(2);
kirupaSound = new Sound(this);
kirupaSound.attachSound("keys.wav");
kirupaSound.start();
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn2 = false;
_root.scrn5 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn5 = false;
_root.scrn2 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn4 = false;
_root.scrn6 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn6 = false;
_root.scrn4 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn5 = false;
_root.scrn6 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn6 = false;
_root.scrn5 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 266 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) && (_root.save1 == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
this.gotoAndPlay(2);
_root.save1 = true;
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
kirupaSound = new Sound(this);
kirupaSound.attachSound("secret.mp3");
kirupaSound.start();
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn3 = false;
_root.scrn7 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn7 = false;
_root.scrn3 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn6 = false;
_root.scrn8 = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn8 = false;
_root.scrn6 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn1 = false;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn1 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 293 MovieClip "enemy4" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
edead = false;
dead = false;
val = 12;
edeadsound = false;
_root.ebulletleft3._visible = false;
ebulletCounter = 50;
}
onClipEvent (enterFrame) {
if (((((eshottimer <= 0) && (edead == false)) && (_root.dead == false)) && (_root.scrn9 == true)) && (_root.boss == true)) {
ebulletCounter++;
kirupaSound = new Sound(this);
kirupaSound.attachSound("fireball.wav");
kirupaSound.start();
_root.ebulletleft3.duplicateMovieClip("ebulletleft3" + ebulletCounter, ebulletCounter);
_root["ebulletleft3" + ebulletCounter]._visible = true;
eshottimer = val;
}
eshottimer--;
if ((_root.stuff.enemy4.hp == 0) && (edeadsound == false)) {
gotoAndStop (3);
edead = true;
}
if ((_root.stuff.enemy4.hp == 18) && (edeadsound == false)) {
val = 8;
}
if ((_root.stuff.enemy4.hp == 8) && (edeadsound == false)) {
this.gotoAndStop(2);
_root.crit = true;
val = 4;
}
if ((_root.stuff.enemy4.hp == 3) && (edeadsound == false)) {
val = 2;
}
if ((((((_root.stuff.lv2.hitTest(_x + 700, _y - 695, true) != true) && (edead == false)) && ((_root.hero._y + 880) <= this._y)) && (_root.dead == false)) && (_root.scrn9 == true)) && (_root.boss == true)) {
this._y = this._y - 2;
}
if ((((((_root.stuff.lv2.hitTest(_x + 700, _y - 0, true) != true) && (edead == false)) && ((_root.hero._y + 880) >= this._y)) && (_root.dead == false)) && (_root.scrn9 == true)) && (_root.boss == true)) {
this._y = this._y + 2;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.leftbound.closed.gotoAndPlay(2);
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.scrn8 = false;
_root.scrn9 = true;
_root.boss = true;
_root.haveseen = true;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.scrn9 = false;
_root.scrn8 = true;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 303 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) && (_root.save1 == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
this.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.gotoAndPlay("startover");
active = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.deadzone.trap8a.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 50)) {
_root.deadzone._x = _root.deadzone._x + 16;
_root.hero._x = _root.hero._x + 16;
_root.leftbound._x = _root.leftbound._x + 16;
_root.rightbound._x = _root.rightbound._x + 16;
_root.platforms._x = _root.platforms._x + 16;
_root.stuff._x = _root.stuff._x + 16;
_root.upbound._x = _root.upbound._x + 16;
timer++;
}
if (timer >= 50) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.screenpause = false;
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 50)) {
_root.deadzone._x = _root.deadzone._x - 16;
_root.hero._x = _root.hero._x - 16;
_root.leftbound._x = _root.leftbound._x - 16;
_root.rightbound._x = _root.rightbound._x - 16;
_root.platforms._x = _root.platforms._x - 16;
_root.stuff._x = _root.stuff._x - 16;
_root.upbound._x = _root.upbound._x - 16;
timerr++;
}
if (timerr >= 50) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 303 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) && (_root.save1 == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
this.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 85) {
starttimer = false;
timer = 0;
onlyonce = false;
}
}
Instance of Symbol 220 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
activer = false;
moving = false;
movingr = false;
onlyonce = true;
onlyoncer = false;
timer = 0;
timerr = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.screenpause = true;
active = false;
moving = true;
}
if ((moving == true) && (timer <= 40)) {
_root.hero.gotoAndStop(4);
_root.deadzone._y = _root.deadzone._y - 15;
_root.hero._y = _root.hero._y - 15;
_root.leftbound._y = _root.leftbound._y - 15;
_root.rightbound._y = _root.rightbound._y - 15;
_root.platforms._y = _root.platforms._y - 15;
_root.stuff._y = _root.stuff._y - 15;
_root.upbound._y = _root.upbound._y - 15;
timer++;
}
if (timer >= 40) {
this.gotoAndStop(2);
moving = false;
timer = 0;
_root.screenpause = false;
if (_root.ono == true) {
_root.ono = false;
_root.ono = true;
}
onlyoncer = true;
}
if ((this.hitTest(_root.hero) && (onlyoncer == true)) && (_root.dead == false)) {
activer = true;
onlyoncer = false;
}
if (activer == true) {
_root.screenpause = true;
activer = false;
movingr = true;
}
if ((movingr == true) && (timerr <= 40)) {
_root.deadzone._y = _root.deadzone._y + 15;
_root.hero._y = _root.hero._y + 15;
_root.leftbound._y = _root.leftbound._y + 15;
_root.rightbound._y = _root.rightbound._y + 15;
_root.platforms._y = _root.platforms._y + 15;
_root.stuff._y = _root.stuff._y + 15;
_root.upbound._y = _root.upbound._y + 15;
timerr++;
}
if (timerr >= 40) {
this.gotoAndStop(1);
movingr = false;
timerr = 0;
_root.screenpause = false;
onlyonce = true;
}
}
Instance of Symbol 76 MovieClip in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
}
if (active == true) {
_root.gotoAndPlay(2);
active = false;
}
}
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 2
_root.deadzone.trap3.gotoAndPlay(2);
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
stop();
Instance of Symbol 346 MovieClip in Symbol 355 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) && (_root.dead == false)) {
this._y = this._y + 4;
_root.hero._y = _root.hero._y + 4;
_root.platformed = true;
} else {
_root.platformed = false;
}
}
Instance of Symbol 346 MovieClip in Symbol 355 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.feet) && (_root.dead == false)) {
this._y = this._y - 3;
_root.hero._y = _root.hero._y - 3;
_root.platformed = true;
} else {
_root.platformed = false;
}
}
Instance of Symbol 354 MovieClip in Symbol 355 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.haveseen == true) {
this.gotoAndStop(2);
}
}
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 2
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 20
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 20
if (_root.ono == true) {
stopAllSounds();
}
Symbol 372 MovieClip Frame 167
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 68
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 36
stop();
Instance of Symbol 252 MovieClip "box1" in Symbol 409 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.head) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.upbound.box1.gotoAndPlay(2);
_root.stuff.info1.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 40) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 252 MovieClip "box2" in Symbol 409 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.head) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.upbound.box2.gotoAndPlay(2);
_root.stuff.info2.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 40) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 252 MovieClip "box3" in Symbol 409 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.head) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.upbound.box3.gotoAndPlay(2);
_root.stuff.info3.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 40) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Instance of Symbol 252 MovieClip "box4" in Symbol 409 MovieClip Frame 1
onClipEvent (load) {
active = false;
onlyonce = true;
timer = 0;
starttimer = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.head) && (onlyonce == true)) && (_root.dead == false)) {
active = true;
onlyonce = false;
starttimer = true;
}
if (active == true) {
_root.upbound.box4.gotoAndPlay(2);
_root.stuff.info4.gotoAndPlay(2);
active = false;
}
if (starttimer == true) {
timer++;
}
if (timer >= 40) {
starttimer = false;
timer = 0;
onlyonce = true;
}
}
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 11
removeMovieClip(this);
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
stop();