Frame 1
_root.stop();
this.onload();
timer = 0;
this.onEnterFrame = function () {
if (timer >= 350) {
_root.gotoAndStop(2);
}
timer++;
};
Frame 2
_root.stop();
bgsound = new Sound(this);
bgsound.stop();
bgsound.attachSound("bg_s");
bgsound.start(0, 100);
mute = false;
curlev = 1;
lives = 8;
diff = 2000;
score = 0;
_root.attachMovie("blank_mc", "blank_mc", 10000);
Frame 3
function movestuff() {
moving = false;
if ((Key.isDown(17) && (bulletcount < 2)) && (bslow == 1)) {
if (bup == 0) {
_root.attachMovie("bullet_mc", "bullet_mc" + bulletcount, bullets);
} else {
_root.attachMovie("bullet_mc2", "bullet_mc" + bulletcount, bullets);
}
if (bup == 1) {
if (bupcount > 20) {
bup = 0;
bupcount = 0;
}
bupcount++;
}
bullets++;
bulletcount++;
}
if (Key.isDown(38)) {
if (jump == 0) {
origy = man_mc._y - 100;
man_mc._y = man_mc._y - speed;
jump = 1;
} else if (jump == 1) {
man_mc._y = man_mc._y - (2 * speed);
if (man_mc._y <= origy) {
jump = 2;
}
}
} else {
jump = 2;
}
if (Key.isDown(37)) {
dir = "left";
moving = true;
}
if (Key.isDown(39)) {
dir = "right";
moving = true;
}
if (dead) {
moving = false;
}
}
function loadnewlev() {
display();
_root._x = 0;
bup = 0;
bupcount = 0;
bslow = 0;
bullets = 20000;
bulletcount = 0;
enum = 5000;
fireballs = 0;
fstart = 0;
i = savei;
dir = "right";
jump = 2;
origy = 0;
enemies = new Array(1000);
numenem = 0;
bi = i;
startbi = bi;
istart = i;
levdx = 176;
levdy = 11;
newlev = 0;
man_mc._x = 50;
man_mc._y = 100;
if (curlev == 1) {
_root.attachMovie("level1", "level1", 30000);
} else if (curlev == 2) {
_root.attachMovie("level2", "level2", 30000);
} else if (curlev == 3) {
_root.attachMovie("level3", "level3", 30000);
} else if (curlev == 4) {
_root.attachMovie("level4", "level4", 30000);
} else if (curlev == 5) {
_root.attachMovie("level5", "level5", 30000);
} else if (curlev == 6) {
_root.attachMovie("level6", "level6", 30000);
} else if (curlev == 7) {
_root.attachMovie("over_mc", "over_mc", 1);
}
}
function drawman() {
if ((dir == "right") && (jump == 0)) {
man_mc._xscale = 100;
man_mc.gotoAndStop(1);
} else if (dir == "right") {
man_mc._xscale = 100;
man_mc.gotoAndStop(4);
} else if ((dir == "left") && (jump == 0)) {
man_mc._xscale = -100;
man_mc.gotoAndStop(1);
} else if (dir == "left") {
man_mc._xscale = -100;
man_mc.gotoAndStop(4);
}
}
function testdie() {
if ((_root._currentframe == 4) || (_root._currentframe == 5)) {
if (_root._x < 0) {
_root._x = _root._x + (8 * speed);
}
man_mc._y = man_mc._y - speed;
if (man_mc._x > 50) {
man_mc._x = man_mc._x - (8 * speed);
} else {
man_mc._width = man_mc._width - 0.1;
man_mc._height = man_mc._height - 0.1;
}
man_mc._rotation = man_mc._rotation + 5;
}
if (((man_mc._y > 400) || (ehit == true)) && (!dead)) {
died();
}
}
function rand(min, max) {
return(min + random(max - min));
}
function display() {
display_mc.lives.text = (("level: " + curlev) + "\nlives: ") + lives;
}
function died() {
if (!dead) {
if (!_root.mute) {
esound = new Sound();
esound.attachSound("mandie_s");
esound.start(0, 0);
}
dead = true;
lives--;
display();
fstart = 0;
fireballs = 0;
if (lives > 0) {
_root.gotoAndStop(4);
} else {
_root.gotoAndStop(5);
}
}
}
this.onload();
bup = 0;
bupcount = 0;
bslow = 0;
bullets = 20000;
bulletcount = 0;
fireballs = 0;
fstart = 0;
dead = false;
speed = 5;
i = 0;
dir = "right";
moving = false;
jump = 2;
origy = 0;
enemies = new Array(1000);
numenem = 0;
bi = i;
startbi = bi;
istart = i;
levdx = 56;
levdy = 11;
newlev = 0;
_root.attachMovie("bg_mc", "bg_mc", i++);
_root.attachMovie("man_mc", "man_mc", i++);
_root.attachMovie("man_mc", "manh_mc", i++);
_root.attachMovie("mancol_mc", "manj_mc", i++);
_root.attachMovie("display_mc", "display_mc", i++);
_root.stop();
savei = i;
man_mc.stop();
manh_mc._visible = false;
manj_mc._visible = false;
man_mc._x = 50;
man_mc._y = 100;
loadnewlev();
this.onEnterFrame = function () {
if (dir == "left") {
manh_mc._x = man_mc._x - 8;
}
if (dir == "right") {
manh_mc._x = man_mc._x + 8;
}
hit = false;
hit2 = false;
a = istart;
while (a < i) {
n = getProperty("brick_mc" + a, _target);
qx = getProperty("brick_mc" + a, _x);
if ((qx < (400 - _root._x)) && (qx > (-100 + _root._x))) {
if (man_mc.hitTest(n)) {
ty = getProperty("brick_mc" + a, _y);
hit = true;
}
if (manh_mc.hitTest(n)) {
hit2 = true;
}
if (manj_mc.hitTest(n)) {
jump = 2;
}
}
a++;
}
manh_mc._x = man_mc._x;
testdie();
if (hit2 == false) {
if (moving == true) {
if (dir == "left") {
if (man_mc._x >= (100 - _root._x)) {
man_mc._x = man_mc._x - speed;
} else {
_root._x = _root._x + speed;
bg_mc._x = -_root._x;
display_mc._x = -_root._x;
man_mc._x = man_mc._x - speed;
}
}
if (dir == "right") {
if (man_mc._x <= (270 - _root._x)) {
man_mc._x = man_mc._x + speed;
} else {
_root._x = _root._x - speed;
bg_mc._x = -_root._x;
display_mc._x = -_root._x;
man_mc._x = man_mc._x + speed;
}
}
}
}
if (hit == false) {
man_mc._y = man_mc._y + speed;
} else {
man_mc._y = ty - 16;
jump = 0;
}
manh_mc._x = man_mc._x;
manh_mc._y = man_mc._y - 2;
manj_mc._x = man_mc._x;
manj_mc._y = man_mc._y - 20;
drawman();
movestuff();
if (bslow > 3) {
bslow = 0;
}
bslow++;
};
StageWidth = 550;
StageHeight = 400;
Frame 4
_root.attachMovie("continue_mc", "continue_mc", 9000);
Frame 5
_root.attachMovie("gameover_mc", "gameover_mc", 9000);
Symbol 14 MovieClip [brick_mc] Frame 1
this.onload();
slev = _root.curlev;
this.onEnterFrame = function () {
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 22 MovieClip [manwalk_mc] Frame 1
this.onEnterFrame = function () {
if (_root.moving == false) {
this.gotoAndStop(1);
} else {
this.play();
}
if (this._currentframe == this._totalframes) {
this.gotoAndPlay(2);
}
};
Symbol 30 MovieClip [fireball_mc] Frame 1
this.onload();
tvx = 0;
if (this._x < _root.man_mc._x) {
tvx = tvx + (_root.speed / 2);
} else {
tvx = tvx - (_root.speed / 2);
}
tvy = 0;
if (this._y < _root.man_mc._y) {
tvy = tvy + (_root.speed / 2);
} else {
tvy = tvy - (_root.speed / 2);
}
if (Math.abs(this._y - _root.man_mc._y) <= 15) {
tvy = 0;
}
slev = _root.curlev;
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("fireball_s");
esound.start(0, 0);
}
this.onEnterFrame = function () {
if ((this._y > -10) && (this._y < 500)) {
this._x = this._x + tvx;
this._y = this._y + tvy;
this._rotation = this._rotation - 15;
} else {
this.removeMovieClip();
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (_root.dead) {
this.removeMovieClip();
}
};
Symbol 32 MovieClip [water_mc] Frame 1
this.onload();
slev = _root.curlev;
this.onEnterFrame = function () {
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff * 4);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("lava_mc", "lava_mc" + er, ei + er);
setProperty("_root.lava_mc" + er, _x , this._x);
setProperty("_root.lava_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 38 MovieClip [newlev_mc] Frame 1
this.onload();
slev = _root.curlev;
this.onEnterFrame = function () {
if (this.hitTest(_root.man_mc)) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("warp_s");
esound.start(0, 0);
}
_root.curlev++;
_root.loadnewlev();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 40 Button [newgame_b]
on (release) {
_root._x = 0;
_root.gotoAndStop(2);
_root.gameover_mc.removeMovieClip();
}
Symbol 57 MovieClip [enemy2_mc] Frame 1
this.onload();
ybound = this._y - 110;
eoy = this._y;
ev = -1;
slev = _root.curlev;
speed = 2;
this.onEnterFrame = function () {
if (Math.abs(this._x - _root.man_mc._x) < 150) {
if (this._x < _root.man_mc._x) {
this._x = this._x + speed;
} else {
this._x = this._x - speed;
}
if (this._y < (_root.man_mc._y - 10)) {
this._y = this._y + (speed * 1.5);
} else {
this._y = this._y - (speed * 1.5);
}
} else {
if (this._y <= ybound) {
ev = 1;
} else if (this._y > eoy) {
ev = -1;
}
this._y = this._y + ev;
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball_mc", "fireball_mc" + er, ei + er);
setProperty("_root.fireball_mc" + er, _x , this._x);
setProperty("_root.fireball_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (this.hitTest(_root.bullet_mc0) || (this.hitTest(_root.bullet_mc1))) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("enemydie_s");
esound.start(0, 0);
}
this.removeMovieClip();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (this._x < _root.man_mc._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
};
Symbol 59 MovieClip [enemy1_mc] Frame 1
this.onload();
xbound = this._x - 150;
eox = this._x;
ev = -1;
slev = _root.curlev;
speed = 2;
this.onEnterFrame = function () {
if (Math.abs(this._x - _root.man_mc._x) < 150) {
if (this._x < _root.man_mc._x) {
this._x = this._x + speed;
} else {
this._x = this._x - speed;
}
if (this._y < (_root.man_mc._y - 10)) {
this._y = this._y + (speed * 1.5);
} else {
this._y = this._y - (speed * 1.5);
}
} else {
if (this._x <= xbound) {
ev = 1;
} else if (this._x > eox) {
ev = -1;
}
this._x = this._x + ev;
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball_mc", "fireball_mc" + er, ei + er);
setProperty("_root.fireball_mc" + er, _x , this._x);
setProperty("_root.fireball_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (this.hitTest(_root.bullet_mc0) || (this.hitTest(_root.bullet_mc1))) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("enemydie_s");
esound.start(0, 0);
}
this.removeMovieClip();
}
if (this._x < _root.man_mc._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
};
Symbol 61 MovieClip [enemy3_mc] Frame 1
this.onload();
xbound = this._x - 50;
eox = this._x;
ev = -1;
ybound = this._y - 80;
eoy = this._y;
ev2 = -1;
slev = _root.curlev;
speed = 2;
this.onEnterFrame = function () {
if (Math.abs(this._x - _root.man_mc._x) < 150) {
if (this._x < _root.man_mc._x) {
this._x = this._x + speed;
} else {
this._x = this._x - speed;
}
if (this._y < (_root.man_mc._y - 10)) {
this._y = this._y + (speed * 1.5);
} else {
this._y = this._y - (speed * 1.5);
}
} else {
if (this._x <= xbound) {
ev = 1;
} else if (this._x > eox) {
ev = -1;
}
this._x = this._x + ev;
if (this._y <= ybound) {
ev2 = 1;
} else if (this._y > eoy) {
ev2 = -1;
}
this._y = this._y + ev2;
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball_mc", "fireball_mc" + er, ei + er);
setProperty("_root.fireball_mc" + er, _x , this._x);
setProperty("_root.fireball_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (this.hitTest(_root.bullet_mc0) || (this.hitTest(_root.bullet_mc1))) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("enemydie_s");
esound.start(0, 0);
}
this.removeMovieClip();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (this._x < _root.man_mc._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
};
Symbol 63 MovieClip [ferry_mc] Frame 1
this.onload();
xbound = this._x - 550;
eox = this._x;
ev = -3;
slev = _root.curlev;
this.onEnterFrame = function () {
if (this.hitTest(_root.man_mc)) {
_root.man_mc._x = _root.man_mc._x + ev;
_root._x = _root._x - ev;
}
if (this._x <= xbound) {
ev = 3;
} else if (this._x > eox) {
ev = -3;
}
this._x = this._x + ev;
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 65 Button [mute_b]
on (release) {
if (_root.mute) {
_root.mute = false;
this._alpha = 100;
_root.bgsound.start(0, 100);
} else {
_root.mute = true;
this._alpha = 50;
_root.bgsound.stop();
}
}
Symbol 67 MovieClip [display_mc] Frame 1
this.onEnterFrame = function () {
this._x = -_root._x;
};
Symbol 71 Button [hard_b]
on (release) {
_root.diff = 320;
_root.curlev = 1;
_root.gotoAndStop(3);
this.removeMovieClip();
}
Symbol 73 Button [medium_b]
on (release) {
_root.diff = 1000;
_root.curlev = 1;
_root.gotoAndStop(3);
this.removeMovieClip();
}
Symbol 75 Button [easy_b]
on (release) {
_root.diff = 1900;
_root.curlev = 1;
_root.gotoAndStop(3);
this.removeMovieClip();
}
Symbol 76 Button [play_b]
on (release) {
_root.curlev = 1;
_root.gotoAndStop(3);
this.removeMovieClip();
}
Symbol 79 Button [gamesloth_b]
on (release) {
getURL ("http://www.gamesloth.com", self, "POST");
}
Symbol 85 MovieClip [blank_mc] Frame 1
function brand(min, max) {
return(min + random(max - min));
}
this.onload();
_root.curlev = -1;
this.onEnterFrame();
c = 0;
while (c < 50) {
sx = brand(10, 540);
sy = brand(10, 300);
this.attachMovie("star_mc", "star_mc" + c, c);
setProperty("star_mc" + c, _x , sx);
setProperty("star_mc" + c, _y , sy);
c++;
}
Symbol 87 MovieClip [coin_mc] Frame 1
this.onload();
t = 1;
this.onEnterFrame = function () {
if (this._xscale > 100) {
t = 1;
}
this._xscale = this._xscale - t;
if (this._xscale < -99) {
t = -1;
}
if (this.hitTest(_root.man_mc)) {
_root.score++;
_root.display();
this.removeMovieClip();
}
};
Symbol 89 MovieClip [bullet_mc] Frame 1
this.onload();
this._x = _root.man_mc._x + 10;
this._y = _root.man_mc._y - 5;
speed = 10;
slev = _root.curlev;
if (_root.dir == "left") {
speed = speed * -1;
this._x = this._x - 20;
this._xscale = -100;
}
lasersound = new Sound(this);
if (!_root.mute) {
lasersound.attachSound("lasersound");
lasersound.start(0, 0);
}
this.onEnterFrame = function () {
if ((this._x < (600 - _root._x)) && (this._x > (-100 - _root._x))) {
this._x = this._x + speed;
} else {
if (_root.bulletcount > 0) {
_root.bulletcount--;
}
this.removeMovieClip();
}
if (slev != _root.curlev) {
if (_root.bulletcount > 0) {
_root.bulletcount--;
}
this.removeMovieClip();
}
};
Symbol 95 MovieClip [enemy4_mc] Frame 1
this.onload();
speed = 2;
slev = _root.curlev;
this.onEnterFrame = function () {
if (((this._x + _root._x) < 450) && ((this._x + _root._x) > 0)) {
if (this._x < _root.man_mc._x) {
this._x = this._x + speed;
} else {
this._x = this._x - speed;
}
if (this._y < (_root.man_mc._y - 10)) {
this._y = this._y + speed;
} else {
this._y = this._y - speed;
}
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff / 2);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball_mc", "fireball_mc" + er, ei + er);
setProperty("_root.fireball_mc" + er, _x , this._x);
setProperty("_root.fireball_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (this.hitTest(_root.bullet_mc0) || (this.hitTest(_root.bullet_mc1))) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("enemydie_s");
esound.start(0, 0);
}
this.removeMovieClip();
}
if (this._x < _root.man_mc._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
};
Symbol 97 MovieClip [lava_mc] Frame 1
this.onload();
tvx = 0;
if (this._x < _root.man_mc._x) {
tvx = tvx + (_root.speed / 2);
} else {
tvx = tvx - (_root.speed / 2);
}
tvy = 0;
if (this._y < _root.man_mc._y) {
tvy = tvy - (_root.speed / 2);
} else {
tvy = tvy - (_root.speed / 2);
}
tvyo = tvy;
th = this._y - _root.rand(50, 250);
oy = this._y;
go = false;
s = _root.rand(2, 15);
slev = _root.curlev;
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("lava_s");
esound.start(0, 0);
}
this.onEnterFrame = function () {
if ((this._y > -10) && (this._y < 500)) {
this._x = this._x + tvx;
this._y = this._y + tvy;
this._rotation = this._rotation - 15;
} else {
this.removeMovieClip();
}
if (go) {
th = th + (s / 4);
}
tvy = tvyo * (s * ((this._y - th) / th));
if (tvy == 0) {
go = true;
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (_root.dead) {
this.removeMovieClip();
}
};
Symbol 98 MovieClip [elevator_mc] Frame 1
this.onload();
speed = 1;
ybound = this._y - 180;
eoy = this._y;
ev = -speed;
slev = _root.curlev;
this.onEnterFrame = function () {
if (this._y <= ybound) {
ev = speed;
} else if (this._y > eoy) {
ev = -speed;
}
this._y = this._y + ev;
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 100 MovieClip [ship_mc] Frame 1
this.onload();
speed = _root.speed;
counter = 0;
cmax = 800;
ox = this._x;
oy = this._y;
goback = false;
slev = _root.curlev;
this.onEnterFrame = function () {
if (this.hitTest(_root.man_mc) && (!_root.dead)) {
goback = false;
if (Key.isDown(38) && (this._y >= 50)) {
this._y = this._y - speed;
counter++;
}
if (Key.isDown(40)) {
this._y = this._y + speed;
counter++;
}
if (Key.isDown(37)) {
this._x = this._x - speed;
counter++;
this._xscale = -100;
}
if (Key.isDown(39)) {
this._x = this._x + speed;
counter++;
this._xscale = 100;
}
this._alpha = (1 - (counter / cmax)) * 100;
if (counter > cmax) {
this.removeMovieClip();
}
_root.man_mc._x = this._x;
_root.man_mc._y = this._y;
if (Key.isDown(32)) {
_root.man_mc._x = _root.man_mc._x + (this._width * (this._xscale / 100));
_root.man_mc._y = _root.man_mc._y - 40;
goback = true;
}
} else {
if (this._x < ox) {
this._x++;
} else if (this._x > ox) {
this._x--;
}
if (this._y < oy) {
this._y++;
} else if (this._y > oy) {
this._y--;
}
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 102 MovieClip [enemyship_mc] Frame 1
this.onload();
xbound = this._x - 250;
eox = this._x;
ev = -1;
slev = _root.curlev;
this.onEnterFrame = function () {
if (this._x <= xbound) {
ev = 1;
} else if (this._x > eox) {
ev = -1;
}
this._x = this._x + ev;
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball2_mc", "fireball2_mc" + er, ei + er);
setProperty("_root.fireball2_mc" + er, _x , this._x);
setProperty("_root.fireball2_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (this.hitTest(_root.bullet_mc0) || (this.hitTest(_root.bullet_mc1))) {
this.removeMovieClip();
}
if (this._x < _root.man_mc._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
};
Symbol 105 MovieClip [bg_mc] Frame 1
this.onload();
c = 0;
while (c < 50) {
sx = _root.rand(10, 540);
sy = _root.rand(10, 300);
this.attachMovie("star_mc", "star_mc" + c, c);
setProperty("star_mc" + c, _x , sx);
setProperty("star_mc" + c, _y , sy);
c++;
}
this.onEnterFrame = function () {
this._x = -_root._x;
};
Symbol 106 Button [continue_b]
on (release) {
_root.gotoAndStop(3);
_root.continue_mc.removeMovieClip();
}
Symbol 113 MovieClip [ground_mc] Frame 1
this.onload();
slev = _root.curlev;
this.onEnterFrame = function () {
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 116 MovieClip [newlife_mc] Frame 1
this.onload();
t = 1;
slev = _root.curlev;
this.onEnterFrame = function () {
if (this._xscale > 100) {
t = 1;
}
this._xscale = this._xscale - t;
if (this._xscale < -99) {
t = -1;
}
if (this.hitTest(_root.man_mc) && (!_root.dead)) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("newlife_s");
esound.start(0, 0);
}
_root.lives++;
_root.display();
this.removeMovieClip();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 117 MovieClip [fireball2_mc] Frame 1
this.onload();
tvx = 0;
if (this._x < _root.man_mc._x) {
tvx = tvx + (_root.speed / 5);
} else {
tvx = tvx - (_root.speed / 5);
}
tvy = 0;
tvy = tvy + (_root.speed / 3);
slev = _root.curlev;
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("fireball_s");
esound.start(0, 0);
}
this.onEnterFrame = function () {
if (((this._y > -10) && (this._y < 370)) && (this._y < (_root.man_mc._y + 20))) {
this._x = this._x + tvx;
this._y = this._y + tvy;
this._rotation = this._rotation - 35;
} else {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("lavaexplosion_mc", "lavaexplosion_mc" + er, ei + er);
setProperty("_root.lavaexplosion_mc" + er, _x , this._x);
setProperty("_root.lavaexplosion_mc" + er, _y , this._y);
_root.fireballs++;
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("lavaexplosion_mc", "lavaexplosion_mc" + er, ei + er);
setProperty("_root.lavaexplosion_mc" + er, _x , this._x);
setProperty("_root.lavaexplosion_mc" + er, _y , this._y);
_root.fireballs++;
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("lavaexplosion_mc", "lavaexplosion_mc" + er, ei + er);
setProperty("_root.lavaexplosion_mc" + er, _x , this._x);
setProperty("_root.lavaexplosion_mc" + er, _y , this._y);
_root.fireballs++;
this.removeMovieClip();
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (_root.dead) {
this.removeMovieClip();
}
};
Symbol 119 MovieClip [lavaexplosion_mc] Frame 1
this.onload();
tvx = 0;
if (this._x < _root.man_mc._x) {
tvx = tvx + (_root.speed / 2);
} else {
tvx = tvx - (_root.speed / 2);
}
tvy = 0;
tvy = tvy - (_root.speed / 2);
tvyo = tvy;
th = this._y - _root.rand(10, 80);
oy = this._y;
go = false;
s = _root.rand(4, 15);
slev = _root.curlev;
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("lava_s");
esound.start(0, 0);
}
this.onEnterFrame = function () {
if ((this._y > -10) && (this._y < 500)) {
this._x = this._x + tvx;
this._y = this._y + tvy;
this._rotation = this._rotation - 15;
} else {
this.removeMovieClip();
}
if (go) {
th = th + (s / 4);
}
tvy = tvyo * (s * ((this._y - th) / th));
if (tvy == 0) {
go = true;
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if ((slev != _root.curlev) || (this._x > (550 - _root._x))) {
this.removeMovieClip();
}
if (_root.dead) {
this.removeMovieClip();
}
};
Symbol 121 MovieClip [bullet_mc2] Frame 1
this.onload();
this._x = _root.man_mc._x + 10;
this._y = _root.man_mc._y - 5;
speed = 10;
slev = _root.curlev;
if (_root.dir == "left") {
speed = speed * -1;
this._x = this._x - 20;
this._xscale = -100;
}
lasersound = new Sound(this);
if (!_root.mute) {
lasersound.attachSound("lasersound2");
lasersound.start(0, 0);
}
this.onEnterFrame = function () {
if ((this._x < (600 - _root._x)) && (this._x > (-100 - _root._x))) {
this._x = this._x + speed;
this._rotation = this._rotation + speed;
this._height = this._height + 3;
} else {
if (_root.bulletcount > 0) {
_root.bulletcount--;
}
this.removeMovieClip();
}
if (slev != _root.curlev) {
if (_root.bulletcount > 0) {
_root.bulletcount--;
}
this.removeMovieClip();
}
};
Symbol 123 MovieClip [bup_mc] Frame 1
this.onload();
t = 1;
this.onEnterFrame = function () {
if (this._xscale > 100) {
t = 1;
}
this._xscale = this._xscale - t;
if (this._xscale < -99) {
t = -1;
}
if (this.hitTest(_root.man_mc)) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("lasersound2");
esound.start(0, 0);
}
_root.bup = 1;
_root.bupcount = 0;
this.removeMovieClip();
}
};
Symbol 124 MovieClip [level3] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 15, 0, 0, 15, 0, 0, 15, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 15, 0, 0, 0, 0, 15, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 4, 0, 0, 0, 5, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
_root.istart = _root.i;
a = 0;
while (a < _root.levdy) {
b = 0;
while (b < _root.levdx) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 125 MovieClip [level1] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0,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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
_root.istart = _root.i;
a = 0;
while (a < _root.levdy) {
b = 0;
while (b < _root.levdx) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 126 MovieClip [level2] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0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0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
_root.istart = _root.i;
a = 0;
while (a < _root.levdy) {
b = 0;
while (b < _root.levdx) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 127 MovieClip [level4] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0], [9, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 9, 0, 0, 0, 0, 0]];
_root.istart = _root.i;
a = 0;
while (a < _root.levdy) {
b = 0;
while (b < (_root.levdx + 1)) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship2_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 128 MovieClip [level5] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 129 MovieClip [level6] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
_root.istart = _root.i;
a = 0;
while (a < _root.levdy) {
b = 0;
while (b < _root.levdx) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 18) {
_root.attachMovie("boss_mc", "boss_mc", _root.enum);
w = 35;
h = 35;
setProperty("_root.boss_mc", _x , b * w);
setProperty("_root.boss_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 19) {
_root.attachMovie("endwall_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 130 MovieClip [level7] Frame 1
this.onload();
level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1, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
_root.istart = _root.i;
a = 0;
while (a < _root.levdy) {
b = 0;
while (b < _root.levdx) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 131 MovieClip [level8] Frame 1
this.onload();
level_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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;
while (b < _root.levdx) {
if (level_array[a][b] == 1) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 2) {
_root.attachMovie("water_mc", "brick_mc" + _root.enum, _root.enum);
w = getProperty("_root.brick_mc" + _root.enum, _width);
h = getProperty("_root.brick_mc" + _root.enum, _height);
setProperty("_root.brick_mc" + _root.enum, _x , b * w);
setProperty("_root.brick_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 3) {
_root.attachMovie("newlev_mc", "newlev_mc", _root.enum);
_root.newlev = _root.i;
w = 35;
h = 35;
setProperty("_root.newlev_mc", _x , b * w);
setProperty("_root.newlev_mc", _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 4) {
_root.attachMovie("enemy1_mc", "enemy1_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy1_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy1_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 5) {
_root.attachMovie("enemy2_mc", "enemy2_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy2_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy2_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 6) {
_root.attachMovie("enemy3_mc", "enemy3_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy3_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy3_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 7) {
_root.attachMovie("ground_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 4760);
_root.i++;
} else if (level_array[a][b] == 8) {
_root.attachMovie("ferry_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 9) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _width , 5 * w);
_root.i++;
} else if (level_array[a][b] == 10) {
_root.attachMovie("brick_mc", "brick_mc" + _root.i, _root.i);
w = getProperty("_root.brick_mc" + _root.i, _width);
h = getProperty("_root.brick_mc" + _root.i, _height);
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
setProperty("_root.brick_mc" + _root.i, _height , 5 * h);
_root.i++;
} else if (level_array[a][b] == 11) {
_root.attachMovie("coin_mc", "coin_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.coin_mc" + _root.enum, _x , b * w);
setProperty("_root.coin_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 12) {
_root.attachMovie("enemy4_mc", "enemy4_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemy4_mc" + _root.enum, _x , b * w);
setProperty("_root.enemy4_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 13) {
_root.attachMovie("elevator_mc", "brick_mc" + _root.i, _root.i);
w = 35;
h = 35;
setProperty("_root.brick_mc" + _root.i, _x , b * w);
setProperty("_root.brick_mc" + _root.i, _y , a * h);
_root.i++;
} else if (level_array[a][b] == 14) {
_root.attachMovie("ship_mc", "ship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.ship_mc" + _root.enum, _x , b * w);
setProperty("_root.ship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 15) {
_root.attachMovie("enemyship_mc", "enemyship_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.enemyship_mc" + _root.enum, _x , b * w);
setProperty("_root.enemyship_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 16) {
_root.attachMovie("newlife_mc", "newlife_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.newlife_mc" + _root.enum, _x , b * w);
setProperty("_root.newlife_mc" + _root.enum, _y , a * h);
_root.enum++;
} else if (level_array[a][b] == 17) {
_root.attachMovie("bup_mc", "bup_mc" + _root.enum, _root.enum);
w = 35;
h = 35;
setProperty("_root.bup_mc" + _root.enum, _x , b * w);
setProperty("_root.bup_mc" + _root.enum, _y , a * h);
_root.enum++;
}
b++;
}
a++;
}
this.removeMovieClip();
Symbol 133 MovieClip [ship2_mc] Frame 1
this.onload();
speed = _root.speed;
counter = 0;
cmax = 800;
ox = this._x;
oy = this._y;
goback = false;
slev = _root.curlev;
this.onEnterFrame = function () {
if (this.hitTest(_root.man_mc) && (!_root.dead)) {
goback = false;
_root.man_mc._visible = false;
if (Key.isDown(38) && (this._y >= 50)) {
this._y = this._y - speed;
counter++;
}
if (Key.isDown(40)) {
this._y = this._y + speed;
counter++;
}
if (Key.isDown(37)) {
this._x = this._x - speed;
counter++;
this._xscale = -100;
}
if (Key.isDown(39)) {
this._x = this._x + speed;
counter++;
this._xscale = 100;
}
_root.man_mc._x = this._x;
_root.man_mc._y = this._y;
if (Key.isDown(32)) {
_root.man_mc._x = _root.man_mc._x + (this._width * (this._xscale / 100));
_root.man_mc._y = _root.man_mc._y - 40;
goback = true;
}
} else {
_root.man_mc._visible = true;
if (this._x < ox) {
this._x++;
} else if (this._x > ox) {
this._x--;
}
if (this._y < oy) {
this._y++;
} else if (this._y > oy) {
this._y--;
}
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 135 MovieClip [boss_mc] Frame 1
this.onload();
xbound = this._x - 250;
eox = this._x;
ev = -1;
speed = 2;
slev = _root.curlev;
health = 8;
this.onEnterFrame = function () {
if (this._x <= xbound) {
ev = 1;
} else if (this._x > eox) {
ev = -1;
}
this._x = this._x + ev;
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff / 5);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball2_mc", "fireball_mc" + er, ei + er);
setProperty("_root.fireball_mc" + er, _x , this._x);
setProperty("_root.fireball_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (health < 0) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("bossexplode_s");
esound.start(0, 0);
}
this.removeMovieClip();
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, 220);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("enemy5_mc", "enemy5_mc" + er, ei + er);
setProperty("_root.enemy5_mc" + er, _x , this._x);
setProperty("_root.enemy5_mc" + er, _y , this._y + 50);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
};
Symbol 137 MovieClip [enemy5_mc] Frame 1
this.onload();
speed = 2;
slev = _root.curlev;
this.onEnterFrame = function () {
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
if (this._x < _root.man_mc._x) {
this._x = this._x + speed;
} else {
this._x = this._x - speed;
}
if (this._y < (_root.man_mc._y - 10)) {
this._y = this._y + speed;
} else {
this._y = this._y - speed;
}
}
if (((this._x + _root._x) < 550) && ((this._x + _root._x) > 0)) {
tr = _root.rand(0, _root.diff / 2);
if (tr == 10) {
er = _root.fireballs;
ei = _root.i;
_root.attachMovie("fireball_mc", "fireball_mc" + er, ei + er);
setProperty("_root.fireball_mc" + er, _x , this._x);
setProperty("_root.fireball_mc" + er, _y , this._y);
_root.fireballs++;
}
}
if (this.hitTest(_root.man_mc)) {
_root.died();
}
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (this.hitTest(_root.bullet_mc0) || (this.hitTest(_root.bullet_mc1))) {
if (!_root.mute) {
esound = new Sound(this);
esound.attachSound("enemydie_s");
esound.start(0, 0);
}
_root.boss_mc.health--;
this.removeMovieClip();
}
if (this._x < _root.man_mc._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
};
Symbol 138 MovieClip [endwall_mc] Frame 1
this.onload();
slev = _root.curlev;
this.onEnterFrame = function () {
if (slev != _root.curlev) {
this.removeMovieClip();
}
if (_root.boss_mc.health < 0) {
this.removeMovieClip();
}
};
Symbol 141 Button [playagain_b]
on (release) {
_root._x = 0;
_root.gotoAndStop(2);
_root.over_mc.removeMovieClip();
}
Symbol 151 Button
on (release) {
getURL ("http://www.gamesloth.com", self, "POST");
}