Frame 1
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Frame 4
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
_quality = "low";
_root.gate.gotoAndStop(1);
_root.cam.runrun.gotoAndStop(1);
_root.cam.kills = 0;
_root.zonelevel = 1;
__com_mochibot__("38396ec2", this, 10301);
Instance of Symbol 166 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
}
Instance of Symbol 171 MovieClip "gate" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (_root.cam.runrun._currentframe == 2)) {
gotoAndStop (2);
}
}
Instance of Symbol 175 MovieClip "globe" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (_root.cam.kills >= 15)) {
nextFrame();
}
}
onClipEvent (load) {
_root.globe.gotoAndStop(1);
}
Instance of Symbol 177 MovieClip in Frame 4
onClipEvent (enterFrame) {
startDrag (this, true);
Mouse.hide();
}
Instance of Symbol 205 MovieClip "guy" in Frame 4
onClipEvent (load) {
xs = 0;
ys = 0;
}
onClipEvent (enterFrame) {
ys++;
if (_currentframe != 5) {
if (_currentframe == 4) {
ms = 10;
} else {
ms = 4;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && ((_currentframe != 4) || (_currentframe != 3))) {
xs = xs / 1.5;
}
if ((Key.isDown(68) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = 49.5;
gotoAndStop (2);
xs++;
}
if ((Key.isDown(68) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = 49.5;
gotoAndStop (4);
xs++;
}
if ((Key.isDown(65) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = -49.5;
gotoAndStop (2);
xs--;
}
if ((Key.isDown(65) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = -49.5;
gotoAndStop (4);
xs--;
}
if (((Key.isDown(87) && (_root.ground.hitTest(_x, _y + 43, true))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
gotoAndStop (3);
}
}
if (_root.ground.hitTest(_x, _y - 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y - 40, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x + 15, _y - 40, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - 15, _y - 40, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x, _y + 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y + 40, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 45, true) && (ys > -2)) {
ys = 0;
}
}
Instance of Symbol 236 MovieClip "orig" in Frame 4
onClipEvent (enterFrame) {
while ((((_rotation > 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
while ((((_rotation < 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (load) {
gotoAndStop(random(5));
spd = 1;
if (_root.guy._xscale > 0) {
_rotation = _root.guy.hand._rotation;
_x = (_root.guy._x + 2);
_y = (_root.guy._y - 15);
} else {
_rotation = (-_root.guy.hand._rotation);
_x = (_root.guy._x - 2);
_y = (_root.guy._y - 15);
}
}
Instance of Symbol 282 MovieClip "cam" in Frame 4
onClipEvent (enterFrame) {
this._x = this._x + ((_root.guy._x - this._x) * 0.08);
this._y = this._y + ((_root.guy._y - this._y) * 0.04);
_root._x = (-_x) + 275;
_root._y = (-_y) + 200;
}
onClipEvent (load) {
numa = 9;
timera = 30;
kills = 0;
health = 60;
}
Frame 5
removeMovieClip(_root.scary);
Instance of Symbol 38 MovieClip in Frame 5
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 6
_root.gate.gotoAndStop(1);
_root.cam.runrun.gotoAndStop(1);
_root.cam.kills = 0;
_root.zonelevel = 2;
Instance of Symbol 166 MovieClip in Frame 6
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
}
Instance of Symbol 171 MovieClip "gate" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (_root.cam.runrun._currentframe == 2)) {
gotoAndStop (2);
}
}
Instance of Symbol 175 MovieClip "globe" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (_root.cam.kills >= 15)) {
nextFrame();
}
}
onClipEvent (load) {
_root.globe.gotoAndStop(1);
}
Instance of Symbol 177 MovieClip in Frame 6
onClipEvent (enterFrame) {
startDrag (this, true);
Mouse.hide();
}
Instance of Symbol 205 MovieClip "guy" in Frame 6
onClipEvent (load) {
xs = 0;
ys = 0;
}
onClipEvent (enterFrame) {
ys++;
if (_currentframe != 5) {
if (_currentframe == 4) {
ms = 10;
} else {
ms = 4;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && ((_currentframe != 4) || (_currentframe != 3))) {
xs = xs / 1.5;
}
if ((Key.isDown(68) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = 49.5;
gotoAndStop (2);
xs++;
}
if ((Key.isDown(68) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = 49.5;
gotoAndStop (4);
xs++;
}
if ((Key.isDown(65) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = -49.5;
gotoAndStop (2);
xs--;
}
if ((Key.isDown(65) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = -49.5;
gotoAndStop (4);
xs--;
}
if (((Key.isDown(87) && (_root.ground.hitTest(_x, _y + 43, true))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
gotoAndStop (3);
}
}
if (_root.ground.hitTest(_x, _y - 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y - 40, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x + 15, _y - 40, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - 15, _y - 40, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x, _y + 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y + 40, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 45, true) && (ys > -2)) {
ys = 0;
}
}
Instance of Symbol 236 MovieClip "orig" in Frame 6
onClipEvent (enterFrame) {
while ((((_rotation > 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
while ((((_rotation < 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (load) {
gotoAndStop(random(5));
spd = 1;
if (_root.guy._xscale > 0) {
_rotation = _root.guy.hand._rotation;
_x = (_root.guy._x + 2);
_y = (_root.guy._y - 15);
} else {
_rotation = (-_root.guy.hand._rotation);
_x = (_root.guy._x - 2);
_y = (_root.guy._y - 15);
}
}
Instance of Symbol 282 MovieClip "cam" in Frame 6
onClipEvent (enterFrame) {
this._x = this._x + ((_root.guy._x - this._x) * 0.08);
this._y = this._y + ((_root.guy._y - this._y) * 0.04);
_root._x = (-_x) + 275;
_root._y = (-_y) + 200;
}
onClipEvent (load) {
numa = 9;
timera = 30;
kills = 0;
health = 60;
}
Frame 7
removeMovieClip(_root.scary);
Instance of Symbol 38 MovieClip in Frame 7
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 8
_quality = "low";
_root.gate.gotoAndStop(1);
_root.cam.runrun.gotoAndStop(1);
_root.cam.kills = 0;
_root.zonelevel = 3;
Instance of Symbol 166 MovieClip in Frame 8
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
}
Instance of Symbol 171 MovieClip "gate" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (_root.cam.runrun._currentframe == 2)) {
gotoAndStop (2);
}
}
Instance of Symbol 175 MovieClip "globe" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (_root.cam.kills >= 15)) {
nextFrame();
}
}
onClipEvent (load) {
_root.globe.gotoAndStop(1);
}
Instance of Symbol 177 MovieClip in Frame 8
onClipEvent (enterFrame) {
startDrag (this, true);
Mouse.hide();
}
Instance of Symbol 205 MovieClip "guy" in Frame 8
onClipEvent (load) {
xs = 0;
ys = 0;
}
onClipEvent (enterFrame) {
ys++;
if (_currentframe != 5) {
if (_currentframe == 4) {
ms = 10;
} else {
ms = 4;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && ((_currentframe != 4) || (_currentframe != 3))) {
xs = xs / 1.5;
}
if ((Key.isDown(68) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = 49.5;
gotoAndStop (2);
xs++;
}
if ((Key.isDown(68) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = 49.5;
gotoAndStop (4);
xs++;
}
if ((Key.isDown(65) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = -49.5;
gotoAndStop (2);
xs--;
}
if ((Key.isDown(65) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = -49.5;
gotoAndStop (4);
xs--;
}
if (((Key.isDown(87) && (_root.ground.hitTest(_x, _y + 43, true))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
gotoAndStop (3);
}
}
if (_root.ground.hitTest(_x, _y - 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y - 40, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x + 15, _y - 40, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - 15, _y - 40, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x, _y + 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y + 40, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 45, true) && (ys > -2)) {
ys = 0;
}
}
Instance of Symbol 236 MovieClip "orig" in Frame 8
onClipEvent (enterFrame) {
while ((((_rotation > 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
while ((((_rotation < 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (load) {
gotoAndStop(random(5));
spd = 1;
if (_root.guy._xscale > 0) {
_rotation = _root.guy.hand._rotation;
_x = (_root.guy._x + 2);
_y = (_root.guy._y - 15);
} else {
_rotation = (-_root.guy.hand._rotation);
_x = (_root.guy._x - 2);
_y = (_root.guy._y - 15);
}
}
Instance of Symbol 282 MovieClip "cam" in Frame 8
onClipEvent (enterFrame) {
this._x = this._x + ((_root.guy._x - this._x) * 0.08);
this._y = this._y + ((_root.guy._y - this._y) * 0.04);
_root._x = (-_x) + 275;
_root._y = (-_y) + 200;
}
onClipEvent (load) {
numa = 9;
timera = 30;
kills = 0;
health = 60;
}
Frame 9
removeMovieClip(_root.scary);
Instance of Symbol 38 MovieClip in Frame 9
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 10
_quality = "low";
_root.gate.gotoAndStop(1);
_root.cam.runrun.gotoAndStop(1);
_root.cam.kills = 0;
_root.zonelevel = 4;
Instance of Symbol 166 MovieClip in Frame 10
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
}
Instance of Symbol 171 MovieClip "gate" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (_root.cam.runrun._currentframe == 2)) {
gotoAndStop (2);
}
}
Instance of Symbol 175 MovieClip "globe" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (_root.cam.kills >= 15)) {
nextFrame();
}
}
onClipEvent (load) {
_root.globe.gotoAndStop(1);
}
Instance of Symbol 177 MovieClip in Frame 10
onClipEvent (enterFrame) {
startDrag (this, true);
Mouse.hide();
}
Instance of Symbol 205 MovieClip "guy" in Frame 10
onClipEvent (load) {
xs = 0;
ys = 0;
}
onClipEvent (enterFrame) {
ys++;
if (_currentframe != 5) {
if (_currentframe == 4) {
ms = 10;
} else {
ms = 4;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && ((_currentframe != 4) || (_currentframe != 3))) {
xs = xs / 1.5;
}
if ((Key.isDown(68) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = 49.5;
gotoAndStop (2);
xs++;
}
if ((Key.isDown(68) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = 49.5;
gotoAndStop (4);
xs++;
}
if ((Key.isDown(65) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = -49.5;
gotoAndStop (2);
xs--;
}
if ((Key.isDown(65) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = -49.5;
gotoAndStop (4);
xs--;
}
if (((Key.isDown(87) && (_root.ground.hitTest(_x, _y + 43, true))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
gotoAndStop (3);
}
}
if (_root.ground.hitTest(_x, _y - 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y - 40, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x + 15, _y - 40, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - 15, _y - 40, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x, _y + 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y + 40, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 45, true) && (ys > -2)) {
ys = 0;
}
}
Instance of Symbol 236 MovieClip "orig" in Frame 10
onClipEvent (enterFrame) {
while ((((_rotation > 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
while ((((_rotation < 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (load) {
gotoAndStop(random(5));
spd = 1;
if (_root.guy._xscale > 0) {
_rotation = _root.guy.hand._rotation;
_x = (_root.guy._x + 2);
_y = (_root.guy._y - 15);
} else {
_rotation = (-_root.guy.hand._rotation);
_x = (_root.guy._x - 2);
_y = (_root.guy._y - 15);
}
}
Instance of Symbol 282 MovieClip "cam" in Frame 10
onClipEvent (enterFrame) {
this._x = this._x + ((_root.guy._x - this._x) * 0.08);
this._y = this._y + ((_root.guy._y - this._y) * 0.04);
_root._x = (-_x) + 275;
_root._y = (-_y) + 200;
}
onClipEvent (load) {
numa = 9;
timera = 30;
kills = 0;
health = 60;
}
Frame 11
removeMovieClip(_root.scary);
Instance of Symbol 38 MovieClip in Frame 11
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 12
_quality = "low";
_root.gate.gotoAndStop(1);
_root.cam.runrun.gotoAndStop(1);
_root.cam.kills = 0;
_root.zonelevel = 5;
k = 0;
Instance of Symbol 166 MovieClip in Frame 12
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
}
Instance of Symbol 171 MovieClip "gate" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (_root.cam.runrun._currentframe == 2)) {
gotoAndStop (2);
}
}
Instance of Symbol 175 MovieClip "globe" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
if (_currentframe == 54) {
_root.gotoAndStop(14);
}
}
onClipEvent (load) {
_root.globe.gotoAndStop(1);
}
Instance of Symbol 205 MovieClip "guy" in Frame 12
onClipEvent (load) {
xs = 0;
ys = 0;
}
onClipEvent (enterFrame) {
ys++;
if (_currentframe != 5) {
if (_currentframe == 4) {
ms = 10;
} else {
ms = 4;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && ((_currentframe != 4) || (_currentframe != 3))) {
xs = xs / 1.5;
}
if ((Key.isDown(68) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = 49.5;
gotoAndStop (2);
xs++;
}
if ((Key.isDown(68) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = 49.5;
gotoAndStop (4);
xs++;
}
if ((Key.isDown(65) && ((_currentframe != 4) || (_currentframe != 3))) && (!Key.isDown(87))) {
_xscale = -49.5;
gotoAndStop (2);
xs--;
}
if ((Key.isDown(65) && (Key.isDown(87))) && (_root.ground.hitTest(_x, _y + 43, true))) {
_xscale = -49.5;
gotoAndStop (4);
xs--;
}
if (((Key.isDown(87) && (_root.ground.hitTest(_x, _y + 43, true))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
gotoAndStop (3);
}
}
if (_root.ground.hitTest(_x, _y - 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y - 40, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x + 15, _y - 40, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - 15, _y - 40, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - 15, _y - 40, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest(_x - (_width / 2), _y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x, _y + 40, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x, _y + 40, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x, _y + 45, true) && (ys > -2)) {
ys = 0;
}
}
Instance of Symbol 236 MovieClip "orig" in Frame 12
onClipEvent (enterFrame) {
while ((((_rotation > 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
while ((((_rotation < 180) && (!_root.ground.hitTest(_x, _y, true))) && (!_root.enemy.hitTest(_x, _y, true))) && (!_root.globe.hitTest(_x, _y, true))) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (load) {
gotoAndStop(random(5));
spd = 1;
if (_root.guy._xscale > 0) {
_rotation = _root.guy.hand._rotation;
_x = (_root.guy._x + 2);
_y = (_root.guy._y - 15);
} else {
_rotation = (-_root.guy.hand._rotation);
_x = (_root.guy._x - 2);
_y = (_root.guy._y - 15);
}
}
Instance of Symbol 177 MovieClip in Frame 12
onClipEvent (enterFrame) {
startDrag (this, true);
Mouse.hide();
}
Instance of Symbol 532 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (kiiko == undefined)) {
kiiko = 90;
_root.ground.drumfall.play();
_root.enemy.craine.gotoAndPlay(131);
}
}
Instance of Symbol 282 MovieClip "cam" in Frame 12
onClipEvent (enterFrame) {
this._x = this._x + ((_root.guy._x - this._x) * 0.08);
this._y = this._y + ((_root.guy._y - this._y) * 0.04);
_root._x = (-_x) + 275;
_root._y = (-_y) + 200;
if (health < 1) {
_root.gotoAndStop(13);
}
}
onClipEvent (load) {
numa = 9;
timera = 30;
kills = 0;
health = 60;
}
Frame 13
removeMovieClip(_root.scary);
Instance of Symbol 38 MovieClip in Frame 13
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 14
removeMovieClip(_root.scary);
Symbol 13 MovieClip Frame 1
stop();
Symbol 19 Button
on (press, release) {
_root.gotoAndStop(2);
}
Symbol 20 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 20 MovieClip Frame 2
gotoAndPlay (1);
Symbol 36 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 38 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 38 MovieClip in Symbol 129 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 129 MovieClip Frame 670
_root.gotoAndStop(3);
Instance of Symbol 38 MovieClip in Symbol 164 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 164 MovieClip Frame 883
_root.nextFrame();
Symbol 169 MovieClip Frame 23
stop();
_root.nextFrame();
Symbol 171 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 53
play();
Symbol 175 MovieClip Frame 54
stop();
_root.lights.gotoAndStop(2);
Instance of Symbol 174 MovieClip in Symbol 175 MovieClip Frame 54
onClipEvent (enterFrame) {
_x = (_x + (random(10) - 5));
_y = (_y + (random(10) - 5));
_root.cam._x = _root.cam._x + (random(10) - 5);
_root.cam._y = _root.cam._y + (random(10) - 5);
_root.cam.runrun.gotoAndStop(2);
}
Symbol 189 MovieClip Frame 26
_parent.gotoAndStop(1);
Symbol 193 MovieClip Frame 8
_parent.ys = -17;
Symbol 193 MovieClip Frame 45
_parent.gotoAndStop(1);
Symbol 197 MovieClip Frame 3
_parent.ys = -17;
if (_root.guy._xscale > 0) {
_parent.xs = 5;
} else {
_parent.xs = -5;
}
Symbol 197 MovieClip Frame 36
_parent.gotoAndStop(1);
Symbol 204 MovieClip Frame 10
_root.cam.numa = 9;
_parent.gotoAndStop(1);
Symbol 205 MovieClip Frame 1
stop();
Instance of Symbol 13 MovieClip "hand" in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + (_xmouse / 10));
}
onClipEvent (mouseDown) {
if (_root.cam.numa > 0) {
gotoAndPlay (2);
duplicateMovieClip (_root.orig, "scary", 20);
_root.cam.numa--;
} else {
this._parent.gotoAndStop(5);
}
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 24
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 25
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 26
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 27
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 28
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 29
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 30
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 31
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 32
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 33
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 34
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 35
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 36
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 37
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 38
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 39
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 40
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 41
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 42
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 43
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 44
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 45
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 46
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 47
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 48
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 49
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 50
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 51
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
play();
Symbol 217 MovieClip Frame 52
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 53
_root.cam._x = _root.cam._x + random(5);
_root.cam._y = _root.cam._y + random(5);
Symbol 217 MovieClip Frame 54
stop();
Instance of Symbol 217 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Symbol 227 MovieClip Frame 13
stop();
removeMovieClip(_parent);
Symbol 235 MovieClip Frame 13
stop();
removeMovieClip(_parent);
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 4
stop();
Symbol 239 MovieClip Frame 194
gotoAndPlay (81);
Symbol 240 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Instance of Symbol 260 MovieClip in Symbol 261 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy) && (_parent.ouch != 0)) {
_root.cam.health = _root.cam.health - 0.2;
_root.cam.hurty.gotoAndPlay(2);
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 2
removeMovieClip(_root.scary);
_root.gotoAndStop(13);
Symbol 276 MovieClip Frame 3
removeMovieClip(_root.scary);
_root.gotoAndStop(13);
Symbol 276 MovieClip Frame 100
stop();
Symbol 281 MovieClip Frame 1
stop();
Instance of Symbol 276 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Math.round((_root.cam.health / 60) * 100) + 1);
}
Symbol 282 MovieClip Frame 70
_root.cam.timera++;
Symbol 284 MovieClip Frame 1
stopAllSounds();
Symbol 289 MovieClip Frame 1
stopAllSounds();
Symbol 289 MovieClip Frame 264
_root.nextFrame();
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 217 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Symbol 309 MovieClip Frame 1
stopAllSounds();
Symbol 309 MovieClip Frame 456
_root.nextFrame();
Instance of Symbol 217 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Symbol 392 MovieClip Frame 1
stopAllSounds();
Symbol 392 MovieClip Frame 311
_root.nextFrame();
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 217 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
nextFrame();
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Symbol 409 MovieClip Frame 370
_root.nextFrame();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 29
stop();
Instance of Symbol 420 MovieClip in Symbol 421 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 3;
_root.cam.hurty.gotoAndPlay(2);
}
}
Symbol 474 MovieClip Frame 90
_parent.gotoAndStop(1);
Symbol 489 MovieClip Frame 67
_parent.gotoAndStop(1);
Symbol 511 MovieClip Frame 91
gotoAndPlay (54);
Symbol 525 MovieClip Frame 54
stop();
Symbol 526 MovieClip Frame 1
stop();
Instance of Symbol 449 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
this._parent.power = this._parent.power - 1;
}
}
Instance of Symbol 474 MovieClip in Symbol 526 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
this._parent.power = this._parent.power - 1;
}
}
Instance of Symbol 489 MovieClip in Symbol 526 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
this._parent.power = this._parent.power - 1;
}
}
Instance of Symbol 511 MovieClip in Symbol 526 MovieClip Frame 4
onClipEvent (load) {
howf = 100;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true)) {
howf = howf - 1;
}
if (howf < 0) {
this._parent.gotoAndStop(1);
}
}
Instance of Symbol 417 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
play();
rid = 12;
}
}
Symbol 527 MovieClip Frame 130
gotoAndPlay (1);
Symbol 527 MovieClip Frame 264
stop();
Instance of Symbol 526 MovieClip in Symbol 527 MovieClip Frame 264
onClipEvent (enterFrame) {
if (_currentframe == 1) {
gotoAndPlay(random(4) + 1);
}
if (power < 0) {
gotoAndStop (5);
}
if (this.hitTest(_root.guy)) {
_root.guy.xs = -10;
_root.cam.health = _root.cam.health - 0.1;
}
trace(power);
}
onClipEvent (load) {
power = 350;
}
Symbol 529 MovieClip Frame 877
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 883
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 886
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 891
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 897
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 903
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 906
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 908
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 914
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1791
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1797
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1800
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1805
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1811
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1817
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1820
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1822
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Symbol 529 MovieClip Frame 1828
_root.k++;
duplicateMovieClip (_root.ground.drum, _root.k, _root.k);
Instance of Symbol 261 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Instance of Symbol 261 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
xs = 0;
ys = 0;
ms = 4;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.scary._x, _root.scary._y, true) && (rid == undefined)) {
this.boom.play();
ouch = 0;
_root.cam.kills++;
rid = 3;
}
if (this.lefts.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = 20;
ys = -8;
} else if (this.rights.hitTest(_root.scary._x, _root.scary._y, true)) {
xs = -20;
ys = -8;
}
_x = (_x + xs);
_y = (_y + ys);
if (xs > ms) {
xs = ms;
}
if (xs < (-ms)) {
xs = -ms;
}
if (ys > ms) {
ys = ms;
}
if (ys < (-ms)) {
ys = -ms;
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) - 10, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) - 10, _y + _parent._y, true)) {
_x = (_x+1);
}
if (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
xs = (-xs) / 2;
}
while (_root.ground.hitTest((_x + _parent._x) + 10, _y + _parent._y, true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
ys = (-ys) / 2;
}
while (_root.ground.hitTest(_x + _parent._x, (_y + _parent._y) + 10, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + _parent._x, (_y + 5) + _parent._y, true) && (ys > -2)) {
ys = 0;
}
if (ouch == 0) {
ys++;
xs = xs / 1.5;
} else {
rock = random(5);
if (rock == 1) {
xs++;
}
if (rock == 2) {
xs--;
}
if (rock == 3) {
ys++;
}
if (rock == 4) {
ys--;
}
}
}
Symbol 536 MovieClip Frame 1
stop();
Instance of Symbol 420 MovieClip in Symbol 536 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 20;
_root.cam.hurty.gotoAndPlay(2);
}
}
Instance of Symbol 420 MovieClip in Symbol 536 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 20;
_root.cam.hurty.gotoAndPlay(2);
}
}
Instance of Symbol 420 MovieClip in Symbol 536 MovieClip Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 20;
_root.cam.hurty.gotoAndPlay(2);
}
}
Instance of Symbol 420 MovieClip in Symbol 536 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 20;
_root.cam.hurty.gotoAndPlay(2);
}
}
Instance of Symbol 420 MovieClip in Symbol 536 MovieClip Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 20;
_root.cam.hurty.gotoAndPlay(2);
}
}
Instance of Symbol 420 MovieClip in Symbol 536 MovieClip Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.cam.health = _root.cam.health - 20;
_root.cam.hurty.gotoAndPlay(2);
}
}
Symbol 536 MovieClip Frame 73
stop();
Symbol 547 Button
on (release) {
if (_root.zonelevel == 1) {
gotoAndStop (4);
}
if (_root.zonelevel == 2) {
gotoAndStop (6);
}
if (_root.zonelevel == 3) {
gotoAndStop (8);
}
if (_root.zonelevel == 4) {
gotoAndStop (10);
}
if (_root.zonelevel == 5) {
gotoAndStop (12);
}
}
Symbol 551 MovieClip Frame 1
stopAllSounds();
Symbol 551 MovieClip Frame 366
stop();
Symbol 560 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 561 MovieClip Frame 1
stopAllSounds();
Symbol 561 MovieClip Frame 206
stop();