Frame 2
stop();
_global.lengthdiry = function (len, dir) {
return(len * Math.sin(degtorad(dir)));
};
_global.lengthdirx = function (len, dir) {
return(len * Math.cos(degtorad(dir)));
};
_global.lnt = function (xd, yd) {
return(Math.sqrt(Math.pow(xd, 2) + Math.pow(yd, 2)));
};
_global.Rotate = function (xm, ym) {
return((Math.atan2(ym, xm) / Math.PI) * 180);
};
_global.degtorad = function (dg) {
return((dg / 180) * Math.PI);
};
_global.radtodeg = function (dg) {
return((dg / Math.PI) * 180);
};
stopAllSounds();
_root.cam.sounds.gotoAndPlay("wind");
cam.gotoAndStop(_global.frameNum);
var outer_maskBmp = (new flash.display.BitmapData(325, 397, true, 4294967295));
cam.victim.outer.outerMask.attachBitmap(outer_maskBmp, 0, false, true);
var flesh_maskBmp = (new flash.display.BitmapData(323, 377, true, 4294967295));
cam.victim.flesh.fleshMask.attachBitmap(flesh_maskBmp, 0, false, true);
var bones_maskBmp = (new flash.display.BitmapData(323, 371, true, 4294967295));
cam.victim.bones.bonesMask.attachBitmap(bones_maskBmp, 0, false, true);
removeOuter = function (X, Y, Rot, obj, Scale) {
tMatrix = new flash.geom.Matrix();
if (Scale) {
tMatrix.scale(Scale, 1);
}
tMatrix.rotate(Rot);
tMatrix.translate(X + (outer_maskBmp.width / 2), Y + (outer_maskBmp.height / 2));
outer_maskBmp.draw(obj, tMatrix);
outer_maskBmp.copyChannel(outer_maskBmp, new flash.geom.Rectangle(0, 0, outer_maskBmp.width, outer_maskBmp.height), new flash.geom.Point(0, 0), 1, 8);
};
removeFlesh = function (X, Y, Rot, obj, Scale) {
tMatrix = new flash.geom.Matrix();
if (Scale) {
tMatrix.scale(Scale, 1);
}
tMatrix.rotate(Rot);
tMatrix.translate(X + (flesh_maskBmp.width / 2), Y + (flesh_maskBmp.height / 2));
flesh_maskBmp.draw(obj, tMatrix);
flesh_maskBmp.copyChannel(flesh_maskBmp, new flash.geom.Rectangle(0, 0, flesh_maskBmp.width, flesh_maskBmp.height), new flash.geom.Point(0, 0), 1, 8);
};
removeBone = function (X, Y, Rot, obj, Scale) {
tMatrix = new flash.geom.Matrix();
if (Scale) {
tMatrix.scale(Scale, 1);
}
tMatrix.rotate(Rot);
tMatrix.translate(X + (bones_maskBmp.width / 2), Y + (bones_maskBmp.height / 2));
bones_maskBmp.draw(obj, tMatrix);
bones_maskBmp.copyChannel(bones_maskBmp, new flash.geom.Rectangle(0, 0, bones_maskBmp.width, bones_maskBmp.height), new flash.geom.Point(0, 0), 1, 8);
};
var Draw = false;
var mouseListener = new Object();
mouseListener.onMouseDown = function () {
Draw = true;
if (cam._currentframe == 1112) {
Draw = true;
removeOuter(cam.victim.outer._xmouse, cam.victim.outer._ymouse, Math.random() * 360, alpahDrawLarge);
removeFlesh(cam.victim.flesh._xmouse, cam.victim.flesh._ymouse, Math.random() * 360, alphaDrawSmall);
removeBone(cam.victim.bones._xmouse, cam.victim.bones._ymouse, Math.random() * 360, alphaDrawTiny);
}
};
mouseListener.onMouseUp = function () {
Draw = false;
};
mouseListener.onMouseMove = function () {
if ((cam._currentframe == 1112) && (Draw)) {
removeOuter(cam.victim.outer._xmouse, cam.victim.outer._ymouse, Math.random() * 360, alpahDrawLarge);
removeFlesh(cam.victim.flesh._xmouse, cam.victim.flesh._ymouse, Math.random() * 360, alphaDrawSmall);
removeBone(cam.victim.bones._xmouse, cam.victim.bones._ymouse, Math.random() * 360, alphaDrawTiny);
}
};
Mouse.addListener(mouseListener);
Instance of Symbol 141 MovieClip "cam" in Frame 2
onClipEvent (load) {
rot = 0;
frame = 3;
}
Instance of Symbol 143 MovieClip "alpahDrawLarge" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 145 MovieClip "alphaDrawSmall" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 147 MovieClip "alphaDrawTiny" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 149 MovieClip "alpahDrawBlock" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 151 MovieClip "alpahDrawLine" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 153 MovieClip "alpahDrawLineSmall" in Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 155 MovieClip "alpahDrawLineTiny" in Frame 2
onClipEvent (load) {
_visible = false;
}
Frame 3
gotoAndStop (2);
Symbol 7 Button
on (press) {
_root.gotoAndStop(2);
}
Symbol 8 MovieClip Frame 1
_root.stop();
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
perc = (loaded / total) * 100;
itext.text = ("LOADED: " + Math.round(perc)) + "%";
if (loaded == total) {
this.gotoAndStop(3);
}
Symbol 8 MovieClip Frame 2
gotoAndPlay (1);
Symbol 43 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 101
gotoAndPlay (2);
Instance of Symbol 58 MovieClip "particleCore" in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
if (_name == "particleCore") {
_visible = false;
spawn = function () {
temp = this.duplicateMovieClip("part_" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
temp.Index = _parent.Add(temp);
return(temp);
};
} else {
s = 1700 + (Math.random() * 2600);
}
}
onClipEvent (enterFrame) {
if (_name != "particleCore") {
if (Type == "acid") {
yvel = yvel + 0.33;
xvel = xvel * 0.99;
_x = (_x + xvel);
_y = (_y + yvel);
if (_y > 480) {
_root.cam.lever.leverHandle.pLive--;
this.removeMovieClip();
}
if (_root.cam.victim.outer.holder.hitTest(_x, _y, true)) {
yvel = yvel / 2;
_root.removeOuter(_x - _root.cam.victim._x, _y - _root.cam.victim._y, _root.alpahDrawLarge);
_root.removeFlesh(_x - _root.cam.victim._x, _y - _root.cam.victim._y, _root.alphaDrawSmall);
}
}
if (Type == "bloodrun") {
if (_yscale < s) {
_yscale = (_yscale + 6);
}
}
if (Type == "blood") {
yvel = yvel + 0.03;
xvel = xvel * 0.99;
_x = (_x + xvel);
_y = (_y + yvel);
if (_y > 480) {
_root.cam.bloodTank.tankBlood._yscale = 100 - ((_root.cam.spikes.spike.blood / 1000) * 100);
if (Math.random() > 0.8) {
num = 1 + Math.round(Math.random() * 2);
_root.cam.sounds.gotoAndPlay("drip3");
}
this.removeMovieClip();
}
}
}
}
Instance of Symbol 60 MovieClip "bloodSpawn" in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_name == "bloodSpawn") {
bList = new Array();
bClear = function () {
a = 0;
while (a < bList.length) {
bList[a].removeMovieClip();
a++;
}
};
bSpawn = function () {
temp = this.duplicateMovieClip("bS_" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
bList[bList.length] = temp;
return(temp);
};
}
}
onClipEvent (enterFrame) {
if (_name != "bloodSpawn") {
if ((Math.random() > 0.8) && (_root.cam.spikes.spike.blood > 0)) {
_root.cam.spikes.spike.blood--;
temp = _parent.particleCore.spawn();
temp.Type = "blood";
temp.gotoAndStop(3);
temp._xscale = 80 + (Math.random() * 40);
temp._x = _x;
temp._y = _y;
temp.xvel = ((dirX * 0.5) - 0.25) + (Math.random() * 0.5);
temp.yvel = ((dirY * 0.5) - 0.25) + (Math.random() * 0.5);
} else if (_root.cam.spikes.spike.blood <= 0) {
_root.cam.particleBlock.bloodSpawn.bClear();
}
}
}
Instance of Symbol 68 MovieClip "leverHandle" in Symbol 70 MovieClip Frame 1
onClipEvent (load) {
rest = true;
_rotation = -80;
down = false;
up = false;
rvel = 0;
countUp = 0;
}
onClipEvent (enterFrame) {
if (up) {
if (_rotation == 76) {
_root.cam.sounds.gotoAndPlay("drag");
}
if (rvel < 3) {
rvel = rvel - 0.1;
}
_rotation = (_rotation + rvel);
if (_rotation <= -86) {
up = false;
_rotation = -80;
rvel = 0;
countUp = 10;
rest = true;
_root.cam.sounds.gotoAndPlay("clang");
}
}
if (down) {
if (rvel < 3) {
rvel = rvel + 0.1;
}
_rotation = (_rotation + rvel);
if (_rotation >= 80) {
down = false;
_rotation = 76;
_parent._parent.spikes.spike.stab = true;
_parent._parent.acidTank.acid.down = true;
_root.cam.victim.outer.holder.eyelids.gotoAndStop(1);
_root.cam.victim.outer.holder.mouth.gotoAndStop(2);
rvel = 0;
_root.cam.sounds.gotoAndPlay("clang");
}
}
}
on (press) {
if (((!down) && (!up)) && (_rotation == -80)) {
_root.cam.sounds.gotoAndPlay("drag");
down = true;
rest = false;
countUp = ((_parent._parent.dunkSlider.dunkLevel._yscale * 251) / 100) + 30;
}
}
Instance of Symbol 88 MovieClip "acid" in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
YS = 106;
YE = YS + 251;
_y = YE;
count = false;
countDown = 30;
down = false;
up = false;
Skip = false;
fTime = true;
}
onClipEvent (enterFrame) {
if (up) {
_y = (_y + 2);
if (_y >= YE) {
_y = YE;
up = false;
_root.cam.lever.leverHandle.up = true;
}
}
if (countDown == 0) {
countDown = 30;
count = false;
down = false;
up = true;
}
if (count) {
countDown--;
}
if (down) {
_y = (_y - 2);
if (_y <= (YS + ((1 - (_root.cam.dunkSlider.dunkLevel._yscale / 100)) * 251))) {
if (fTime) {
_root.cam.sounds.gotoAndPlay("death");
fTime = false;
}
count = true;
down = false;
d = (1 - (_root.cam.dunkSlider.dunkLevel._yscale / 100)) * 251;
X = _root.cam.victim._x;
Y = (d + _root.cam.victim._y) + 6;
var myPoint = {x:X, y:Y};
_root.cam.victim.outer.globalToLocal(myPoint);
_root.removeOuter(myPoint.x, myPoint.y, degtorad(-_root.cam.table._rotation), _root.alpahDrawBlock);
X = _root.cam.victim._x;
Y = (d + _root.cam.victim._y) + 12;
var myPoint = {x:X, y:Y};
_root.cam.victim.flesh.globalToLocal(myPoint);
_root.removeFlesh(myPoint.x, myPoint.y, degtorad(-_root.cam.table._rotation), _root.alpahDrawBlock);
X = _root.cam.victim._x;
Y = (d + _root.cam.victim._y) + 27;
var myPoint = {x:X, y:Y};
_root.cam.victim.bones.globalToLocal(myPoint);
_root.removeBone(myPoint.x, myPoint.y, degtorad(-_root.cam.table._rotation), _root.alpahDrawBlock);
}
}
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 7
stop();
Symbol 125 MovieClip Frame 11
stop();
Symbol 125 MovieClip Frame 16
stop();
Symbol 125 MovieClip Frame 24
stop();
Symbol 125 MovieClip Frame 32
stop();
Symbol 125 MovieClip Frame 40
stop();
Symbol 125 MovieClip Frame 48
stop();
Symbol 125 MovieClip Frame 56
stop();
Symbol 125 MovieClip Frame 64
stop();
Instance of Symbol 132 MovieClip "spike" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
stab = false;
In = false;
retract = false;
bloodTip._visible = false;
bloodPole._xscale = 0;
First = true;
fPoint = null;
blood = 1000;
}
onClipEvent (enterFrame) {
if (retract) {
if (_x >= -225) {
_x = (_x - 6);
} else {
retract = false;
stab = false;
_x = -225;
First = true;
In = false;
fPoint = null;
}
}
if (stab && (!retract)) {
if (_x < 225) {
_x = (_x + 6);
} else {
First = true;
retract = true;
_root.cam.lever.leverHandle.up = true;
}
X = lengthdirx((-_x) + 10, _parent._rotation - 180);
Y = lengthdiry((-_x) + 10, _parent._rotation - 180);
if (_root.cam.victim.outer.holder.hitTest(X + _root.cam.victim._x, Y + _root.cam.victim._y, true)) {
if (!In) {
if (First) {
fPoint = _x;
First = false;
_root.cam.sounds.gotoAndPlay("death");
}
_root.cam.sounds.gotoAndPlay("cut");
_root.removeOuter(X, Y, Math.random() * 360, _root.alpahDrawLarge);
_root.removeFlesh(X, Y, Math.random() * 360, _root.alpahDrawLarge);
bloodTip._visible = true;
X = lengthdirx((-_x) + 8, _parent._rotation - 180);
Y = lengthdiry((-_x) + 8, _parent._rotation - 180);
temp = _root.cam.particleBlock.particleCore.spawn();
temp._x = X + _root.cam.victim._x;
temp._y = Y + _root.cam.victim._y;
temp.gotoAndStop(3);
temp.Type = "bloodrun";
temp = _root.cam.particleBlock.bloodSpawn.bSpawn();
temp._x = X + _root.cam.victim._x;
temp._y = Y + _root.cam.victim._y;
temp.dirX = lengthdirx(1, _parent._rotation - 180);
temp.dirY = lengthdiry(1, _parent._rotation - 180);
}
In = true;
} else if (In) {
In = false;
X = lengthdirx((-_x) + 14, _parent._rotation - 180);
Y = lengthdiry((-_x) + 14, _parent._rotation - 180);
_root.cam.sounds.gotoAndPlay("cut");
_root.removeOuter(X, Y, Math.random() * 360, _root.alpahDrawLarge);
_root.removeFlesh(X, Y, Math.random() * 360, _root.alpahDrawLarge);
X = lengthdirx((-_x) + 16, _parent._rotation - 180);
Y = lengthdiry((-_x) + 16, _parent._rotation - 180);
temp = _root.cam.particleBlock.particleCore.spawn();
temp._x = X + _root.cam.victim._x;
temp._y = Y + _root.cam.victim._y;
temp.gotoAndStop(3);
temp.Type = "bloodrun";
temp = _root.cam.particleBlock.bloodSpawn.bSpawn();
temp._x = X + _root.cam.victim._x;
temp._y = Y + _root.cam.victim._y;
temp.dirX = lengthdirx(1, _parent._rotation);
temp.dirY = lengthdiry(1, _parent._rotation);
}
}
if (bloodPole._xscale < Math.abs(fPoint - _x)) {
bloodPole._xscale = Math.abs(fPoint - _x);
}
}
Symbol 141 MovieClip Frame 1
stop();
Instance of Symbol 54 MovieClip "victim" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 72 MovieClip "turnUp" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
pressed = false;
}
onClipEvent (enterFrame) {
if (pressed && (_parent.lever.leverHandle.rest)) {
_parent.rot = _parent.rot - 4;
_parent.victim._rotation = _parent.rot;
_parent.table._rotation = _parent.rot;
_parent.chainHolder._rotation = _parent.rot;
if (_parent.rot < 0) {
_parent.rot = 360 + _parent.rot;
}
}
}
on (press) {
pressed = true;
}
on (release) {
pressed = false;
}
on (releaseOutside) {
pressed = false;
}
Instance of Symbol 72 MovieClip "turnDown" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
pressed = false;
}
onClipEvent (enterFrame) {
if (pressed && (_parent.lever.leverHandle.rest)) {
_parent.rot = _parent.rot + 4;
_parent.victim._rotation = _parent.rot;
_parent.table._rotation = _parent.rot;
_parent.chainHolder._rotation = _parent.rot;
if (_parent.rot >= 360) {
_parent.rot = _parent.rot - 360;
}
}
}
on (press) {
pressed = true;
}
on (release) {
pressed = false;
}
on (releaseOutside) {
pressed = false;
}
Instance of Symbol 80 MovieClip "dunkSlider" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
dunkLevel._yscale = 50;
pressed = false;
}
onClipEvent (enterFrame) {
if (((pressed && (_ymouse >= (-_height))) && (_ymouse <= 0)) && (_parent.lever.leverHandle.rest)) {
dunkLevel._yscale = (Math.abs(_ymouse) / _height) * 100;
}
}
on (press) {
pressed = true;
}
on (release) {
pressed = false;
}
on (releaseOutside) {
pressed = false;
}
Instance of Symbol 93 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
on (press) {
_root.outer_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 325, 397), 4294967295);
_root.flesh_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 377), 4294967295);
_root.bones_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 371), 4294967295);
_root.cam.victim.outer.holder.eyelids.gotoAndPlay(2);
_root.cam.victim.outer.holder.mouth.gotoAndStop(1);
}
Instance of Symbol 96 MovieClip in Symbol 141 MovieClip Frame 1
on (press) {
_global.frameNum = 1;
_root.gotoAndStop(3);
}
Instance of Symbol 96 MovieClip in Symbol 141 MovieClip Frame 1
on (press) {
_global.frameNum = 2;
_root.gotoAndStop(3);
}
Instance of Symbol 96 MovieClip in Symbol 141 MovieClip Frame 1
on (press) {
_global.frameNum = 3;
_root.gotoAndStop(3);
}
Instance of Symbol 96 MovieClip in Symbol 141 MovieClip Frame 1
on (press) {
_global.frameNum = 4;
_root.gotoAndStop(3);
}
Instance of Symbol 61 MovieClip "particleBlock" in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
pList = new Array();
Add = function (obj) {
pList[pList.length] = obj;
return(pList.length - 1);
};
Remove = function (Index) {
a = Index;
while (a < (pList.length - 1)) {
pList[a] = pList[a + 1];
a++;
}
pList.length = pList.length - 1;
};
}
Instance of Symbol 93 MovieClip in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
on (press) {
_root.outer_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 325, 397), 4294967295);
_root.flesh_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 377), 4294967295);
_root.bones_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 371), 4294967295);
_root.cam.victim.outer.holder.eyelids.gotoAndPlay(2);
_root.cam.victim.outer.holder.mouth.gotoAndStop(1);
a = _root.cam.particleBlock.pList.length - 1;
while (a >= 0) {
_root.cam.particleBlock.pList[a].removeMovieClip();
a--;
}
_root.cam.particleBlock.pList.length = 0;
}
Instance of Symbol 2 MovieClip [knife] "knife" in Symbol 141 MovieClip Frame 2
onClipEvent (load) {
fTime = true;
}
onClipEvent (enterFrame) {
xPrev = _x;
yPrev = _y;
_x = _root.cam._xmouse;
_y = _root.cam._ymouse;
if (((_x - xPrev) != 0) || ((_y - yPrev) != 0)) {
_rotation = Rotate(_x - xPrev, _y - yPrev);
if (_root.Draw) {
if (fTime && (_root.cam.victim.outer.holder.hitTest(_x, _y, true))) {
_root.cam.sounds.gotoAndPlay("death");
fTime = false;
}
if ((Math.random() > 0.91) && (_root.cam.victim.outer.holder.hitTest(_x, _y, true))) {
temp = _root.cam.particleBlock.particleCore.spawn();
temp._x = _x;
temp._y = _y;
temp.gotoAndStop(3);
temp.Type = "bloodrun";
}
_root.cam.victim.outer.holder.eyelids.gotoAndStop(1);
_root.cam.victim.outer.holder.mouth.gotoAndStop(2);
d = (lnt(_x - xPrev, _y - yPrev) / 100) + 0.05;
_root.removeOuter(_root.cam.victim.outer._xmouse, _root.cam.victim.outer._ymouse, degtorad(_rotation), _root.alpahDrawLine, d);
_root.removeFlesh(_root.cam.victim.flesh._xmouse, _root.cam.victim.flesh._ymouse, degtorad(_rotation), _root.alpahDrawLineTiny, d);
}
}
updateAfterEvent();
}
Instance of Symbol 72 MovieClip "turnUp" in Symbol 141 MovieClip Frame 3
onClipEvent (load) {
pressed = false;
}
onClipEvent (enterFrame) {
if (pressed && (_parent.lever.leverHandle.rest)) {
_parent.rot = _parent.rot - 3;
_parent.spikes._rotation = _parent.rot;
if (_parent.rot < 0) {
_parent.rot = 360 + _parent.rot;
}
}
}
on (press) {
pressed = true;
}
on (release) {
pressed = false;
}
on (releaseOutside) {
pressed = false;
}
Instance of Symbol 72 MovieClip "turnDown" in Symbol 141 MovieClip Frame 3
onClipEvent (load) {
pressed = false;
}
onClipEvent (enterFrame) {
if (pressed && (_parent.lever.leverHandle.rest)) {
_parent.rot = _parent.rot + 3;
_parent.spikes._rotation = _parent.rot;
if (_parent.rot >= 360) {
_parent.rot = _parent.rot - 360;
}
}
}
on (press) {
pressed = true;
}
on (release) {
pressed = false;
}
on (releaseOutside) {
pressed = false;
}
Instance of Symbol 93 MovieClip in Symbol 141 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
on (press) {
_root.outer_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 325, 397), 4294967295);
_root.flesh_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 377), 4294967295);
_root.bones_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 371), 4294967295);
_root.cam.victim.outer.holder.eyelids.gotoAndPlay(2);
_root.cam.victim.outer.holder.mouth.gotoAndStop(1);
a = _root.cam.particleBlock.pList.length - 1;
while (a >= 0) {
_root.cam.particleBlock.pList[a].removeMovieClip();
a--;
}
_root.cam.particleBlock.pList.length = 0;
_root.cam.spikes.spike.stab = false;
_root.cam.spikes.spike.In = false;
_root.cam.spikes.spike._x = -255;
_root.cam.spikes.spike.bloodPole._xscale = 0;
_root.cam.spikes.spike.bloodTip._visible = false;
_root.cam.spikes.spike.blood = 1000;
_root.cam.particleBlock.bloodSpawn.bClear();
_root.cam.lever.leverHandle._rotation = -80;
_root.cam.lever.leverHandle.down = false;
_root.cam.lever.leverHandle.rest = true;
_root.cam.bloodTank.tankBlood._yscale = 0;
}
Instance of Symbol 138 MovieClip "bloodTank" in Symbol 141 MovieClip Frame 3
onClipEvent (load) {
tankBlood._yscale = 0;
}
Instance of Symbol 93 MovieClip in Symbol 141 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
}
on (press) {
_root.outer_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 325, 397), 4294967295);
_root.flesh_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 377), 4294967295);
_root.bones_maskBmp.fillRect(new flash.geom.Rectangle(0, 0, 323, 371), 4294967295);
_root.cam.victim.outer.holder.eyelids.gotoAndPlay(2);
_root.cam.victim.outer.holder.mouth.gotoAndStop(1);
a = _root.cam.particleBlock.pList.length - 1;
while (a >= 0) {
_root.cam.particleBlock.pList[a].removeMovieClip();
a--;
}
_root.cam.particleBlock.pList.length = 0;
}
Instance of Symbol 140 MovieClip "razor" in Symbol 141 MovieClip Frame 4
onClipEvent (load) {
fTime = true;
}
onClipEvent (enterFrame) {
xPrev = _x;
yPrev = _y;
_x = _root.cam._xmouse;
_y = _root.cam._ymouse;
if (((_x - xPrev) != 0) || ((_y - yPrev) != 0)) {
_rotation = Rotate(_x - xPrev, _y - yPrev);
if (_root.Draw) {
if (fTime && (_root.cam.victim.outer.holder.hitTest(_x, _y, true))) {
_root.cam.sounds.gotoAndPlay("death");
fTime = false;
}
if ((Math.random() > 0.61) && (_root.cam.victim.outer.holder.hitTest(_x, _y, true))) {
temp = _root.cam.particleBlock.particleCore.spawn();
temp._x = _x;
temp._y = _y;
temp.gotoAndStop(3);
temp.Type = "bloodrun";
}
_root.cam.victim.outer.holder.eyelids.gotoAndStop(1);
_root.cam.victim.outer.holder.mouth.gotoAndStop(2);
d = (lnt(_x - xPrev, _y - yPrev) / 100) + 0.05;
if ((Math.random() > 0.5) && (_root.cam.victim.outer.holder.hitTest(_x, _y, true))) {
temp = _parent.particleBlock.particleCore.spawn();
temp.Type = "blood";
temp.gotoAndStop(3);
temp._xscale = 80 + (Math.random() * 40);
temp._x = _x;
temp._y = _y;
temp.xvel = -1 + (Math.random() * 2);
temp.yvel = -0.5 + (Math.random() * 2);
}
_root.removeOuter(_root.cam.victim.outer._xmouse, _root.cam.victim.outer._ymouse, degtorad(_rotation), _root.alpahDrawBox, d);
_root.removeFlesh(_root.cam.victim.flesh._xmouse, _root.cam.victim.flesh._ymouse, degtorad(_rotation), _root.alpahDrawBoxTiny, d);
}
}
updateAfterEvent();
}