Frame 1
function die() {
if (!win) {
death++;
reset();
}
}
function reset() {
this.player._x = _root.startX;
this.player._y = _root.startY;
this.player.downSpeed = 0;
this.player.upSpeed = 0;
this.player.rightSpeed = 0;
this.player.leftSpeed = 0;
}
this.onEnterFrame = function () {
if (((Key.isDown(90) && (Key.isDown(88))) && (Key.isDown(67))) && (Key.isDown(86))) {
root.win = true;
this.nextFrame();
}
};
var song1 = new Sound();
song1.attachSound("song1");
var song2 = new Sound();
song2.attachSound("song2");
var song3 = new Sound();
song3.attachSound("song3");
var song4 = new Sound();
song4.attachSound("song4");
stop();
var death = 0;
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (enterFrame) {
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
if (_root._framesloaded >= _root._totalframes) {
this.gotoAndStop("done");
}
}
Instance of Symbol 15 MovieClip in Frame 1
on (release) {
getURL ("http://sasuke2910.newgrounds.com", "_blank");
}
Instance of Symbol 15 MovieClip in Frame 1
on (release) {
getURL ("http://deadchick.newgrounds.com", "_blank");
}
Instance of Symbol 15 MovieClip in Frame 1
on (release) {
getURL ("http://shadowchaotailsevil3.newgrounds.com/", "_blank");
}
Instance of Symbol 15 MovieClip in Frame 1
on (release) {
getURL ("http://Michael425.newgrounds.com", "_blank");
}
Instance of Symbol 15 MovieClip in Frame 1
on (release) {
getURL ("http://shadowchaotailsevil3.newgrounds.com/", "_blank");
}
Instance of Symbol 15 MovieClip in Frame 1
on (release) {
getURL ("http://a-x.newgrounds.com/", "_blank");
}
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - this._parent.player._x) / 20);
this._y = this._y - ((this._y - this._parent.player._y) / 20);
}
Frame 2
stop();
Frame 3
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
song1.start(0, 9999999);
Instance of Symbol 38 MovieClip in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.player)) {
_root.win = true;
this.nextFrame();
}
}
Instance of Symbol 55 MovieClip in Frame 3
onClipEvent (enterFrame) {
_root.startX = this._x;
_root.startY = this._y;
}
Instance of Symbol 27 MovieClip "player" in Frame 3
onClipEvent (load) {
leftSpeed = 1;
rightSpeed = 1;
upSpeed = 1;
downSpeed = 1;
radius = (this._width / 2) - 1;
}
onClipEvent (enterFrame) {
if (!_root.win) {
if (leftSpeed >= 15) {
leftSpeed = 15;
}
if (rightSpeed >= 15) {
rightSpeed = 15;
}
if (upSpeed >= 15) {
upSpeed = 15;
}
if (downSpeed >= 15) {
downSpeed = 15;
}
if (Key.isDown(65) || (Key.isDown(37))) {
this._x = this._x - leftSpeed;
leftSpeed++;
} else if (leftSpeed >= 2) {
leftSpeed = leftSpeed - 2;
this._x = this._x - leftSpeed;
}
if (Key.isDown(83) || (Key.isDown(40))) {
this._y = this._y + downSpeed;
downSpeed++;
} else if (downSpeed >= 2) {
downSpeed = downSpeed - 2;
this._y = this._y + downSpeed;
}
if (Key.isDown(87) || (Key.isDown(38))) {
this._y = this._y - upSpeed;
upSpeed++;
} else if (upSpeed >= 2) {
upSpeed = upSpeed - 2;
this._y = this._y - upSpeed;
}
if (Key.isDown(68) || (Key.isDown(39))) {
this._x = this._x + rightSpeed;
rightSpeed++;
} else if (rightSpeed >= 2) {
rightSpeed = rightSpeed - 2;
this._x = this._x + rightSpeed;
}
if (_root.walls.hitTest(_x, _y, true)) {
_root.die();
}
}
}
Frame 4
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 5
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 6
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 7
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 8
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Instance of Symbol 27 MovieClip "player" in Frame 8
onClipEvent (load) {
leftSpeed = 1;
rightSpeed = 1;
upSpeed = 1;
downSpeed = 1;
this.width = 5.2;
this.height = 5.2;
radius = (this._width / 2) - 1;
}
onClipEvent (enterFrame) {
if (!_root.win) {
if (leftSpeed >= 15) {
leftSpeed = 15;
}
if (rightSpeed >= 15) {
rightSpeed = 15;
}
if (upSpeed >= 15) {
upSpeed = 15;
}
if (downSpeed >= 15) {
downSpeed = 15;
}
if (Key.isDown(65) || (Key.isDown(37))) {
this._x = this._x - leftSpeed;
leftSpeed++;
} else if (leftSpeed >= 2) {
leftSpeed = leftSpeed - 2;
this._x = this._x - leftSpeed;
}
if (Key.isDown(83) || (Key.isDown(40))) {
this._y = this._y + downSpeed;
downSpeed++;
} else if (downSpeed >= 2) {
downSpeed = downSpeed - 2;
this._y = this._y + downSpeed;
}
if (Key.isDown(87) || (Key.isDown(38))) {
this._y = this._y - upSpeed;
upSpeed++;
} else if (upSpeed >= 2) {
upSpeed = upSpeed - 2;
this._y = this._y - upSpeed;
}
if (Key.isDown(68) || (Key.isDown(39))) {
this._x = this._x + rightSpeed;
rightSpeed++;
} else if (rightSpeed >= 2) {
rightSpeed = rightSpeed - 2;
this._x = this._x + rightSpeed;
}
if (_root.walls.hitTest(_x, _y, true)) {
_root.die();
}
}
}
Frame 9
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 10
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Instance of Symbol 27 MovieClip "player" in Frame 10
onClipEvent (load) {
leftSpeed = 1;
rightSpeed = 1;
upSpeed = 1;
downSpeed = 1;
radius = (this._width / 2) - 1;
}
onClipEvent (enterFrame) {
if (!_root.win) {
if (leftSpeed >= 15) {
leftSpeed = 15;
}
if (rightSpeed >= 15) {
rightSpeed = 15;
}
if (upSpeed >= 15) {
upSpeed = 15;
}
if (downSpeed >= 15) {
downSpeed = 15;
}
if (Key.isDown(65) || (Key.isDown(37))) {
this._x = this._x - leftSpeed;
leftSpeed++;
} else if (leftSpeed >= 2) {
leftSpeed = leftSpeed - 2;
this._x = this._x - leftSpeed;
}
if (Key.isDown(83) || (Key.isDown(40))) {
this._y = this._y + downSpeed;
downSpeed++;
} else if (downSpeed >= 2) {
downSpeed = downSpeed - 2;
this._y = this._y + downSpeed;
}
if (Key.isDown(87) || (Key.isDown(38))) {
this._y = this._y - upSpeed;
upSpeed++;
} else if (upSpeed >= 2) {
upSpeed = upSpeed - 2;
this._y = this._y - upSpeed;
}
if (Key.isDown(68) || (Key.isDown(39))) {
this._x = this._x + rightSpeed;
rightSpeed++;
} else if (rightSpeed >= 2) {
rightSpeed = rightSpeed - 2;
this._x = this._x + rightSpeed;
}
if (_root.walls.hitTest(_x, _y, true)) {
_root.die();
}
}
}
Frame 11
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Instance of Symbol 27 MovieClip "player" in Frame 11
onClipEvent (load) {
leftSpeed = 1;
rightSpeed = 1;
upSpeed = 1;
downSpeed = 1;
this.width = 5.2;
this.height = 5.2;
radius = (this._width / 2) - 1;
}
onClipEvent (enterFrame) {
if (!_root.win) {
if (leftSpeed >= 15) {
leftSpeed = 15;
}
if (rightSpeed >= 15) {
rightSpeed = 15;
}
if (upSpeed >= 15) {
upSpeed = 15;
}
if (downSpeed >= 15) {
downSpeed = 15;
}
if (Key.isDown(65) || (Key.isDown(37))) {
this._x = this._x - leftSpeed;
leftSpeed++;
} else if (leftSpeed >= 2) {
leftSpeed = leftSpeed - 2;
this._x = this._x - leftSpeed;
}
if (Key.isDown(83) || (Key.isDown(40))) {
this._y = this._y + downSpeed;
downSpeed++;
} else if (downSpeed >= 2) {
downSpeed = downSpeed - 2;
this._y = this._y + downSpeed;
}
if (Key.isDown(87) || (Key.isDown(38))) {
this._y = this._y - upSpeed;
upSpeed++;
} else if (upSpeed >= 2) {
upSpeed = upSpeed - 2;
this._y = this._y - upSpeed;
}
if (Key.isDown(68) || (Key.isDown(39))) {
this._x = this._x + rightSpeed;
rightSpeed++;
} else if (rightSpeed >= 2) {
rightSpeed = rightSpeed - 2;
this._x = this._x + rightSpeed;
}
if (_root.walls.hitTest(_x, _y, true)) {
_root.die();
}
}
}
Frame 12
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
stopAllSounds();
song2.start(0, 9999999);
Frame 13
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 14
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Instance of Symbol 27 MovieClip "player" in Frame 14
onClipEvent (load) {
leftSpeed = 1;
rightSpeed = 1;
upSpeed = 1;
downSpeed = 1;
this.width = 20;
this.height = 20;
radius = (this._width / 2) - 1;
}
onClipEvent (enterFrame) {
if (!_root.win) {
if (leftSpeed >= 15) {
leftSpeed = 15;
}
if (rightSpeed >= 15) {
rightSpeed = 15;
}
if (upSpeed >= 15) {
upSpeed = 15;
}
if (downSpeed >= 15) {
downSpeed = 15;
}
if (Key.isDown(65) || (Key.isDown(37))) {
this._x = this._x - leftSpeed;
leftSpeed++;
} else if (leftSpeed >= 2) {
leftSpeed = leftSpeed - 2;
this._x = this._x - leftSpeed;
}
if (Key.isDown(83) || (Key.isDown(40))) {
this._y = this._y + downSpeed;
downSpeed++;
} else if (downSpeed >= 2) {
downSpeed = downSpeed - 2;
this._y = this._y + downSpeed;
}
if (Key.isDown(87) || (Key.isDown(38))) {
this._y = this._y - upSpeed;
upSpeed++;
} else if (upSpeed >= 2) {
upSpeed = upSpeed - 2;
this._y = this._y - upSpeed;
}
if (Key.isDown(68) || (Key.isDown(39))) {
this._x = this._x + rightSpeed;
rightSpeed++;
} else if (rightSpeed >= 2) {
rightSpeed = rightSpeed - 2;
this._x = this._x + rightSpeed;
}
if (_root.walls.hitTest(_x, _y, true)) {
_root.die();
}
}
}
Frame 15
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 16
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 17
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
Frame 18
stop();
win = false;
this.player._x = _root.startX;
this.player._y = _root.startY;
stopAllSounds();
song3.start(0, 9999999);
Frame 19
stopAllSounds();
song4.start(0, 1);
play();
Frame 370
stop();
Instance of Symbol 96 MovieClip in Frame 370
on (release) {
_root.gotoAndStop(1);
}
Symbol 9 MovieClip Frame 101
this.onRelease = function () {
_root.nextFrame();
};
this.onRollOver = function () {
this._alpha = 50;
};
Symbol 15 MovieClip Frame 1
this._alpha = 1;
Symbol 21 MovieClip Frame 1
function camControl() {
rp.x = _x;
rp.y = _y;
var _local5 = camH * (_yscale * 0.01);
var _local6 = camW * (_xscale * 0.01);
var _local3 = sH / _local5;
var _local4 = sW / _local6;
_x2 = (_local6 / 2) * _local4;
_y2 = (_local5 / 2) * _local3;
_xscale2 = _local4 * 100;
_yscale2 = _local3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x + (value - _local2.x);
}
function get_x2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.x);
}
function set_y2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._y = _parent._y + (value - _local2.y);
}
function get_y2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.y);
}
function get_xscale2() {
return(_parent._xscale);
}
function set_xscale2(value) {
setProperty2("_xscale", value);
}
function get_yscale2() {
return(_parent._yscale);
}
function set_yscale2(value) {
setProperty2("_yscale", value);
}
function get_rotation2() {
return(parent.rotation);
}
function set_rotation2(value) {
setProperty2("_rotation", value);
}
function setProperty2(prop, n) {
var _local3 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local3);
_parent[prop] = n;
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x - (_local2.x - _local3.x);
_parent._y = _parent._y - (_local2.y - _local3.y);
}
_visible = false;
addProperty("_x2", get_x2, set_x2);
addProperty("_y2", get_y2, set_y2);
addProperty("_xscale2", get_xscale2, set_xscale2);
addProperty("_yscale2", get_yscale2, set_yscale2);
addProperty("_rotation2", get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = "exactFit";
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {x:this._x, y:this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
play();
Symbol 38 MovieClip Frame 75
_root.nextFrame();
Symbol 38 MovieClip Frame 90
this.gotoAndStop(1);
_root.win = false;
_root.reset();
Symbol 40 MovieClip Frame 260
_root.nextFrame();
Instance of Symbol 54 MovieClip in Symbol 55 MovieClip Frame 7
onClipEvent (enterFrame) {
_root.startX = this._x;
_root.startY = this._y;
}
Instance of Symbol 54 MovieClip in Symbol 55 MovieClip Frame 19
onClipEvent (enterFrame) {
_root.startX = this._x;
_root.startY = this._y;
}
Symbol 55 MovieClip Frame 61
stop();
Symbol 96 MovieClip Frame 400
this.gotoAndStop(1);
Symbol 99 MovieClip Frame 1
play();
Symbol 99 MovieClip Frame 44
stop();