Frame 1
stop();
Frame 2
stop();
Frame 3
stop();
headdefine = "Pick One!";
head = head1;
Instance of Symbol 58 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.head == "head1") {
_root.headdefine = "Pumpkin";
}
}
onClipEvent (enterFrame) {
if (_root.head == "head2") {
_root.headdefine = "Skull";
}
}
onClipEvent (enterFrame) {
if (_root.head == "head3") {
_root.headdefine = "Bag";
}
}
onClipEvent (enterFrame) {
if (_root.head == "head4") {
_root.headdefine = "Devil";
}
}
onClipEvent (enterFrame) {
if (_root.head == "head5") {
_root.headdefine = "TankMan";
}
}
Instance of Symbol 119 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.head == "head1") {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head2") {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head3") {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head4") {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head5") {
this.gotoAndStop(5);
}
}
Frame 4
stop();
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
_quality = "medium";
Instance of Symbol 170 MovieClip in Frame 8
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 172 MovieClip in Frame 8
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 197 MovieClip "player" in Frame 8
onClipEvent (load) {
speed = 6;
speed2 = 5;
swordswing = false;
stopmove = true;
attack = true;
scale = _xscale;
move1 = true;
}
onClipEvent (enterFrame) {
if (move1) {
if (Key.isDown(38)) {
this._y = this._y - speed2;
this.gotoAndStop(2);
}
if (Key.isDown(40)) {
this._y = this._y + speed2;
this.gotoAndStop(2);
}
if (Key.isDown(37)) {
this._x = this._x - speed;
this.gotoAndStop(2);
_xscale = (-scale);
}
if (Key.isDown(39)) {
this._x = this._x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
onClipEvent (enterFrame) {
if (stopmove) {
if (!Key.isDown(38)) {
if (!Key.isDown(40)) {
if (!Key.isDown(65)) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(1);
move1 = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (attack) {
if (Key.isDown(65)) {
swordswing = true;
attack = false;
move1 = false;
}
}
}
onClipEvent (enterFrame) {
if (swordswing) {
this.gotoAndStop(3);
stopmove = false;
}
}
onClipEvent (enterFrame) {
_root.player._x = this._x;
_root.player._y = this._y;
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (!Key.isDown(38)) {
if (!Key.isDown(40)) {
if (!Key.isDown(65)) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(1);
move1 = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall1)) {
this._x = this._x + speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall2)) {
this._x = this._x - speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall3)) {
this._y = this._y + speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall4)) {
this._y = this._y - speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall5)) {
this._x = this._x + speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall6)) {
this._x = this._x - speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.door1)) {
_root.gotoAndPlay("start2");
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall7)) {
this._x = this._x + speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall8)) {
this._x = this._x - speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall9)) {
this._y = this._y + speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall10)) {
this._y = this._y - speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall11)) {
this._x = this._x + speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall12)) {
this._x = this._x - speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall13)) {
this._y = this._y + speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall14)) {
this._y = this._y - speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall15)) {
this._y = this._y - speed2;
}
}
onClipEvent (enterFrame) {
if (_root.head == "head1") {
_root.player.stand.head1.gotoAndStop(1);
_root.player.walk.walk2.head1.gotoAndStop(1);
_root.player.a.head1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head2") {
_root.player.stand.head1.gotoAndStop(2);
_root.player.walk.walk2.head1.gotoAndStop(2);
_root.player.a.head1.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head3") {
_root.player.stand.head1.gotoAndStop(3);
_root.player.walk.walk2.head1.gotoAndStop(3);
_root.player.a.head1.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head4") {
_root.player.stand.head1.gotoAndStop(4);
_root.player.walk.walk2.head1.gotoAndStop(4);
_root.player.a.head1.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head5") {
_root.player.stand.head1.gotoAndStop(5);
_root.player.walk.walk2.head1.gotoAndStop(5);
_root.player.a.head1.gotoAndStop(5);
}
}
Instance of Symbol 204 MovieClip "cam" in Frame 8
onClipEvent (load) {
physics0 = 0.05;
physics1 = 0.05;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
xspeed = ((_root.player._x - _x) * physics0) + (xspeed * physics1);
yspeed = ((_root.player._y - _y) * physics0) + (yspeed * physics1);
_x = (_x + xspeed);
_y = (_y + yspeed);
}
Instance of Symbol 207 MovieClip "healthmeter" in Frame 8
onClipEvent (load) {
physics0 = 0.05;
physics1 = 0.05;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
xspeed = ((_root.player._x - _x) * physics0) + (xspeed * physics1);
yspeed = ((_root.player._y - _y) * physics0) + (yspeed * physics1);
_x = (_x + xspeed);
_y = (_y + yspeed);
}
Frame 9
stop();
score1 = 0;
Instance of Symbol 235 MovieClip in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 235 MovieClip in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 235 MovieClip in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 235 MovieClip in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 254 MovieClip "kid1" in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth(this.kid));
(otherDepth = _root.player.getDepth());
if ((this.kid._y > _root.player._y) && (otherDepth > thisDepth)) {
this.kid.swapDepths(_root.player);
}
if ((_root.player._y > this.kid._y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 265 MovieClip "kid3" in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth(this.kid));
(otherDepth = _root.player.getDepth());
if ((this.kid._y > _root.player._y) && (otherDepth > thisDepth)) {
this.kid.swapDepths(_root.player);
}
if ((_root.player._y > this.kid._y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 276 MovieClip "kid2" in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth(this.kid));
(otherDepth = _root.player.getDepth());
if ((this.kid._y > _root.player._y) && (otherDepth > thisDepth)) {
this.kid.swapDepths(_root.player);
}
if ((_root.player._y > this.kid._y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 197 MovieClip "player" in Frame 9
onClipEvent (load) {
speed = 5.5;
speed2 = 4.5;
swordswing = false;
stopmove = true;
attack = true;
scale = _xscale;
move1 = true;
}
onClipEvent (enterFrame) {
if (move1) {
if (Key.isDown(38)) {
this._y = this._y - speed2;
this.gotoAndStop(2);
}
if (Key.isDown(40)) {
this._y = this._y + speed2;
this.gotoAndStop(2);
}
if (Key.isDown(37)) {
this._x = this._x - speed;
this.gotoAndStop(2);
_xscale = (-scale);
}
if (Key.isDown(39)) {
this._x = this._x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
onClipEvent (enterFrame) {
if (stopmove) {
if (!Key.isDown(38)) {
if (!Key.isDown(40)) {
if (!Key.isDown(65)) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(1);
move1 = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (attack) {
if (Key.isDown(65)) {
swordswing = true;
attack = false;
move1 = false;
}
}
}
onClipEvent (enterFrame) {
if (swordswing) {
this.gotoAndStop(3);
stopmove = false;
}
}
onClipEvent (enterFrame) {
_root.player._x = this._x;
_root.player._y = this._y;
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (!Key.isDown(38)) {
if (!Key.isDown(40)) {
if (!Key.isDown(65)) {
if (!Key.isDown(37)) {
if (!Key.isDown(39)) {
_root.player.gotoAndStop(1);
move1 = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall1)) {
this._x = this._x + speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall2)) {
this._x = this._x - speed;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall3)) {
this._y = this._y + speed2;
}
}
onClipEvent (enterFrame) {
if (this.shadow1.hitTest(_root.wall4)) {
this._y = this._y - speed2;
}
}
onClipEvent (enterFrame) {
if (_root.head == "head1") {
_root.player.stand.head1.gotoAndStop(1);
_root.player.walk.walk2.head1.gotoAndStop(1);
_root.player.a.head1.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head2") {
_root.player.stand.head1.gotoAndStop(2);
_root.player.walk.walk2.head1.gotoAndStop(2);
_root.player.a.head1.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head3") {
_root.player.stand.head1.gotoAndStop(3);
_root.player.walk.walk2.head1.gotoAndStop(3);
_root.player.a.head1.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head4") {
_root.player.stand.head1.gotoAndStop(4);
_root.player.walk.walk2.head1.gotoAndStop(4);
_root.player.a.head1.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.head == "head5") {
_root.player.stand.head1.gotoAndStop(5);
_root.player.walk.walk2.head1.gotoAndStop(5);
_root.player.a.head1.gotoAndStop(5);
}
}
Instance of Symbol 235 MovieClip in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 235 MovieClip in Frame 9
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((_y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > _y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 204 MovieClip "cam" in Frame 9
onClipEvent (load) {
physics0 = 0.05;
physics1 = 0.05;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
xspeed = ((_root.player._x - _x) * physics0) + (xspeed * physics1);
yspeed = ((_root.player._y - _y) * physics0) + (yspeed * physics1);
_x = (_x + xspeed);
_y = (_y + yspeed);
}
Instance of Symbol 294 MovieClip "healthmeter" in Frame 9
onClipEvent (load) {
physics0 = 0.05;
physics1 = 0.05;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
xspeed = ((_root.player._x - _x) * physics0) + (xspeed * physics1);
yspeed = ((_root.player._y - _y) * physics0) + (yspeed * physics1);
_x = (_x + xspeed);
_y = (_y + yspeed);
}
Symbol 35 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 37 MovieClip Frame 40
stop();
Symbol 46 Button
on (release) {
_root.play();
}
Symbol 47 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 47 MovieClip Frame 51
Symbol 52 Button
on (release) {
getURL ("http://www.newgrounds.com/collection/halloween2007", "_blank");
}
Symbol 56 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 103 Button
on (release) {
_root.play();
}
Symbol 104 MovieClip Frame 143
_root.play();
stop();
Symbol 108 Button
on (press) {
_root.play();
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 127 Button
on (press) {
_root.head = "head1";
}
Symbol 130 Button
on (press) {
_root.head = "head2";
}
Symbol 132 Button
on (press) {
_root.head = "head3";
}
Symbol 135 Button
on (press) {
_root.head = "head4";
}
Symbol 139 Button
on (press) {
_root.head = "head5";
}
Symbol 149 Button
on (press) {
_root.play();
}
Symbol 154 Button
on (press) {
_root.gotoAndStop("start");
}
Symbol 192 MovieClip Frame 1
_root.attack = true;
_root.swordswing = true;
Symbol 192 MovieClip Frame 20
_root.player1.gotoAndStop(1);
Symbol 196 MovieClip Frame 1
_root.player.move1 = false;
Symbol 196 MovieClip Frame 5
_root.player.move1 = false;
Symbol 196 MovieClip Frame 10
_root.player.swordswing = false;
_root.player.stopmove = true;
_root.player.attack = true;
_root.player.move1 = true;
Symbol 197 MovieClip Frame 1
stop();
_root.player.move1 = true;
_root.player.attack = true;
Symbol 197 MovieClip Frame 2
_root.attack = true;
_root.player.move1 = true;
Symbol 204 MovieClip Frame 1
function setParallax(clip, percentSpeed) {
if (clipSearch.join(" ").indexOf(clip._name) == -1) {
percentSpeed = (100 - percentSpeed) / 100;
clipList.push({mc:clip, val:percentSpeed});
clipSearch.push(clip._name);
this.onEnterFrame = parallaxCamControl;
}
}
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local3);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local3;
_parent._yscale = 100 * _local4;
}
function parallaxCamControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local5 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local5);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local5;
camSpeedX = this._x - lastXPos;
camSpeedY = this._y - lastYPos;
lastXPos = this._x;
lastYPos = this._y;
var _local3 = 0;
while (_local3 < clipList.length) {
clipList[_local3].mc._x = clipList[_local3].mc._x + (camSpeedX * clipList[_local3].val);
clipList[_local3].mc._y = clipList[_local3].mc._y + (camSpeedY * clipList[_local3].val);
_local3++;
}
}
function resetStage() {
var _local3 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local3);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
var _local2 = 0;
while (_local2 < clipList.length) {
clipList[_local2].name._x = clipList[_local2].startX;
clipList[_local2].name._y = clipList[_local2].startY;
_local2++;
}
}
var clipList = new Array();
var clipSearch = new Array();
var camSpeedX = 0;
var camSpeedY = 0;
var lastXPos = this._x;
var lastYPos = this._y;
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;
Symbol 207 MovieClip Frame 45
stop();
Instance of Symbol 249 MovieClip in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.healthmeter.score = _root.healthmeter.score + 1;
_root.score1 = _root.score1 + 1;
}
Symbol 252 MovieClip Frame 18
_root.kid1.kid.move1 = true;
_root.kid1.kid.speed = 3.5;
Symbol 252 MovieClip Frame 35
_root.kid1.kid.gotoAndStop(1);
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
_parent.kid.speed = 0;
_parent.kid.move1 = false;
Instance of Symbol 253 MovieClip "kid" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
speed = 3;
move1 = true;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitbox.hitTest(_root.player.a.d)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (move1) {
if (_parent.kidmove._x > this._x) {
this._x = this._x + speed;
_xscale = scale;
}
if (_parent.kidmove._x < this._x) {
this._x = this._x - speed;
_xscale = (-scale);
}
if (_parent.kidmove._y < this._y) {
this._y = this._y - speed;
}
if (_parent.kidmove._y > this._y) {
this._y = this._y + speed;
}
}
}
Instance of Symbol 237 MovieClip "kidmove" in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.kid)) {
this._x = _root.square._x + Math.round(Math.random() * 750);
this._y = _root.square._y + Math.round(Math.random() * 500);
}
}
Instance of Symbol 249 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.healthmeter.score = _root.healthmeter.score + 1;
_root.score1 = _root.score1 + 1;
}
Symbol 263 MovieClip Frame 15
_root.kid3.kid.move1 = true;
_root.kid3.kid.speed = 3.5;
Symbol 263 MovieClip Frame 35
_root.kid3.kid.gotoAndStop(1);
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
_parent.kid.speed = 0;
_parent.kid.move1 = false;
Instance of Symbol 264 MovieClip "kid" in Symbol 265 MovieClip Frame 1
onClipEvent (load) {
speed = 3;
move1 = true;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitbox.hitTest(_root.player.a.d)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (move1) {
if (_parent.kidmove._x > this._x) {
this._x = this._x + speed;
_xscale = scale;
}
if (_parent.kidmove._x < this._x) {
this._x = this._x - speed;
_xscale = (-scale);
}
if (_parent.kidmove._y < this._y) {
this._y = this._y - speed;
}
if (_parent.kidmove._y > this._y) {
this._y = this._y + speed;
}
}
}
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((this._y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > this._y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 237 MovieClip "kidmove" in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.kid)) {
this._x = _root.square._x + Math.round(Math.random() * 750);
this._y = _root.square._y + Math.round(Math.random() * 500);
}
}
Instance of Symbol 249 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.healthmeter.score = _root.healthmeter.score + 1;
_root.score1 = _root.score1 + 1;
}
Symbol 274 MovieClip Frame 22
_root.kid2.kid.move1 = true;
_root.kid2.kid.speed = 3.5;
Symbol 274 MovieClip Frame 68
_root.kid2.kid.gotoAndStop(1);
Symbol 275 MovieClip Frame 1
stop();
_parent.kid.speed = 3.5;
_parent.kid.move1 = true;
Symbol 275 MovieClip Frame 2
_parent.kid.speed = 0;
_parent.kid.move1 = false;
Instance of Symbol 275 MovieClip "kid" in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
speed = 3;
move1 = true;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitbox.hitTest(_root.player.a.d)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (move1) {
if (_parent.kidmove._x > this._x) {
this._x = this._x + speed;
_xscale = scale;
}
if (_parent.kidmove._x < this._x) {
this._x = this._x - speed;
_xscale = (-scale);
}
if (_parent.kidmove._y < this._y) {
this._y = this._y - speed;
}
if (_parent.kidmove._y > this._y) {
this._y = this._y + speed;
}
}
}
onClipEvent (enterFrame) {
(thisDepth = this.getDepth());
(otherDepth = _root.player.getDepth());
if ((this._y > _root.player._y) && (otherDepth > thisDepth)) {
this.swapDepths(_root.player);
}
if ((_root.player._y > this._y) && (thisDepth > otherDepth)) {
this.swapDepths(_root.player);
}
}
Instance of Symbol 237 MovieClip "kidmove" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.kid)) {
this._x = _root.square._x + Math.round(Math.random() * 750);
this._y = _root.square._y + Math.round(Math.random() * 500);
}
}
Symbol 288 MovieClip Frame 3350
_root.gotoAndStop("dead");
Symbol 294 MovieClip Frame 1
score = 0;
maxscore = 30;
Symbol 301 Button
on (press) {
_root.gotoAndStop("menu");
}