Frame 3
stop();
Instance of Symbol 132 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 7
stop();
Instance of Symbol 106 MovieClip "player" in Frame 7
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 0.5;
this._xscale = 200;
this.End = false;
}
onClipEvent (enterFrame) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
this._yscale = this._xscale;
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(2);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
if (_root.walls.hitTest(getBounds(_parent).xMax, _y, true)) {
this._x = oldX;
this._x = this._x - speed;
}
if (_root.walls.hitTest(getBounds(_parent).xMin, _y, true)) {
this._x = oldX;
this._x = this._x + speed;
}
if (_root.walls.hitTest(_x, getBounds(_parent).yMax, true)) {
this._y = oldY;
this._y = this._y - speed;
}
if (_root.walls.hitTest(_x, getBounds(_parent).yMin, true)) {
this._y = oldY;
this._y = this._y + speed;
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 13
stop();
Instance of Symbol 106 MovieClip "player" in Frame 13
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 200;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
this._yscale = this._xscale;
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(35);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 13
onClipEvent (load) {
this.bob = 0;
this.bobby = true;
this.num = 0.2;
this._rotation = 7;
}
onClipEvent (enterFrame) {
this.bob = this.bob + this.num;
this._rotation = this._rotation - bob;
if (this._rotation >= 0) {
if (this.bobby == false) {
this.num = -this.num;
this.bobby = true;
}
}
if (this._rotation <= 0) {
if (this.bobby == true) {
this.num = -this.num;
this.bobby = false;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 20
stop();
Instance of Symbol 188 MovieClip in Frame 20
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 150) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 190 MovieClip in Frame 20
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 195 MovieClip "gate" in Frame 20
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
Instance of Symbol 106 MovieClip "player" in Frame 20
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 170;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
this._yscale = this._xscale;
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(65);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 20
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 30
stop();
Instance of Symbol 106 MovieClip "player" in Frame 30
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 170;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
this._yscale = this._xscale;
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(95);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 176 MovieClip in Frame 30
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 30
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 40
stop();
Instance of Symbol 204 MovieClip "gate6" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 205 MovieClip "gate8" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
Instance of Symbol 204 MovieClip "gate4" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate3" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate5" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate7" in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate3.gotoAndPlay(5);
_root.gate5.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate4.gotoAndPlay(5);
_root.gate6.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate7.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 40
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate8.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 40
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(125);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 176 MovieClip in Frame 40
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 40
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 50
stop();
Instance of Symbol 205 MovieClip "gate3" in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
Instance of Symbol 204 MovieClip "gate" in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate2" in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 188 MovieClip in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 75) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 190 MovieClip in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate2.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 50
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.button1.hit = false;
_root.gate3.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip "button1" in Frame 50
onClipEvent (load) {
hit = true;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate3.gotoAndPlay(1);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 50
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(155);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 50
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 50
/* no clip actions */
Frame 60
stop();
Instance of Symbol 188 MovieClip in Frame 60
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 75) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 188 MovieClip in Frame 60
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 75) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 60
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(185);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 60
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 60
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 60
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 60
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 60
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 60
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 70
stop();
Instance of Symbol 188 MovieClip in Frame 70
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 150) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 188 MovieClip in Frame 70
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 200) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 204 MovieClip "gate" in Frame 70
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 70
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.button1.hit = false;
_root.gate.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 70
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(215);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 70
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 70
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 70
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 80
stop();
Instance of Symbol 204 MovieClip "gate" in Frame 80
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 188 MovieClip in Frame 80
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 200) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 190 MovieClip in Frame 80
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.button1.hit = false;
_root.gate.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 80
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(245);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 176 MovieClip in Frame 80
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 80
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 80
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 80
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 80
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 90
stop();
Instance of Symbol 106 MovieClip "player" in Frame 90
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(275);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 90
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 100
stop();
Instance of Symbol 188 MovieClip in Frame 100
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale > 70) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 106 MovieClip "player" in Frame 100
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(305);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 100
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 110
stop();
Instance of Symbol 204 MovieClip "gate" in Frame 110
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 188 MovieClip in Frame 110
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 100) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 241 MovieClip "teleporterIn1" in Frame 110
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
this._parent.player._x = _root.teleporterOut1._x;
this._parent.player._y = _root.teleporterOut1._y;
}
}
Instance of Symbol 241 MovieClip "teleporterIn2" in Frame 110
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
this._parent.player._x = _root.teleporterOut2._x;
this._parent.player._y = _root.teleporterOut2._y;
}
}
Instance of Symbol 190 MovieClip in Frame 110
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.button1.hit = false;
_root.gate.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 110
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(335);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 110
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 176 MovieClip in Frame 110
/* no clip actions */
Frame 120
stop();
Instance of Symbol 204 MovieClip "gate4" in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate2" in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate3.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 204 MovieClip "gate1" in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 188 MovieClip in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 130) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 190 MovieClip in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate2.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 204 MovieClip "gate3" in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate4.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 120
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate1.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 120
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(365);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 176 MovieClip in Frame 120
/* no clip actions */
Instance of Symbol 176 MovieClip in Frame 120
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 120
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 130
stop();
Instance of Symbol 188 MovieClip in Frame 130
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 80) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 130
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(395);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Frame 140
stop();
Instance of Symbol 188 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 130) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 188 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 130) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 204 MovieClip "gate3" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 188 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player._xscale < 130) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
}
Instance of Symbol 241 MovieClip "teleporterIn1" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
this._parent.player._x = _root.teleporterOut1._x;
this._parent.player._y = _root.teleporterOut1._y;
}
}
Instance of Symbol 204 MovieClip "gate1" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate5.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate4.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 204 MovieClip "gate2" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 204 MovieClip "gate4" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate3.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 204 MovieClip "gate5" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (this._parent.sk1.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (this._parent.sk2.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (this._parent.skthree.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (this._parent.sk4.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (this._parent.sk5.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (this._parent.sk6.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
Instance of Symbol 190 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate1.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 190 MovieClip in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (this._parent.player.hitTest(this)) {
_root.gate2.gotoAndPlay(5);
hit = true;
}
}
}
Instance of Symbol 106 MovieClip "player" in Frame 140
onClipEvent (load) {
this.isRightDown = false;
this.isShoting = false;
this.isLeftDown = false;
this.iswading = false;
this.moveVectorX = 0;
this.moveVectorY = -1;
this._rotation = 90;
this.speed = 3;
this._xscale = 100;
this.End = false;
this.dead = false;
}
onClipEvent (enterFrame) {
this._yscale = this._xscale;
if (this.dead == false) {
var Distance = Math.sqrt(((this._x - this._parent._xmouse) * (this._x - this._parent._xmouse)) + ((this._y - this._parent._ymouse) * (this._y - this._parent._ymouse)));
var oldX = this._x;
var oldY = this._y;
var angle = Math.atan2(this.moveVectorY, this.moveVectorX);
angle = angle * 57.2957795130823;
this._rotation = angle + 180;
var pos = {x:this._x, y:this._y};
this._parent.localToGlobal(pos);
this.moveVectorX = this._parent._xmouse - this._x;
this.moveVectorY = this._parent._ymouse - this._y;
var length = Math.sqrt((this.moveVectorX * this.moveVectorX) + (this.moveVectorY * this.moveVectorY));
this.moveVectorX = this.moveVectorX / length;
this.moveVectorY = this.moveVectorY / length;
this._x = this._x + (((this.moveVectorX * 0.05) * Distance) / 2);
this._y = this._y + (((this.moveVectorY * 0.05) * Distance) / 2);
if (this._parent.side2.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else if (this._parent.side1.hitTest(this)) {
stop();
this._x = oldX;
this._y = oldY;
} else {
play();
}
if (this._xscale > 300) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale < 10) {
this.dead = true;
this.gotoAndPlay("pop");
}
if (this._xscale > 55) {
if (this._parent.tube.hitTest(this)) {
this._x = oldX;
this._y = oldY;
}
} else if (this.End == false) {
if (this._parent.end.hitTest(this)) {
_root.back.gotoAndPlay(425);
this.End = true;
}
}
if (this._x <= 40) {
this._x = 40;
}
if (this._y <= 40) {
this._y = 40;
}
if (this._x >= 510) {
this._x = 510;
}
if (this._y >= 360) {
this._y = 360;
}
}
}
Instance of Symbol 176 MovieClip in Frame 140
/* no clip actions */
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 132 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this._alpha == 100) {
if (_root.player.hitTest(this)) {
this._alpha = 0;
_root.player._xscale = _root.player._xscale - 10;
}
}
}
Instance of Symbol 205 MovieClip "gate" in Frame 140
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
Frame 145
stop();
Symbol 11 MovieClip [bat] Frame 1
#initclip 5
Object.registerClass("bat", Skercrow);
#endinitclip
Symbol 18 MovieClip [sker crow] Frame 1
#initclip 3
Object.registerClass("sker crow", Skercrow);
#endinitclip
Symbol 20 MovieClip [plank] Frame 1
#initclip 4
Object.registerClass("plank", walls);
#endinitclip
Symbol 50 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 52 MovieClip Frame 40
stop();
Symbol 64 Button
on (release) {
startMovie();
}
Symbol 65 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 65 MovieClip Frame 51
stop();
Symbol 70 Button
on (release) {
getURL ("http://www.newgrounds.com/collection/halloween2008");
}
Symbol 263 MovieClip [__Packages.Skercrow] Frame 0
class Skercrow extends MovieClip
{
var hit, moveVectorX, moveVectorY, _rotation, speed, dead, _x, _y, _parent;
function Skercrow () {
super();
hit = false;
moveVectorX = 0;
moveVectorY = -1;
_rotation = 90;
speed = 3;
dead = false;
}
function onEnterFrame() {
oldX = _x;
oldY = _y;
var _local3 = Math.atan2(moveVectorY, moveVectorX);
_local3 = _local3 * 57.2957795130823;
_rotation = _local3 + 180;
var _local5 = {x:_x, y:_y};
_parent.localToGlobal(_local5);
moveVectorX = _parent.player._x - _x;
moveVectorY = _parent.player._y - _y;
var _local4 = Math.sqrt((moveVectorX * moveVectorX) + (moveVectorY * moveVectorY));
moveVectorX = moveVectorX / _local4;
moveVectorY = moveVectorY / _local4;
_x = _x + (moveVectorX * 1.2);
_y = _y + (moveVectorY * 1.2);
if (_parent.side2.hitTest(this)) {
_x = oldX;
_y = oldY;
} else if (_parent.side1.hitTest(this)) {
_x = oldX;
_y = oldY;
}
if (_parent.tube.hitTest(this)) {
_x = oldX;
_y = oldY;
}
if (_root.player.dead == false) {
if (_root.player.hit_tester.hitTest(this)) {
_root.player._xscale = _root.player._xscale - 1;
_x = oldX;
_y = oldY;
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
}
}
}
var oldX = 0;
var oldY = 0;
}
Symbol 264 MovieClip [__Packages.walls] Frame 0
class walls extends MovieClip
{
var hit, _parent;
function walls () {
super();
hit = false;
}
function onEnterFrame() {
if (_parent.player.hit_tester.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
if (_parent.sk1.skHit_tester.hitTest(this)) {
_root.sk1._x = _root.sk1.oldX;
_root.sk1._y = _root.sk1.oldY;
}
if (_parent.sk2.skHit_tester.hitTest(this)) {
_root.sk2._x = _root.sk2.oldX;
_root.sk2._y = _root.sk2.oldY;
}
if (_parent.skthree.skHit_tester.hitTest(this)) {
_root.skthree._x = _root.skthree.oldX;
_root.skthree._y = _root.skthree.oldY;
}
if (_parent.sk4.skHit_tester.hitTest(this)) {
_root.sk4._x = _root.sk4.oldX;
_root.sk4._y = _root.sk4.oldY;
}
if (_parent.sk5.skHit_tester.hitTest(this)) {
_root.sk5._x = _root.sk5.oldX;
_root.sk5._y = _root.sk5.oldY;
}
if (_parent.sk6.skHit_tester.hitTest(this)) {
_root.sk6._x = _root.sk6.oldX;
_root.sk6._y = _root.sk6.oldY;
}
}
var MAX_SPEED = 10;
}
Symbol 78 Button
on (release) {
gotoAndStop (7);
}
Symbol 106 MovieClip Frame 10
gotoAndPlay (1);
Symbol 106 MovieClip Frame 40
stop();
Symbol 107 MovieClip Frame 61
stop();
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
this._rotation = Math.random() * 40;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 30
stop();
_parent.gotoAndStop(10);
Symbol 158 MovieClip Frame 63
stop();
_parent.gotoAndStop(15);
Symbol 158 MovieClip Frame 93
stop();
_parent.gotoAndStop(25);
Symbol 158 MovieClip Frame 123
stop();
_parent.gotoAndStop(35);
Symbol 158 MovieClip Frame 153
stop();
_parent.gotoAndStop(45);
Symbol 158 MovieClip Frame 183
stop();
_parent.gotoAndStop(55);
Symbol 158 MovieClip Frame 213
stop();
_parent.gotoAndStop(65);
Symbol 158 MovieClip Frame 243
stop();
_parent.gotoAndStop(75);
Symbol 158 MovieClip Frame 273
stop();
_parent.gotoAndStop(85);
Symbol 158 MovieClip Frame 303
stop();
_parent.gotoAndStop(95);
Symbol 158 MovieClip Frame 333
stop();
_parent.gotoAndStop(105);
Symbol 158 MovieClip Frame 363
stop();
_parent.gotoAndStop(115);
Symbol 158 MovieClip Frame 393
stop();
_parent.gotoAndStop(125);
Symbol 158 MovieClip Frame 423
stop();
_parent.gotoAndStop(135);
Symbol 158 MovieClip Frame 453
stop();
_parent.gotoAndStop(145);
Symbol 166 Button
on (release) {
gotoAndStop (13);
}
Instance of Symbol 79 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this._parent._parent.player.hitTest(this)) {
_root.player.stop();
_root.player._x = _root.player.oldX;
_root.player._y = _root.player.oldY;
hit = true;
} else if (hit == true) {
hit = false;
_root.player.play();
}
}
Instance of Symbol 175 MovieClip "zap" in Symbol 176 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
if (_root.player.dead == false) {
_root.player._xscale = _root.player._xscale + 2;
}
}
}
Symbol 183 Button
on (release) {
gotoAndPlay (12);
}
Symbol 184 Button
on (release) {
gotoAndStop (20);
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 10
stop();
Symbol 196 Button
on (release) {
gotoAndPlay (18);
}
Symbol 197 Button
on (release) {
gotoAndStop (30);
}
Symbol 200 Button
on (release) {
gotoAndPlay (28);
}
Symbol 201 Button
on (release) {
gotoAndStop (40);
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 10
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 10
stop();
Symbol 207 Button
on (release) {
gotoAndPlay (38);
}
Symbol 208 Button
on (release) {
gotoAndStop (50);
}
Symbol 212 Button
on (release) {
gotoAndPlay (48);
}
Symbol 213 Button
on (release) {
gotoAndStop (60);
}
Symbol 216 Button
on (release) {
gotoAndPlay (58);
}
Symbol 217 Button
on (release) {
gotoAndStop (70);
}
Symbol 220 Button
on (release) {
gotoAndPlay (68);
}
Symbol 221 Button
on (release) {
gotoAndStop (80);
}
Symbol 224 Button
on (release) {
gotoAndPlay (78);
}
Symbol 225 Button
on (release) {
gotoAndStop (90);
}
Symbol 229 Button
on (release) {
gotoAndPlay (88);
}
Symbol 230 Button
on (release) {
gotoAndStop (100);
}
Symbol 233 Button
on (release) {
gotoAndPlay (98);
}
Symbol 234 Button
on (release) {
gotoAndStop (110);
}
Symbol 244 Button
on (release) {
gotoAndPlay (108);
}
Symbol 245 Button
on (release) {
gotoAndStop (120);
}
Symbol 248 Button
on (release) {
gotoAndPlay (118);
}
Symbol 249 Button
on (release) {
gotoAndStop (130);
}
Symbol 252 Button
on (release) {
gotoAndPlay (128);
}
Symbol 253 Button
on (release) {
gotoAndStop (140);
}
Symbol 256 Button
on (release) {
gotoAndPlay (138);
}
Symbol 261 Button
on (release) {
gotoAndStop (3);
}