Frame 1
stop();
Stage.showMenu = false;
Frame 2
stop();
var pick = 0;
var power = 0;
var health = 0;
var lives = 0;
var turn = true;
var bgpos = 0;
var flashing = 0;
var prog = 0;
var score = 0;
var bosshealth = 0;
var level = 0;
var pausegame = false;
var monsters = 0;
Frame 3
stop();
bgpos = 0;
prog = 0;
level = 3;
health = 4;
turn = true;
Instance of Symbol 89 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (Key.isDown(37)) {
if (_root.bgpos < 6) {
_root.bgpos++;
_x = (_x + 10);
} else {
_x = (_x - 60);
_root.bgpos = 0;
}
}
if (Key.isDown(39)) {
if (_root.bgpos > -6) {
_root.bgpos--;
_x = (_x - 10);
} else {
_x = (_x + 60);
_root.bgpos = 0;
}
}
}
}
Instance of Symbol 91 MovieClip "player" in Frame 3
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_root.prog < 522) {
_root.prog++;
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_root.prog > 0) {
_root.prog--;
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 15;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 15;
}
}
}
Instance of Symbol 106 MovieClip "badguy" in Frame 3
onClipEvent (load) {
var badhp = 0;
var badspeed = 0;
var badpower = 0;
var badcount = 0;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (this.hitTest(this._parent.player.attacksprite.body) && (_root.flashing == 0)) {
_root.health = _root.health - badpower;
_root.flashing = 50;
}
if (this._x < 0) {
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
}
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this.hitTest(this._parent.player.attacksprite.hitbox) && (badcount == 0)) {
badhp--;
if (badhp == 0) {
_root.score = _root.score + 20;
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
} else {
badcount = 10;
}
}
_x = (_x - (badspeed * 3));
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
}
}
Instance of Symbol 111 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 128 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = (14 + _root.prog);
if (_root.prog == 522) {
_root.play();
}
}
Frame 4
stop();
Frame 5
stop();
bosshealth = 20;
bgpos = 0;
prog = 0;
level = 5;
health = 4;
turn = true;
Instance of Symbol 89 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.bgpos < 6) {
_root.bgpos++;
_x = (_x + 10);
} else {
_x = (_x - 60);
_root.bgpos = 0;
}
}
if (Key.isDown(39)) {
if (_root.bgpos > -6) {
_root.bgpos--;
_x = (_x - 10);
} else {
_x = (_x + 60);
_root.bgpos = 0;
}
}
}
Instance of Symbol 179 MovieClip "bosspunch" in Frame 5
onClipEvent (load) {
var badcount = 0;
}
onClipEvent (enterFrame) {
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this._currentframe != 2) {
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
if (this.bossbody.hitTest(_root.player.attacksprite.body) && (_root.flashing == 0)) {
_root.flashing = 50;
_root.health = _root.health - 1;
}
if (this.bossbody.hitTest(_root.player.attacksprite.hitbox) && (badcount == 0)) {
_root.bosshealth = _root.bosshealth - 1;
badcount = 20;
}
} else {
_x = 285;
}
}
Instance of Symbol 198 MovieClip "bossbite" in Frame 5
onClipEvent (load) {
var badcount = 0;
}
onClipEvent (enterFrame) {
if (this._currentframe != 2) {
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39) && (_x > 280)) {
_x = (_x - 10);
}
if ((this.bossbody.hitTest(_root.player.attacksprite.body) || (this.cow.hitTest(_root.player.attacksprite.body))) && (_root.flashing == 0)) {
_root.flashing = 50;
_root.health = _root.health - 1;
}
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this.bossbody.hitTest(_root.player.attacksprite.hitbox) && (badcount == 0)) {
_root.bosshealth--;
badcount = 20;
}
} else {
_x = 490;
}
}
Instance of Symbol 200 MovieClip in Frame 5
onClipEvent (load) {
var countdown = 10;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (countdown == 0) {
if (random(2) == 0) {
_root.bosspunch.play();
countdown = 50;
} else {
this._parent.bossbite.play();
_root.bossbite._y = 340 + random(110);
countdown = 150;
}
} else {
countdown--;
}
}
}
Instance of Symbol 91 MovieClip "player" in Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_root.prog < 522) {
_root.prog++;
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_root.prog > 0) {
_root.prog--;
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 15;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 15;
}
}
}
Instance of Symbol 111 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 203 MovieClip in Frame 5
onClipEvent (enterFrame) {
_width = (_root.bosshealth * 20);
if (_root.bosshealth < 1) {
_root.play();
}
}
Frame 6
stop();
Frame 7
stop();
bgpos = 0;
prog = 0;
level = 7;
health = 4;
turn = true;
Instance of Symbol 225 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.bgpos < 39) {
_root.bgpos++;
_x = (_x + 10);
} else {
_x = 275;
_root.bgpos = 0;
}
}
if (Key.isDown(39)) {
if (_root.bgpos > -39) {
_root.bgpos--;
_x = (_x - 10);
} else {
_x = 275;
_root.bgpos = 0;
}
}
}
Instance of Symbol 91 MovieClip "player" in Frame 7
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_root.prog < 522) {
_root.prog++;
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_root.prog > 0) {
_root.prog--;
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 15;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 15;
}
}
}
Instance of Symbol 252 MovieClip "badguy" in Frame 7
onClipEvent (load) {
var badhp = 0;
var badspeed = 0;
var badpower = 0;
var badcount = 0;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (this.hitTest(this._parent.player.attacksprite.body) && (_root.flashing == 0)) {
_root.health = _root.health - badpower;
_root.flashing = 50;
}
if (this._x < 0) {
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
}
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this.hitTest(this._parent.player.attacksprite.hitbox) && (badcount == 0)) {
badhp--;
if (badhp == 0) {
_root.score = _root.score + 20;
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
} else {
badcount = 10;
}
}
_x = (_x - (badspeed * 3));
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
}
}
Instance of Symbol 111 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 128 MovieClip in Frame 7
onClipEvent (enterFrame) {
_x = (14 + _root.prog);
if (_root.prog == 522) {
_root.play();
}
}
Frame 8
stop();
Frame 9
stop();
bosshealth = 20;
bgpos = 0;
prog = 0;
level = 9;
health = 4;
turn = true;
Instance of Symbol 295 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.bgpos > -52) {
_root.bgpos--;
_x = (_x + 10);
}
}
if (Key.isDown(39)) {
if (_root.bgpos < 52) {
_root.bgpos++;
_x = (_x - 10);
}
}
}
Instance of Symbol 91 MovieClip "player" in Frame 9
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_root.prog < 522) {
_root.prog++;
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_root.prog > 0) {
_root.prog--;
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 15;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 15;
}
}
}
Instance of Symbol 200 MovieClip in Frame 9
onClipEvent (load) {
var countdown = 10;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (countdown == 0) {
if (random(2) == 0) {
_root.josh.play();
countdown = 50;
} else {
_root.josh2.play();
countdown = 50;
}
} else {
countdown--;
}
}
}
Instance of Symbol 296 MovieClip "bedn" in Frame 9
onClipEvent (load) {
var speedY = 5;
var speedX = 20;
var badcount = 0;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this.hitTest(_root.player.attacksprite.hitbox) && (badcount == 0)) {
badcount = 50;
_root.bosshealth = _root.bosshealth - 1;
}
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
if ((_x > -100) && (speedX < 0)) {
_x = (_x + speedX);
} else if ((_x < 650) && (speedX > 0)) {
_x = (_x + speedX);
} else {
speedX = speedX * -1;
_x = (_x + speedX);
}
if ((_y < 390) && (_y > 250)) {
_y = (_y + speedY);
} else {
speedY = speedY * -1;
_y = (_y + speedY);
}
}
}
Instance of Symbol 303 MovieClip "josh2" in Frame 9
onClipEvent (enterFrame) {
if (this.bossbody.hitTest(_root.player.attacksprite.body) && (_root.flashing == 0)) {
_root.flashing = 50;
_root.health = _root.health - 1;
}
if (_currentframe == 1) {
_x = 275;
_y = 375;
}
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
}
Instance of Symbol 304 MovieClip "josh" in Frame 9
onClipEvent (enterFrame) {
if (this.bossbody.hitTest(_root.player.attacksprite.body) && (_root.flashing == 0)) {
_root.flashing = 50;
_root.health = _root.health - 1;
}
if (_currentframe == 1) {
_x = 275;
_y = 300;
}
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
}
Instance of Symbol 111 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 203 MovieClip in Frame 9
onClipEvent (enterFrame) {
_width = (_root.bosshealth * 20);
if (_root.bosshealth < 1) {
_root.play();
}
}
Frame 10
stop();
Frame 11
stop();
bgpos = 0;
prog = 0;
level = 11;
health = 4;
turn = true;
Instance of Symbol 321 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.bgpos < 29) {
_root.bgpos++;
_x = (_x + 10);
} else {
_x = 275;
_root.bgpos = 0;
}
}
if (Key.isDown(39)) {
if (_root.bgpos > -29) {
_root.bgpos--;
_x = (_x - 10);
} else {
_x = 275;
_root.bgpos = 0;
}
}
}
Instance of Symbol 91 MovieClip "player" in Frame 11
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_root.prog < 522) {
_root.prog++;
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_root.prog > 0) {
_root.prog--;
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 15;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 15;
}
}
}
Instance of Symbol 339 MovieClip "badguy" in Frame 11
onClipEvent (load) {
var badhp = 0;
var badspeed = 0;
var badpower = 0;
var badcount = 0;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (this.hitTest(this._parent.player.attacksprite.body) && (_root.flashing == 0)) {
_root.health = _root.health - badpower;
_root.flashing = 50;
}
if (this._x < 0) {
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
}
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this.hitTest(this._parent.player.attacksprite.hitbox) && (badcount == 0)) {
badhp--;
if (badhp == 0) {
_root.score = _root.score + 20;
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
} else {
badcount = 10;
}
}
_x = (_x - (badspeed * 3));
if (Key.isDown(37)) {
_x = (_x + 10);
}
if (Key.isDown(39)) {
_x = (_x - 10);
}
}
}
Instance of Symbol 111 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 128 MovieClip in Frame 11
onClipEvent (enterFrame) {
_x = (14 + _root.prog);
if (_root.prog == 522) {
_root.play();
}
}
Frame 12
stop();
Frame 13
stop();
bosshealth = 20;
bgpos = 0;
prog = 0;
level = 13;
health = 4;
turn = true;
monsters = 20;
Instance of Symbol 200 MovieClip in Frame 13
onClipEvent (enterFrame) {
_root.monstercounter.text = _root.monsters;
if (_root.monsters < 1) {
play();
}
}
Instance of Symbol 91 MovieClip "player" in Frame 13
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_x < 500) {
_x = (_x + 10);
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_x > 50) {
_x = (_x - 10);
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 8;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 8;
}
}
}
Instance of Symbol 106 MovieClip "badguy" in Frame 13
onClipEvent (load) {
var badhp = 0;
var badspeed = 0;
var badpower = 0;
var badcount = 0;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (this.hitTest(_root.player.attacksprite.body) && (_root.flashing == 0)) {
_root.health = _root.health - badpower;
_root.flashing = 50;
}
if (this._x < 0) {
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
}
if (badcount > 0) {
badcount--;
if ((badcount % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (this.hitTest(_root.player.attacksprite.hitbox) && (badcount == 0)) {
badhp--;
if (badhp == 0) {
_root.score = _root.score + 20;
_x = 600;
_y = (250 + random(150));
gotoAndStop (1);
_root.monsters--;
} else {
badcount = 10;
}
}
_x = (_x - (badspeed * 3));
}
}
Instance of Symbol 111 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 203 MovieClip in Frame 13
onClipEvent (enterFrame) {
_width = (_root.bosshealth * 20);
if (_root.bosshealth < 1) {
_root.play();
}
}
Frame 14
stop();
Frame 15
stop();
bosshealth = 1;
bgpos = 0;
prog = 0;
level = 15;
health = 4;
turn = true;
monsters = 20;
Instance of Symbol 200 MovieClip in Frame 15
onClipEvent (load) {
var countdown = 10;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 91 MovieClip "player" in Frame 15
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
if (_root.health < 0) {
_root.gotoAndStop(17);
}
if (_root.flashing > 0) {
_root.flashing--;
if ((_root.flashing % 2) == 1) {
_alpha = 0;
} else {
_alpha = 100;
}
}
if (Key.isDown(39) && (!Key.isDown(37))) {
if (_root.turn == false) {
_xscale = (_xscale * -1);
_root.turn = true;
}
if (_x < 500) {
_x = (_x + 10);
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (_root.turn == true) {
_xscale = (_xscale * -1);
_root.turn = false;
}
if (_x > 50) {
_x = (_x - 10);
}
}
if (Key.isDown(38) && (_y > 250)) {
this._y = this._y - 8;
}
if (Key.isDown(40) && (_y < 390)) {
this._y = this._y + 8;
}
}
}
Instance of Symbol 387 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.bossbody.hitTest(_root.player.attacksprite.hitbox) && (badcount == 0)) {
_root.bosshealth = 0;
}
this.play();
}
Instance of Symbol 111 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.health == 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.health < 2) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.health < 3) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 109 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.health < 4) {
_alpha = 0;
} else {
_alpha = 100;
}
}
Instance of Symbol 203 MovieClip in Frame 15
onClipEvent (enterFrame) {
_width = (_root.bosshealth * 400);
}
Frame 16
stop();
Frame 17
stop();
stopAllSounds();
Symbol 21 MovieClip Frame 1
mydate = new Date();
setProperty(secHand, _rotation , mydate.getSeconds() * 6);
setProperty(minHand, _rotation , (mydate.getMinutes() + (mydate.getSeconds() / 60)) * 6);
setProperty(hourHand, _rotation , (mydate.getHours() * 30) + (mydate.getMinutes() / 2));
Symbol 21 MovieClip Frame 2
mydate = new Date();
setProperty(secHand, _rotation , mydate.getSeconds() * 6);
setProperty(minHand, _rotation , (mydate.getMinutes() + (mydate.getSeconds() / 60)) * 6);
setProperty(hourHand, _rotation , (mydate.getHours() * 30) + (mydate.getMinutes() / 2));
Symbol 31 Button
on (release) {
_root.play();
}
Symbol 32 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 32 MovieClip Frame 2
gotoAndPlay (1);
Symbol 50 MovieClip Frame 1
if (Key.isDown(90)) {
gotoAndPlay (3);
}
Symbol 50 MovieClip Frame 2
if (Key.isDown(90)) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 59 MovieClip Frame 1
if (Key.isDown(90)) {
gotoAndPlay (3);
}
Symbol 59 MovieClip Frame 2
if (Key.isDown(90)) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 59 MovieClip Frame 14
gotoAndPlay (1);
Symbol 59 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 65 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(2) == 1) {
this._alpha = 0;
} else {
this._alpha = 100;
}
this._width = random(67);
}
Instance of Symbol 65 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = random(67);
}
Symbol 73 MovieClip Frame 1
if (Key.isDown(90)) {
gotoAndPlay (3);
}
Symbol 73 MovieClip Frame 2
if (Key.isDown(90)) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 73 MovieClip Frame 8
if (Key.isDown(90)) {
gotoAndPlay (7);
}
Symbol 80 MovieClip Frame 1
if (Key.isDown(90)) {
gotoAndPlay (3);
}
Symbol 80 MovieClip Frame 2
if (Key.isDown(90)) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 80 MovieClip Frame 3
_root.power = 0;
Symbol 80 MovieClip Frame 6
if (Key.isDown(90)) {
gotoAndPlay (5);
if (_root.power < 200) {
_root.power++;
}
}
Instance of Symbol 79 MovieClip "hitbox" in Symbol 80 MovieClip Frame 7
onClipEvent (load) {
this._width = 140 + _root.power;
}
Symbol 84 Button
on (release) {
play();
_root.pick = 1;
}
Symbol 85 Button
on (release) {
play();
_root.pick = 2;
}
Symbol 86 Button
on (release) {
play();
_root.pick = 3;
}
Symbol 87 Button
on (release) {
play();
_root.pick = 4;
}
Symbol 91 MovieClip Frame 1
gotoAndStop(_root.pick + 1);
Symbol 106 MovieClip Frame 1
gotoAndStop(random(8) + 2);
Symbol 106 MovieClip Frame 2
stop();
badhp = 3;
badspeed = 1;
badpower = 2;
Symbol 106 MovieClip Frame 3
stop();
badhp = 1;
badspeed = 3;
badpower = 1;
Symbol 106 MovieClip Frame 4
stop();
badhp = 2;
badspeed = 1;
badpower = 2;
Symbol 106 MovieClip Frame 5
stop();
badhp = 2;
badspeed = 2;
badpower = 2;
Symbol 106 MovieClip Frame 6
stop();
badhp = 2;
badspeed = 2;
badpower = 1;
Symbol 106 MovieClip Frame 7
stop();
badhp = 2;
badspeed = 1;
badpower = 2;
Symbol 106 MovieClip Frame 8
stop();
badhp = 3;
badspeed = 1;
badpower = 1;
Symbol 106 MovieClip Frame 9
stop();
badhp = 3;
badspeed = 0.5;
badpower = 4;
Symbol 126 MovieClip Frame 1
gotoAndStop(_root.pick + 1);
Symbol 132 MovieClip Frame 1
this.scoretext.text = _root.score;
Symbol 132 MovieClip Frame 2
this.scoretext.text = _root.score;
Symbol 135 Button
on (release) {
if (_root.pausegame == false) {
_root.pausegame = true;
} else if (_root.pausegame == true) {
_root.pausegame = false;
}
}
Symbol 172 MovieClip Frame 1
stopAllSounds();
Symbol 172 MovieClip Frame 272
stopAllSounds();
Symbol 172 MovieClip Frame 352
_root.play();
Symbol 179 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 210 Button
on (release) {
stopAllSounds();
_root.play();
}
Symbol 218 Button
on (release) {
_root.play();
}
Symbol 219 MovieClip Frame 1
stopAllSounds();
Instance of Symbol 89 MovieClip in Symbol 219 MovieClip Frame 56
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_root.bgpos < 6) {
_root.bgpos++;
_x = (_x + 10);
} else {
_x = (_x - 60);
_root.bgpos = 0;
}
}
if (Key.isDown(39)) {
if (_root.bgpos > -6) {
_root.bgpos--;
_x = (_x - 10);
} else {
_x = (_x + 60);
_root.bgpos = 0;
}
}
}
Symbol 219 MovieClip Frame 1498
_root.play();
Symbol 252 MovieClip Frame 1
gotoAndStop(random(8) + 2);
Symbol 252 MovieClip Frame 2
stop();
badhp = 2;
badspeed = 3;
badpower = 1;
Symbol 252 MovieClip Frame 3
stop();
badhp = 3;
badspeed = 1;
badpower = 2;
Symbol 252 MovieClip Frame 4
stop();
badhp = 1;
badspeed = 2;
badpower = 3;
Symbol 252 MovieClip Frame 5
stop();
badhp = 3;
badspeed = 1;
badpower = 2;
Symbol 252 MovieClip Frame 6
stop();
badhp = 2;
badspeed = 2;
badpower = 1;
Symbol 252 MovieClip Frame 7
stop();
badhp = 1;
badspeed = 3;
badpower = 1;
Symbol 252 MovieClip Frame 8
stop();
badhp = 2;
badspeed = 2;
badpower = 2;
Symbol 252 MovieClip Frame 9
stop();
badhp = 2;
badspeed = 2;
badpower = 1;
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (100 - random(200));
_y = (25 - random(50));
this.gotoAndPlay(random(10));
}
}
Symbol 269 MovieClip Frame 1
stopAllSounds();
Symbol 269 MovieClip Frame 434
_root.play();
Symbol 303 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
stopAllSounds();
Symbol 318 MovieClip Frame 693
_root.play();
stopAllSounds();
Symbol 339 MovieClip Frame 1
gotoAndStop(random(8) + 2);
Symbol 339 MovieClip Frame 2
stop();
badhp = 3;
badspeed = 3;
badpower = 1;
Symbol 339 MovieClip Frame 3
stop();
badhp = 3;
badspeed = 2;
badpower = 3;
Symbol 339 MovieClip Frame 4
stop();
badhp = 5;
badspeed = 1;
badpower = 2;
Symbol 339 MovieClip Frame 5
stop();
badhp = 2;
badspeed = 3;
badpower = 3;
Symbol 339 MovieClip Frame 6
stop();
badhp = 1;
badspeed = 2;
badpower = 1;
Symbol 339 MovieClip Frame 7
stop();
badhp = 3;
badspeed = 2;
badpower = 2;
Symbol 339 MovieClip Frame 8
stop();
badhp = 1;
badspeed = 3;
badpower = 2;
Symbol 339 MovieClip Frame 9
stop();
badhp = 1;
badspeed = 4;
badpower = 1;
Symbol 346 MovieClip Frame 1
stopAllSounds();
Symbol 346 MovieClip Frame 303
_root.play();
Symbol 357 MovieClip Frame 1
stopAllSounds();
Symbol 357 MovieClip Frame 271
_root.play();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 95
_root.play();
Symbol 394 Button
on (release) {
gotoAndStop (1);
}
Symbol 398 Button
on (release) {
if (_root.score > 1000) {
gotoAndStop(_root.level);
_root.health = 4;
_root.score = _root.score - 1000;
}
}
Symbol 400 Button
on (release) {
gotoAndStop (1);
}