Frame 1
Stage.showMenu = false;
Stage.scaleMode = "exactFit";
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
moo = Math.round(PercentLoaded);
_root.Runner.gotoAndStop(moo);
} else {
_root.gotoAndPlay(92);
}
Instance of Symbol 74 MovieClip "esc" in Frame 1
onClipEvent (load) {
var WHIRR_sound = new Sound();
WHIRR_sound.attachSound("hum");
WHIRR_sound.start(0, 99999);
}
Instance of Symbol 118 MovieClip in Frame 1
on (release) {
getURL ("http://kynetik-27.newgrounds.com", "_blank");
}
Instance of Symbol 121 MovieClip in Frame 1
on (release) {
getURL ("http://www.hallpass.com/", "_blank");
}
Frame 2
gotoAndPlay (1);
Frame 133
var b;
var d = 0;
var i = 0;
Frame 134
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 135
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 136
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 137
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 138
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 139
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 140
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 141
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 142
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 143
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 144
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 145
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 146
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 147
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 148
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 149
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 150
b = attachMovie("BloodB", "Bloody" + d, d++);
b._x = 440;
b._y = 150;
Frame 205
Frame 235
_root.esc.WHIRR_sound.stop("hum");
Frame 404
var bgm_sound = new Sound();
bgm_sound.attachSound("BGM");
_root.bgm_sound.start(0, 9999);
Frame 405
stop();
Instance of Symbol 243 MovieClip in Frame 405
on (release) {
_root.gotoAndPlay("Freeball");
_root.buttonPressTime = getTimer() / 1000;
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 249 MovieClip in Frame 405
on (release) {
_root.gotoAndPlay("Freeball");
_root.buttonPressTime = getTimer() / 1000;
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Instance of Symbol 268 MovieClip in Frame 405
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (scaler == 1) {
this._xscale = 100;
this._rotation = this._rotation + 3;
}
if (scaler == 0) {
this._xscale = -100;
this._rotation = this._rotation - 3;
}
if (this._y > 500) {
this._y = -100;
scaler = random(2);
this._x = random(450) + 50;
}
}
Instance of Symbol 269 MovieClip in Frame 405
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (scaler == 1) {
this._xscale = 100;
this._rotation = this._rotation + 3;
}
if (scaler == 0) {
this._xscale = -100;
this._rotation = this._rotation - 3;
}
if (this._y > 500) {
this._y = -100;
scaler = random(2);
this._x = random(450) + 50;
}
}
Instance of Symbol 268 MovieClip in Frame 405
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (scaler == 1) {
this._xscale = 100;
this._rotation = this._rotation + 3;
}
if (scaler == 0) {
this._xscale = -100;
this._rotation = this._rotation - 3;
}
if (this._y > 500) {
this._y = -100;
scaler = random(2);
this._x = random(450) + 50;
}
}
Instance of Symbol 268 MovieClip in Frame 405
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (scaler == 1) {
this._xscale = 100;
this._rotation = this._rotation + 3;
}
if (scaler == 0) {
this._xscale = -100;
this._rotation = this._rotation - 3;
}
if (this._y > 500) {
this._y = -100;
scaler = random(2);
this._x = random(450) + 50;
}
}
Instance of Symbol 268 MovieClip in Frame 405
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (scaler == 1) {
this._xscale = 100;
this._rotation = this._rotation + 3;
}
if (scaler == 0) {
this._xscale = -100;
this._rotation = this._rotation - 3;
}
if (this._y > 500) {
this._y = -100;
scaler = random(2);
this._x = random(450) + 50;
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(50) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 118 MovieClip in Frame 405
on (release) {
getURL ("http://kynetik-27.newgrounds.com", "_blank");
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 272 MovieClip in Frame 405
onClipEvent (load) {
driptime = random(40) + 10;
}
onClipEvent (enterFrame) {
if (this._yscale < driptime) {
this._xscale = this._xscale * 1.01;
this._yscale = this._yscale * 1.01;
} else {
this.play();
}
}
Instance of Symbol 121 MovieClip in Frame 405
on (release) {
getURL ("http://www.hallpass.com/", "_blank");
}
Frame 429
Object.prototype.getFPS = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
numcount = 0;
cumule = 0;
this.createEmptyMovieClip("fps", this.getNextHighestDepth());
fps.onEnterFrame = function () {
numcount++;
currfps = getFPS();
fpps = "FPS. " + currfps;
cumule = cumule + currfps;
fppsavg = "avg. " + (Math.round((cumule / numcount) * 10) / 10);
};
if (_root.reset == 1) {
removeMovieClip(_root.fps);
}
function Vector(x, y) {
this.x = x;
this.y = y;
this.length = Math.sqrt((x * x) + (y * y));
}
function constrain(p0, p1, l) {
var _local4 = 0.025;
var _local9 = p1._x - p0._x;
var _local8 = p1._y - p0._y;
var _local1 = new Vector(_local9, _local8);
var _local5 = (_local1.length - l) / _local1.length;
var _local7 = (_local1.x * 0.5) * _local5;
var _local6 = (_local1.y * 0.5) * _local5;
p1._x = p1._x - (_local7 - _local4);
p1._y = p1._y - _local6;
p0._x = p0._x + (_local7 + _local4);
p0._y = p0._y + _local6;
}
function update() {
var _local4;
var _local3 = 0;
while (_local3 < joints.length) {
this[joints[_local3]].update();
if (_root.decapitate == 1) {
atanner = Math.atan2(this[joints[_local3]].ys, this[joints[_local3]].xs);
Pii = 57.2957795130823;
angler = atanner * Pii;
}
_local3++;
}
}
function collisions() {
var _local2;
var _local6;
var _local5;
var _local4 = false;
var _local3 = 0;
while (_local3 < joints.length) {
_local2 = this[joints[_local3]];
if (_local2.collisions()) {
_local4 = true;
_local6 = _local2._x;
_local5 = _local2._y;
}
_local3++;
}
if (_local4) {
if (!soundplaying) {
var _local7 = new Sound(this);
_local7.onSoundComplete = function () {
soundplaying = false;
};
var _local8 = random(4);
_local7.attachSound("break" + _local8);
_local7.start(0, 0);
soundplaying = true;
}
drawblood(_local6, _local5 - 20);
}
}
function constraints() {
var _local2 = 0;
while (_local2 < 2) {
constrain(lhand, lwrist, 2);
constrain(lwrist, lhand, 2);
constrain(lwrist, lelbow, 8);
constrain(lelbow, lshoulder, 10);
if (_root.dismemberLEFTARM == 0) {
constrain(lshoulder, neck, 5);
constrain(neck, lshoulder, 5);
constrain(lshoulder, chest, 3);
LWSdistX = _root.lwrist._x - _root.lshoulder._x;
LWSdistY = _root.lwrist._y - _root.lshoulder._y;
pi = 57.2957795130823;
angleLWS = Math.atan2(LWSdistY, LWSdistX);
hypLWS = Math.sqrt((LWSdistX * LWSdistX) + (LWSdistY * LWSdistY));
MYANGLELWS = angleLWS * pi;
if (Math.abs(hypLWS) <= 10) {
constrain(lwrist, lshoulder, 11);
}
}
constrain(rhand, rwrist, 2);
constrain(rwrist, rhand, 2);
constrain(rhand, rwrist, 2);
constrain(rwrist, relbow, 8);
constrain(relbow, rshoulder, 10);
if (_root.dismemberRIGHTARM == 0) {
constrain(rshoulder, neck, 5);
constrain(neck, rshoulder, 5);
constrain(rshoulder, chest, 3);
RWSdistX = _root.rwrist._x - _root.rshoulder._x;
RWSdistY = _root.rwrist._y - _root.rshoulder._y;
pi = 57.2957795130823;
angleRWS = Math.atan2(RWSdistY, RWSdistX);
hypRWS = Math.sqrt((RWSdistX * RWSdistX) + (RWSdistY * RWSdistY));
MYANGLERWS = angleRWS * pi;
if (Math.abs(hypRWS) <= 10) {
constrain(rwrist, rshoulder, 11);
}
}
if ((_root.dismemberLEFTARM == 0) && (_root.dismemberRIGHTARM == 0)) {
E2EdistX = _root.lelbow._x - _root.relbow._x;
E2EdistY = _root.lelbow._y - _root.relbow._y;
pi = 57.2957795130823;
angleE2E = Math.atan2(E2EdistY, E2EdistX);
hypE2E = Math.sqrt((E2EdistX * E2EdistX) + (E2EdistY * E2EdistY));
MYANGLEE2E = angleE2E * pi;
if (Math.abs(hypE2E) <= 20) {
constrain(lelbow, relbow, 21);
}
}
constrain(neck, chest, 5);
constrain(chest, mid, 5);
constrain(waist, gut, 5);
if (_root.dismemberTORSO == 0) {
constrain(mid, gut, 5);
constrain(waist, neck, 20);
constrain(waist, chest, 15);
constrain(waist, mid, 10);
}
if (_root.decapitate == 0) {
if (_root.dismemberTORSO == 0) {
constrain(waist, head, 23.5);
constrain(head, gut, 18.5);
if (((_root.head._y < (_root.waist._y - 10)) && (_root.head._x >= (_root.rfoot._x - 15))) && (_root.head._x <= (_root.lfoot._x + 15))) {
if ((_root.rfoot._y > 355) || (_root.lfoot._y > 355)) {
constrain(head, lfoot, 50);
constrain(head, rfoot, 50);
head._y = head._y - 10;
}
}
HWdistX = _root.head._x - _root.waist._x;
HWdistY = _root.head._y - _root.waist._y;
pi = 57.2957795130823;
angleHW = Math.atan2(HWdistY, HWdistX);
hypHW = Math.sqrt((HWdistX * HWdistX) + (HWdistY * HWdistY));
MYANGLEHW = angleHW * pi;
if (Math.abs(hypHW) <= 20) {
constrain(head, waist, 21);
}
}
constrain(head, chest, 8.5);
constrain(head, mid, 13.5);
constrain(head, neck, 3.5);
}
if (_root.dismemberLEFTLEG == 0) {
constrain(lknee, waist, 20);
LFMdistX = _root.lfoot._x - _root.gut._x;
LFMdistY = _root.lfoot._y - _root.gut._y;
pi = 57.2957795130823;
angleLFM = Math.atan2(LFMdistY, LFMdistX);
hypLFM = Math.sqrt((LFMdistX * LFMdistX) + (LFMdistY * LFMdistY));
MYANGLELFM = angleLFM * pi;
if (Math.abs(hypLFM) <= 30) {
constrain(lfoot, gut, 31);
}
LKCdistX = _root.lknee._x - _root.gut._x;
LKCdistY = _root.lknee._y - _root.gut._y;
pi = 57.2957795130823;
angleLKC = Math.atan2(LKCdistY, LKCdistX);
hypLKC = Math.sqrt((LKCdistX * LKCdistX) + (LKCdistY * LKCdistY));
MYANGLELKC = angleLKC * pi;
if (Math.abs(hypLKC) <= 20) {
constrain(_root.lknee, gut, 21);
}
}
constrain(lankle, lknee, 17);
constrain(lfoot, lankle, 3);
constrain(lfoot, lknee, 20);
if (_root.dismemberRIGHTLEG == 0) {
constrain(rknee, waist, 20);
RFMdistX = _root.rfoot._x - _root.gut._x;
RFMdistY = _root.rfoot._y - _root.gut._y;
pi = 57.2957795130823;
angleRFM = Math.atan2(RFMdistY, RFMdistX);
hypRFM = Math.sqrt((RFMdistX * RFMdistX) + (RFMdistY * RFMdistY));
MYANGLERFM = angleRFM * pi;
if (Math.abs(hypRFM) <= 30) {
constrain(rfoot, gut, 31);
}
RKCdistX = _root.rknee._x - _root.gut._x;
RKCdistY = _root.rknee._y - _root.gut._y;
pi = 57.2957795130823;
angleRKC = Math.atan2(RKCdistY, RKCdistX);
hypRKC = Math.sqrt((RKCdistX * RKCdistX) + (RKCdistY * RKCdistY));
MYANGLERKC = angleRKC * pi;
if (Math.abs(hypRKC) <= 20) {
constrain(rknee, gut, 21);
}
}
constrain(rankle, rknee, 17);
constrain(rfoot, rankle, 3);
constrain(rfoot, rknee, 20);
if ((_root.dismemberRIGHTLEG == 0) && (_root.dismemberLEFTLEG == 0)) {
F2FdistX = _root.lfoot._x - _root.rfoot._x;
F2FdistY = _root.lfoot._y - _root.rfoot._y;
pi = 57.2957795130823;
angleF2F = Math.atan2(F2FdistY, F2FdistX);
hypF2F = Math.sqrt((F2FdistX * F2FdistX) + (F2FdistY * F2FdistY));
MYANGLEF2F = angleF2F * pi;
if (Math.abs(hypF2F) <= 10) {
constrain(rfoot, lfoot, 11);
}
K2KdistX = _root.lknee._x - _root.rknee._x;
K2KdistY = _root.lknee._y - _root.rknee._y;
pi = 57.2957795130823;
angleK2K = Math.atan2(K2KdistY, K2KdistX);
hypK2K = Math.sqrt((K2KdistX * K2KdistX) + (K2KdistY * K2KdistY));
MYANGLEK2K = angleK2K * pi;
if (Math.abs(hypK2K) <= 15) {
constrain(lknee, rknee, 16);
}
}
_local2++;
}
}
function setup() {
constraints();
var _local2;
var _local3 = 0;
while (_local3 < joints.length) {
_local2 = this[joints[_local3]];
_local2.lx = _local2._x;
_local2.ly = _local2._y;
_local3++;
}
}
function drawblood(x, y) {
var _local1;
var _local4 = 0;
while (_local4 <= (random(3) + 3)) {
_local1 = attachMovie("Blood", "Blood" + blooddepth, blooddepth++);
if (x > 0) {
_local1._x = x;
} else {
_local1._x = x + 10;
}
if (y < 350) {
_local1._y = y;
} else {
_local1._y = y - 10;
}
_local4++;
}
}
function drawhead(col) {
var _local4 = 0;
var _local3 = 0;
var _local2 = 7;
head.beginFill(((col == undefined) ? 0 : (col)), 100);
head.moveTo(_local4 + _local2, _local3);
var _local1 = 0;
while (_local1 <= 6.283185) {
head.lineTo(_local4 + (Math.cos(_local1) * _local2), _local3 + (Math.sin(_local1) * _local2));
_local1 = _local1 + 0.069813;
}
head.endFill();
}
function draw(col) {
if (_root.decapitate == 0) {
rd_mc.clear();
removeMovieClip(_root.rd_mc);
rd_mc.removeMovieClip();
this.createEmptyMovieClip("rd_mc", this.getNextHighestDepth() - this.getDepth());
}
var _local4 = neck._x - head._x;
var _local3 = neck._y - head._y;
head._rotation = (Math.atan2(_local3, _local4) * 180) / 3.141593;
}
function onEnterFrame() {
update();
constraints();
collisions();
draw(ragdollcolor);
}
var dragging = null;
var blooddepth = 0;
var soundplaying = false;
var ragdollcolor = 16764057;
var joints = new Array("lhand", "lwrist", "lelbow", "lshoulder", "rhand", "rwrist", "relbow", "rshoulder", "neck", "chest", "mid", "gut", "waist", "lknee", "lankle", "lfoot", "rknee", "rankle", "rfoot", "head", "rhairA", "rhairB", "rmhairA", "rmhairB", "lhairA", "lhairB", "lmhairA", "lmhairB");
drawhead(ragdollcolor);
setup();
stop();
Instance of Symbol 290 MovieClip "rankle" in Frame 429
onClipEvent (enterFrame) {
dx = _root.rfoot._x - this._x;
dy = _root.rfoot._y - this._y;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
this._rotation = _root.rknee._rotation - 45;
}
Instance of Symbol 291 MovieClip "lankle" in Frame 429
onClipEvent (enterFrame) {
dx = _root.lfoot._x - this._x;
dy = _root.lfoot._y - this._y;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
this._rotation = _root.lknee._rotation + 45;
}
Instance of Symbol 292 MovieClip "rfoot" in Frame 429
onClipEvent (load) {
moohey = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(67) && (moohey == 0)) && (this._x > _root.lfoot._x)) {
_y = (_y + -15);
_x = (_x + 25);
_root.waist._x = _root.waist._x + (-_root.waist.xs);
_root.neck._x = _root.neck._x + (-_root.neck.xs);
moohey = 1;
}
if ((Key.isDown(88) && (moohey == 0)) && (this._x < _root.lfoot._x)) {
_y = (_y + -15);
_x = (_x - 25);
_root.waist._x = _root.waist._x + (-_root.waist.xs);
_root.neck._x = _root.neck._x + (-_root.neck.xs);
moohey = 1;
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 67) || (Key.getCode() == 88)) {
moohey = 0;
}
}
Instance of Symbol 297 MovieClip "rknee" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.waist._x;
dy = this._y - _root.waist._y;
fx = _root.rankle._x - this._x;
fy = _root.rankle._y - this._y;
h = Math.atan2(dy, dx);
g = Math.atan2(fy, fx);
pi = 57.2957795130823;
thisangle = h * pi;
nextangle = g * pi;
this._rotation = thisangle;
this.shin._rotation = (nextangle - thisangle) + 180;
}
Instance of Symbol 292 MovieClip "lfoot" in Frame 429
onClipEvent (load) {
moohey = 0;
yeah = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(67) && (moohey == 0)) && (this._x > _root.rfoot._x)) {
_y = (_y + -15);
_x = (_x + 25);
moohey = 1;
}
if ((Key.isDown(88) && (moohey == 0)) && (this._x < _root.rfoot._x)) {
_y = (_y + -15);
_x = (_x - 25);
moohey = 1;
}
if ((yeah > 0) && (yeah < 100)) {
_root.waist.xs = 0;
_root.neck.xs = 0;
_root.waist.ys = 0;
_root.neck.ys = 0;
yeah = yeah + 1;
if (yeah >= 100) {
yeah = 0;
}
}
}
onClipEvent (keyDown) {
if ((Key.getCode() == 88) || (Key.getCode() == 67)) {
wx = _root.waist._x;
wy = _root.waist._y;
nx = _root.neck._x;
ny = _root.neck._y;
yeah = 1;
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 88) || (Key.getCode() == 67)) {
moohey = 0;
}
}
Instance of Symbol 298 MovieClip "lknee" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.waist._x;
dy = this._y - _root.waist._y;
fx = _root.lankle._x - this._x;
fy = _root.lankle._y - this._y;
h = Math.atan2(dy, dx);
g = Math.atan2(fy, fx);
pi = 57.2957795130823;
thisangle = h * pi;
nextangle = g * pi;
this._rotation = thisangle;
this.shin._rotation = ((-nextangle) + thisangle) + 180;
}
Instance of Symbol 303 MovieClip "waist" in Frame 429
onClipEvent (enterFrame) {
if (_root.rknee._x < _root.lknee._x) {
rx = _root.rknee._x + ((_root.lknee._x - _root.rknee._x) / 2);
} else {
rx = _root.lknee._x + ((_root.rknee._x - _root.lknee._x) / 2);
}
if (_root.rknee._y < _root.lknee._y) {
ry = _root.rknee._y + ((_root.lknee._y - _root.rknee._y) / 2);
} else {
ry = _root.lknee._y + ((_root.rknee._y - _root.lknee._y) / 2);
}
dx = this._x - rx;
dy = this._y - ry;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
if ((_root.dismemberLEFTLEG == 0) && (_root.dismemberRIGHTLEG == 0)) {
this._rotation = thisangle;
} else {
this._rotation = _root.gut._rotation;
}
}
Instance of Symbol 305 MovieClip "gut" in Frame 429
onClipEvent (load) {
myscaleX = this._xscale;
myscaleY = this._yscale;
}
onClipEvent (enterFrame) {
dx = this._x - _root.waist._x;
dy = this._y - _root.waist._y;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
gx = this._x - _root.waist._x;
gy = this._y - _root.waist._y;
g = Math.atan2(gy, gx);
hypg = Math.sqrt((gx * gx) + (gy * gy));
pi = 57.2957795130823;
gangle = g * pi;
if (_root.dismemberTORSO == 0) {
this._xscale = (hypg + 5) * 10;
this._rotation = thisangle;
}
}
Instance of Symbol 306 MovieClip "mid" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.gut._x;
dy = this._y - _root.gut._y;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
this._rotation = thisangle;
}
Instance of Symbol 308 MovieClip "lshoulder" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.lelbow._x;
dy = this._y - _root.lelbow._y;
h = Math.atan2(dy, dx);
thisangle = h * pi;
pi = 57.2957795130823;
this._rotation = thisangle;
}
Instance of Symbol 309 MovieClip "rshoulder" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.relbow._x;
dy = this._y - _root.relbow._y;
h = Math.atan2(dy, dx);
thisangle = h * pi;
pi = 57.2957795130823;
this._rotation = thisangle;
}
Instance of Symbol 311 MovieClip "chest" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.mid._x;
dy = this._y - _root.mid._y;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
this._rotation = thisangle;
}
Instance of Symbol 313 MovieClip "neck" in Frame 429
onClipEvent (load) {
_root.dismemberment = 0;
_root.decapitate = 0;
_root.dismemberTORSO = 0;
_root.dismemberLEFTARM = 0;
_root.dismemberRIGHTARM = 0;
_root.dismemberLEFTLEG = 0;
_root.dismemberRIGHTLEG = 0;
}
onClipEvent (enterFrame) {
if ((_root.decapitate == 1) || (_root.dismemberTORSO == 1)) {
_root.dismemberment = 1;
}
dx = this._x - _root.chest._x;
dy = this._y - _root.chest._y;
h = Math.atan2(dy, dx);
pi = 57.2957795130823;
thisangle = h * pi;
if (_root.decapitate == 0) {
this._rotation = thisangle;
}
}
Instance of Symbol 317 MovieClip "lelbow" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.lshoulder._x;
dy = this._y - _root.lshoulder._y;
fx = _root.lwrist._x - this._x;
fy = _root.lwrist._y - this._y;
h = Math.atan2(dy, dx);
g = Math.atan2(fy, fx);
pi = 57.2957795130823;
thisangle = h * pi;
nextangle = g * pi;
hypd = Math.sqrt((dx * dx) + (dy * dy));
if (_root.dismemberLEFTARM == 0) {
this._rotation = thisangle;
this.upperarm._xscale = (hypd + 5) * 5;
this.forearm._rotation = ((-nextangle) + thisangle) + 180;
}
}
Instance of Symbol 319 MovieClip "rhand" in Frame 429
onClipEvent (load) {
moohey = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (moohey == 0)) && (this._x > _root.lhand._x)) {
_y = (_y + -30);
_x = (_x + -50);
_root.neck._x = _root.neck._x - 10;
_root.waist._x = _root.waist._x - 10;
moohey = 1;
}
if ((Key.isDown(83) && (moohey == 0)) && (this._x < _root.lhand._x)) {
_y = (_y + -30);
_x = (_x + 50);
_root.neck._x = _root.neck._x + 10;
_root.waist._x = _root.waist._x + 10;
moohey = 1;
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 68) || (Key.getCode() == 83)) {
moohey = 0;
}
}
Instance of Symbol 320 MovieClip "lhand" in Frame 429
onClipEvent (load) {
moohey = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(83) && (moohey == 0)) && (this._x < _root.rhand._x)) {
_y = (_y + -15);
_x = (_x + -25);
_root.neck._x = _root.neck._x + 5;
_root.waist._x = _root.waist._x + 5;
moohey = 1;
}
if ((Key.isDown(68) && (moohey == 0)) && (this._x > _root.rhand._x)) {
_y = (_y + -15);
_x = (_x + 25);
_root.neck._x = _root.neck._x - 5;
_root.waist._x = _root.waist._x - 5;
moohey = 1;
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 83) || (Key.getCode() == 68)) {
moohey = 0;
}
}
Instance of Symbol 321 MovieClip "relbow" in Frame 429
onClipEvent (enterFrame) {
dx = this._x - _root.rshoulder._x;
dy = this._y - _root.rshoulder._y;
fx = _root.rwrist._x - this._x;
fy = _root.rwrist._y - this._y;
h = Math.atan2(dy, dx);
g = Math.atan2(fy, fx);
pi = 57.2957795130823;
thisangle = h * pi;
nextangle = g * pi;
hypd = Math.sqrt((dx * dx) + (dy * dy));
if (_root.dismemberRIGHTARM == 0) {
this.upperarm._width = hypd * 1.2;
this._rotation = thisangle;
this.forearm._rotation = (nextangle - thisangle) + 180;
}
}
Instance of Symbol 329 MovieClip "head" in Frame 429
onClipEvent (load) {
_root.reset = 0;
_root.BD = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (_root.decapitate == 0)) && (_root.dismemberTORSO == 0)) {
_root.head._y = _root.head._y + -7;
_root.neck._y = _root.neck._y + -7;
_root.chest._y = _root.chest._y + -7;
}
if ((Key.isDown(40) && (_root.decapitate == 0)) && (_root.dismemberTORSO == 0)) {
_y = (_y + 7);
_root.neck._y = _root.neck._y + 7;
_root.chest._y = _root.chest._y + 7;
}
if ((Key.isDown(39) && (_root.decapitate == 0)) && (_root.dismemberTORSO == 0)) {
_x = (_x + 7);
_root.neck._x = _root.neck._x + 7;
_root.chest._x = _root.chest._x + 7;
}
if ((Key.isDown(37) && (_root.decapitate == 0)) && (_root.dismemberTORSO == 0)) {
_x = (_x - 7);
_root.neck._x = _root.neck._x + -7;
_root.chest._x = _root.chest._x + -7;
}
}
onClipEvent (load) {
moo = 0;
}
onClipEvent (keyUp) {
if ((Key.getCode() == 37) || (Key.getCode() == 39)) {
cheese = 0;
}
if (Key.getCode() == 32) {
_root.reset = 1;
_root.gotoAndPlay("reset");
}
if (Key.getCode() == 77) {
if (_root.mfx == 0) {
_root.mfx = 1;
_root.bgm_sound.stop("BGM");
} else if (_root.mfx == 1) {
_root.mfx = 0;
_root.bgm_sound.start(0, 9999);
}
}
}
Instance of Symbol 72 MovieClip [POPUP] "POPUP" in Frame 429
/* no clip actions */
Instance of Symbol 351 MovieClip "VCAM" in Frame 429
onClipEvent (load) {
_root.seconds = 0;
_root.timer = 0;
popupDepth = 0;
rando = random(100) + 10;
_root.mfx = 0;
var DiscLaunch_sound = new Sound();
DiscLaunch_sound.attachSound("DISCFIRE");
var DiscSlice_sound = new Sound();
DiscSlice_sound.attachSound("SLICE");
var DiscRicochet_sound = new Sound();
DiscRicochet_sound.attachSound("RICOCHET");
var DiscWHIRR_sound = new Sound();
DiscWHIRR_sound.attachSound("WHIRR");
}
onClipEvent (enterFrame) {
if (_root.dismemberment == 0) {
_root.seconds = _root.seconds + 1;
}
if ((_root.timer == rando) && (_root.dismemberment == 0)) {
puxMin = _root.POPUP._width / 2;
puxMax = 1000 - (_root.POPUP._width / 2);
puxSpread = puxMax - puxMin;
pux = puxMin + random(puxSpread);
puyMin = _root.POPUP._height / 2;
puyMax = 350 - (_root.POPUP._height / 2);
puySpread = puyMax - puyMin;
puy = puyMin + random(puySpread);
popupDepth = popupDepth + 1;
_root.POPUP.duplicateMovieClip("PopUpX" + popupDepth, _root.mid.getNextHighestDepth() + popupDepth, {_x:1100, _y:puy, code:popupDepth});
dix = 1100 - _root.mid._x;
rando = 10 + random(50);
DiscLaunch_sound.start();
if (popupDepth > 9) {
popupDepth = 1;
}
_root.timer = 1;
}
_root.timer = _root.timer + 1;
if ((_root.mid._x > 275) && (_root.mid._x < 725)) {
_root.VCAM._x = _root.mid._x + _root.mid.xs;
}
if ((_root.VCAM._y > -1000) && (_root.VCAM._y <= 0)) {
_root.VCAM._y = _root.VCAM._y + _root.mid.ys;
}
}
onClipEvent (mouseDown) {
puxMin = _root.POPUP._width / 2;
puxMax = 1000 - (_root.POPUP._width / 2);
puxSpread = puxMax - puxMin;
pux = puxMin + random(puxSpread);
puyMin = _root.POPUP._height / 2;
puyMax = 350 - (_root.POPUP._height / 2);
puySpread = puyMax - puyMin;
puy = puyMin + random(puySpread);
popupDepth = popupDepth + 1;
if (popupDepth > 9) {
popupDepth = 1;
}
_root.POPUP.duplicateMovieClip("PopUpX" + popupDepth, _root.mid.getNextHighestDepth() + popupDepth, {_x:1100, _y:puy, code:popupDepth});
}
onClipEvent (keyUp) {
if ((Key.getCode() == 32) && (_root.dismemberment == 0)) {
_root.dismemberTORSO = 1;
_root.dismemberLEFTARM = 1;
_root.dismemberRIGHTARM = 1;
_root.dismemberLEFTLEG = 1;
_root.dismemberRIGHTLEG = 1;
_root.decapitate = 1;
_root.seconds = 0;
}
if ((Key.getCode() == 32) && (_root.dismemberment == 1)) {
_root.dismemberTORSO = 0;
_root.dismemberLEFTARM = 0;
_root.dismemberRIGHTARM = 0;
_root.dismemberLEFTLEG = 0;
_root.dismemberRIGHTLEG = 0;
_root.decapitate = 0;
_root.dismemberment = 0;
_root.seconds = 0;
}
}
Symbol 14 MovieClip [BLOODB] Frame 1
function onEnterFrame() {
xs = xs * decay;
_x = (_x + xs);
_y = (_y + ys);
bs = bs + 1;
ys = ys + 0.5;
this._xscale = this._xscale * 0.97;
this._yscale = this._yscale * 0.97;
if (_y > 400) {
removeMovieClip("");
this.removeMovieClip();
}
clear();
radangle = Math.atan2(-ys, -xs);
Pii = 57.2957795130823;
rot = radangle * Pii;
_rotation = (rot + 90);
_alpha = (50 + random(50));
var _local2 = Math.sqrt((xs * xs) + (ys * ys));
if ((_local2 <= 1) && (this._y > 360)) {
}
}
var ms = ((Math.random() * 5) + 5);
var a = ((Math.random() * -1) * (Math.PI/2));
var xs = (Math.cos(a) * -50);
var ys = (Math.sin(a) * ms);
var decay = 0.88;
Instance of Symbol 13 MovieClip in Symbol 14 MovieClip [BLOODB] Frame 1
onClipEvent (load) {
bs = 0;
}
onClipEvent (enterFrame) {
bs = bs + 1;
if (bs > 10) {
removeMovieClip(this);
}
}
Symbol 16 MovieClip [blood] Frame 1
function load() {
bs = 0;
die = 0;
n = 0;
_alpha = (random(100) + 10);
}
function onEnterFrame() {
if ((xs == 0) || (ys == 0)) {
n = n + 1;
if (n > 10) {
removeMovieClip("");
}
}
if (_root.reset == 1) {
this.removeMovieClip();
_root.reset = 0;
}
die = die + 1;
if (die > 30) {
this.removeMovieClip();
removeMovieClip("");
removeMovieClip(this);
}
if (this._y < 355) {
xs = xs * decay;
_x = (_x + xs);
_y = (_y + ys);
bs = 0;
ys = ys + 0.5;
this._xscale = this._xscale * 0.97;
this._yscale = this._yscale * 0.97;
}
if (this._y >= 355) {
bs = bs + 1;
ys = 0;
this._alpha = this._alpha * 0.95;
if (bs > 10) {
this.removeMovieClip();
removeMovieClip("");
removeMovieClip(this);
bs = 0;
}
}
if ((this._xscale < 1) || (this._alpha < 1)) {
this.removeMovieClip();
removeMovieClip("");
removeMovieClip(this);
bs = 0;
}
clear();
radangle = Math.atan2(-ys, -xs);
Pii = 57.2957795130823;
rot = radangle * Pii;
_rotation = (rot + 90);
_alpha = (50 + random(50));
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
if ((_local3 <= 1) && (this._y > 360)) {
}
}
var ms = ((Math.random() * 5) + 5);
var a = ((Math.random() * 2) * 3.141593);
var xs = (Math.cos(a) * ms);
var ys = (Math.sin(a) * ms);
var decay = 0.88;
Symbol 54 MovieClip Frame 52
stop();
Symbol 70 MovieClip Frame 1
_parent._rotation = random(360);
Symbol 70 MovieClip Frame 15
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 3
gotoAndStop (2);
Symbol 71 MovieClip Frame 14
stop();
Symbol 72 MovieClip [POPUP] Frame 1
_x = _x;
_y = _y;
_r = _rotation;
mooX = _x;
mooY = _y;
mooR = _r;
Gravity = 1;
Friction = 0.95;
if (this != _root.POPUP) {
if (moohey == undefined) {
hit = false;
g = 0;
t = 0;
scaler = 50 + random(20);
popo = 5 + random(10);
this.banner.gotoAndStop(popo);
dX = _x - _root.mid._x;
dY = _y - _root.mid._y;
btan = Math.atan2(-dY, -dX);
n = 0;
MyVelX = Math.cos(btan) * 40;
MyVelY = Math.sin(btan) * 40;
moohey = false;
}
ztan = Math.atan2(-MyVelY, -MyVelX);
Pii = 57.2957795130823;
if (MyVelX <= 0) {
this.ball._rotation = ztan * Pii;
} else {
this.ball._rotation = (ztan * Pii) + 180;
}
if ((MyVelX > 0) || (hit == true)) {
MyVelY = MyVelY + Gravity;
MyVelX = MyVelX * Friction;
}
if ((this.ball._currentframe == 1) && ((tx > 10) || (ty > 10))) {
this.ball.trail._visible = true;
if (MyVelX > 0) {
this.ball.trail._xscale = -100;
} else {
this.ball.trail._xscale = 100;
}
this.ball.trail._alpha = Math.abs(MyVelX * 2);
} else {
this.ball.trail._visible = false;
}
_x = (_x + MyVelX);
_y = (_y + MyVelY);
t = t + 1;
tx = Math.abs(MyVelX);
ty = Math.abs(MyVelY);
if ((tx < 5) && (ty < 5)) {
removeMovieClip("");
_root.VCAM.DiscWHIRR_sound.stop("WHIRR");
}
if (_root.reset == 1) {
removeMovieClip("");
_root.VCAM.DiscWHIRR_sound.stop("WHIRR");
}
i = 0;
while (i < 10) {
if (((_root["PopUpX" + i].hitTest(this) && (this.ball._currentframe == 1)) && (_root["PopUpX" + i].ball._currentframe == 1)) && (i != code)) {
_x = (_x - MyVelX);
_y = (_y - MyVelY);
mmx = _root["PopUpX" + i].MyVelX;
mmy = _root["PopUpX" + i].MyVelY;
_root["PopUpX" + i].MyVelX = MyVelX;
_root["PopUpX" + i].MyVelY = MyVelY;
MyVelX = mmx;
MyVelY = mmy;
hit = true;
_root.VCAM.DiscRicochet_sound.start();
}
i++;
}
if ((this.hitTest(_root.WallRIGHT) && (this.ball._currentframe == 1)) && (MyVelX > 0)) {
}
if (this.hitTest(_root.WallLEFT) && (MyVelX < 0)) {
_x = (_x - MyVelX);
MyVelX = MyVelX * -0.9;
}
if (this.hitTest(_root.Ground) && (MyVelY > 0)) {
_y = ((_root.Ground._y - (this._height / 2)) - 5);
MyVelY = MyVelY * -0.9;
}
if (this.hitTest(_root.Roof) && (MyVelY < 0)) {
_y = (_y - MyVelY);
MyVelY = MyVelY * -1;
}
if (((_root.head.hitTest(this) && (_root.head.imhit == false)) && (this.ball._currentframe == 1)) && (_root.decapitate == 0)) {
_root.head._x = _root.head._x - (_root.head.xs - MyVelX);
_root.head._y = _root.head._y - (_root.head.ys - MyVelY);
_root.head.xs = _root.head.xs - (MyVelX / 10);
_root.head.ys = _root.head.ys - (MyVelY / 10);
_root.head.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.decapitate = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.neck.hitTest(this) && (_root.neck.imhit == false)) && (this.ball._currentframe == 1)) && (_root.decapitate == 0)) {
_root.neck._x = _root.neck._x - (_root.neck.xs - MyVelX);
_root.neck._y = _root.neck._y - (_root.neck.ys - MyVelY);
_root.neck.xs = _root.neck.xs - (MyVelX / 10);
_root.neck.ys = _root.neck.ys - (MyVelY / 10);
_root.neck.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.decapitate = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.chest.hitTest(this) && (_root.chest.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberTORSO == 0)) {
_root.chest._x = _root.chest._x - (_root.chest.xs - MyVelX);
_root.chest._y = _root.chest._y - (_root.chest.ys - MyVelY);
_root.chest.xs = _root.chest.xs - (MyVelX / 10);
_root.chest.ys = _root.chest.ys - (MyVelY / 10);
_root.chest.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.mid.hitTest(this) && (_root.mid.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberTORSO == 0)) {
_root.mid._x = _root.mid._x - (_root.mid.xs - MyVelX);
_root.mid._y = _root.mid._y - (_root.mid.ys - MyVelY);
_root.mid.xs = _root.mid.xs - (MyVelX / 10);
_root.mid.ys = _root.mid.ys - (MyVelY / 10);
_root.mid.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.gut.hitTest(this) && (_root.gut.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberTORSO == 0)) {
_root.gut._x = _root.gut._x - (_root.gut.xs - MyVelX);
_root.gut._y = _root.gut._y - (_root.gut.ys - MyVelY);
_root.gut.xs = _root.gut.xs - (MyVelX / 10);
_root.gut.ys = _root.gut.ys - (MyVelY / 10);
_root.gut.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.waist.hitTest(this) && (_root.waist.imhit == false)) && (this.ball._currentframe == 1)) && ((_root.dismemberLEFTLEG == 0) || (_root.dismemberRIGHTLEG))) {
_root.waist._x = _root.waist._x - (_root.waist.xs - MyVelX);
_root.waist._y = _root.waist._y - (_root.waist.ys - MyVelY);
_root.waist.xs = _root.waist.xs - (MyVelX / 10);
_root.waist.ys = _root.waist.ys - (MyVelY / 10);
_root.waist.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberLEFTLEG = 1;
_root.dismemberRIGHTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.relbow.hitTest(this) && (_root.relbow.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberRIGHTARM == 0)) {
_root.relbow._x = _root.relbow._x - (_root.relbow.xs - MyVelX);
_root.relbow._y = _root.relbow._y - (_root.relbow.ys - MyVelY);
_root.relbow.xs = _root.relbow.xs - (MyVelX / 10);
_root.relbow.ys = _root.relbow.ys - (MyVelY / 10);
_root.relbow.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberRIGHTARM = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.lelbow.hitTest(this) && (_root.lelbow.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberLEFTARM == 0)) {
_root.lelbow._x = _root.lelbow._x - (_root.lelbow.xs - MyVelX);
_root.lelbow._y = _root.lelbow._y - (_root.lelbow.ys - MyVelY);
_root.lelbow.xs = _root.lelbow.xs - (MyVelX / 10);
_root.lelbow.ys = _root.lelbow.ys - (MyVelY / 10);
_root.lelbow.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberLEFTARM = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.rknee.hitTest(this) && (_root.rknee.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberRIGHTLEG == 0)) {
_root.rknee._x = _root.rknee._x - (_root.rknee.xs - MyVelX);
_root.rknee._y = _root.rknee._y - (_root.rknee.ys - MyVelY);
_root.rknee.xs = _root.rknee.xs - (MyVelX / 10);
_root.rknee.ys = _root.rknee.ys - (MyVelY / 10);
_root.rknee.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberRIGHTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.lknee.hitTest(this) && (_root.lknee.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberLEFTLEG == 0)) {
_root.lknee._x = _root.lknee._x - (_root.lknee.xs - MyVelX);
_root.lknee._y = _root.lknee._y - (_root.lknee.ys - MyVelY);
_root.lknee.xs = _root.lknee.xs - (MyVelX / 10);
_root.lknee.ys = _root.lknee.ys - (MyVelY / 10);
_root.lknee.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberLEFTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
}
Instance of Symbol 71 MovieClip "ball" in Symbol 72 MovieClip [POPUP] Frame 1
onClipEvent (load) {
}
Symbol 72 MovieClip [POPUP] Frame 2
_x = _x;
_y = _y;
_r = _rotation;
mooX = _x;
mooY = _y;
mooR = _r;
Gravity = 1;
Friction = 0.95;
if (this != _root.POPUP) {
if (moohey == undefined) {
hit = false;
g = 0;
t = 0;
scaler = 50 + random(20);
popo = 5 + random(10);
this.banner.gotoAndStop(popo);
dX = _x - _root.mid._x;
dY = _y - _root.mid._y;
btan = Math.atan2(-dY, -dX);
n = 0;
MyVelX = Math.cos(btan) * 40;
MyVelY = Math.sin(btan) * 40;
moohey = false;
}
ztan = Math.atan2(-MyVelY, -MyVelX);
Pii = 57.2957795130823;
if (MyVelX <= 0) {
this.ball._rotation = ztan * Pii;
} else {
this.ball._rotation = (ztan * Pii) + 180;
}
if ((MyVelX > 0) || (hit == true)) {
MyVelY = MyVelY + Gravity;
MyVelX = MyVelX * Friction;
}
if ((this.ball._currentframe == 1) && ((tx > 10) || (ty > 10))) {
this.ball.trail._visible = true;
if (MyVelX > 0) {
this.ball.trail._xscale = -100;
} else {
this.ball.trail._xscale = 100;
}
this.ball.trail._alpha = Math.abs(MyVelX * 2);
} else {
this.ball.trail._visible = false;
}
_x = (_x + MyVelX);
_y = (_y + MyVelY);
t = t + 1;
tx = Math.abs(MyVelX);
ty = Math.abs(MyVelY);
if ((tx < 5) && (ty < 5)) {
removeMovieClip("");
_root.VCAM.DiscWHIRR_sound.stop("WHIRR");
}
if (_root.reset == 1) {
removeMovieClip("");
_root.VCAM.DiscWHIRR_sound.stop("WHIRR");
}
i = 0;
while (i < 10) {
if (((_root["PopUpX" + i].hitTest(this) && (this.ball._currentframe == 1)) && (_root["PopUpX" + i].ball._currentframe == 1)) && (i != code)) {
_x = (_x - MyVelX);
_y = (_y - MyVelY);
mmx = _root["PopUpX" + i].MyVelX;
mmy = _root["PopUpX" + i].MyVelY;
_root["PopUpX" + i].MyVelX = MyVelX;
_root["PopUpX" + i].MyVelY = MyVelY;
MyVelX = mmx;
MyVelY = mmy;
hit = true;
_root.VCAM.DiscRicochet_sound.start();
}
i++;
}
if ((this.hitTest(_root.WallRIGHT) && (this.ball._currentframe == 1)) && (MyVelX > 0)) {
}
if (this.hitTest(_root.WallLEFT) && (MyVelX < 0)) {
_x = (_x - MyVelX);
MyVelX = MyVelX * -0.9;
}
if (this.hitTest(_root.Ground) && (MyVelY > 0)) {
_y = ((_root.Ground._y - (this._height / 2)) - 5);
MyVelY = MyVelY * -0.9;
}
if (this.hitTest(_root.Roof) && (MyVelY < 0)) {
_y = (_y - MyVelY);
MyVelY = MyVelY * -1;
}
if (((_root.head.hitTest(this) && (_root.head.imhit == false)) && (this.ball._currentframe == 1)) && (_root.decapitate == 0)) {
_root.head._x = _root.head._x - (_root.head.xs - MyVelX);
_root.head._y = _root.head._y - (_root.head.ys - MyVelY);
_root.head.xs = _root.head.xs - (MyVelX / 10);
_root.head.ys = _root.head.ys - (MyVelY / 10);
_root.head.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.decapitate = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.neck.hitTest(this) && (_root.neck.imhit == false)) && (this.ball._currentframe == 1)) && (_root.decapitate == 0)) {
_root.neck._x = _root.neck._x - (_root.neck.xs - MyVelX);
_root.neck._y = _root.neck._y - (_root.neck.ys - MyVelY);
_root.neck.xs = _root.neck.xs - (MyVelX / 10);
_root.neck.ys = _root.neck.ys - (MyVelY / 10);
_root.neck.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.decapitate = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.chest.hitTest(this) && (_root.chest.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberTORSO == 0)) {
_root.chest._x = _root.chest._x - (_root.chest.xs - MyVelX);
_root.chest._y = _root.chest._y - (_root.chest.ys - MyVelY);
_root.chest.xs = _root.chest.xs - (MyVelX / 10);
_root.chest.ys = _root.chest.ys - (MyVelY / 10);
_root.chest.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.mid.hitTest(this) && (_root.mid.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberTORSO == 0)) {
_root.mid._x = _root.mid._x - (_root.mid.xs - MyVelX);
_root.mid._y = _root.mid._y - (_root.mid.ys - MyVelY);
_root.mid.xs = _root.mid.xs - (MyVelX / 10);
_root.mid.ys = _root.mid.ys - (MyVelY / 10);
_root.mid.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.gut.hitTest(this) && (_root.gut.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberTORSO == 0)) {
_root.gut._x = _root.gut._x - (_root.gut.xs - MyVelX);
_root.gut._y = _root.gut._y - (_root.gut.ys - MyVelY);
_root.gut.xs = _root.gut.xs - (MyVelX / 10);
_root.gut.ys = _root.gut.ys - (MyVelY / 10);
_root.gut.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.waist.hitTest(this) && (_root.waist.imhit == false)) && (this.ball._currentframe == 1)) && ((_root.dismemberLEFTLEG == 0) || (_root.dismemberRIGHTLEG))) {
_root.waist._x = _root.waist._x - (_root.waist.xs - MyVelX);
_root.waist._y = _root.waist._y - (_root.waist.ys - MyVelY);
_root.waist.xs = _root.waist.xs - (MyVelX / 10);
_root.waist.ys = _root.waist.ys - (MyVelY / 10);
_root.waist.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberLEFTLEG = 1;
_root.dismemberRIGHTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.relbow.hitTest(this) && (_root.relbow.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberRIGHTARM == 0)) {
_root.relbow._x = _root.relbow._x - (_root.relbow.xs - MyVelX);
_root.relbow._y = _root.relbow._y - (_root.relbow.ys - MyVelY);
_root.relbow.xs = _root.relbow.xs - (MyVelX / 10);
_root.relbow.ys = _root.relbow.ys - (MyVelY / 10);
_root.relbow.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberRIGHTARM = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.lelbow.hitTest(this) && (_root.lelbow.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberLEFTARM == 0)) {
_root.lelbow._x = _root.lelbow._x - (_root.lelbow.xs - MyVelX);
_root.lelbow._y = _root.lelbow._y - (_root.lelbow.ys - MyVelY);
_root.lelbow.xs = _root.lelbow.xs - (MyVelX / 10);
_root.lelbow.ys = _root.lelbow.ys - (MyVelY / 10);
_root.lelbow.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberLEFTARM = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.rknee.hitTest(this) && (_root.rknee.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberRIGHTLEG == 0)) {
_root.rknee._x = _root.rknee._x - (_root.rknee.xs - MyVelX);
_root.rknee._y = _root.rknee._y - (_root.rknee.ys - MyVelY);
_root.rknee.xs = _root.rknee.xs - (MyVelX / 10);
_root.rknee.ys = _root.rknee.ys - (MyVelY / 10);
_root.rknee.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberRIGHTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((_root.lknee.hitTest(this) && (_root.lknee.imhit == false)) && (this.ball._currentframe == 1)) && (_root.dismemberLEFTLEG == 0)) {
_root.lknee._x = _root.lknee._x - (_root.lknee.xs - MyVelX);
_root.lknee._y = _root.lknee._y - (_root.lknee.ys - MyVelY);
_root.lknee.xs = _root.lknee.xs - (MyVelX / 10);
_root.lknee.ys = _root.lknee.ys - (MyVelY / 10);
_root.lknee.imhit = true;
_root.drawblood(this._x, this._y);
this.ball.gotoAndPlay(2);
_root.dismemberLEFTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
}
Symbol 243 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 1
this._xscale = 0.5;
this._yscale = 1;
Symbol 272 MovieClip Frame 2
stop();
Symbol 272 MovieClip Frame 61
this.driptime = random(40) + 10;
this._xscale = 0.5;
this._yscale = 1;
Symbol 290 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 291 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 292 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!this.hitTest(_root.Enemy)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 297 MovieClip Frame 1
function update() {
if (_root.dismemberRIGHTLEG == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismemberRIGHTLEG == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = _root["PopUpX" + i].MyVelX * 2;
ys = _root["PopUpX" + i].MyVelY * 2;
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].MyVelX = _root["PopUpX" + i].MyVelX * -0.5;
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.dismemberRIGHTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 298 MovieClip Frame 1
function update() {
if (_root.dismemberLEFTLEG == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismemberLEFTLEG == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = _root["PopUpX" + i].MyVelX * 2;
ys = _root["PopUpX" + i].MyVelY * 2;
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].MyVelX = _root["PopUpX" + i].MyVelX * -0.5;
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.VCAM.DiscSlice_sound.start();
_root.dismemberLEFTLEG = 1;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 303 MovieClip Frame 1
function update() {
if ((_root.dismemberLEFTLEG == 1) || (_root.dismemberRIGHTLEG == 1)) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(20);
if (bd < 1) {
}
}
}
if ((_root.dismemberLEFTLEG == 0) && (_root.dismemberRIGHTLEG == 0)) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = xs + (_root["PopUpX" + i].MyVelX * 10);
ys = ys + (_root["PopUpX" + i].MyVelY * 10);
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.dismemberRIGHTLEG = 1;
_root.dismemberLEFTLEG = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 305 MovieClip Frame 1
function update() {
if (_root.dismemberTORSO == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(5);
if (bd < 1) {
}
}
}
if (_root.dismemberTORSO == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = xs + (_root["PopUpX" + i].MyVelX * 10);
ys = ys + (_root["PopUpX" + i].MyVelY * 10);
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.dismemberTORSO = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 306 MovieClip Frame 1
function update() {
if (_root.dismemberTORSO == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(10);
if (bd < 1) {
}
}
}
if (_root.dismemberTORSO == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = xs + (_root["PopUpX" + i].MyVelX * 10);
ys = ys + (_root["PopUpX" + i].MyVelY * 10);
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.VCAM.DiscSlice_sound.start();
_root.dismemberTORSO = 1;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 308 MovieClip Frame 1
function update() {
if (_root.dismemberLEFTARM == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(10);
if (bd < 1) {
_root.drawblood(_x, _y);
}
}
}
if (_root.dismemberLEFTARM == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
i = 0;
while (i < 10) {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
i++;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 309 MovieClip Frame 1
function update() {
if (_root.dismemberRIGHTARM == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(10);
if (bd < 1) {
_root.drawblood(_x, _y);
}
}
}
if (_root.dismemberRIGHTARM == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
i = 0;
while (i < 10) {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
i++;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 311 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = xs + (_root["PopUpX" + i].MyVelX * 10);
ys = ys + (_root["PopUpX" + i].MyVelY * 10);
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.VCAM.DiscSlice_sound.start();
_root.dismemberTORSO = 1;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 313 MovieClip Frame 1
function update() {
if (((_root.decapitate == 1) || (_root.dismemberLEFTARM == 1)) || (_root.dismemberRIGHTARM == 1)) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(20);
if (bd < 1) {
}
}
}
if (((_root.decapitate == 0) && (_root.dismemberLEFTARM == 0)) && (_root.dismemberRIGHTARM == 0)) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if (((_root["PopUpX" + i].hitTest(this) && (_root.decapitate != 1)) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.VCAM.DiscSlice_sound.start();
_root.decapitate = 1;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys - 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = 1;
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 317 MovieClip Frame 1
function update() {
if (_root.dismemberLEFTARM == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismemberLEFTARM == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this.forjearm) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = _root["PopUpX" + i].MyVelX * 10;
ys = _root["PopUpX" + i].MyVelY * 10;
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = _root["PopUpX" + i].MyVelX * 10;
ys = _root["PopUpX" + i].MyVelY * 10;
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.VCAM.DiscSlice_sound.start();
_root.dismemberLEFTARM = 1;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 319 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
i = 0;
while (i < 10) {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
i++;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 320 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
i = 0;
while (i < 10) {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
i++;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 321 MovieClip Frame 1
function update() {
if (_root.dismemberRIGHTARM == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismemberRIGHTARM == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if ((_root["PopUpX" + i].hitTest(this.fohrearm) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = _root["PopUpX" + i].MyVelX * 10;
ys = _root["PopUpX" + i].MyVelY * 10;
imhit = true;
_root.drawblood(this._x, this._y);
} else if ((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = _root["PopUpX" + i].MyVelX * 10;
ys = _root["PopUpX" + i].MyVelY * 10;
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.VCAM.DiscSlice_sound.start();
_root.dismemberRIGHTARM = 1;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 322 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
i = 0;
while (i < 10) {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
i++;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 323 MovieClip Frame 1
function update() {
if (_root.dismember == 1) {
_root.restartTimer();
_root.BD = db;
if (db < 5) {
db = db + 1;
} else {
bd = random(200);
if (bd < 1) {
}
}
}
if (_root.dismember == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
i = 0;
while (i < 10) {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
}
i++;
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.dismember == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 2);
this._y = this._y + ((-ys) * 2);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 12) && (_root.dragging != this));
}
function collisions() {
var _local2 = false;
if (this._name != "head") {
if (_y > 360) {
_y = 359;
_local2 = true;
} else if (_y < 0) {
_y = (0 + (-ys));
_local2 = true;
}
if (_x > 1000) {
_x = 999;
_local2 = true;
} else if (_x < 0) {
_x = 1;
_local2 = true;
}
} else {
var _local3 = _width / 2.5;
if (_y > (360 - _local3)) {
_y = (359 - _local3);
_local2 = true;
} else if (_y < _local3) {
}
if (_x > (1000 - _local3)) {
_x = (999 - _local3);
_local2 = true;
} else if (_x < _local3) {
_x = (_local3 + 1);
_local2 = true;
}
}
if (_local2) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
var kl = {};
onReleaseOutside = onRelease;
Symbol 329 MovieClip Frame 1
function update() {
if (_root.JUMP == true) {
}
if (_root.decapitate == 1) {
_root.BD = db;
if (db < 5) {
db = db + 1;
_root.drawblood(_x, _y);
} else {
bd = random(20);
if (bd < 1) {
}
}
}
if (_root.decapitate == 0) {
db = 0;
}
if (_root.dragging == this) {
} else {
if (!_root["PopUpX" + i].hitTest(this)) {
xs = _x - lx;
ys = _y - ly;
nx = xs;
ny = ys;
imhit = false;
} else if (((_root["PopUpX" + i].hitTest(this) && (imhit == false)) && (_root["PopUpX" + i].ball._currentframe == 1)) && (_root.decapitate == 0)) {
_x = (_x - (xs - _root["PopUpX" + i].MyVelX));
_y = (_y - (ys - _root["PopUpX" + i].MyVelY));
xs = xs - (_root["PopUpX" + i].MyVelX / 10);
ys = ys - (_root["PopUpX" + i].MyVelY / 10);
imhit = true;
_root.drawblood(this._x, this._y);
_root["PopUpX" + i].ball.gotoAndPlay(2);
_root.decapitate = 1;
_root.VCAM.DiscSlice_sound.start();
}
if (((this.hitTest(_root.Enemy) && (imhit == false)) && (_root.EnemyMode == 1)) && (_root.decapitate == 0)) {
xs = _root.Enemy.EVelX;
ys = _root.Enemy.EVelY;
imhit = true;
_root.restartTimer();
if ((xs < 1) && (xs > -1)) {
_root.Enemy.EVelX = nx;
} else {
_root.Enemy.EVelX = random(16) - random(16);
}
if ((ys < 1) && (ys > -1)) {
_root.Enemy.EVelY = ny;
} else {
_root.Enemy.EVelY = -10;
}
this._x = this._x + ((-xs) * 1.5);
this._y = this._y + ((-ys) * 1.5);
if (!_root.soundplaying) {
var _local3 = new Sound(this);
_local3.onSoundComplete = function () {
_root.soundplaying = false;
};
var _local5 = random(4);
var _local6 = -100 + ((head._x * 200) / 445);
_local3.attachSound("break" + _local5);
_local3.start(0, 0);
_local3.setVolume(75);
_root.soundplaying = true;
}
_root.drawblood(_x, _y);
c = true;
}
}
var _local4 = Math.sqrt((xs * xs) + (ys * ys));
if (_local4 > ms) {
xs = xs * (ms / _local4);
ys = ys * (ms / _local4);
}
if (Math.abs(xs) < 1) {
xs = 0;
}
if (Math.abs(ys) < 0.25) {
ys = 0;
}
lx = _x;
ly = _y;
_x = (_x + (xs * 0.98));
_y = (_y + (ys + 0.5));
}
function force() {
var _local3 = Math.sqrt((xs * xs) + (ys * ys));
return((_local3 >= 10) && (_root.dragging != this));
}
function collisions() {
var _local1 = false;
if (_y > 360) {
_y = 359;
_local1 = true;
} else if (_y < 10) {
_y = 11;
_local1 = true;
}
if (_x > 1000) {
_x = 999;
_local1 = true;
} else if (_x < 0) {
_x = 1;
_local1 = true;
}
if (_local1) {
return(force());
}
return(false);
}
function onPress() {
_root.dragging = this;
}
function onRelease() {
_root.dragging = null;
}
var lx = _x;
var ly = _y;
var xs = 0;
var ys = 0;
var ms = 30;
onReleaseOutside = onRelease;
Symbol 351 MovieClip Frame 1
function camControl() {
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local10 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 343 MovieClip "scoreDISP" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
poster = 0;
this._alpha = 1;
this.scorer._visible = false;
this.grader._visible = false;
}
onClipEvent (enterFrame) {
if (_root.seconds < 300) {
_root.grade = "F";
} else if ((_root.seconds >= 300) && (_root.seconds < 500)) {
_root.grade = "D";
} else if ((_root.seconds >= 500) && (_root.seconds < 700)) {
_root.grade = "C";
} else if ((_root.seconds >= 700) && (_root.seconds < 1000)) {
_root.grade = "B";
} else if ((_root.seconds >= 1000) && (_root.seconds < 1300)) {
_root.grade = "A";
} else if ((_root.seconds >= 1300) && (_root.seconds < 1500)) {
_root.grade = "A+";
} else if ((_root.seconds >= 1500) && (_root.seconds < 2000)) {
_root.grade = "A++";
} else if ((_root.seconds >= 2000) && (_root.seconds < 3000)) {
_root.grade = "MASTER";
} else if ((_root.seconds >= 3000) && (_root.seconds < 5000)) {
_root.grade = "GRAND MASTER";
} else if ((_root.seconds >= 5000) && (_root.seconds < 10000)) {
_root.grade = "*YAWN!*";
} else if (_root.seconds >= 10000) {
_root.grade = "+_+";
}
if ((_root.decapitate == 1) || (_root.dismemberTORSO == 1)) {
FinalScore = _root.seconds;
if (poster == 0) {
postHPScore(FinalScore, "");
poster = 1;
}
this.scorer._visible = true;
this.grader._visible = true;
this._alpha = 100;
}
}
Instance of Symbol 349 MovieClip in Symbol 351 MovieClip Frame 1
on (release) {
getURL ("http://kynetik-27.newgrounds.com", "_blank");
}
Instance of Symbol 121 MovieClip in Symbol 351 MovieClip Frame 1
on (release) {
getURL ("http://www.hallpass.com/", "_blank");
}