Frame 1
stop();
this.onEnterFrame = function () {
var _local2 = (this.getBytesLoaded() / this.getBytesTotal()) * 100;
loader._xscale = _local2;
if (_local2 == 100) {
play();
delete this.onEnterFrame;
}
};
Frame 2
stop();
lives.text = 3;
Instance of Symbol 56 MovieClip in Frame 2
onClipEvent (mouseDown) {
_root.gotoAndPlay(3);
}
Frame 3
gravity = 10;
speed = 15;
score.text = 0;
lives.text = 1;
stop();
Instance of Symbol 68 MovieClip "health" in Frame 3
onClipEvent (enterFrame) {
if (_root.bg.bad.hitTest(_root.char)) {
nextFrame();
}
if (_root.score.text == 8) {
_root.gotoAndStop(4);
}
}
Instance of Symbol 73 MovieClip in Frame 3
on (press) {
_root.gotoAndStop(2);
}
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
unloadMovie (_root.bullet);
}
}
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
unloadMovie (_root.bullet);
}
}
Instance of Symbol 103 MovieClip "char" in Frame 3
onClipEvent (load) {
healthX = _root.health._x;
scoreX = _root.score._x;
gravity = 10;
scale = _xscale;
walkSpeed = 15;
maxjump = 6;
_root.mvsp = 4;
_root.maxshoottime = 100;
_x = (_x + 40);
_root.rawr._x = _x + 40;
rawr2._x = _x - 40;
with (_root.bullet) {
onLoad = function () {
_x = _root.char._x;
_y = _root.char._y;
};
}
onUnload = function () {
};
}
on (keyPress "<Space>") {
_root.bullet._x = _x;
_root.bullet._y = _y;
_root.bullet.attachMovie("bullet", "bullet", 4);
}
onClipEvent (enterFrame) {
_root.bullet._x = _root.bullet._x + _xscale;
if (_root.char._y > 500) {
_root.gotoAndStop(10);
}
if (this.hitTest(_root.bg.wall)) {
_root.bg._x = _root.bg._x - _root.speed;
_root.back._x = _root.back._x - 4;
}
if (this.hitTest(_root.bg.wall2)) {
_root.bg._x = _root.bg._x + _root.speed;
_root.back._x = _root.back._x + 4;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && ((_x - walkSpeed) > 0)) {
_root.bg._x = _root.bg._x + walkSpeed;
_root.back._x = _root.back._x + 4;
_xscale = (-scale);
} else if (Key.isDown(39) && ((_x + walkSpeed) < 550)) {
_root.bg._x = _root.bg._x - walkSpeed;
_root.back._x = _root.back._x - 4;
_xscale = scale;
}
if (((((Key.isDown(37) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) or ((((Key.isDown(39) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100))) {
state = 4;
}
if (_root.bg.hitTest(_x, _y + (this._height / 2), true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or (((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 1;
}
if (((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or ((((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
if (this.hitTest(_root.door)) {
}
}
Frame 4
lives.text = 3;
stop();
Instance of Symbol 74 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
unloadMovie (_root.bullet);
}
}
Instance of Symbol 74 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
unloadMovie (_root.bullet);
}
}
Instance of Symbol 103 MovieClip "char" in Frame 4
onClipEvent (load) {
healthX = _root.health._x;
scoreX = _root.score._x;
gravity = 10;
scale = _xscale;
walkSpeed = 15;
maxjump = 6;
_root.mvsp = 4;
_root.maxshoottime = 100;
_x = (_x + 40);
_root.rawr._x = _x + 40;
rawr2._x = _x - 40;
with (_root.bullet) {
onLoad = function () {
_x = _root.char._x;
_y = _root.char._y;
};
}
onUnload = function () {
};
}
on (keyPress "<Space>") {
_root.bullet._x = _x;
_root.bullet._y = _y;
_root.bullet.attachMovie("bullet", "bullet", 4);
}
onClipEvent (enterFrame) {
_root.bullet._x = _root.bullet._x + _xscale;
if (_root.char._y > 500) {
_root.gotoAndStop(10);
}
if (this.hitTest(_root.bg.wall)) {
_root.bg._x = _root.bg._x - _root.speed;
_root.back._x = _root.back._x - 4;
}
if (this.hitTest(_root.bg.wall2)) {
_root.bg._x = _root.bg._x + _root.speed;
_root.back._x = _root.back._x + 4;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && ((_x - walkSpeed) > 0)) {
_root.bg._x = _root.bg._x + walkSpeed;
_root.back._x = _root.back._x + 4;
_xscale = (-scale);
} else if (Key.isDown(39) && ((_x + walkSpeed) < 550)) {
_root.bg._x = _root.bg._x - walkSpeed;
_root.back._x = _root.back._x - 4;
_xscale = scale;
}
if (((((Key.isDown(37) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) or ((((Key.isDown(39) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100))) {
state = 4;
}
if (_root.bg.hitTest(_x, _y + (this._height / 2), true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or (((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 1;
}
if (((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or ((((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
if (this.hitTest(_root.door)) {
}
}
Instance of Symbol 68 MovieClip "health" in Frame 4
onClipEvent (enterFrame) {
if (_root.bg.bad.hitTest(_root.char)) {
nextFrame();
}
if (_root.score.text == 8) {
_root.gotoAndStop(4);
}
}
Frame 5
lives.text = 3;
stop();
Frame 6
lives.text = 0;
score.text = 0;
Frame 7
stop();
Instance of Symbol 44 MovieClip "back" in Frame 7
onClipEvent (enterFrame) {
_x = (_x + 2);
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Frame 8
stop();
lives.text = 3;
Instance of Symbol 44 MovieClip "back" in Frame 8
onClipEvent (enterFrame) {
_x = (_x + 2);
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 103 MovieClip "char" in Frame 8
onClipEvent (load) {
healthX = _root.health._x;
scoreX = _root.score._x;
gravity = 10;
scale = _xscale;
walkSpeed = 15;
maxjump = 6;
_root.mvsp = 4;
_root.maxshoottime = 100;
_x = (_x + 40);
_root.rawr._x = _x + 40;
rawr2._x = _x - 40;
with (_root.bullet) {
onLoad = function () {
_x = _root.char._x;
_y = _root.char._y;
};
}
onUnload = function () {
};
}
on (keyPress "<Space>") {
_root.bullet._x = _x;
_root.bullet._y = _y;
_root.bullet.attachMovie("bullet", "bullet", 4);
}
onClipEvent (enterFrame) {
_root.bullet._x = _root.bullet._x + _xscale;
if (_root.char._y > 500) {
_root.gotoAndStop(10);
}
if (this.hitTest(_root.bg.wall)) {
_root.bg._x = _root.bg._x - _root.speed;
_root.back._x = _root.back._x - 4;
}
if (this.hitTest(_root.bg.wall2)) {
_root.bg._x = _root.bg._x + _root.speed;
_root.back._x = _root.back._x + 4;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && ((_x - walkSpeed) > 0)) {
_root.bg._x = _root.bg._x + walkSpeed;
_root.bg2._x = _root.bg2._x + walkSpeed;
_root.back._x = _root.back._x + 4;
_xscale = (-scale);
} else if (Key.isDown(39) && ((_x + walkSpeed) < 550)) {
_root.bg._x = _root.bg._x - walkSpeed;
_root.bg2._x = _root.bg2._x - walkSpeed;
_root.back._x = _root.back._x - 4;
_xscale = scale;
}
if (((((Key.isDown(37) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) or ((((Key.isDown(39) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100))) {
state = 4;
}
if (_root.bg.hitTest(_x, _y + (this._height / 2), true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or (((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 1;
}
if (((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or ((((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
if (this.hitTest(_root.door)) {
}
}
Frame 9
lives.text = 3;
shoot.text = true;
onEnterFrame = function () {
rawr.text = _root.char._x;
abc.text = _root.bullet._x;
y.text = _root.bullet._y;
shoot.text = true;
};
Instance of Symbol 8 MovieClip [up] "up" in Frame 9
onClipEvent (enterFrame) {
_x = _root.char._x;
_y = _root.char._y;
}
Instance of Symbol 14 MovieClip [bullet] "bullet" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad)) {
_root.health2.nextFrame;
}
}
Instance of Symbol 103 MovieClip "char" in Frame 9
onClipEvent (load) {
healthX = _root.health._x;
scoreX = _root.score._x;
gravity = 10;
scale = _xscale;
walkSpeed = 15;
maxjump = 6;
_root.mvsp = 4;
_root.maxshoottime = 100;
_x = (_x + 40);
_root.rawr._x = _x + 40;
rawr2._x = _x - 40;
with (_root.bullet) {
onLoad = function () {
_x = _root.char._x;
_y = _root.char._y;
};
}
onUnload = function () {
};
}
on (keyPress "<Space>") {
_root.bullet._x = _x;
_root.bullet._y = _y;
_root.bullet.attachMovie("bullet", "bullet", 4);
}
onClipEvent (enterFrame) {
_root.bullet._x = _root.bullet._x + _xscale;
if (_root.char._y > 500) {
_root.gotoAndStop(10);
}
if (this.hitTest(_root.bg.wall)) {
_root.bg._x = _root.bg._x - _root.speed;
_root.back._x = _root.back._x - 4;
}
if (this.hitTest(_root.bg.wall2)) {
_root.bg._x = _root.bg._x + _root.speed;
_root.back._x = _root.back._x + 4;
}
if (air == true) {
_y = (_y + gravity);
state = 3;
}
if (Key.isDown(37) && ((_x - walkSpeed) > 0)) {
_root.bg._x = _root.bg._x + walkSpeed;
_root.back._x = _root.back._x + 4;
_xscale = (-scale);
} else if (Key.isDown(39) && ((_x + walkSpeed) < 550)) {
_root.bg._x = _root.bg._x - walkSpeed;
_root.back._x = _root.back._x - 4;
_xscale = scale;
}
if (((((Key.isDown(37) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) or ((((Key.isDown(39) && (Key.isDown(40))) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100))) {
state = 4;
}
if (_root.bg.hitTest(_x, _y + (this._height / 2), true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(38) && (jump == true)) {
_y = (_y - jumpSpeed);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(38)) {
jumpcount = jumpcount + 1;
}
if ((jumpcount > maxjump) && (jumpSpeed > -2)) {
jumpSpeed = jumpSpeed - 2;
}
if ((((((air == false) && (!Key.isDown(37))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or (((((air == false) && (!Key.isDown(39))) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 1;
}
if (((((Key.isDown(37) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40))) or ((((Key.isDown(39) && (air == false)) && (!Key.isDown(65))) && (_currentframe < 100)) && (!Key.isDown(40)))) {
state = 2;
}
if (!Key.isDown(65)) {
gotoAndStop(state);
}
_root.statetxt = state;
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
jump = false;
}
if (this.hitTest(_root.door)) {
}
}
Instance of Symbol 68 MovieClip "health" in Frame 9
onClipEvent (enterFrame) {
if (_root.bg.boss.hitTest(_root.char)) {
nextFrame();
}
if (_root.score.text == 8) {
_root.gotoAndStop(4);
}
}
Instance of Symbol 149 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (key.isDown(32)) {
_root.gotoAndStop(3);
}
}
on (release) {
_root.gotoAndStop(3);
}
Instance of Symbol 174 MovieClip in Frame 11
onClipEvent (mouseDown) {
_root.gotoAndPlay(3);
}
Symbol 16 MovieClip [power] Frame 1
stop();
Symbol 16 MovieClip [power] Frame 2
stop();
Instance of Symbol 35 MovieClip in Symbol 56 MovieClip Frame 101
on (press) {
_root.welcome.nextFrame;
}
Symbol 56 MovieClip Frame 400
stop();
Instance of Symbol 35 MovieClip in Symbol 56 MovieClip Frame 400
onClipEvent (enterFrame) {
_root.gotoAndStop(3);
}
Instance of Symbol 28 MovieClip [bad] "bad" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.nextFrame();
}
if (this.hitTest(_root.bullet)) {
_x = 200;
this.unloadMovie(this);
this.unloadMovie(_root.bullet);
this.duplicateMovieClip(bad, bear, 1);
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 50) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 50) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Instance of Symbol 28 MovieClip [bad] "bad2" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
_x = (_root.char._x + 40);
this.unloadMovie(this);
this.unloadMovie(_root.bullet);
this.duplicateMovieClip(bad1, bad2, 1);
}
if (this.hitTest(_root.char)) {
_root.health.nextFrame();
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 30) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 30) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Instance of Symbol 51 MovieClip "star" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star7" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star4" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star5" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star3" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star8" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star6" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 51 MovieClip "star9" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 28 MovieClip [bad] "bear" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.nextFrame();
}
if (this.hitTest(_root.bullet)) {
_x = 200;
_y = _root.char._y;
this.unloadMovie(this);
this.unloadMovie(_root.bullet);
this.duplicateMovieClip(bear, bear2, 1);
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 50) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 50) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Instance of Symbol 28 MovieClip [bad] "bear4" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.nextFrame();
}
if (this.hitTest(_root.bullet)) {
_x = 150;
_y = _root.char._y;
this.unloadMovie(this);
this.unloadMovie(_root.bullet);
this.duplicateMovieClip(bear4, bear, 1);
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 50) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 50) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Instance of Symbol 28 MovieClip [bad] "bear2" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.nextFrame();
}
if (this.hitTest(_root.bullet)) {
_x = _root.char._x;
_y = _root.char._y;
this.unloadMovie(this);
this.unloadMovie(_root.bullet);
this.duplicateMovieClip(bear2, bear3, 1);
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 50) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 50) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Instance of Symbol 28 MovieClip [bad] "bear3" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.health.nextFrame();
}
if (this.hitTest(_root.bullet)) {
_x = 200;
_y = _root.char._y;
this.unloadMovie(this);
this.unloadMovie(_root.bullet);
this.duplicateMovieClip(bear3, bear4, 1);
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 50) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 50) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 21
stop();
Instance of Symbol 67 MovieClip "omg" in Symbol 68 MovieClip Frame 21
onClipEvent (load) {
if (_root.lives.text == 0) {
_root.gotoAndStop(10);
} else {
_root.lives.text = _root.lives.text - 1;
_root.health.gotoAndStop(1);
}
}
Symbol 94 MovieClip Frame 8
stop();
Instance of Symbol 108 MovieClip "door" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndPlay(5);
}
}
Instance of Symbol 41 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 54 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
Instance of Symbol 41 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 54 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && (_root.score.text == 1)) {
_root.gotoAndStop(7);
}
}
Instance of Symbol 28 MovieClip [bad] "bad" in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 10) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 10) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Instance of Symbol 41 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 51 MovieClip "star3" in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
onClipEvent (load) {
if (_root.char.hitTest(this)) {
_root.score.text++;
unloadMovie (this);
}
}
Instance of Symbol 54 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Instance of Symbol 41 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(10);
}
}
Symbol 130 MovieClip Frame 125
stop();
Instance of Symbol 54 MovieClip in Symbol 130 MovieClip Frame 125
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(9);
}
}
Instance of Symbol 135 MovieClip "boss" in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 15;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bullet)) {
_root.health2.nextFrame();
unloadMovie (_root.bullet);
_root.shoot.text = false;
_root.bullet._x = _root.char._x;
_root.bullet._y = _root.char._y;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 5;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 5;
enemydir = "right";
}
}
}
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 16
onClipEvent (enterFrame) {
_root.gotoAndStop(13);
}
Symbol 148 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 66
stop();
Instance of Symbol 148 MovieClip in Symbol 149 MovieClip Frame 66
onClipEvent (mouseDown) {
this.gotoAndStop(3);
}
Symbol 152 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 102
stop();