Frame 1
function Restart() {
_root["level" + ln]._x = levpx;
_root["level" + ln]._y = levpy;
_root["bulls" + ln]._x = levpx;
_root["bulls" + ln]._y = levpy;
_root["decor" + ln]._x = levpx;
_root["decor" + ln]._y = levpy;
_root.decor7.boss._x = _root.decor7.boss.px;
_root.decor7.boss._y = _root.decor7.boss.py;
_root.decor7.boss._xscale = _root.decor7.boss.sc;
_root.decor7.boss.gotoAndStop(1);
_root.decor7.boss.active = false;
_root.decor7.boss.gotoAndStop(1);
_root.decor7.kh.gotoAndStop(1);
var _local2 = levels.length;
if (true) {
if (_local2--) {
var _local3 = levels[_local2];
if (_local3._currentframe == 2) {
_local3.gotoAndStop(1);
_local3._y = _local3.py;
}
// unexpected jump
}
}
player.hels = 2000;
player._x = plpx;
player._y = plpy - 10;
player.gotoAndStop(1);
_root.psd = true;
}
function Platformer2D(pl, hit, d1, ar) {
var _local5 = ar.length;
while (_local5--) {
var _local2 = ar[_local5];
n = {x:_local2._x, y:_local2._y};
_local2._parent.localToGlobal(n);
if (hit.hitTest(_local2) == false) {
pl.ypos = pl._y;
} else if (_local2.tip == "block") {
if ((pl._x <= n.x) and (pl._y <= n.y)) {
if (((((pl.ypos - Math.abs(pl.sy)) - Math.abs(_local2.speed)) + (hit._height / 2)) >= (n.y - (_local2._height / 2))) and (pl._x <= (n.x - (_local2._width / 2)))) {
pl._x = ((n.x - (_local2._width / 2)) - (hit._width / 2)) - 0.1;
} else {
pl._y = ((n.y - (_local2._height / 2)) - (hit._height / 2)) - 0.1;
}
}
if ((pl._x <= n.x) and (pl._y >= n.y)) {
if (((((pl.ypos + Math.abs(pl.sy)) + Math.abs(_local2.speed)) - (hit._height / 2)) <= (n.y + (_local2._height / 2))) and (pl._x <= (n.x - (_local2._width / 2)))) {
pl._x = ((n.x - (_local2._width / 2)) - (hit._width / 2)) - 0.1;
} else {
pl._y = ((n.y + (_local2._height / 2)) + (hit._height / 2)) + 0.1;
}
}
if ((pl._x >= n.x) and (pl._y <= n.y)) {
if (((((pl.ypos - Math.abs(pl.sy)) - Math.abs(_local2.speed)) + (hit._height / 2)) >= (n.y - (_local2._height / 2))) and (pl._x >= (n.x + (_local2._width / 2)))) {
pl._x = ((n.x + (_local2._width / 2)) + (hit._width / 2)) + 0.1;
} else {
pl._y = ((n.y - (_local2._height / 2)) - (hit._height / 2)) - 0.1;
}
}
if ((pl._x >= n.x) and (pl._y >= n.y)) {
if (((((pl.ypos + Math.abs(pl.sy)) + Math.abs(_local2.speed)) - (hit._height / 2)) <= (n.y + (_local2._height / 2))) and (pl._x >= (n.x + (_local2._width / 2)))) {
pl._x = ((n.x + (_local2._width / 2)) + (hit._width / 2)) + 0.1;
} else {
pl._y = ((n.y + (_local2._height / 2)) + (hit._height / 2)) + 0.1;
}
}
}
dotn = {x:d1._x, y:d1._y};
d1._parent.localToGlobal(dotn);
if (_local2.hitTest(dotn.x, dotn.y, true)) {
if (_local2.tip == "rock") {
if (_local2.hitTest(dotn.x, dotn.y, true)) {
i2 = dotn.y;
while (i2 >= (dotn.y - 100)) {
if (_local2.hitTest(dotn.x, i2, true)) {
pl._y = (i2 - (pl._height / 2)) + 1;
}
i2--;
}
}
}
}
}
}
function PlayerActions(pl, hit, d1, level, ar) {
if (pl.gol == undefinite) {
pl.gol = true;
pl.gor = true;
}
n2 = {x:hit._x, y:hit._y};
hit._parent.localToGlobal(n2);
if (dd == undefinite) {
dd = 0;
}
if (dd >= (hit._width / 2)) {
dd = 0;
}
if (ddl == undefinite) {
ddl = 0;
ddr = 0;
}
if (ddl >= (hit._height / 2)) {
ddl = 0;
}
if (ddr >= (hit._height / 2)) {
ddr = 0;
}
if (pl.jumpdown == true) {
pl.ximpuls = 0;
pl.yimpuls = 0;
pl.jump = false;
pl.sy = pl.sy + pl.sgravity;
}
if (pl.sy >= (pl.gravity + 1)) {
pl.sy = pl.gravity - 1;
}
if (Key.isDown(pl.leftkey) or Key.isDown(37)) {
if (pl.gol == true) {
pl._x = pl._x - pl.sx;
pl.gor = true;
}
}
if (Key.isDown(pl.rightkey) or Key.isDown(39)) {
if (pl.gor == true) {
pl._x = pl._x + pl.sx;
pl.gol = true;
}
}
if (Key.isDown(pl.upkey) or Key.isDown(38)) {
if (pl.jumpdown == false) {
pl.jump = true;
if (pl.sy == 0) {
pl._y = pl._y - (3 + pl.yimpuls);
}
if (Math.abs(pl.sy) >= pl.jumpmax) {
pl.jumpdown = true;
}
ls = 0;
pl.ximpuls = 0;
pl.yimpuls = 0;
pl.sy = pl.sy - pl.jumpspeed;
}
} else {
pl.jump = false;
}
if (pl.jumpdown == true) {
var _local5 = (n2.y - (hit._height / 2)) + 2;
while (_local5 <= ((n2.y + (hit._height / 2)) - 2)) {
if (level.hitTest((n2.x + (hit._width / 2)) + pl.sx, _local5, true)) {
pl.gor = false;
pl.gol = true;
} else {
ddl++;
if (ddl >= (hit._width / 2)) {
pl.gor = true;
}
}
_local5 = _local5 + 2;
}
var _local4 = (n2.y - (hit._height / 2)) + 2;
while (_local4 <= ((n2.y + (hit._height / 2)) - 2)) {
if (level.hitTest((n2.x - (hit._width / 2)) - pl.sx, _local4, true)) {
pl.gol = false;
pl.gor = true;
} else {
ddr++;
if (ddr >= (hit._width / 2)) {
pl.gol = true;
}
}
_local4 = _local4 + 2;
}
}
if (pl.jump == false) {
var _local7 = (n2.x - (hit._width / 2)) + 1;
while (_local7 <= ((n2.x + (hit._width / 2)) - 1)) {
if (level.hitTest(_local7, ((n2.y + (hit._height / 2)) + 1) + ls, true) == false) {
dd++;
if (dd >= (hit._width - 2)) {
pl.jumpdown = true;
}
} else {
pl.jump = true;
pl.sy = 0;
pl.jumpdown = false;
}
_local7 = _local7 + 1;
}
}
var _local6 = (n2.x - (hit._width / 2)) + 2;
while (_local6 <= ((n2.x + (hit._width / 2)) - 2)) {
if (level.hitTest(_local6, (n2.y - (hit._height / 2)) - 2, true)) {
if (pl.sy <= 0) {
pl.sy = pl.sy * -1;
}
pl.jump = false;
pl.jumpdown = true;
}
_local6++;
}
var _local10 = ar.length;
while (_local10--) {
var _local3 = ar[_local10];
n = {x:_local3._x, y:_local3._y};
_local3._parent.localToGlobal(n);
dotn = {x:d1._x, y:d1._y};
d1._parent.localToGlobal(dotn);
if (_local3.hitTest(dotn.x, dotn.y, true)) {
if (_local3.tip == "rock") {
if (_local3.hitTest(dotn.x, dotn.y, true)) {
i2 = dotn.y;
while (i2 >= (dotn.y - 100)) {
if (_local3.hitTest(dotn.x, i2, true)) {
pl.jump = true;
pl.sy2 = pl.sy;
pl.sy = 0;
pl.jumpdown = false;
}
i2--;
}
}
}
}
}
pl._y = pl._y + pl.sy;
}
function MovieMap(pl, level, levelx, levely) {
if (pl._x >= 350) {
pl._x = pl._x - levelx;
_root["bulls" + ln]._x = _root["bulls" + ln]._x - (levelx + pl.ximpuls);
_root["decor" + ln]._x = _root["decor" + ln]._x - (levelx + pl.ximpuls);
level._x = level._x - levelx;
}
if (pl._x <= 200) {
pl._x = pl._x + levelx;
_root["bulls" + ln]._x = _root["bulls" + ln]._x + (levelx + pl.ximpuls);
_root["decor" + ln]._x = _root["decor" + ln]._x + (levelx + pl.ximpuls);
level._x = level._x + levelx;
}
if (pl._y >= 250) {
pl._y = pl._y - Math.abs(levely + pl.yimpuls);
_root["bulls" + ln]._y = _root["bulls" + ln]._y - Math.abs(levely + pl.yimpuls);
_root["decor" + ln]._y = _root["decor" + ln]._y - Math.abs(levely + pl.yimpuls);
level._y = level._y - Math.abs(levely + pl.yimpuls);
}
if (pl._y <= 150) {
pl._y = pl._y + Math.abs(levely + pl.yimpuls);
_root["bulls" + ln]._y = _root["bulls" + ln]._y + Math.abs(levely + pl.yimpuls);
_root["decor" + ln]._y = _root["decor" + ln]._y + Math.abs(levely + pl.yimpuls);
level._y = level._y + Math.abs(levely + pl.yimpuls);
}
}
function LiftX(lift, d1, d2, speed, pl) {
if (lift.onleft == undefinite) {
lift.onleft = true;
lift.onright = false;
lift.speed = speed;
}
if (lift.onleft == true) {
if (lift._x >= d1._x) {
lift._x = lift._x - lift.speed;
} else {
lift.onright = true;
lift.onleft = false;
}
}
if (lift.onright == true) {
if (lift._x <= d2._x) {
lift._x = lift._x + lift.speed;
} else {
lift.onright = false;
lift.onleft = true;
}
}
if (lift.hitTest(pl._x + (pl.hit._width / 2), (pl._y + (pl.hit._height / 2)) + lift.speed, true) or lift.hitTest(pl._x - (pl.hit._width / 2), (pl._y + (pl.hit._height / 2)) + lift.speed, true)) {
if (lift.onright == true) {
pl._x = pl._x + lift.speed;
}
if (lift.onleft == true) {
pl._x = pl._x - lift.speed;
}
var _local3 = {x:lift._x, y:lift._y};
lift._parent.localToGlobal(_local3);
pl._y = (_local3.y - (lift._height / 2)) - (pl.hit._height / 2);
pl.sy = 0;
pl.jumpdown = false;
}
}
function LiftY(lift, d1, d2, speed, pl) {
if (lift.up == undefinite) {
lift.up = true;
lift.down = false;
lift.speed = speed;
}
if (lift.hitTest(pl._x + (pl.hit._width / 2), (pl._y + (pl.hit._height / 2)) + lift.speed, true) or lift.hitTest(pl._x - (pl.hit._width / 2), (pl._y + (pl.hit._height / 2)) + lift.speed, true)) {
var _local4 = {x:lift._x, y:lift._y};
lift._parent.localToGlobal(_local4);
if (lift.down == true) {
pl._y = ((_local4.y - (lift._height / 2)) - (pl.hit._height / 2)) + lift.speed;
} else {
pl._y = (_local4.y - (lift._height / 2)) - (pl.hit._height / 2);
}
pl.yimpuls = lift.speed;
pl.sy = 0;
pl.jumpdown = false;
if (lift.up == true) {
_root.ls = lift.speed;
} else {
_root.ls = 0;
}
}
if (lift.up == true) {
if (lift._y >= d1._y) {
lift._y = lift._y - lift.speed;
} else {
lift.down = true;
lift.up = false;
}
}
if (lift.down == true) {
if (lift._y <= d2._y) {
lift._y = lift._y + lift.speed;
} else {
lift.down = false;
lift.up = true;
}
}
}
function hitCanvas(a, b, step) {
if (step == undefined) {
step = 2;
}
clip_a = a.getBounds(_root);
if (a.hitTest(b)) {
var _local3 = clip_a.xMin;
while (_local3 < clip_a.xMax) {
var _local2 = clip_a.yMin;
while (_local2 < clip_a.yMax) {
if (a.hitTest(_local3, _local2, true)) {
if (b.hitTest(_local3, _local2, true)) {
return(true);
}
}
_local2 = _local2 + step;
}
_local3 = _local3 + step;
}
}
}
ls = 0;
stop();
Instance of Symbol 37 MovieClip "preloader" in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_root.play();
}
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_root.load_txt = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
}
Frame 2
stop();
mus = 1;
g1 = "1500$";
g2 = "3000$";
gp = 999;
gk = 0;
gd = 0;
gs = 0;
ngran = 500;
fh = 1;
jm = 10;
money = 12000;
levpx = 0;
levpy = 0;
plpx = 382;
plpy = 46;
pr = 3;
helsm = 2000;
var ln = 1;
var lev = 1;
psd = false;
var levels = new Array();
var mobs = new Array();
_root.onEnterFrame = function () {
if (psd == true) {
PlayerActions(player, player.hit, player.dot, _root["level" + ln], levels);
MovieMap(player, _root["level" + ln], player.sx, player.sy);
Platformer2D(player, player.hit, player.dot, levels);
}
};
var mouseListener = new Object();
mouseListener.onMouseWheel = function (del) {
_root.player.gun.okg = true;
if (del >= 0) {
_root.player.gun.gm = _root.player.gun.gm - 1;
} else {
_root.player.gun.gm = _root.player.gun.gm + 1;
}
if (_root.player.gun.gm <= 0) {
_root.player.gun.gm = 4;
}
if (_root.player.gun.gm >= 5) {
_root.player.gun.gm = 1;
}
};
Mouse.addListener(mouseListener);
Frame 3
ln = ln + 1;
mus = 1;
sg.play();
Frame 4
stop();
psd = true;
levname = "Stage1: First meeting";
mus = 2;
ln = 1;
sg.play();
Instance of Symbol 171 MovieClip "decor1" in Frame 4
onClipEvent (load) {
this.cacheAsBitmap = !this.cacheAsBitmap();
}
Instance of Symbol 228 MovieClip "player" in Frame 4
onClipEvent (load) {
op = 1;
hels = _root.helsm;
ximpuls = 0;
yimpuls = 0;
life = 6;
psd = true;
jumpdown = true;
jump = false;
jumpmax = _root.jm;
sgravity = 1.5;
gravity = 20;
jumpspeed = 3;
leftkey = 65;
rightkey = 68;
upkey = 87;
sx = 7;
sy = 0;
}
onClipEvent (enterFrame) {
this.head.gotoAndStop(_root.fh);
if (this.hels <= 0) {
hels = 0;
_root.psd = false;
if (this._currentframe <= 26) {
this.gotoAndPlay(27);
}
}
if (Key.isDown(65) or Key.isDown(37)) {
this._xscale = -100;
}
if (Key.isDown(68) or Key.isDown(39)) {
this._xscale = 100;
}
if (jumpdown == false) {
if (((Key.isDown(65) or Key.isDown(68)) or Key.isDown(37)) or Key.isDown(39)) {
this.play();
} else if (this._currentframe <= 21) {
this.gotoAndStop(1);
}
}
if (jumpdown == true) {
if (this._currentframe <= 21) {
this.gotoAndPlay(22);
}
} else if (this._currentframe == 25) {
this.gotoAndStop(1);
}
}
Frame 5
ln = 2;
psd = true;
levname = "Stage2: Red Death";
mus = 2;
sg.play();
Frame 6
ln = 3;
psd = true;
levname = "Stage3: Ruins";
mus = 1;
sg.play();
Frame 7
ln = 4;
psd = true;
levname = "Stage4: Power station";
mus = 3;
sg.play();
Frame 8
ln = 5;
psd = true;
levname = "Stage5: HELL";
mus = 2;
sg.play();
Frame 9
ln = 6;
psd = true;
levname = "Stage6: Land of dead";
mus = 1;
sg.play();
Frame 10
ln = 7;
psd = true;
levname = "Stage7: FINAL FALL";
mus = 3;
sg.play();
Frame 11
mus = 1;
sg.play();
Symbol 6 MovieClip [bul] Frame 1
stop();
Symbol 6 MovieClip [bul] Frame 4
this.removeMovieClip();
Symbol 10 MovieClip Frame 1
this._visible = false;
Symbol 19 MovieClip [gran] Frame 1
stop();
Symbol 19 MovieClip [gran] Frame 6
this.removeMovieClip();
Symbol 46 Button
on (release) {
getURL ("http://free-game-land.com/?from=SectorA", "_blank");
}
Symbol 55 Button
on (release) {
_root.perehod.play();
_root.pr = 4;
}
Symbol 60 MovieClip Frame 1
stopAllSounds();
if (_root.mus == 1) {
this.gotoAndStop(2);
}
if (_root.mus == 2) {
this.gotoAndStop(4);
}
if (_root.mus == 3) {
this.gotoAndStop(6);
}
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 3
gotoAndStop (1);
Symbol 60 MovieClip Frame 4
stop();
Symbol 60 MovieClip Frame 5
gotoAndStop (1);
Symbol 60 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 7
gotoAndStop (1);
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 18
if (_root.player.hels == 0) {
_root.Restart();
} else {
_root.gotoAndStop(_root.pr);
}
Symbol 67 MovieClip Frame 36
_root.namer.play();
Symbol 79 Button
on (release) {
_root.levels = [];
_root.mobs = [];
_root.perehod.play();
_root.pr = _root.ln + 3;
}
Symbol 85 Button
on (release) {
_root.levels = [];
_root.mobs = [];
_root.pr = 2;
_root.perehod.play();
}
Symbol 93 Button
on (release) {
if (_root.money >= 1500) {
if (_root.g1 != "<---->") {
_root.g1 = "<---->";
sb.gotoAndPlay(6);
_root.money = _root.money - 1500;
_root.jm = 15;
_root.fh = 2;
_root.helsm = 1500;
}
} else {
sb.play();
}
}
Symbol 94 Button
on (release) {
if (_root.money >= 3000) {
if (_root.g2 != "<---->") {
_root.g2 = "<---->";
sb.gotoAndPlay(6);
_root.money = _root.money - 3000;
_root.jm = 20;
_root.fh = 3;
_root.helsm = 2500;
}
} else {
sb.play();
}
}
Symbol 95 Button
on (release) {
if (_root.money >= 80) {
sb.gotoAndPlay(6);
_root.money = _root.money - 80;
_root.gk = _root.gk + 32;
} else {
sb.play();
}
}
Symbol 96 Button
on (release) {
if (_root.money >= 100) {
sb.gotoAndPlay(6);
_root.money = _root.money - 100;
_root.gd = _root.gd + 16;
} else {
sb.play();
}
}
Symbol 97 Button
on (release) {
if (_root.money >= 150) {
sb.gotoAndPlay(6);
_root.money = _root.money - 150;
_root.gs = _root.gs + 5;
} else {
sb.play();
}
}
Symbol 109 Button
on (release) {
if (_root.money >= 300) {
sb.gotoAndPlay(6);
_root.money = _root.money - 300;
_root.ngran = _root.ngran + 1;
} else {
sb.play();
}
}
Symbol 114 MovieClip Frame 1
this._visible = false;
stop();
Symbol 114 MovieClip Frame 5
gotoAndStop (1);
Symbol 114 MovieClip Frame 13
gotoAndStop (1);
Symbol 151 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.player.hit)) {
if (this._currentframe == 1) {
_root.levpx = _root["level" + _root.ln]._x;
_root.levpy = _root["level" + _root.ln]._y;
var _local3 = {x:this._x, y:this._y};
this._parent.localToGlobal(_local3);
_root.plpx = _local3.x;
_root.plpy = _local3.y - 30;
this.play();
}
}
};
Symbol 151 MovieClip Frame 16
stop();
Symbol 154 MovieClip Frame 1
this._visible = false;
this.onEnterFrame = function () {
if (this.hitTest(_root.player.hit)) {
_root.psd = false;
_root.pr = 3;
_root.perehod.play();
}
};
Symbol 158 MovieClip Frame 1
this._visible = false;
Symbol 170 MovieClip Frame 7
gotoAndPlay (1);
Symbol 170 MovieClip Frame 25
gotoAndPlay (1);
Symbol 170 MovieClip Frame 26
dead = true;
_root.money = _root.money + 10;
Symbol 170 MovieClip Frame 32
this.unloadMovie();
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Symbol 176 MovieClip Frame 1
_root.levels.push(this);
this.tip = "block";
this.speed = 0;
Symbol 180 MovieClip Frame 1
_root.levels.push(this);
this.tip = "block";
this.speed = 0;
Symbol 184 MovieClip Frame 1
_root.levels.push(this);
this.tip = "block";
this.speed = 0;
Instance of Symbol 176 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
_root.lb.play();
Symbol 195 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
this._visible = false;
stop();
Symbol 198 MovieClip Frame 9
gotoAndStop (1);
Symbol 226 MovieClip Frame 1
stop();
tip = "pist";
Symbol 226 MovieClip Frame 2
_root.lev++;
var bul = _root["bulls" + _root.ln].attachMovie("bul", "bul" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 25;
bul._rotation = this._rotation;
} else {
bul.speed = -25;
bul._xscale = -100;
bul._rotation = -this._rotation;
}
bul.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
this._x = this._x + (this.speed * Math.cos((this._rotation / 180) * Math.PI));
this._y = this._y + (this.speed * Math.sin((this._rotation / 180) * Math.PI));
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(p.x, p.y, true)) {
if (this._currentframe == 1) {
_local3.hels = _local3.hels - 1;
}
this.play();
this.speed = 0;
}
}
};
_root.lev++;
var gil = _root["bulls" + _root.ln].attachMovie("gilza", "gil" + _root.lev, _root.lev);
point2 = {x:gdot._x, y:gdot._y};
gdot._parent.localToGlobal(point2);
_root["bulls" + _root.ln].globalToLocal(point2);
gil._x = (point2.x + random(10)) - 5;
gil._y = point2.y + random(15);
gil.speed = 10;
gil.srate = 40;
gil.down = true;
gil.sx = 0;
gil.nsx = 0;
gil.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
this._rotation = this._rotation + this.srate;
this._x = this._x + this.sx;
this.sx = this.sx * 0.9;
if ((this.down == false) and (Math.abs(this.sx) <= 0.1)) {
this.removeMovieClip();
}
if (this.down == true) {
this._y = this._y + this.speed;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y, true)) {
this._y = this._y - 2;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y + 2, true)) {
if (this.down == true) {
this.srate = this.srate / 5;
this.srate = this.srate * -1;
this.down = false;
this.nsx = random(2) + 1;
if (this.nsx == 1) {
this.sx = 1;
} else {
this.sx = -1;
}
}
} else {
this.down = true;
this.sx = 0;
this.speed = 10;
}
};
Symbol 226 MovieClip Frame 3
gotoAndStop (1);
Symbol 226 MovieClip Frame 4
tip = "kalash";
Symbol 226 MovieClip Frame 5
_root.lev++;
_root.gk = _root.gk - 1;
var bul = _root["bulls" + _root.ln].attachMovie("bul", "bul" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 25;
bul._rotation = this._rotation;
} else {
bul.speed = -25;
bul._xscale = -100;
bul._rotation = -this._rotation;
}
bul.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
this._x = this._x + (this.speed * Math.cos((this._rotation / 180) * Math.PI));
this._y = this._y + (this.speed * Math.sin((this._rotation / 180) * Math.PI));
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(p.x, p.y, true)) {
if (this._currentframe == 1) {
_local3.hels = _local3.hels - 2;
}
this.play();
this.speed = 0;
}
}
};
_root.lev++;
var gil = _root["bulls" + _root.ln].attachMovie("gilza", "gil" + _root.lev, _root.lev);
point2 = {x:gdot._x, y:gdot._y};
gdot._parent.localToGlobal(point2);
_root["bulls" + _root.ln].globalToLocal(point2);
gil._x = (point2.x + random(10)) - 5;
gil._y = point2.y + random(15);
gil.speed = 10;
gil.srate = 40;
gil.down = true;
gil.sx = 0;
gil.nsx = 0;
gil.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
this._rotation = this._rotation + this.srate;
this._x = this._x + this.sx;
this.sx = this.sx * 0.9;
if ((this.down == false) and (Math.abs(this.sx) <= 0.1)) {
this.removeMovieClip();
}
if (this.down == true) {
this._y = this._y + this.speed;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y, true)) {
this._y = this._y - 2;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y + 2, true)) {
if (this.down == true) {
this.srate = this.srate / 5;
this.srate = this.srate * -1;
this.down = false;
this.nsx = random(2) + 1;
if (this.nsx == 1) {
this.sx = 1;
} else {
this.sx = -1;
}
}
} else {
this.down = true;
this.sx = 0;
this.speed = 10;
}
};
Symbol 226 MovieClip Frame 6
gotoAndStop (4);
Symbol 226 MovieClip Frame 7
tip = "pist";
Symbol 226 MovieClip Frame 8
_root.lev++;
_root.gd = _root.gd - 1;
var bul = _root["bulls" + _root.ln].attachMovie("bul", "bul" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 30;
bul._rotation = this._rotation;
} else {
bul.speed = -30;
bul._xscale = -100;
bul._rotation = -this._rotation;
}
bul.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
this._x = this._x + (this.speed * Math.cos((this._rotation / 180) * Math.PI));
this._y = this._y + (this.speed * Math.sin((this._rotation / 180) * Math.PI));
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(p.x, p.y, true)) {
if (this._currentframe == 1) {
_local3.hels = _local3.hels - 6;
}
this.play();
this.speed = 0;
}
}
};
_root.lev++;
var bul = _root["bulls" + _root.ln].attachMovie("bul", "bul" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 30;
bul._rotation = this._rotation + 10;
} else {
bul.speed = -30;
bul._xscale = -100;
bul._rotation = (-this._rotation) - 10;
}
bul.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
this._x = this._x + (this.speed * Math.cos((this._rotation / 180) * Math.PI));
this._y = this._y + (this.speed * Math.sin((this._rotation / 180) * Math.PI));
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(p.x, p.y, true)) {
if (this._currentframe == 1) {
_local3.hels = _local3.hels - 6;
}
this.play();
this.speed = 0;
}
}
};
_root.lev++;
var bul = _root["bulls" + _root.ln].attachMovie("bul", "bul" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 30;
bul._rotation = this._rotation - 10;
} else {
bul.speed = -30;
bul._xscale = -100;
bul._rotation = (-this._rotation) + 10;
}
bul.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
this._x = this._x + (this.speed * Math.cos((this._rotation / 180) * Math.PI));
this._y = this._y + (this.speed * Math.sin((this._rotation / 180) * Math.PI));
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(p.x, p.y, true)) {
if (this._currentframe == 1) {
_local3.hels = _local3.hels - 6;
}
this.play();
this.speed = 0;
}
}
};
Symbol 226 MovieClip Frame 15
_root.lev++;
var gil = _root["bulls" + _root.ln].attachMovie("gilza", "gil" + _root.lev, _root.lev);
point2 = {x:gdot._x, y:gdot._y};
gdot._parent.localToGlobal(point2);
_root["bulls" + _root.ln].globalToLocal(point2);
gil._x = (point2.x + random(10)) - 5;
gil._y = point2.y + random(15);
gil.speed = 10;
gil.srate = 40;
gil.down = true;
gil.sx = 0;
gil.nsx = 0;
gil.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
this._rotation = this._rotation + this.srate;
this._x = this._x + this.sx;
this.sx = this.sx * 0.9;
if ((this.down == false) and (Math.abs(this.sx) <= 0.1)) {
this.removeMovieClip();
}
if (this.down == true) {
this._y = this._y + this.speed;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y, true)) {
this._y = this._y - 2;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y + 2, true)) {
if (this.down == true) {
this.srate = this.srate / 5;
this.srate = this.srate * -1;
this.down = false;
this.nsx = random(2) + 1;
if (this.nsx == 1) {
this.sx = 1;
} else {
this.sx = -1;
}
}
} else {
this.down = true;
this.sx = 0;
this.speed = 10;
}
};
Symbol 226 MovieClip Frame 21
gotoAndStop (7);
Symbol 226 MovieClip Frame 22
tip = "pist";
Symbol 226 MovieClip Frame 23
_root.lev++;
_root.gs = _root.gs - 1;
var bul = _root["bulls" + _root.ln].attachMovie("bul", "bul" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 30;
bul._rotation = this._rotation;
} else {
bul.speed = -30;
bul._xscale = -100;
bul._rotation = -this._rotation;
}
bul.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
this._x = this._x + (this.speed * Math.cos((this._rotation / 180) * Math.PI));
this._y = this._y + (this.speed * Math.sin((this._rotation / 180) * Math.PI));
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(p.x, p.y, true)) {
if (this._currentframe == 1) {
_local3.hels = _local3.hels - 50;
}
this.play();
this.speed = 0;
}
}
};
Symbol 226 MovieClip Frame 35
_root.lev++;
var gil = _root["bulls" + _root.ln].attachMovie("gilza", "gil" + _root.lev, _root.lev);
point2 = {x:gdot._x, y:gdot._y};
gdot._parent.localToGlobal(point2);
_root["bulls" + _root.ln].globalToLocal(point2);
gil._x = (point2.x + random(10)) - 5;
gil._y = point2.y + random(15);
gil.speed = 10;
gil.srate = 40;
gil.down = true;
gil.sx = 0;
gil.nsx = 0;
gil.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
this._rotation = this._rotation + this.srate;
this._x = this._x + this.sx;
this.sx = this.sx * 0.9;
if ((this.down == false) and (Math.abs(this.sx) <= 0.1)) {
this.removeMovieClip();
}
if (this.down == true) {
this._y = this._y + this.speed;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y, true)) {
this._y = this._y - 2;
}
if (_root["level" + _root.ln].hitTest(p.x, p.y + 2, true)) {
if (this.down == true) {
this.srate = this.srate / 5;
this.srate = this.srate * -1;
this.down = false;
this.nsx = random(2) + 1;
if (this.nsx == 1) {
this.sx = 1;
} else {
this.sx = -1;
}
}
} else {
this.down = true;
this.sx = 0;
this.speed = 10;
}
};
Symbol 226 MovieClip Frame 45
gotoAndStop (22);
Symbol 226 MovieClip Frame 46
tip = "pist";
Symbol 226 MovieClip Frame 47
if (_root.ngran <= 0) {
this.gotoAndStop(46);
_root.player.gun.lose.play();
}
Symbol 226 MovieClip Frame 51
_root.lev++;
_root.ngran = _root.ngran - 1;
var bul = _root["bulls" + _root.ln].attachMovie("gran", "gran" + _root.lev, _root.lev);
point = {x:fdot._x, y:fdot._y};
fdot._parent.localToGlobal(point);
_root["bulls" + _root.ln].globalToLocal(point);
bul._x = point.x;
bul._y = point.y;
if (_root.player._xscale >= 0) {
bul.speed = 20;
bul._rotation = this._rotation;
} else {
bul.speed = -20;
bul._xscale = -100;
bul._rotation = -this._rotation;
}
bul.sx = bul.speed * Math.cos((bul._rotation / 180) * Math.PI);
bul.sy = bul.speed * Math.sin((bul._rotation / 180) * Math.PI);
bul.dest = false;
bul.onEnterFrame = function () {
this.gran._rotation = this.gran._rotation + this.speed;
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
p3 = {x:this.h3._x, y:this.h3._y};
this.h3._parent.localToGlobal(p3);
p4 = {x:this.h4._x, y:this.h4._y};
this.h4._parent.localToGlobal(p4);
if ((Math.abs(this.sx) <= 1) and (Math.abs(this.sy) <= 5)) {
if (this.dest == true) {
this.sx = 0;
this.sy = 0;
this.play();
}
}
if ((((p.x >= 600) or (p.x <= -100)) or (p.y >= 500)) or (p.y <= -100)) {
this.removeMovieClip();
}
if (_root["level" + _root.ln].hitTest(p1.x - this.sx, p1.y, true)) {
this.dest = true;
this.sx = this.sx * -0.5;
}
if (_root["level" + _root.ln].hitTest(p3.x + this.sx, p3.y, true)) {
this.dest = true;
this.sx = this.sx * -0.5;
}
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + this.sy, true)) {
this.dest = true;
this.sy = this.sy * -0.5;
}
if (_root["level" + _root.ln].hitTest(p4.x, p4.y + this.sy, true)) {
this.dest = true;
this.sx = this.sx / 1.2;
this.sy = this.sy * -0.5;
}
this._x = this._x + this.sx;
this._y = this._y + this.sy;
this.sy = this.sy + 2;
var _local4 = _root.mobs.length;
while (_local4--) {
var _local3 = _root.mobs[_local4];
if (_local3.hitTest(this)) {
_local3.hels = _local3.hels - 80;
this.play();
this.sx = 0;
this.sy = 0;
}
}
};
Symbol 226 MovieClip Frame 58
gotoAndStop (46);
Symbol 228 MovieClip Frame 1
stop();
Instance of Symbol 226 MovieClip "gun" in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
kf = true;
wp = 1;
gm = 1;
bg = 999;
okg = true;
ow = true;
}
onClipEvent (enterFrame) {
if (ow == true) {
if (Key.isDown(49)) {
gm = 1;
ow = false;
}
if (Key.isDown(50)) {
ow = false;
gm = 2;
}
if (Key.isDown(51)) {
ow = false;
gm = 3;
}
if (Key.isDown(52)) {
ow = false;
gm = 4;
}
}
if ((((Key.isDown(49) == false) and (Key.isDown(50) == false)) and (Key.isDown(51) == false)) and (Key.isDown(52) == false)) {
ow = true;
} else {
okg = true;
}
if (okg == true) {
if (gm == 1) {
this.gotoAndStop(1);
okg = false;
}
if (gm == 2) {
this.gotoAndStop(4);
okg = false;
}
if (gm == 3) {
this.gotoAndStop(7);
okg = false;
}
if (gm == 4) {
this.gotoAndStop(22);
okg = false;
}
}
if (this._currentframe == 1) {
bg = _root.gp;
}
if (this._currentframe == 4) {
bg = _root.gk;
}
if (this._currentframe == 7) {
bg = _root.gd;
}
if (this._currentframe == 22) {
bg = _root.gs;
}
if (Key.isDown(70)) {
if (this._currentframe <= 45) {
this.gotoAndStop(46);
}
} else if (this._currentframe == 46) {
okg = true;
}
if (Key.isDown(1)) {
if (kf == true) {
if ((_root.ngran >= 1) and (this._currentframe == 46)) {
this.play();
kf = false;
}
if ((bg <= 0) and (this._currentframe <= 45)) {
this.lose.play();
} else {
if (this.tip == "pist") {
this.play();
kf = false;
}
if (this.tip == "kalash") {
this.play();
}
}
}
} else {
kf = true;
}
xpos = _parent._xmouse;
ypos = _parent._ymouse;
angle = Math.atan2(ypos - this._y, xpos - this._x);
this._rotation = (angle / Math.PI) * 180;
}
Symbol 228 MovieClip Frame 21
gotoAndStop (1);
Symbol 228 MovieClip Frame 25
stop();
Symbol 228 MovieClip Frame 40
stop();
_root.perehod.play();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 3
this.removeMovieClip();
Instance of Symbol 195 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.player.head._currentframe);
}
Instance of Symbol 237 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.player.gun.gm);
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 19
gotoAndPlay (1);
Symbol 263 MovieClip Frame 25
_root.money = _root.money + 20;
Symbol 263 MovieClip Frame 36
this.unloadMovie();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 3
_root.money = _root.money + this.money;
Symbol 266 MovieClip Frame 8
this.unloadMovie();
Instance of Symbol 263 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 170 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 263 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Symbol 269 MovieClip Frame 1
_root.levels.push(this);
this.tip = "block";
this.speed = 0;
Instance of Symbol 253 MovieClip in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._y >= p.y) {
_root.player.hels = 0;
}
}
Instance of Symbol 176 MovieClip in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 70;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 10;
_root.player.head.lifer.play();
}
}
Symbol 276 MovieClip Frame 1
_root.levels.push(this);
this.tip = "block";
this.speed = 0;
this._visible = false;
Instance of Symbol 176 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 253 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._y >= p.y) {
_root.player.hels = 0;
}
}
Symbol 285 MovieClip Frame 6
gotoAndPlay (1);
Symbol 285 MovieClip Frame 7
_root.money = _root.money + 50;
Symbol 285 MovieClip Frame 12
this.unloadMovie();
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 263 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Symbol 288 MovieClip Frame 1
stop();
_root.levels.push(this);
this.tip = "block";
this.py = this._y;
this.speed = 0;
this.down = false;
this.health = 8;
this.onEnterFrame = function () {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (this.down == true) {
if (p.y >= 500) {
down = false;
speed = 0;
this.gotoAndStop(2);
}
this.speed = this.speed + 1;
this._y = this._y + this.speed;
}
if (this.hitTest(_root.player.fhit)) {
_root.player.jumpdown = false;
this.health--;
if (this.health <= 0) {
this.down = true;
}
}
if (this.hitTest(_root.player._x, (_root.player._y + (_root.player.hit._height / 2)) + 10, true)) {
_root.player.jumpdown = false;
}
};
Instance of Symbol 253 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._y >= p.y) {
_root.player.hels = 0;
}
}
Instance of Symbol 176 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 296 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.player.hit)) {
if (this._currentframe == 1) {
_root.player.jump = true;
_root.player._y = _root.player._y - 2;
_root.player.sy = -30;
this.play();
}
}
};
Symbol 305 MovieClip Frame 1
this._visible = false;
Symbol 307 MovieClip Frame 1
this._visible = false;
Symbol 317 MovieClip Frame 19
gotoAndPlay (1);
Symbol 317 MovieClip Frame 20
_root.money = _root.money + 200;
Symbol 317 MovieClip Frame 36
this.unloadMovie();
Symbol 317 MovieClip Frame 37
stop();
Symbol 317 MovieClip Frame 41
stop();
jump = true;
down = false;
Instance of Symbol 317 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 170 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 285 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 263 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 170 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 263 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Symbol 320 MovieClip Frame 1
_root.levels.push(this);
this.tip = "block";
this.speed = 0;
Instance of Symbol 253 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._y >= p.y) {
_root.player.hels = 0;
}
}
Instance of Symbol 176 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 266 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 250;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 100;
_root.player.head.lifer.play();
}
}
Instance of Symbol 317 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 170 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 263 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 170 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 285 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Symbol 332 MovieClip Frame 1
stop();
_root.levels.push(this);
_root.mobs.push(this);
this.hels = 100;
this.tip = "block";
this.speed = 0;
this.onEnterFrame = function () {
if ((this.hels <= 99) and (this.hels >= 70)) {
this.gotoAndStop(2);
}
if ((this.hels <= 69) and (this.hels >= 30)) {
this.gotoAndStop(3);
}
if ((this.hels <= 29) and (this.hels >= 1)) {
this.gotoAndStop(4);
}
if (this.hels <= 0) {
this.play();
}
};
Symbol 332 MovieClip Frame 6
this.unloadMovie();
Instance of Symbol 176 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 253 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._y >= p.y) {
_root.player.hels = 0;
}
}
Symbol 335 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.player.hit)) {
_root.player.hels = 0;
}
};
Symbol 345 MovieClip Frame 19
gotoAndPlay (1);
Symbol 345 MovieClip Frame 20
_root.money = _root.money + 300;
Symbol 345 MovieClip Frame 36
this.unloadMovie();
Symbol 366 MovieClip Frame 43
_root.psd = true;
_root.decor7.boss.active = true;
_root.decor7.boss.play();
stop();
Instance of Symbol 285 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 285 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 10;
ypos = this._y;
sy = 20;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 6) {
sy = 0;
this.gotoAndPlay(7);
}
}
sy = sy + 0.5;
this._y = this._y + sy;
if (this._y >= ypos) {
this._y = ypos - 1;
sy = sy * -1;
}
if (sy >= 0) {
this._yscale = -100;
} else {
this._yscale = 100;
}
if (this.hitTest(_root.player.hit)) {
if (this._currentframe <= 6) {
_root.player.hels = _root.player.hels - 3;
_root.player.head.lifer.play();
}
}
}
Instance of Symbol 170 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 170 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 345 MovieClip "boss" in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
sc = this._xscale;
py = this._y;
px = this._x;
dead = false;
hels = 400;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (this._currentframe == 35) {
_root.psd = false;
_root.perehod.play();
_root.pr = 11;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (((_root.player._x >= (p.x - 200)) and (_root.player._x <= (p.x + 200))) and (_root.player.jump == false)) {
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
jump = true;
down = false;
}
}
}
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.8;
} else {
sx = sx - 1;
}
} else if (sx >= 0) {
sx = sx + 0.8;
} else {
sx = sx + 1;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -sc;
} else {
this._xscale = sc;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = sc;
} else {
this._xscale = -sc;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 25;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 366 MovieClip "kh" in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (this._currentframe == 1) {
if (_root.player._x >= (p.x - 50)) {
_root.psd = false;
this.play();
}
}
}
Instance of Symbol 170 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 5;
speed = 2;
dead = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
if (hels <= 0) {
if (this._currentframe <= 25) {
this.gotoAndPlay(26);
}
}
if (this.fhit.hitTest(_root.player.hit)) {
_root.player.head.lifer.play();
_root.player.hels = _root.player.hels - 5;
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
point1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(point1);
point2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(point2);
if (this._currentframe <= 7) {
if (this._xscale >= 0) {
this._x = this._x - speed;
}
if (this._xscale <= 0) {
this._x = this._x + speed;
}
if (_root["level" + _root.ln].hitTest(point1.x, point1.y, true)) {
this._xscale = this._xscale * -1;
}
if (_root["level" + _root.ln].hitTest(point2.x, point2.y, true, true) == false) {
this._xscale = this._xscale * -1;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (this._currentframe <= 8) {
this.gotoAndPlay(9);
}
}
}
Instance of Symbol 317 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 317 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 263 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 15;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 250)) {
active = true;
}
if (active == true) {
if (hels <= 0) {
if (this._currentframe <= 19) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 317 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
dead = false;
hels = 25;
sx = 0;
sxm = 10;
sy = 0;
sym = 10;
jm = 20;
sj = 2;
jump = false;
down = true;
active = false;
_root.mobs.push(this);
this.gotoAndStop(37);
}
onClipEvent (enterFrame) {
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
if (_root.player._x >= (p.x - 150)) {
if (this._currentframe == 41) {
active = true;
} else {
this.play();
}
}
if (active == true) {
if (hels <= 0) {
if ((this._currentframe <= 19) or (this._currentframe >= 36)) {
this.gotoAndPlay(20);
}
} else {
p1 = {x:this.h1._x, y:this.h1._y};
this.h1._parent.localToGlobal(p1);
p2 = {x:this.h2._x, y:this.h2._y};
this.h2._parent.localToGlobal(p2);
if (_root["level" + _root.ln].hitTest(p2.x, p2.y, true)) {
if (this._currentframe == 41) {
this.play();
}
sy = 0;
down = false;
} else if (jump == false) {
down = true;
}
if (down == true) {
if (sy >= sym) {
sy = sym - 1;
}
sy = sy + 1;
if (_root["level" + _root.ln].hitTest(p2.x, p2.y + sy, true) == false) {
this._y = this._y + sy;
} else {
sy = 0;
this._y = this._y + 1;
}
}
if (_root.player._x <= p.x) {
if (sx <= 0) {
sx = sx - 0.4;
} else {
sx = sx - 0.6;
}
} else if (sx >= 0) {
sx = sx + 0.4;
} else {
sx = sx + 0.6;
}
if (sx >= sxm) {
sx = sxm - 1;
}
if (sx >= 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if (jump == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true) == false) {
this._x = this._x + sx;
} else {
jump = true;
}
}
if ((jump == true) and (down == false)) {
if (Math.abs(sy) >= (jm / 3)) {
if (_root.player._x <= p.x) {
sx = -6;
} else {
sx = sx + 3;
}
}
sy = sy + sj;
this._y = this._y - sy;
if (sy >= jm) {
jump = false;
sy = 0;
down = true;
}
}
if ((Math.abs(p.x - _root.player._x) <= 50) and (_root.player.jumpdown == false)) {
if (p.x >= _root.player._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.arms.play();
}
if (this.arms.fhit.hitTest(_root.player.hit)) {
_root.player.hels = _root.player.hels - 5;
_root.player.head.lifer.play();
}
}
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 266 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
hels = 100;
sy = 0;
sym = 30;
sleep = true;
_root.mobs.push(this);
money = 0;
}
onClipEvent (enterFrame) {
if (this.hels <= 0) {
if (this._currentframe <= 2) {
this.money = 50;
this.gotoAndPlay(3);
}
}
p = {x:this._x, y:this._y};
this._parent.localToGlobal(p);
p1 = {x:this.dot._x, y:this.dot._y};
this.dot._parent.localToGlobal(p1);
if (_root.player._x >= (p.x - 50)) {
if (sleep == true) {
sleep = false;
this.gotoAndStop(2);
}
}
if (sleep == false) {
if (_root["level" + _root.ln].hitTest(p1.x, p1.y, true)) {
this.play();
} else {
sy = sy + 1;
this._y = this._y + sy;
}
}
if (this.hitTest(_root.player.hit)) {
this.play();
_root.player.hels = _root.player.hels - 50;
_root.player.head.lifer.play();
}
}
Instance of Symbol 176 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 376 Button
on (release) {
_root.levels = [];
_root.mobs = [];
_root.pr = 4;
_root.perehod.play();
}