Frame 1
stop();
_root._x = 0;
_root._y = 0;
menu = new ContextMenu();
menu.hideBuiltInItems();
Instance of Symbol 5 MovieClip in Frame 1
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}
Instance of Symbol 7 MovieClip in Frame 1
on (release) {
getURL ("http://www.deadtoast.com/", "_blank");
}
Instance of Symbol 10 MovieClip "arm21" in Frame 1
onClipEvent (load) {
rotPosX = _x;
rotPosY = _y + 110;
xSpeed = 0;
ySpeed = 0;
x = _x;
y = _y + 55;
}
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
drag = true;
}
} else {
drag = false;
}
_x = (_root.arm2._x + (Math.sin((_root.arm2._rotation + 180) * (Math.PI/180)) * 21));
_y = (_root.arm2._y - (Math.cos((_root.arm2._rotation + 180) * (Math.PI/180)) * 21));
if (drag == false) {
rotPosX = _x;
rotPosY = _y + 60;
} else {
rotPosX = _root._xmouse;
rotPosY = _root._ymouse;
}
_rotation = (((Math.atan2(y - _y, x - _x) * 180) / Math.PI) - 90);
xSpeed = xSpeed + ((rotPosX - x) * 0.1);
xSpeed = xSpeed / 1.1;
ySpeed = ySpeed + ((rotPosY - y) * 0.1);
ySpeed = ySpeed / 1.1;
x = x + xSpeed;
y = y + ySpeed;
}
Instance of Symbol 10 MovieClip "arm2" in Frame 1
onClipEvent (load) {
rotPosX = _x;
rotPosY = _y + 110;
xSpeed = 0;
ySpeed = 0;
x = _x;
y = _y + 55;
}
onClipEvent (enterFrame) {
_x = (_root.body._x + (Math.sin((_root.body._rotation - 90) * (Math.PI/180)) * -31.25));
_y = (_root.body._y - (Math.cos((_root.body._rotation - 90) * (Math.PI/180)) * -31.25));
if (_root.arm21.drag == false) {
rotPosX = _x;
rotPosY = _y + 90;
} else {
rotPosX = _root.arm21.rotPosX;
rotPosY = _root.arm21.rotPosY;
}
_rotation = (((Math.atan2(y - _y, x - _x) * 180) / Math.PI) - 90);
xSpeed = xSpeed + ((rotPosX - x) * 0.1);
xSpeed = xSpeed / 1.1;
ySpeed = ySpeed + ((rotPosY - y) * 0.1);
ySpeed = ySpeed / 1.1;
x = x + xSpeed;
y = y + ySpeed;
}
Instance of Symbol 12 MovieClip "leg2" in Frame 1
onClipEvent (load) {
rotPosX = _x;
rotPosY = _y + 110;
xSpeed = 0;
ySpeed = 0;
x = _x;
y = _y + 55;
}
onClipEvent (enterFrame) {
_x = (_root.body._x + (Math.sin((_root.body._rotation + 150) * (Math.PI/180)) * 39));
_y = (_root.body._y - (Math.cos((_root.body._rotation + 150) * (Math.PI/180)) * 39));
rotPosX = _x;
rotPosY = _y + 110;
_rotation = (((Math.atan2(y - _y, x - _x) * 180) / Math.PI) - 90);
xSpeed = xSpeed + ((rotPosX - x) * 0.1);
xSpeed = xSpeed / 1.1;
ySpeed = ySpeed + ((rotPosY - y) * 0.1);
ySpeed = ySpeed / 1.1;
x = x + xSpeed;
y = y + ySpeed;
}
Instance of Symbol 10 MovieClip "arm11" in Frame 1
onClipEvent (load) {
rotPosX = _x;
rotPosY = _y + 110;
xSpeed = 0;
ySpeed = 0;
x = _x;
y = _y + 55;
}
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
drag = true;
}
} else {
drag = false;
}
_x = (_root.arm1._x + (Math.sin((_root.arm1._rotation + 180) * (Math.PI/180)) * 21));
_y = (_root.arm1._y - (Math.cos((_root.arm1._rotation + 180) * (Math.PI/180)) * 21));
if (drag == false) {
rotPosX = _x;
rotPosY = _y + 60;
} else {
rotPosX = _root._xmouse;
rotPosY = _root._ymouse;
}
_rotation = (((Math.atan2(y - _y, x - _x) * 180) / Math.PI) - 90);
xSpeed = xSpeed + ((rotPosX - x) * 0.1);
xSpeed = xSpeed / 1.1;
ySpeed = ySpeed + ((rotPosY - y) * 0.1);
ySpeed = ySpeed / 1.1;
x = x + xSpeed;
y = y + ySpeed;
}
Instance of Symbol 10 MovieClip "arm1" in Frame 1
onClipEvent (load) {
rotPosX = _x;
rotPosY = _y + 110;
xSpeed = 0;
ySpeed = 0;
x = _x;
y = _y + 55;
}
onClipEvent (enterFrame) {
_x = (_root.body._x + (Math.sin((_root.body._rotation + 90) * (Math.PI/180)) * -31.25));
_y = (_root.body._y - (Math.cos((_root.body._rotation + 90) * (Math.PI/180)) * -31.25));
if (_root.arm11.drag == false) {
rotPosX = _x;
rotPosY = _y + 90;
} else {
rotPosX = _root.arm11.rotPosX;
rotPosY = _root.arm11.rotPosY;
}
_rotation = (((Math.atan2(y - _y, x - _x) * 180) / Math.PI) - 90);
xSpeed = xSpeed + ((rotPosX - x) * 0.1);
xSpeed = xSpeed / 1.1;
ySpeed = ySpeed + ((rotPosY - y) * 0.1);
ySpeed = ySpeed / 1.1;
x = x + xSpeed;
y = y + ySpeed;
}
Instance of Symbol 12 MovieClip "leg1" in Frame 1
onClipEvent (load) {
rotPosX = _x;
rotPosY = _y + 110;
xSpeed = 0;
ySpeed = 0;
x = _x;
y = _y + 55;
}
onClipEvent (enterFrame) {
_x = (_root.body._x + (Math.sin((_root.body._rotation - 150) * (Math.PI/180)) * 39));
_y = (_root.body._y - (Math.cos((_root.body._rotation - 150) * (Math.PI/180)) * 39));
rotPosX = _x;
rotPosY = _y + 110;
_rotation = (((Math.atan2(y - _y, x - _x) * 180) / Math.PI) - 90);
xSpeed = xSpeed + ((rotPosX - x) * 0.1);
xSpeed = xSpeed / 1.1;
ySpeed = ySpeed + ((rotPosY - y) * 0.1);
ySpeed = ySpeed / 1.1;
x = x + xSpeed;
y = y + ySpeed;
}
Instance of Symbol 25 MovieClip "body" in Frame 1
onClipEvent (load) {
xDist = -random(6);
yDist = 0;
drag = false;
xDistSpeed = 0;
yDistSpeed = 0;
mousePress = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
if (mousePress == false) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
drag = true;
_root.timer = 999;
}
mousePress = true;
}
} else {
drag = false;
mousePress = false;
}
if (drag == true) {
_rotation = (((Math.atan2(_root._ymouse - _y, _root._xmouse - _x) * 180) / Math.PI) + 90);
xDistSpeed = xDistSpeed + ((_root._xmouse - _x) * 0.1);
xDistSpeed = xDistSpeed / 1.2;
yDistSpeed = yDistSpeed + (((_root._ymouse + 60) - _y) * 0.1);
yDistSpeed = yDistSpeed / 1.2;
xDist = xDistSpeed;
yDist = yDistSpeed;
} else {
yDist = yDist + 0.3;
_rotation = (_rotation + (xDist / 5));
}
_x = (_x + xDist);
_y = (_y + yDist);
if ((_y + (_height / 2)) > 300) {
_y = (300 - (_height / 2));
xDist = xDist * 0.9;
if (Math.abs(yDist) <= 10) {
if (_rotation > 25) {
_rotation = (_rotation + ((90 - _rotation) * 0.2));
} else if (_rotation < -25) {
_rotation = (_rotation + ((-90 - _rotation) * 0.2));
} else {
_rotation = (_rotation * 0.8);
}
} else {
yDist = yDist - (yDist * 1.5);
}
}
if ((_x + (_width / 2)) > 650) {
_x = (650 - (_width / 2));
xDist = xDist - (xDist * 1.5);
}
if ((_x - (_width / 2)) < 0) {
_x = (_width / 2);
xDist = xDist - (xDist * 1.5);
}
}
Instance of Symbol 28 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Instance of Symbol 32 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) == 100) {
_x = (_x + ((450 - _x) * 0.2));
}
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) {
_root.gotoAndStop(_root._currentframe + 1);
}
}
Instance of Symbol 35 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) == 100) {
_alpha = (_alpha * 0.9);
}
}
Frame 2
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
stopAllSounds();
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 2
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 46 MovieClip "music" in Frame 2
onClipEvent (load) {
_visible = false;
}
Frame 4
stop();
pause = false;
speachBubble = false;
health = 100;
picoStandardFace = "normal";
picoFace = _root.picoStandardFace;
playerStartX = 30;
playerStartZ = 50;
gun = false;
fireEx = false;
key1 = false;
key2 = false;
ninjaVision = false;
herb = false;
gunUp = false;
herbTaken = false;
fireExTaken = false;
standardQuality = "MEDIUM";
_root._quality = _root.standardQuality;
alucardDrag = false;
alucardX = 0;
alucardZ = 0;
fire = true;
showBloodText = false;
punkKidShooting = false;
cutScene = true;
cyclopsSpoken = false;
cyclopsDead = false;
ninjaDead = false;
ninjaX = 0;
ninjaZ = 0;
blockWallUp = false;
punkKidInAlucardScene = true;
door2Unlocked = false;
key1Taken = false;
Instance of Symbol 50 MovieClip "floor" in Frame 4
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 53 MovieClip "wall2" in Frame 4
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 4
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 85 MovieClip "chairPico" in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
go = false;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (go == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 104 MovieClip "teacher" in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((_root.punkKidShooting == true) && (this._currentframe < 11)) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 109 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 135 MovieClip "punkKid" in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
go = false;
xSpeed = 0;
zSpeed = 0;
xscale = _xscale;
yscale = _yscale;
speach = false;
shoot = false;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (go == true) {
x = x + xSpeed;
z = z + zSpeed;
if ((xSpeed == 0) && (zSpeed == 0)) {
if (shoot == false) {
this.gotoAndStop(2);
}
} else if (shoot == false) {
this.gotoAndStop(3);
}
if (shoot == true) {
this.gotoAndStop(4);
}
if (xSpeed < 0) {
_xscale = (-xscale);
}
if (xSpeed > 0) {
_xscale = xscale;
}
if (Math.round(x) < 100) {
xSpeed = 6;
} else {
xSpeed = 0;
if ((shoot == false) && (speach == false)) {
speach = true;
_root.speachBubble = true;
_root.pause = true;
}
}
if (Math.round(z) < 50) {
zSpeed = 3;
} else {
zSpeed = 0;
}
}
}
Instance of Symbol 138 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 141 MovieClip in Frame 4
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 232 MovieClip "cam" in Frame 4
onClipEvent (load) {
y = _root.floor._y;
if (_root[target]._x < 250) {
x = 250;
} else if (_root[target]._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
target = "teacher";
}
onClipEvent (enterFrame) {
if ((_root[target]._x > 250) && (_root[target]._x < 395)) {
x = _root[target]._x;
}
if (_root[target].z < 56) {
if (target == "punkKid") {
y = _root[target]._y - 50;
} else {
y = _root[target]._y;
}
}
if (_root[target]._x < 250) {
x = 250;
} else if (_root[target]._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Instance of Symbol 37 MovieClip in Frame 4
onClipEvent (load) {
alpha = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
_alpha = (_alpha + ((alpha - _alpha) * 0.05));
if (_root.punkKidShooting == true) {
alpha = 150;
}
if (_alpha > 105) {
_root.showBloodText = true;
}
}
Frame 5
for (cObject in _root) {
if ((typeof(_root[cObject]) == "movieclip") && (_root[cObject]._name != "music")) {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 5
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 6
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 1;
if ((_root.gun == false) && (_root.music._currentframe != 3)) {
stopAllSounds();
_root.music.gotoAndStop("background");
}
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("71057f7b", this, 10301);
Instance of Symbol 235 MovieClip "floor" in Frame 6
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 260 MovieClip "wall2" in Frame 6
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 262 MovieClip "wall1" in Frame 6
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 14;
_root.playerStartX = 130;
_root.gotoAndStop(_root._currentframe + 1);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 6
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 58 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 284 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 288 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 6
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 232 MovieClip "cam" in Frame 6
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 7
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 7
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 8
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 2;
if (_root.fire == true) {
if ((_root.gun == true) && (_root.music._currentframe != 4)) {
stopAllSounds();
_root.music.gotoAndStop("fastBeat");
}
} else if (_root.music._currentframe != 8) {
stopAllSounds();
_root.music.gotoAndStop(8);
}
Instance of Symbol 294 MovieClip "floor" in Frame 8
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 306 MovieClip "wall1" in Frame 8
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 308 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (((_root.player.z < 0) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
if (_root.fire == true) {
_root.playerStartZ = 96;
_root.playerStartX = 200;
_root.gotoAndStop(_root._currentframe - 3);
} else {
_root.playerStartZ = 96;
_root.playerStartX = 200;
_root.gotoAndStop(_root._currentframe + 23);
}
}
}
Instance of Symbol 314 MovieClip "exitRight" in Frame 8
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (((_root.player.z > (z - 10)) && (_root.player.z < (z + 10))) && (_root.player.x < (x + 100))) {
_root.pause = true;
_root.speachBubble = true;
_root.player.speach.gotoAndStop(2);
_root.player.x = x + 100;
_root.player.xSpeed = 0;
_root.player.xSpeed2 = 0;
_root.player.zSpeed = 0;
_root.player.zSpeed2 = 0;
}
}
Instance of Symbol 280 MovieClip "player" in Frame 8
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (x > 310) {
_root.playerStartZ = z;
_root.playerStartX = -220;
_root.gotoAndStop(_root._currentframe + 1);
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 8
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 9
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 9
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 10
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 3;
if ((_root.music._currentframe != 4) && (_root.gun == true)) {
stopAllSounds();
_root.music.gotoAndStop("fastBeat");
}
if ((_root.music._currentframe != 3) && (_root.gun == false)) {
stopAllSounds();
_root.music.gotoAndStop(3);
}
Instance of Symbol 294 MovieClip "floor" in Frame 10
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 308 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((_root.player.z < 0) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 96;
_root.playerStartX = -30;
_root.gotoAndStop(_root._currentframe + 1);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 10
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (x > 344) {
_root.playerStartZ = z;
_root.playerStartX = -145;
_root.gotoAndStop(_root._currentframe + 3);
}
if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 3);
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 323 MovieClip in Frame 10
onClipEvent (load) {
this.go = false;
if (_root.fireExTaken == false) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_visible == true) {
if ((((_root.player.z < 0) && (this.go == false)) && (Math.round(_root.player._x) < (Math.round(_x) + 10))) && (Math.round(_root.player._x) > (Math.round(_x) - 10))) {
_root.fireEx = true;
this.go = true;
this.gotoAndStop(2);
}
}
if ((this.go == true) && (_alpha > -10)) {
this.swapDepths(_root.getNextHighestDepth() - 2);
_x = (_x + ((_root.player._x - _x) * 0.1));
_y = (_y + ((_root.player._y - _y) * 0.1));
_alpha = (_alpha - 10);
_root.fireExTaken = true;
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 10
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 11
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 11
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 12
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 4;
trace(_root.punkKidInAlucardScene);
if ((_root.punkKidInAlucardScene == true) && (_root.music._currentframe != 6)) {
stopAllSounds();
_root.music.gotoAndStop("metal2");
}
if ((_root.punkKidInAlucardScene == false) && (_root.music._currentframe != 7)) {
stopAllSounds();
_root.music.gotoAndStop(7);
}
if (((_root.punkKidInAlucardScene == false) && (_root.alucardDrag == true)) && (_root.music._currentframe != 4)) {
stopAllSounds();
_root.music.gotoAndStop(4);
}
Instance of Symbol 235 MovieClip "floor" in Frame 12
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 12
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 325 MovieClip "wall1" in Frame 12
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip "exit" in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.gun == false) {
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 6;
_root.playerStartX = -100;
_root.gotoAndStop(_root._currentframe - 3);
}
_alpha = 100;
} else if (_root.alucardDrag == true) {
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 6;
_root.playerStartX = -100;
_root.gotoAndStop(_root._currentframe - 3);
}
_alpha = 100;
} else {
_alpha = 30;
}
}
Instance of Symbol 380 MovieClip "alucard" in Frame 12
onClipEvent (load) {
function throwKid() {
this.body.gotoAndStop(2);
timer = 50;
}
if (_root.alucardX == 0) {
z = _y - 261;
x = _x - 250;
} else {
x = _root.alucardX;
z = _root.alucardZ;
}
shield = true;
if (_root.alucardDrag == true) {
health = 0;
this.gotoAndStop(3);
} else {
health = 70;
}
timer = 10;
startX = x;
startZ = z;
walkTargetZ = 50 + random(40);
walkTargetX = 150 + random(150);
speed = 1;
walkZ = 0;
walkX = 0;
walkZ2 = 0;
walkX2 = 0;
}
onClipEvent (enterFrame) {
if (health > 0) {
if (_root.speachBubble == false) {
if (Key.isDown(65) && (_root.gunUp == true)) {
if (((_x > (_root.player._x + 60)) && (_root.player._currentframe == 2)) || ((_x < (_root.player._x - 60)) && (_root.player._currentframe == 1))) {
if ((_root.player.z > (z - 8)) && (_root.player.z < (z + 4))) {
bulletHit = true;
} else {
bulletHit = false;
}
} else {
bulletHit = false;
}
} else {
bulletHit = false;
}
if (bulletHit == true) {
if (shield == false) {
health = health - 0.5;
} else {
this.shieldBulletHit.play();
}
}
timer = timer - 1;
if (timer < 0) {
throwKid();
}
if (Math.round(z) < Math.round(walkTargetZ)) {
walkZ = speed;
} else if (Math.round(z) > Math.round(walkTargetZ)) {
walkZ = -speed;
} else {
walkZ = 0;
}
if (Math.round(x) < Math.round(walkTargetX)) {
walkX = speed;
} else if (Math.round(x) > Math.round(walkTargetX)) {
walkX = -speed;
} else {
walkX = 0;
}
walkX2 = walkX2 + ((walkX - walkX2) * 0.2);
walkZ2 = walkZ2 + ((walkZ - walkZ2) * 0.2);
x = x + walkX2;
z = z + walkZ2;
if (walkX < 0) {
this.legs.gotoAndStop(2);
} else if (walkX > 0) {
this.legs.gotoAndStop(3);
} else if ((walkZ > 0) || (walkZ < 0)) {
this.legs.gotoAndStop(2);
} else {
this.legs.gotoAndStop(1);
}
if ((((_root.player.z > (z - 8)) && (_root.player.z < (z + 4))) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
this.shieldGfx._alpha = 100;
_root.player.x = _root.player.x - ((_x - _root.player._x) * 0.1);
_root.health = _root.health - 1;
_root.player.sad = true;
} else {
_root.player.sad = false;
}
}
} else if (_root.alucardDrag == false) {
this.gotoAndStop(2);
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
_root.alucardX = x;
_root.alucardZ = z;
}
Instance of Symbol 58 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 60 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 58 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 60 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 60 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 58 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 60 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 288 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 60 MovieClip "backChair" in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
if (_root.player._y > _y) {
this.swapDepths(_root.player._y - (z / 10));
}
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 58 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 12
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (twinkle == true) {
if (twinkleTime == undefined) {
twinkleTime = 0;
}
twinkleTime = twinkleTime + 1.5;
if ((((twinkleTime > 0) && (twinkleTime < 3)) || ((twinkleTime > 10) && (twinkleTime < 13))) || ((twinkleTime > 20) && (twinkleTime < 23))) {
_alpha = 0;
} else {
_alpha = 100;
}
if (twinkleTime >= 26) {
twinkle = false;
twinkleTime = 0;
}
_root.picoFace = "sad";
}
if (sad == true) {
_root.picoFace = "sad";
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 60 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(this._y);
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
} else {
z = _y - 261;
x = _x - 250;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.alucardDrag == true) {
x = x + ((_root.alucard.x - x) * 0.2);
z = z + ((_root.alucard.z - z) * 0.2);
} else {
this.swapDepths(this._y);
}
}
Instance of Symbol 382 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 397 MovieClip "flyKid" in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
startZ = z;
startX = x;
targetX = (_root.player.x - x) * 0.05;
targetZ = (_root.player.z - z) * 0.05;
go = false;
fade = false;
speed = 1;
slowDown = false;
z = 500;
x = 500;
}
onClipEvent (enterFrame) {
if ((Math.abs(targetX) < 8) && (Math.abs(targetZ) < 8)) {
targetX = targetX * 1.2;
targetZ = targetZ * 1.2;
}
x = x + (targetX * speed);
z = z + (targetZ * speed);
if ((((z > 300) || (x < -227)) || (x > 331)) || (z < -5)) {
fade = true;
}
if ((fade == true) && (_alpha > -30)) {
_alpha = (_alpha - 20);
speed = speed * 0.7;
go = false;
}
if ((_alpha < -30) && (go == true)) {
x = startX;
z = startZ;
targetX = (_root.player.x - x) * 0.05;
targetZ = (_root.player.z - z) * 0.05;
this.gotoAndStop(1);
fade = false;
speed = 1;
slowDown = false;
}
if ((x == startX) && (z == startZ)) {
_alpha = 100;
}
if (Key.isDown(65) && (_root.gunUp == true)) {
if ((z < (_root.player.z + 3)) && (z > (_root.player.z - 3))) {
if (((_root.player._currentframe == 1) && (_x < (_root.player._x - 60))) || ((_root.player._currentframe == 2) && (_x > (_root.player._x + 60)))) {
this.blood.play();
}
}
}
if (slowDown == true) {
speed = speed * 0.6;
}
if (((((_root.player.z < (z + 4)) && (_root.player.z > (z - 4))) && (_root.player._x < (_x + (_width / 3)))) && (_root.player._x > (_x - (_width / 3)))) && (go == true)) {
_root.player.x = _root.player.x - ((x - _root.player.x) * 0.2);
_root.health = _root.health - 5;
_root.player.twinkle = true;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 288 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 401 MovieClip "keyOne" in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
go2 = false;
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y - 5);
if (_root.key1Taken == true) {
this.removeMovieClip();
}
if (_root.alucardDrag == true) {
x = _root.alucard.x;
z = _root.alucard.z;
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y - 5);
if (go2 == true) {
if ((((_root.player.z < (z + 6)) && (_root.player.z > (z - 6))) && (_root.player._x < (_x - 334))) && (_root.player._x > (_x - 354))) {
_root.key1 = true;
_root.key1Taken = true;
this.gotoAndStop(23);
this.removeMovieClip();
}
}
}
Instance of Symbol 402 MovieClip "punkKid" in Frame 12
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
go = false;
xSpeed = 0;
zSpeed = 0;
speach = true;
this.swapDepths(this._y);
if (_root.punkKidInAlucardScene == false) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (go == true) {
x = x + xSpeed;
z = z + zSpeed;
if (x > _root.exit.x) {
xSpeed = -6;
} else {
xSpeed = 0;
}
if (z < _root.exit.z) {
zSpeed = 2;
} else {
zSpeed = 0;
}
if ((xSpeed != 0) && (zSpeed != 0)) {
this.gotoAndStop(5);
}
if ((x < _root.exit.x) && (z > _root.exit.z)) {
_alpha = (_alpha * 0.7);
}
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 12
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 13
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 13
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 14
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 5;
if ((_root.gun == true) && (_root.music._currentframe != 4)) {
stopAllSounds();
_root.music.gotoAndStop("fastBeat");
}
if ((_root.gun == false) && (_root.music._currentframe != 3)) {
stopAllSounds();
_root.music.gotoAndStop(3);
}
Instance of Symbol 294 MovieClip "floor" in Frame 14
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 308 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (((_root.player.z < 0) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 96;
_root.playerStartX = 200;
_root.gotoAndStop(_root._currentframe + 1);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 14
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (x > 344) {
_root.playerStartZ = z;
_root.playerStartX = -145;
_root.gotoAndStop(_root._currentframe + 3);
}
if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 5);
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 14
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 15
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 15
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 16
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 6;
Instance of Symbol 424 MovieClip "floor" in Frame 16
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 426 MovieClip "wall2" in Frame 16
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 428 MovieClip "wall1" in Frame 16
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 5;
_root.playerStartX = 100;
_root.gotoAndStop(_root._currentframe - 3);
}
}
Instance of Symbol 430 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((((_root.player.x > (x - (_width / 2))) && (_root.player.x < (x + (_width / 2)))) && (_root.player.z > (z - 6))) && (_root.player.z <= z)) {
_root.player.z = z - 6;
}
if ((((_root.player.x > (x - (_width / 2))) && (_root.player.x < (x + (_width / 2)))) && (_root.player.z < (z + 8))) && (_root.player.z >= z)) {
_root.player.z = z + 8;
}
if ((((_root.player.z > (z - 6)) && (_root.player.z < (z + 8))) && (_root.player.x > ((x - (_width / 2)) - 4))) && (_root.player.x <= x)) {
_root.player.x = (x - (_width / 2)) - 4;
}
if ((((_root.player.z > (z - 6)) && (_root.player.z < (z + 8))) && (_root.player.x < ((x + (_width / 2)) + 4))) && (_root.player.x >= x)) {
_root.player.x = (x + (_width / 2)) + 4;
}
}
Instance of Symbol 432 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 432 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 432 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 432 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 434 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((((_root.player.x > (x - (_width / 2))) && (_root.player.x < (x + (_width / 2)))) && (_root.player.z > (z - 6))) && (_root.player.z <= z)) {
_root.player.z = z - 6;
}
if ((((_root.player.x > (x - (_width / 2))) && (_root.player.x < (x + (_width / 2)))) && (_root.player.z < (z + 8))) && (_root.player.z >= z)) {
_root.player.z = z + 8;
}
if ((((_root.player.z > (z - 6)) && (_root.player.z < (z + 8))) && (_root.player.x > ((x - (_width / 2)) - 4))) && (_root.player.x <= x)) {
_root.player.x = (x - (_width / 2)) - 4;
}
if ((((_root.player.z > (z - 6)) && (_root.player.z < (z + 8))) && (_root.player.x < ((x + (_width / 2)) + 4))) && (_root.player.x >= x)) {
_root.player.x = (x + (_width / 2)) + 4;
}
}
Instance of Symbol 58 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 280 MovieClip "player" in Frame 16
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 437 MovieClip in Frame 16
onClipEvent (load) {
this.go = false;
if (_root.gun == false) {
gun = false;
} else {
gun = true;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (gun == false) {
if ((((_root.player.z < 0) && (this.go == false)) && (Math.round(_root.player._x) < (Math.round(_x) + 30))) && (Math.round(_root.player._x) > (Math.round(_x) - 30))) {
_root.gun = true;
stopAllSounds();
this.gotoAndStop(2);
this.go = true;
}
if ((this.go == true) && (_alpha > -10)) {
this.swapDepths(_root.getNextHighestDepth() - 2);
_x = (_x + ((_root.player._x - _x) * 0.1));
_y = (_y + ((_root.player._y - _y) * 0.1));
_alpha = (_alpha - 10);
}
} else {
_visible = false;
}
}
Instance of Symbol 443 MovieClip in Frame 16
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.poopSplash == true) {
this.gotoAndStop(101);
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((((_root.player.x > (x - 12)) && (_root.player.x < (x + 12))) && (_root.player.z > (z - 8))) && (_root.player.z < (z + 8))) {
_root.poopSplash = true;
this.gotoAndStop(101);
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 16
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 17
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 17
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 18
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 7;
if ((_root.cyclopsDead == false) && (_root.music._currentframe != 6)) {
stopAllSounds();
_root.music.gotoAndStop("metal2");
}
if (((_root.cyclopsDead == false) && (_root.cyclopsSpoken == true)) && (_root.music._currentframe != 7)) {
stopAllSounds();
_root.music.gotoAndStop(7);
}
Instance of Symbol 294 MovieClip "floor" in Frame 18
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 447 MovieClip "player" in Frame 18
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.gun == true) {
if (_root.cyclopsDead == true) {
if (x > 344) {
_root.playerStartZ = z;
_root.playerStartX = -145;
_root.gotoAndStop(_root._currentframe + 1);
}
if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 5);
}
}
} else if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 5);
}
if (twinkle == true) {
if (twinkleTime == undefined) {
twinkleTime = 0;
}
twinkleTime = twinkleTime + 1.5;
if ((((twinkleTime > 0) && (twinkleTime < 3)) || ((twinkleTime > 10) && (twinkleTime < 13))) || ((twinkleTime > 20) && (twinkleTime < 23))) {
_alpha = 0;
} else {
_alpha = 100;
}
if (twinkleTime >= 26) {
twinkle = false;
twinkleTime = 0;
}
_root.picoFace = "sad";
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 501 MovieClip "cyclops" in Frame 18
onClipEvent (load) {
if (_root.cyclopsDead == false) {
z = _y - 261;
x = _x - 250;
} else {
x = _root.cyclopsX;
z = _root.cyclopsZ;
_xscale = _root.cyclopsXscale;
}
shoot = false;
xSpeed = 0;
zSpeed = 0;
health = 100;
if (_root.cyclopsDead == true) {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
x = x + xSpeed;
z = z + zSpeed;
this.swapDepths(this._y);
if (((_root.speachBubble == false) && (health > 0)) && (_root.cyclopsDead == false)) {
if (shoot == true) {
this.body.gotoAndStop(2);
} else {
this.body.gotoAndStop(1);
}
if (_root.player.x < x) {
this.gotoAndStop(1);
if (xSpeed > 0) {
this.legs.gotoAndStop(3);
} else if (xSpeed < 0) {
this.legs.gotoAndStop(2);
} else if ((xSpeed == 0) && (zSpeed != 0)) {
this.legs.gotoAndStop(3);
} else {
this.legs.gotoAndStop(1);
}
if (x < (_root.player.x + 150)) {
xSpeed = 1;
} else if (x > (_root.player.x + 156)) {
xSpeed = -1;
} else {
xSpeed = 0;
}
}
if (_root.player.x > x) {
this.gotoAndStop(2);
if (xSpeed > 0) {
this.legs.gotoAndStop(2);
} else if (xSpeed < 0) {
this.legs.gotoAndStop(3);
} else if ((xSpeed == 0) && (zSpeed != 0)) {
this.legs.gotoAndStop(2);
} else {
this.legs.gotoAndStop(1);
}
if (x < (_root.player.x - 156)) {
xSpeed = 1;
} else if (x > (_root.player.x - 150)) {
xSpeed = -1;
} else {
xSpeed = 0;
}
}
if ((z > (_root.player.z - 10)) && (z < (_root.player.z + 16))) {
shoot = true;
} else {
shoot = false;
}
if (z < (_root.player.z - 3)) {
zSpeed = 0.7;
} else if (z > (_root.player.z + 3)) {
zSpeed = -0.7;
} else {
zSpeed = 0;
}
if (((((((_root.player._currentframe == 2) && (x > _root.player.x)) && (_root.gunUp == true)) && (z < (_root.player.z + 6))) && (z > (_root.player.z - 6))) && (Key.isDown(65))) && (_root.speachBubble == false)) {
health = health - 1;
bulletHit = true;
} else if (((((((_root.player._currentframe == 1) && (x < _root.player.x)) && (_root.gunUp == true)) && (z < (_root.player.z + 6))) && (z > (_root.player.z - 6))) && (Key.isDown(65))) && (_root.speachBubble == false)) {
health = health - 1;
bulletHit = true;
} else {
bulletHit = false;
}
}
if (health <= 0) {
if (_root.cyclopsDead == false) {
stopAllSounds();
_root.music.gotoAndStop("fastBeat");
}
_root.cyclopsX = x;
_root.cyclopsZ = z;
if (this._currentframe == 1) {
_xscale = 100;
_root.cyclopsXscale = 100;
}
if (this._currentframe == 2) {
_xscale = -100;
_root.cyclopsXscale = -100;
}
this.gotoAndStop(3);
_root.cyclopsDead = true;
xSpeed = 0;
zSpeed = 0;
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 18
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 19
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 19
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 20
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 8;
if ((_root.gun == true) && (_root.music._currentframe != 4)) {
stopAllSounds();
_root.music.gotoAndStop("fastBeat");
}
Instance of Symbol 294 MovieClip "floor" in Frame 20
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 20
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 20
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 505 MovieClip "blockWall" in Frame 20
onClipEvent (load) {
go = false;
if (_root.blockWallUp == true) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
if (_visible == true) {
if ((go == true) && (_y > -2000)) {
_y = (_y - 5);
_root.blockWallUp = true;
this.swapDepths(_root.getNextHighestDepth() - 6);
this.gotoAndStop(2);
}
}
}
Instance of Symbol 308 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (((_root.player.z < 0) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 96;
_root.playerStartX = 200;
_root.gotoAndStop(_root._currentframe + 1);
}
}
Instance of Symbol 308 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (((_root.player.z < 0) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 96;
_root.playerStartX = 200;
_root.gotoAndStop(_root._currentframe + 3);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 20
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
width = _width / 2;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
if ((_root.blockWall.go == false) && (_root.blockWallUp == false)) {
X = 0;
while (X < width) {
if (_root.blockWall.hitTest((_x + width) - X, _y, true)) {
x = x - (X / (z + 10));
}
X++;
}
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (x > 400) {
_root.playerStartZ = z;
_root.playerStartX = -145;
_root.gotoAndStop(_root._currentframe + 5);
}
if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 3);
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 273 MovieClip in Frame 20
onClipEvent (load) {
this.go = false;
key65 = false;
if (_root.herbTaken == true) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.door.go == 2) {
if (Key.isDown(65)) {
key65 = true;
}
if (key65 == true) {
if ((((_root.player.z < 0) && (this.go == false)) && (Math.round(_root.player._x) < (Math.round(_x) + 10))) && (Math.round(_root.player._x) > (Math.round(_x) - 10))) {
if (_root.herbTaken == false) {
_root.herb = true;
this.gotoAndStop(2);
}
_root.herbTaken = true;
this.go = true;
}
if ((this.go == true) && (_alpha > -10)) {
this.swapDepths(_root.getNextHighestDepth() - 1);
_x = (_x + ((_root.player._x - _x) * 0.1));
_y = (_y + ((_root.player._y - _y) * 0.1));
_alpha = (_alpha - 10);
}
}
}
}
Instance of Symbol 512 MovieClip "door" in Frame 20
onClipEvent (load) {
go = 1;
width = _width;
}
onClipEvent (enterFrame) {
if (go == 2) {
_xscale = (_xscale + ((10 - _xscale) * 0.1));
this.gotoAndStop(2);
} else if (go == 3) {
_xscale = (_xscale + ((100 - _xscale) * 0.1));
this.gotoAndStop(3);
}
if (((_root.player.z < 0) && (_root.player._x < (_x + width))) && (_root.player._x > _x)) {
this.go = 2;
} else if (go != 1) {
this.go = 3;
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 20
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 21
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 22
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 9;
Instance of Symbol 516 MovieClip "floor" in Frame 22
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 518 MovieClip "wall2" in Frame 22
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 520 MovieClip "wall1" in Frame 22
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip in Frame 22
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 3;
_root.playerStartX = 220;
_root.gotoAndStop(_root._currentframe - 3);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 22
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((z > 38) && (x < -84)) {
z = 38;
}
if ((z > 41) && (x < -78)) {
x = -78;
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 522 MovieClip "backWall" in Frame 22
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(_y);
}
Instance of Symbol 522 MovieClip in Frame 22
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(_root.backWall.getDepth() + 2);
}
Instance of Symbol 522 MovieClip in Frame 22
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(_root.backWall.getDepth() + 6);
}
Instance of Symbol 524 MovieClip "doors" in Frame 22
onClipEvent (enterFrame) {
_xscale = (100 + (_root.cam._x * 0.75));
this.swapDepths(_root.backWall.getDepth() + 4);
}
Instance of Symbol 232 MovieClip "cam" in Frame 22
onClipEvent (load) {
y = _root.floor._y;
_y = (_root.floor._y - 200);
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 23
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 24
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 10;
if (_root.ninjaDead == false) {
stopAllSounds();
_root.music.gotoAndStop("metal2");
}
Instance of Symbol 530 MovieClip "floor" in Frame 24
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 532 MovieClip "wall2" in Frame 24
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 534 MovieClip "wall1" in Frame 24
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (_root.ninjaDead == true) {
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 3;
_root.playerStartX = 350;
_root.gotoAndStop(_root._currentframe - 5);
}
_alpha = 100;
} else {
_alpha = 30;
}
}
Instance of Symbol 600 MovieClip "ninja" in Frame 24
onClipEvent (load) {
if (_root.ninjaDead == false) {
z = _y - 261;
x = _x - 250;
} else {
z = _root.ninjaZ;
x = _root.ninjaX;
this.gotoAndStop(4);
_xscale = _root.ninjaXscale;
}
xSpeed = 0;
zSpeed = 0;
fight = false;
targetX = 0;
targetZ = 0;
attack = false;
timer = 70;
health = 130;
bulletHit = false;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (((health > 0) && (_root.ninjaDead == false)) && (_root.speachBubble == false)) {
if (xSpeed < 0) {
this.gotoAndStop(1);
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (fight == false) {
if ((Math.round(xSpeed) == 0) && (Math.round(zSpeed) == 0)) {
this.ninja.gotoAndStop(1);
} else {
this.ninja.gotoAndStop(2);
}
} else {
this.ninja.gotoAndStop(3);
}
if (fight == false) {
x = x + xSpeed;
z = z + zSpeed;
}
if (_root.player.x > x) {
this.gotoAndStop(2);
if (attack == true) {
xSpeed = ((_root.player.x - 90) - x) * 0.1;
zSpeed = (_root.player.z - z) * 0.1;
}
}
if (_root.player.x < x) {
this.gotoAndStop(1);
if (attack == true) {
xSpeed = ((_root.player.x + 90) - x) * 0.2;
zSpeed = (_root.player.z - z) * 0.2;
}
}
if ((_root.ninja.z < (_root.player.z + 6)) && (_root.ninja.z > (_root.player.z - 6))) {
if (_root.ninja._currentframe == 1) {
if ((_root.player.x < _root.ninja.x) && (_root.player.x > (_root.ninja.x - 100))) {
fight = true;
attack = false;
}
}
if (_root.ninja._currentframe == 2) {
if ((_root.player.x > _root.ninja.x) && (_root.player.x < (_root.ninja.x + 100))) {
fight = true;
attack = false;
}
}
}
if (attack == false) {
xSpeed = (targetX - x) * 0.2;
zSpeed = (targetZ - z) * 0.2;
}
timer = timer - 1;
if (timer == 0) {
attack = true;
timer = 70;
}
if (((((((_root.player._currentframe == 2) && (x > _root.player.x)) && (_root.gunUp == true)) && (z < (_root.player.z + 6))) && (z > (_root.player.z - 6))) && (Key.isDown(65))) && (_root.speachBubble == false)) {
health = health - 1;
bulletHit = true;
} else if (((((((_root.player._currentframe == 1) && (x < _root.player.x)) && (_root.gunUp == true)) && (z < (_root.player.z + 6))) && (z > (_root.player.z - 6))) && (Key.isDown(65))) && (_root.speachBubble == false)) {
health = health - 1;
bulletHit = true;
} else {
bulletHit = false;
}
if (health <= 0) {
if (_currentframe == 1) {
_xscale = 100;
_root.ninjaXscale = 100;
}
if (_currentframe == 2) {
_xscale = -100;
_root.ninjaXscale = -100;
}
this.gotoAndStop(3);
_root.ninjaDead = true;
_root.ninjaX = x;
_root.ninjaZ = z;
xSpeed = 0;
ySpeed = 0;
}
}
}
Instance of Symbol 280 MovieClip "player" in Frame 24
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((z > 38) && (x < -84)) {
z = 38;
}
if ((z > 41) && (x < -78)) {
x = -78;
}
if (twinkle == true) {
if (twinkleTime == undefined) {
twinkleTime = 0;
}
twinkleTime = twinkleTime + 1.5;
if ((((twinkleTime > 0) && (twinkleTime < 3)) || ((twinkleTime > 10) && (twinkleTime < 13))) || ((twinkleTime > 20) && (twinkleTime < 23))) {
_alpha = 0;
} else {
_alpha = 100;
}
if (twinkleTime >= 26) {
twinkle = false;
twinkleTime = 0;
}
_root.picoFace = "sad";
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 602 MovieClip "backWall" in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(_y);
}
Instance of Symbol 602 MovieClip in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(_root.backWall.getDepth() + 2);
}
Instance of Symbol 602 MovieClip in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(_root.backWall.getDepth() + 6);
}
Instance of Symbol 382 MovieClip in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 604 MovieClip "doors" in Frame 24
onClipEvent (enterFrame) {
_xscale = (100 + (_root.cam._x * 0.75));
this.swapDepths(_root.backWall.getDepth() + 4);
}
Instance of Symbol 290 MovieClip in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 605 MovieClip "ninjaGoogles" in Frame 24
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
go = false;
if (_root.ninjaVision == true) {
_visible = false;
}
if ((_root.ninjaDead == true) && (_root.ninjaVision == false)) {
this.gotoAndStop(15);
x = _root.ninja.x;
z = _root.ninja.z;
go = true;
}
}
onClipEvent (enterFrame) {
if (_root.ninjaVision == false) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y + 2);
if (go == true) {
_xscale = _root.ninja._xscale;
_visible = true;
if (this._currentframe == 1) {
play();
}
x = _root.ninja.x;
z = _root.ninja.z;
if (_xscale > 0) {
if (((((_root.player.x > (x - 150)) && (_root.player.x < (x - 50))) && (_root.player.z > (z - 8))) && (_root.player.z < (z + 8))) && (this._currentframe == 15)) {
_root.ninjaVision = true;
this.gotoAndStop(16);
this.removeMovieClip();
}
}
if (_xscale < 0) {
if (((((_root.player.x < (x + 150)) && (_root.player.x > (x + 50))) && (_root.player.z > (z - 8))) && (_root.player.z < (z + 8))) && (this._currentframe == 15)) {
_root.ninjaVision = true;
this.gotoAndStop(16);
this.removeMovieClip();
}
}
} else {
_visible = false;
}
}
}
Instance of Symbol 607 MovieClip "g1" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.ninjaDead == false) && (_root.speachBubble == false)) {
if (_root.ninja.fight == false) {
_alpha = (Math.abs(_root.ninja.xSpeed) * 5);
}
_visible = true;
if (_root.ninja._currentframe == 2) {
_x = (_root.ninja._x + (_root.ninja._width / 4));
}
if (_root.ninja._currentframe == 1) {
_x = (_root.ninja._x - (_root.ninja._width / 4));
}
_y = ((_root.ninja._y - 70) + (_root.ninja._height / 20));
this.swapDepths(_root.shootLight.getDepth() + 10);
} else {
_visible = false;
}
}
Instance of Symbol 607 MovieClip "g2" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.ninjaDead == false) && (_root.speachBubble == false)) {
_alpha = (_root.g1._alpha * 0.9);
_visible = true;
_x = _root.g1._x;
_y = _root.g1._y;
this.swapDepths(_root.g1.getDepth() - 1);
} else {
_visible = false;
}
}
Instance of Symbol 607 MovieClip "g3" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.ninjaDead == false) && (_root.speachBubble == false)) {
_alpha = (_root.g2._alpha * 0.9);
_visible = true;
_x = _root.g2._x;
_y = _root.g2._y;
this.swapDepths(_root.g2.getDepth() - 1);
} else {
_visible = false;
}
}
Instance of Symbol 607 MovieClip "g4" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.ninjaDead == false) && (_root.speachBubble == false)) {
_alpha = (_root.g3._alpha * 0.9);
_visible = true;
_x = _root.g3._x;
_y = _root.g3._y;
this.swapDepths(_root.g3.getDepth() - 1);
} else {
_visible = false;
}
}
Instance of Symbol 607 MovieClip "g5" in Frame 24
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if ((_root.ninjaDead == false) && (_root.speachBubble == false)) {
_alpha = (_root.g4._alpha * 0.9);
_visible = true;
_x = _root.g4._x;
_y = _root.g4._y;
this.swapDepths(_root.g4.getDepth() - 1);
} else {
_visible = false;
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 24
onClipEvent (load) {
y = _root.floor._y;
_y = (_root.floor._y - 200);
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Instance of Symbol 609 MovieClip "shootLight" in Frame 24
onClipEvent (load) {
if ((_root.speachBubble == false) && (_root.ninjaDead == false)) {
_alpha = 190;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
_x = _root.player._x;
_y = _root.player._y;
this.swapDepths(_root.getNextHighestDepth() - 13);
if ((_root.ninjaDead == false) && (_root.speachBubble == false)) {
if ((Key.isDown(65) && (_root.gunUp == true)) && (Key.isDown(83) == false)) {
_alpha = (100 + random(50));
} else {
_alpha = 190;
}
} else {
_alpha = (_alpha + ((-50 - _alpha) * 0.2));
}
}
Frame 25
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 25
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 26
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 11;
if ((_root.gun == true) && (_root.music._currentframe != 4)) {
stopAllSounds();
_root.music.gotoAndStop("fastBeat");
}
Instance of Symbol 613 MovieClip "floor" in Frame 26
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 296 MovieClip "wall2" in Frame 26
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 26
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 280 MovieClip "player" in Frame 26
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (x > 344) {
_root.playerStartZ = z;
_root.playerStartX = -145;
_root.gotoAndStop(_root._currentframe + 1);
}
if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 7);
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 288 MovieClip in Frame 26
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 26
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 26
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 680 MovieClip in Frame 26
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.neneDead == undefined) {
_root.neneDead = 0;
}
if (_root.neneDead == 1) {
this.gotoAndStop(4);
}
if (_root.neneDead == 2) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((_root.neneDead == 0) && (Key.isDown(83) == false)) {
if (((((((_root.player._currentframe == 2) && (x > _root.player.x)) && (_root.gunUp == true)) && (z < (_root.player.z + 6))) && (z > (_root.player.z - 6))) && (Key.isDown(65))) && (_root.speachBubble == false)) {
_root.neneDead = 1;
this.gotoAndStop(2);
}
if (((((((_root.player._currentframe == 1) && (x < _root.player.x)) && (_root.gunUp == true)) && (z < (_root.player.z + 6))) && (z > (_root.player.z - 6))) && (Key.isDown(65))) && (_root.speachBubble == false)) {
_root.neneDead = 2;
this.gotoAndStop(3);
}
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 26
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 27
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 27
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 28
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 12;
if (_root.music._currentframe != 3) {
stopAllSounds();
_root.music.gotoAndStop(3);
}
Instance of Symbol 294 MovieClip "floor" in Frame 28
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 697 MovieClip "wall2" in Frame 28
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 308 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (((_root.player.z < 0) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 96;
_root.playerStartX = 60;
_root.gotoAndStop(_root._currentframe + 1);
}
}
Instance of Symbol 56 MovieClip "wall1" in Frame 28
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 280 MovieClip "player" in Frame 28
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.pause == false) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (x < -224) {
_root.playerStartZ = z;
_root.playerStartX = 300;
_root.gotoAndStop(_root._currentframe - 3);
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 288 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 288 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 288 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 288 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 382 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 28
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 232 MovieClip "cam" in Frame 28
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 29
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 29
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 30
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 13;
if ((_root.fire == true) && (_root.music._currentframe != 7)) {
stopAllSounds();
_root.music.gotoAndStop(7);
}
Instance of Symbol 703 MovieClip "floor" in Frame 30
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 707 MovieClip "wall2" in Frame 30
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 709 MovieClip "wall1" in Frame 30
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 3;
_root.playerStartX = -60;
_root.gotoAndStop(_root._currentframe - 3);
}
}
Instance of Symbol 711 MovieClip "exitRight" in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if ((((_root.player.z > (z - 10)) && (_root.player.z < (z + 10))) && (_root.player.x > (x - 70))) && (_root.door2Unlocked == true)) {
_root.fire = true;
_root.gotoAndStop(_root._currentframe + 3);
}
if ((((_root.player.z > (z - 10)) && (_root.player.z < (z + 10))) && (_root.player.x > (x - 70))) && (_root.door2Unlocked == false)) {
_root.player.speach.gotoAndStop(3);
_root.player.x = x - 70;
_root.player.xSpeed = 0;
_root.player.xSpeed2 = 0;
_root.player.zSpeed = 0;
_root.player.zSpeed2 = 0;
}
}
Instance of Symbol 58 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 280 MovieClip "player" in Frame 30
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else if (_root.speachBubble == false) {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if ((_x > 390) && (_root.fire == true)) {
twinkle = true;
_root.health = _root.health - 1;
x = x - 5;
}
if (twinkle == true) {
if (twinkleTime == undefined) {
twinkleTime = 0;
}
twinkleTime = twinkleTime + 1.5;
if ((((twinkleTime > 0) && (twinkleTime < 3)) || ((twinkleTime > 10) && (twinkleTime < 13))) || ((twinkleTime > 20) && (twinkleTime < 23))) {
_alpha = 0;
} else {
_alpha = 100;
}
if (twinkleTime >= 26) {
twinkle = false;
twinkleTime = 0;
}
_root.picoFace = "sad";
}
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
if (_root.music._currentframe != 3) {
stopAllSounds();
_root.music.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 714 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 692 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.fire == false) {
_alpha = (_alpha * 0.8);
_xscale = (_xscale * 0.8);
_yscale = (_yscale * 0.8);
}
}
Instance of Symbol 692 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.fire == false) {
_alpha = (_alpha * 0.8);
_xscale = (_xscale * 0.8);
_yscale = (_yscale * 0.8);
if (_root.music._currentframe != 3) {
stopAllSounds();
_root.music.gotoAndStop(3);
}
}
}
Instance of Symbol 692 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.fire == false) {
_alpha = (_alpha * 0.8);
_xscale = (_xscale * 0.8);
_yscale = (_yscale * 0.8);
}
}
Instance of Symbol 692 MovieClip "fireObj" in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.fire == false) {
_visible = false;
}
go = false;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.fire == false) {
_alpha = (_alpha * 0.8);
_xscale = (_xscale * 0.8);
_yscale = (_yscale * 0.8);
}
if (go == true) {
_root.fire = false;
}
}
Instance of Symbol 60 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 30
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 232 MovieClip "cam" in Frame 30
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 31
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 31
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 32
picoStandardFace = "sad";
picoFace = _root.picoStandardFace;
cutScene = false;
room = 14;
if (_root.music._currentframe != 8) {
stopAllSounds();
_root.music.gotoAndStop(8);
}
Instance of Symbol 722 MovieClip "floor" in Frame 32
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 724 MovieClip "wall2" in Frame 32
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 725 MovieClip "wall1" in Frame 32
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 264 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.cam._y + 400);
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
if (((_root.player.z > 99) && (_root.player._x > (_x - (_width / 2)))) && (_root.player._x < (_x + (_width / 2)))) {
_root.playerStartZ = 14;
_root.playerStartX = 130;
_root.gotoAndStop(_root._currentframe - 25);
}
}
Instance of Symbol 280 MovieClip "player" in Frame 32
onClipEvent (load) {
z = _root.playerStartZ;
x = _root.playerStartX;
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
}
onClipEvent (enterFrame) {
if (this.body._currentframe != 4) {
if (_root.gunUp == true) {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
} else {
_root.picoFace = _root.picoStandardFace;
}
if (_root.pause == false) {
if ((xSpeed == 0) && (zSpeed == 0)) {
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
} else {
this.legs.gotoAndStop(2);
if (_root.gunUp == false) {
this.body.gotoAndStop(2);
}
}
if (xSpeed > 0) {
this.gotoAndStop(2);
}
if (xSpeed < 0) {
this.gotoAndStop(1);
}
zSpeed2 = zSpeed2 + ((zSpeed - zSpeed2) * 0.25);
xSpeed2 = xSpeed2 + ((xSpeed - xSpeed2) * 0.25);
z = z + zSpeed2;
x = x + xSpeed2;
if (Key.isDown(38)) {
zSpeed = -1.7;
} else if (Key.isDown(40)) {
zSpeed = 1.7;
} else {
zSpeed = 0;
}
if (Key.isDown(39)) {
xSpeed = 5;
} else if (Key.isDown(37)) {
xSpeed = -5;
} else {
xSpeed = 0;
}
if (z > 100) {
z = 100;
}
if (z < -3) {
z = -3;
}
if (_x > (_root.wall2._x - 30)) {
_x = (_root.wall2._x - 30);
xSpeed = 0;
x = x - ((Math.abs(z) / 50) + 1);
}
if (_x < (_root.wall1._x + 30)) {
_x = (_root.wall1._x + 30);
xSpeed = 0;
x = x + ((Math.abs(z) / 50) + 1);
}
}
if (Key.isDown(83)) {
xSpeed = 0;
xSpeed2 = 0;
zSpeed = 0;
zSpeed2 = 0;
_root.pause = true;
this.legs.gotoAndStop(1);
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
_root.picoFace = _root.picoStandardFace;
} else {
this.body.gotoAndStop(3);
_root.picoFace = "angry";
}
} else {
_root.pause = false;
}
} else {
_root.pause = false;
}
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.speachBubble == true) {
if (_root.gunUp == false) {
this.body.gotoAndStop(1);
}
this.legs.gotoAndStop(1);
}
}
Instance of Symbol 58 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 284 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 288 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 290 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 729 MovieClip in Frame 32
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
if (_root.key2 == true) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
if ((_root.key2 == false) && (_root.door2Unlocked == true)) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
_visible = _root.cam.ninjaVision._visible;
if (((((_root.player.x > (x - 15)) && (_root.player.x < (x + 15))) && (_root.player.z < (z + 8))) && (_root.player.z > (z - 8))) && (_visible == true)) {
_root.key2 = true;
this.gotoAndStop(2);
this.removeMovieClip();
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 32
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Instance of Symbol 609 MovieClip "shootLight" in Frame 32
onClipEvent (load) {
_alpha = 90;
}
onClipEvent (enterFrame) {
_x = _root.player._x;
_y = _root.player._y;
this.swapDepths(_root.getNextHighestDepth() - 13);
if (_root.cam.ninjaVision._visible == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Frame 33
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 33
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 34
monsterStart = false;
room = 15;
if (_root.music._currentframe != 6) {
stopAllSounds();
_root.music.gotoAndStop(6);
}
Instance of Symbol 731 MovieClip "floor" in Frame 34
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 775 MovieClip in Frame 34
onClipEvent (load) {
health = 100;
}
Instance of Symbol 777 MovieClip "wall2" in Frame 34
onClipEvent (enterFrame) {
_xscale = (100 - (_root.cam._x * 0.85));
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 779 MovieClip "wall1" in Frame 34
onClipEvent (enterFrame) {
_xscale = (100 + (_root.cam._x * 0.85));
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 228 MovieClip "oilSplash" in Frame 34
onClipEvent (load) {
_rotation = (-130 + random(260));
speed = random(5);
size = 60 + random(40);
_xscale = size;
_yscale = size;
_x = _root.player._x;
_y = _root.player._y;
if (_name == "oilSplash") {
_alpha = 0;
} else {
_alpha = (100 + random(50));
}
}
onClipEvent (enterFrame) {
if (_name != "oilSplash") {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 0.1);
if (_alpha <= 0) {
this.removeMovieClip();
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
}
}
Instance of Symbol 290 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 286 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 781 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 781 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 781 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 781 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 781 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 781 MovieClip in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 790 MovieClip "barrel" in Frame 34
onClipEvent (load) {
_alpha = 0;
_rotation = 45;
scaleSpeed = 1;
}
onClipEvent (enterFrame) {
if (go == true) {
_alpha = (_alpha + ((100 - _alpha) * 0.5));
_x = (_x + ((_root.player._x - _x) * 0.02));
_y = (_y + ((_root.player._y - _y) * 0.02));
_xscale = (_xscale + scaleSpeed);
_yscale = (_yscale + scaleSpeed);
scaleSpeed = scaleSpeed + 0.5;
_rotation = (_rotation + 3);
_visible = true;
if (die == true) {
this.gotoAndStop(2);
_alpha = (_alpha * 0.7);
} else {
this.gotoAndStop(1);
}
if (_xscale > 550) {
die = true;
_root.health = _root.health - 4;
} else if (this.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
die = true;
}
} else {
_alpha = (_alpha * 0.7);
if (_alpha < 1) {
_x = (_root.monster._x - 100);
_y = (_root.monster._y - 170);
_alpha = 0;
_xscale = 100;
_yscale = 100;
_rotation = 45;
scaleSpeed = 1;
die = false;
}
}
this.swapDepths(_root.player.getDepth() - 2);
}
Instance of Symbol 794 MovieClip "splat" in Frame 34
onClipEvent (enterFrame) {
if (_root.monsterStart == true) {
if (_root.monster.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
if (this._currentframe == 3) {
_rotation = (-180 + random(360));
_alpha = (50 + random(20));
size = 30 + random(20);
_xscale = size;
_yscale = size;
_x = _root.player._x;
_y = _root.player._y;
}
_visible = true;
} else {
_visible = false;
_x = _root.player._x;
_y = _root.player._y;
}
this.swapDepths(_root.monster.getDepth() + 1);
}
}
Instance of Symbol 794 MovieClip "splat" in Frame 34
onClipEvent (enterFrame) {
if (_root.monsterStart == true) {
if (_root.monster.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
if (this._currentframe == 3) {
_rotation = (-180 + random(360));
_alpha = (50 + random(20));
size = 30 + random(20);
_xscale = size;
_yscale = size;
_x = _root.player._x;
_y = _root.player._y;
}
_visible = true;
} else {
_visible = false;
_x = _root.player._x;
_y = _root.player._y;
}
this.swapDepths(_root.monster.getDepth() + 1);
}
}
Instance of Symbol 794 MovieClip "splat" in Frame 34
onClipEvent (enterFrame) {
if (_root.monsterStart == true) {
if (_root.monster.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
if (this._currentframe == 3) {
_rotation = (-180 + random(360));
_alpha = (50 + random(20));
size = 30 + random(20);
_xscale = size;
_yscale = size;
_x = _root.player._x;
_y = _root.player._y;
}
_visible = true;
} else {
_visible = false;
_x = _root.player._x;
_y = _root.player._y;
}
this.swapDepths(_root.monster.getDepth() + 1);
}
}
Instance of Symbol 794 MovieClip "splat" in Frame 34
onClipEvent (enterFrame) {
if (_root.monsterStart == true) {
if (_root.monster.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
if (this._currentframe == 3) {
_rotation = (-180 + random(360));
_alpha = (50 + random(20));
size = 30 + random(20);
_xscale = size;
_yscale = size;
_x = _root.player._x;
_y = _root.player._y;
}
_visible = true;
} else {
_visible = false;
_x = _root.player._x;
_y = _root.player._y;
}
this.swapDepths(_root.monster.getDepth() + 1);
}
}
Instance of Symbol 796 MovieClip "eyeFire1" in Frame 34
onClipEvent (load) {
_alpha = 0;
scaleSpeed = 1;
}
onClipEvent (enterFrame) {
if (go == true) {
_alpha = (_alpha + ((100 - _alpha) * 0.5));
_x = (_x + ((_root.player._x - _x) * 0.02));
_y = (_y + ((_root.player._y - _y) * 0.02));
_xscale = (_xscale + scaleSpeed);
_yscale = (_yscale + scaleSpeed);
scaleSpeed = scaleSpeed + 2;
_visible = true;
if (_xscale > 600) {
_root.health = _root.health - 15;
go = false;
}
} else {
_alpha = (_alpha * 0.7);
if (_alpha < 1) {
_x = (_root.monster._x - 30);
_y = (_root.monster._y - 160);
_alpha = 0;
_xscale = 100;
_yscale = 100;
scaleSpeed = 1;
die = false;
}
}
this.swapDepths(_root.player.getDepth() - 3);
}
Instance of Symbol 796 MovieClip "eyeFire2" in Frame 34
onClipEvent (load) {
_alpha = 0;
scaleSpeed = 1;
}
onClipEvent (enterFrame) {
if (go == true) {
_alpha = (_alpha + ((100 - _alpha) * 0.5));
_x = (_x + ((_root.player._x - _x) * 0.02));
_y = (_y + ((_root.player._y - _y) * 0.02));
_xscale = (_xscale + scaleSpeed);
_yscale = (_yscale + scaleSpeed);
scaleSpeed = scaleSpeed + 2;
_visible = true;
if (_xscale > 600) {
_root.health = _root.health - 15;
go = false;
}
} else {
_alpha = (_alpha * 0.7);
if (_alpha < 1) {
_x = (_root.monster._x + 30);
_y = (_root.monster._y - 160);
_alpha = 0;
_xscale = 100;
_yscale = 100;
scaleSpeed = 1;
die = false;
}
}
this.swapDepths(_root.player.getDepth() - 3);
}
Instance of Symbol 896 MovieClip "punkSequence" in Frame 34
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 882 MovieClip "monster" in Frame 34
onClipEvent (load) {
z = _root.punkSequence.z;
x = _root.punkSequence.x;
xSpeed = -2;
throwTimer = 100;
leftRight = -2;
health = 350;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.monsterStart == true) {
_visible = true;
if (health > 0) {
if (xSpeed < 0) {
this.gotoAndStop(2);
} else if (xSpeed > 0) {
this.gotoAndStop(3);
} else if ((Math.round(x) != -10) && (throwTimer > 0)) {
this.gotoAndStop(1);
}
x = x + xSpeed;
if (x < -105) {
xSpeed = 2;
leftRight = 2;
}
if (x > 80) {
xSpeed = -2;
leftRight = -2;
}
if ((Math.round(x) == -10) && (throwTimer <= 0)) {
xSpeed = 0;
this.gotoAndStop(4);
}
throwTimer = throwTimer - 1;
} else {
xSpeed = 0;
this.gotoAndStop(5);
}
} else {
_visible = false;
}
}
Instance of Symbol 895 MovieClip in Frame 34
onClipEvent (load) {
t1 = "-notVisible";
t2 = "-notVisible";
t3 = "-notVisible";
t4 = "-notVisible";
t5 = "-notVisible";
t6 = "Society sucks, but you don't have to kill your classmates to stand out.";
t7 = "Try making the music instead of just listening to it.";
t8 = "Better yet, make a crazy website that lets you kill pop-icons.";
t9 = "It doesn't matter anyway. You have failed the test of life, and I will take you all on if I must!";
t10 = "-notVisible";
t11 = "-notVisible";
t12 = "-notVisible";
t13 = "-end";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
_x = (_root.cam._x + 300);
_y = (_root.cam._y + 400);
this.swapDepths(_root.cam.getDepth() - 2);
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
}
if (text == "-notVisible") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 898 MovieClip "instructions" in Frame 34
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
_x = _root.player._x;
_y = _root.player._y;
this.swapDepths(_root.getNextHighestDepth() + 2);
if (Key.isDown(1)) {
Mouse.hide();
_root.monsterStart = true;
_root.punkSequence.removeMovieClip();
_visible = false;
}
}
}
Instance of Symbol 910 MovieClip "player" in Frame 34
onClipEvent (enterFrame) {
if (_root.monsterStart == true) {
this.gotoAndStop(2);
_x = (_x + ((_root._xmouse - _x) * 0.2));
_y = (_y + ((_root._ymouse - _y) * 0.2));
} else {
_x = (_x + ((_root.punkSequence._x - _x) * 0.2));
_y = (_y + (((_root.punkSequence._y - _y) - 100) * 0.2));
}
_rotation = (_x / 20);
this.swapDepths(_root.getNextHighestDepth() - 3);
if (_x < _root.cam._x) {
_x = _root.cam._x;
}
if (_x > (_root.cam._x + 650)) {
_x = (_root.cam._x + 650);
}
if (_y < _root.cam._y) {
_y = _root.cam._y;
}
if (_y > (_root.cam._y + 400)) {
_y = (_root.cam._y + 400);
}
}
Instance of Symbol 232 MovieClip "cam" in Frame 34
onClipEvent (load) {
y = _root.floor._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
y = _root.player._y;
if (_root.player._y > 600) {
y = 600;
}
if (_root.player._y < 240) {
y = 240;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Instance of Symbol 37 MovieClip in Frame 34
onClipEvent (load) {
alpha = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
_alpha = (_alpha + ((alpha - _alpha) * 0.05));
if (_root.fadeOut == true) {
_root.cutScene = true;
alpha = 150;
}
if (_alpha > 120) {
_root.gotoAndStop(_root._currentframe + 3);
}
}
Frame 35
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 35
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 36
_root.cam.gotoAndStop(2);
Instance of Symbol 232 MovieClip "cam" in Frame 36
onClipEvent (load) {
y = _root.player._y;
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
} else {
x = _root.floor._x;
}
this.swapDepths(999);
}
onClipEvent (enterFrame) {
if ((_root.player._x > 250) && (_root.player._x < 395)) {
x = _root.player._x;
}
if (_root.player.z < 56) {
y = _root.player._y;
}
if (_root.player._x < 250) {
x = 250;
} else if (_root.player._x > 395) {
x = 395;
}
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Frame 37
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 37
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 38
Mouse.show();
fadeOut = false;
ninjaVision = false;
gun = false;
picoStandardFace = "normal";
picoFace = _root.picoStandardFace;
cutScene = true;
if (_root.music._currentframe != 3) {
stopAllSounds();
_root.music.gotoAndStop(3);
}
ghettoEnter = false;
Instance of Symbol 50 MovieClip "floor" in Frame 38
onClipEvent (enterFrame) {
_yscale = (100 + (_root.cam._y * 0.75));
}
Instance of Symbol 53 MovieClip "wall2" in Frame 38
onClipEvent (enterFrame) {
_xscale = (100 - _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 56 MovieClip "wall1" in Frame 38
onClipEvent (enterFrame) {
_xscale = (100 + _root.cam._x);
_yscale = (100 + (_root.cam._y * 0.2));
}
Instance of Symbol 58 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 60 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 912 MovieClip "chairPico" in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 58 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 914 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 925 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
targetX = 255;
targetZ = 95;
_alpha = 0;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.ghettoEnter == true) {
x = x + ((targetX - x) * 0.1);
z = z + ((targetZ - z) * 0.1);
_alpha = (_alpha + ((100 - _alpha) * 0.2));
}
}
Instance of Symbol 936 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
targetX = 185;
targetZ = 100;
_alpha = 0;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.ghettoEnter == true) {
x = x + ((targetX - x) * 0.1);
z = z + ((targetZ - z) * 0.1);
_alpha = (_alpha + ((100 - _alpha) * 0.2));
}
}
Instance of Symbol 947 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
targetX = 220;
targetZ = 105;
_alpha = 0;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
if (_root.ghettoEnter == true) {
x = x + ((targetX - x) * 0.1);
z = z + ((targetZ - z) * 0.1);
_alpha = (_alpha + ((100 - _alpha) * 0.2));
}
}
Instance of Symbol 949 MovieClip in Frame 38
onClipEvent (load) {
z = _y - 261;
x = _x - 250;
}
onClipEvent (enterFrame) {
_y = (_root.floor._y + ((_root.floor._yscale * z) * 0.01));
_x = ((_root.floor._x + x) + (((x - (_root.wall1._xscale * 3)) * z) * 0.005));
this.swapDepths(this._y);
}
Instance of Symbol 232 MovieClip "cam" in Frame 38
onClipEvent (load) {
y = _root.floor._y;
x = 385;
_y = (_root.floor._y - 325);
_x = 185;
this.swapDepths(999);
}
onClipEvent (enterFrame) {
_x = (_x + (((x - 325) - _x) * 0.05));
_y = (_y + (((y - 200) - _y) * 0.05));
this.swapDepths(_root.getNextHighestDepth());
_root._x = -_x;
_root._y = -_y;
}
Instance of Symbol 952 MovieClip in Frame 38
onClipEvent (enterFrame) {
_x = (_root.cam._x + 325);
_y = (_root.cam._y + 200);
this.swapDepths(_root.getNextHighestDepth());
}
Frame 39
for (cObject in _root) {
if (typeof(_root[cObject]) == "movieclip") {
_root[cObject].removeMovieClip();
}
}
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 37 MovieClip in Frame 39
onClipEvent (load) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 40
_root._x = 0;
_root._y = 0;
if (_root.music._currentframe != 6) {
stopAllSounds();
_root.music.gotoAndStop(6);
}
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 7
_root.timer = 999;
Instance of Symbol 17 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
}
onClipEvent (enterFrame) {
if (_parent.textThing._visible == true) {
_y = (_y + (((startY + random(20)) - _y) * 0.3));
} else {
_y = (_y + ((startY - _y) * 0.3));
}
}
Instance of Symbol 23 MovieClip "textThing" in Symbol 24 MovieClip Frame 1
onClipEvent (load) {
_root.timer = 250;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer <= 0) {
if (_root.timer < 999) {
_visible = true;
this.gotoAndStop(this._currentframe + 1);
_root.timer = 200;
}
}
if (_root.timer <= 50) {
_visible = false;
}
if (_root.timer < 999) {
_root.timer = _root.timer - 1;
} else {
this.gotoAndStop(1);
_visible = false;
}
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 1
stopAllSounds();
stop();
Instance of Symbol 5 MovieClip in Symbol 47 MovieClip Frame 1
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}
Symbol 47 MovieClip Frame 92
stopAllSounds();
_root.music.gotoAndStop(2);
Symbol 47 MovieClip Frame 160
_root.gotoAndStop(_root._currentframe + 1);
Symbol 58 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.picoFace);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.picoFace);
}
Instance of Symbol 82 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
if (_root.cam.ninjaVision._visible == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cam.ninjaVision._visible == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 85 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
stop();
_root.speachBubble = true;
_root.pause = true;
Symbol 92 MovieClip Frame 2
_root.speachBubble = false;
_root.pause = false;
Symbol 104 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (load) {
t1 = "Good morning, class!";
t2 = "Today I am going to teach you about apples and bananas!";
t3 = "Apples are a red fruit. They are very tasty.";
t4 = "Who here has eaten an apple?";
t5 = "-notVisible";
t6 = "That's great, Pico!";
t7 = "Has anyone ever eaten a banana?";
t8 = "-end";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
_root.cam.target = "punkKid";
_root.punkKid.go = true;
}
if (text == "-notVisible") {
_visible = false;
} else {
_visible = true;
}
if (tNum == 5) {
_root.cam.target = "chairPico";
_root.chairPico.go = true;
}
if (tNum == 6) {
_root.cam.target = "teacher";
_root.chairPico.go = false;
}
}
Symbol 104 MovieClip Frame 12
stop();
Symbol 134 MovieClip Frame 15
stop();
_root.punkKidShooting = true;
Instance of Symbol 128 MovieClip in Symbol 134 MovieClip Frame 15
onClipEvent (enterFrame) {
_rotation = (-1 + random(2));
}
Instance of Symbol 132 MovieClip in Symbol 134 MovieClip Frame 15
onClipEvent (enterFrame) {
_alpha = (10 + random(200));
_xscale = (70 + random(50));
_yscale = (40 + random(70));
}
Symbol 135 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (load) {
t1 = "Enough of this crap!";
t2 = "I've been listening to goth music all my life...";
t3 = "It never said anything about apples!";
t4 = "The American education system is bullshit!";
t5 = "Rip the system!";
t6 = "End facism!";
t7 = "KEIN MEHRHEIT F\u00DCR DIE MITLEID!";
t8 = "BeRzErKeR!";
t9 = "-end";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
if (_parent.speach == true) {
_visible = true;
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
_root.punkKid.shoot = true;
}
if (tNum == 8) {
speachTextFormat = new TextFormat();
speachTextFormat.color = 16711680 /* 0xFF0000 */;
speach.setTextFormat(speachTextFormat);
} else {
speachTextFormat.color = 0;
}
if (tNum == 1) {
if (_root.music._currentframe != 5) {
stopAllSounds();
_root.music.gotoAndStop("metal1");
}
}
} else {
_visible = false;
}
}
Instance of Symbol 148 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (10 + random(200));
_xscale = (70 + random(50));
_yscale = (40 + random(70));
}
Instance of Symbol 150 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-3 + random(6));
_alpha = random(100);
_xscale = (40 + random(40));
}
onClipEvent (enterFrame) {
_rotation = (-3 + random(6));
_alpha = random(50);
_xscale = (40 + random(40));
}
Instance of Symbol 150 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-3 + random(6));
_alpha = random(100);
_xscale = (40 + random(40));
}
onClipEvent (enterFrame) {
_rotation = (-3 + random(6));
_alpha = random(50);
_xscale = (40 + random(40));
}
Instance of Symbol 150 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-3 + random(6));
_alpha = random(100);
_xscale = (40 + random(40));
}
onClipEvent (enterFrame) {
_rotation = (-3 + random(6));
_alpha = random(50);
_xscale = (40 + random(40));
}
Symbol 153 MovieClip Frame 1
stop();
Instance of Symbol 152 MovieClip in Symbol 153 MovieClip Frame 2
onClipEvent (load) {
startX = _x;
}
onClipEvent (enterFrame) {
_rotation = (-2 + random(4));
_x = ((startX - 1) + random(2));
}
Instance of Symbol 154 MovieClip "t1" in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gun == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 156 MovieClip "t2" in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.key1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 158 MovieClip "t3" in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.key2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 160 MovieClip "t4" in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fireEx == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 162 MovieClip "t5" in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ninjaVision == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 164 MovieClip "t6" in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.herb == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 166 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
targetNumber = 1;
target = "t" + targetNumber;
pressed65 = false;
keyPressed = false;
}
onClipEvent (enterFrame) {
_x = (_x + ((_parent[target]._x - _x) * 0.3));
if ((_root.pause == true) && (_root.speachBubble == false)) {
_visible = true;
if (Key.isDown(65)) {
if (pressed65 == false) {
if ((target == "t5") && (_parent.t5._visible == true)) {
if (_root.cam.ninjaVision._visible == false) {
_root.cam.ninjaVision._visible = true;
_root.cam.ninjaVision.gotoAndStop(2);
_root._quality = "LOW";
} else {
_root.cam.ninjaVision._visible = false;
_root.cam.ninjaVision.gotoAndStop(1);
_root._quality = _root.standardQuality;
}
}
if ((target == "t1") && (_parent.t1._visible == true)) {
if (_root.gunUp == false) {
_root.gunUp = true;
} else {
_root.gunUp = false;
}
}
if ((target == "t2") && (_parent.t2._visible == true)) {
if (_root.blockWall.go != undefined) {
_root.blockWall.go = true;
}
}
if ((target == "t4") && (_parent.t4._visible == true)) {
if (_root.fireObj.go != undefined) {
_root.fireEx = false;
_parent.t4._visible = false;
_root.fireObj.go = true;
}
}
if ((target == "t3") && (_parent.t3._visible == true)) {
if (_root.exitRight.lock.go != undefined) {
_root.key2 = false;
_parent.t3._visible = false;
_root.door2Unlocked = true;
_root.exitRight.lock.go = true;
}
}
if ((target == "t6") && (_parent.t6._visible == true)) {
_root.herb = false;
_root.player.body.gotoAndStop(4);
}
}
pressed65 = true;
} else {
pressed65 = false;
}
target = "t" + targetNumber;
if (Key.isDown(39)) {
if ((targetNumber < 6) && (keyPressed == false)) {
targetNumber = targetNumber + 1;
}
keyPressed = true;
} else if (Key.isDown(37)) {
if ((targetNumber > 1) && (keyPressed == false)) {
targetNumber = targetNumber - 1;
}
keyPressed = true;
} else {
keyPressed = false;
}
} else {
_visible = false;
}
}
Symbol 177 MovieClip Frame 1
stop();
Instance of Symbol 173 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = random(100);
_alpha = random(50);
_y = (_y + (((-325 + random(650)) - _y) * 0.2));
}
Instance of Symbol 173 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = random(100);
_alpha = random(50);
_y = (_y + (((-325 + random(650)) - _y) * 0.2));
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
_root.randomNumber = goal;
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
_height = (_height + ((goal - _height) * 0.7));
goal = random(100);
}
Symbol 180 MovieClip Frame 150
stop();
_root.punkKidShooting = false;
_parent._visible = false;
_root.showBloodText = false;
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if ((_root.room == 1) || (_root.room == 14)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 3) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 4) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 6) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 5) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 7) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 8) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 9) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 11) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 12) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 13) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 15) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 183 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
if (_root.room == 10) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 20
stop();
Instance of Symbol 225 MovieClip in Symbol 229 MovieClip Frame 20
onClipEvent (load) {
size = 0;
}
onClipEvent (enterFrame) {
size = size + ((500 - size) * 0.01);
_xscale = size;
_yscale = size;
}
Instance of Symbol 228 MovieClip "blood" in Symbol 229 MovieClip Frame 20
onClipEvent (load) {
_rotation = random(40);
speed = 5 + random(20);
size = 30 + random(40);
_xscale = size;
_yscale = size;
_x = (_x + (-5 + random(10)));
_y = (_y + (-5 + random(10)));
if (_name == "blood") {
_alpha = 0;
} else {
_alpha = (50 + random(30));
}
}
onClipEvent (enterFrame) {
if (_name != "blood") {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 3);
if (_alpha <= 0) {
this.removeMovieClip();
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
} else {
duplicateMovieClip (this, "b" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
}
}
Instance of Symbol 191 MovieClip "selecter" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
optNum = 1;
option = "opt" + optNum;
pressedKey = true;
pressed65 = true;
}
onClipEvent (enterFrame) {
option = "opt" + optNum;
_y = (_y + ((_parent[option]._y - _y) * 0.3));
if (Key.isDown(38)) {
if (pressedKey == false) {
optNum = optNum - 1;
}
pressedKey = true;
} else if (Key.isDown(40)) {
if (pressedKey == false) {
optNum = optNum + 1;
}
pressedKey = true;
} else {
pressedKey = false;
}
if (optNum > 4) {
optNum = 4;
}
if (optNum < 1) {
optNum = 1;
}
_alpha = (100 - (Math.abs(_parent[option]._y - _y) * 5));
if (Key.isDown(65)) {
if (pressed65 == false) {
if (optNum == 1) {
_root.health = 100;
_root.gotoAndStop((_root._currentframe - (_root._currentframe - (_root.room * 2))) + 3);
}
if (optNum == 2) {
_root.health = 100;
_root.gotoAndStop(2);
}
if (optNum == 3) {
getURL ("http://www.newgrounds.com/pico/", "_self");
}
if (optNum == 4) {
getURL ("http://www.newgrounds.com/", "_blank");
}
}
pressed65 = true;
} else {
pressed65 = false;
}
}
Instance of Symbol 195 MovieClip "opt1" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 1;
}
on (release) {
_root.health = 100;
_root.gotoAndStop((_root._currentframe - (_root._currentframe - (_root.room * 2))) + 3);
}
Instance of Symbol 198 MovieClip "opt2" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 2;
}
on (release) {
_root.health = 100;
_root.gotoAndStop(2);
}
Instance of Symbol 201 MovieClip "opt3" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 3;
}
on (release) {
getURL ("http://www.newgrounds.com/pico/", "_self");
}
Instance of Symbol 204 MovieClip "opt4" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 4;
}
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}
Instance of Symbol 5 MovieClip in Symbol 231 MovieClip Frame 1
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}
Instance of Symbol 7 MovieClip in Symbol 231 MovieClip Frame 1
on (release) {
getURL ("http://www.deadtoast.com/", "_blank");
}
Symbol 232 MovieClip Frame 1
stop();
Instance of Symbol 167 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
_alpha = 50;
pressed81 = false;
startY = _y;
_y = (_y + 25);
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if ((_root.pause == true) && (_root.speachBubble == false)) {
_alpha = (_alpha + ((100 - _alpha) * 0.1));
_y = (_y + ((startY - _y) * 0.3));
} else {
_alpha = (_alpha + ((50 - _alpha) * 0.5));
_y = (_y + (((startY + 25) - _y) * 0.3));
}
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
if (Key.isDown(81)) {
if (pressed81 == false) {
if (_root.standardQuality == "LOW") {
_root.standardQuality = "MEDIUM";
_root._quality = _root.standardQuality;
} else if (_root.standardQuality == "MEDIUM") {
_root.standardQuality = "HIGH";
_root._quality = _root.standardQuality;
} else if (_root.standardQuality == "HIGH") {
_root.standardQuality = "LOW";
_root._quality = _root.standardQuality;
}
pressed81 = true;
}
} else {
pressed81 = false;
}
_root.setQuality = "Q = " + _root._quality;
}
Instance of Symbol 169 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cam.ninjaVision._visible == false) {
if (_root.fire == false) {
_visible = true;
} else {
_visible = false;
}
} else {
_visible = false;
}
}
Instance of Symbol 177 MovieClip "ninjaVision" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 180 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.showBloodText == true) {
_visible = true;
this.play();
} else {
_visible = false;
this.stop();
}
}
Instance of Symbol 185 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutScene == true) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.speachBubble == true) {
_alpha = (_alpha + ((30 - _alpha) * 0.2));
} else {
_alpha = (_alpha + ((120 - _alpha) * 0.2));
}
}
Instance of Symbol 175 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
_height = (_root.health * 2);
_parent.healthText._y = _y - (_height / 2);
if (_root.health <= 0) {
_root.gotoAndStop("dead");
}
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 187 MovieClip "healthText" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cutScene == false) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 232 MovieClip Frame 2
Mouse.show();
Symbol 258 MovieClip Frame 1
if (_root.alucardDrag == true) {
this.stop();
} else {
this.play();
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
x = 0;
while (x < 20) {
duplicateMovieClip (smoke, "s" + x, this.getNextHighestDepth());
x++;
}
Instance of Symbol 275 MovieClip "smoke" in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
_alpha = (30 + random(70));
size = 5 + random(50);
_xscale = size;
_yscale = size;
speed = 0.1 * (1 + random(30));
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
_x = (_x + xSpeed);
_alpha = (_alpha - 3);
_xscale = size;
_yscale = size;
size = size + 10;
speed = speed + 0.1;
ySpeed = -speed;
xSpeed = speed / 4;
if (_alpha <= 0) {
_x = 0;
_y = 0;
xSpeed = 0;
ySpeed = 0;
_alpha = (30 + random(70));
size = 50 + random(50);
_xscale = size;
_yscale = size;
speed = 0.1 + random(2);
}
}
Symbol 277 MovieClip Frame 60
_root.picoFace = "normal";
Symbol 277 MovieClip Frame 70
_root.health = _root.health + 10;
if (_root.health > 100) {
_root.health = 100;
}
Symbol 277 MovieClip Frame 80
_root.health = _root.health + 10;
if (_root.health > 100) {
_root.health = 100;
}
Symbol 277 MovieClip Frame 90
_root.health = _root.health + 10;
if (_root.health > 100) {
_root.health = 100;
}
Symbol 277 MovieClip Frame 100
_root.health = _root.health + 10;
if (_root.health > 100) {
_root.health = 100;
}
Symbol 277 MovieClip Frame 110
_root.health = _root.health + 10;
if (_root.health > 100) {
_root.health = 100;
}
Symbol 277 MovieClip Frame 185
_root.player.body.gotoAndStop(1);
Symbol 278 MovieClip Frame 1
stop();
Instance of Symbol 153 MovieClip in Symbol 278 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
if (_root.pause == false) {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 279 MovieClip Frame 2
onClipEvent (load) {
t1 = "The exit is locked up during school hours!";
t2 = "It keeps kids from getting out.";
t3 = "They're just lucky Darnell never started a fire in here.";
t4 = "-end";
t5 = "";
t6 = "";
t7 = "";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
playMusic = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
if (text == "-end") {
_root.speachBubble = false;
_root.pause = false;
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 92 MovieClip in Symbol 279 MovieClip Frame 3
onClipEvent (load) {
t1 = "The door is locked!";
t2 = "I must need a teacher's key to get in.";
t3 = "I wonder if my dead teacher has one?";
t4 = "I better go check.";
t5 = "-end";
t6 = "";
t7 = "";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
playMusic = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
if (text == "-end") {
_root.speachBubble = false;
_root.pause = false;
_parent.gotoAndStop(1);
}
}
}
Symbol 280 MovieClip Frame 1
stop();
Instance of Symbol 228 MovieClip "blood" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-130 + random(260));
speed = random(5);
size = 30 + random(40);
_xscale = size;
_yscale = size;
_x = (_x + (-5 + random(10)));
_y = (_y + (-5 + random(10)));
if (_name == "blood") {
_alpha = 0;
} else {
_alpha = (50 + random(50));
}
}
onClipEvent (enterFrame) {
if (_name != "blood") {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 3);
if (_alpha <= 0) {
this.removeMovieClip();
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
}
}
Instance of Symbol 283 MovieClip in Symbol 284 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Instance of Symbol 283 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Instance of Symbol 283 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Instance of Symbol 283 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 305 MovieClip Frame 1
this.gotoAndPlay(2 + random(12));
Symbol 305 MovieClip Frame 11
gotoAndPlay (2);
Instance of Symbol 299 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.fire;
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
if (_root.fire == false) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
if (_root.fire == false) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
if (_root.alucardDrag == false) {
play();
} else {
stop();
}
Symbol 323 MovieClip Frame 1
stop();
Instance of Symbol 322 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
targetY = startY - 15;
}
onClipEvent (enterFrame) {
if (_y < (startY - 10)) {
targetY = startY + 5;
}
if (_y > startY) {
targetY = startY - 15;
}
_y = (_y + ((targetY - _y) * 0.1));
}
Symbol 335 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 1
_parent._parent.shield = true;
Symbol 354 MovieClip Frame 42
_root.flyKid.go = true;
Symbol 354 MovieClip Frame 78
_parent._parent.shield = false;
Symbol 354 MovieClip Frame 115
_parent._parent.shield = true;
Symbol 354 MovieClip Frame 125
_parent._parent.walkTargetZ = 50 + random(40);
_parent._parent.walkTargetX = 150 + random(150);
_parent.gotoAndStop(1);
Symbol 355 MovieClip Frame 1
stop();
_parent.shield = true;
Instance of Symbol 228 MovieClip "blood" in Symbol 355 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-130 + random(120));
speed = 3 + random(5);
size = 30 + random(40);
_xscale = size;
_yscale = size;
_x = (_x + (-5 + random(10)));
_y = (_y + (-5 + random(10)));
if (_name == "blood") {
_alpha = 0;
} else {
_alpha = (50 + random(50));
}
}
onClipEvent (enterFrame) {
if (_name != "blood") {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 3);
if (_alpha <= 0) {
this.removeMovieClip();
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
} else if ((_parent._parent.shield == false) && (_parent._parent.bulletHit == true)) {
duplicateMovieClip (this, "b" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
}
}
Symbol 361 MovieClip Frame 4
_y = (-random(100));
_x = (-random(60));
stop();
Symbol 378 MovieClip Frame 70
_root.alucardDrag = true;
Symbol 378 MovieClip Frame 85
stop();
_root.keyOne.z = _root.alucard.z;
_root.keyOne.x = _root.alucard.x;
_root.keyOne.play();
Instance of Symbol 92 MovieClip in Symbol 378 MovieClip Frame 85
onClipEvent (load) {
t1 = "Please leave me alone!";
t2 = "Here, take my school key. Now go away!";
t3 = "Stop harassing me!";
t4 = "I can sue you for harassment, ya know!";
t5 = "I have nothing more to say without my lawyer present.";
t6 = "-end";
t7 = "";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
playMusic = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
if (tNum == 1) {
if (playMusic == false) {
playMusic = true;
stopAllSounds();
_root.music.gotoAndStop("metal2");
}
}
}
}
Symbol 380 MovieClip Frame 1
stop();
Instance of Symbol 355 MovieClip "body" in Symbol 380 MovieClip Frame 1
onClipEvent (load) {
rotation = 0;
}
onClipEvent (enterFrame) {
if ((_parent.bulletHit == true) && (_parent.shield == false)) {
rotation = rotation + random(3);
} else {
rotiation = 0;
}
if (_parent.shield == true) {
rotation = 0;
}
rotation = rotation * 0.99;
_rotation = (_rotation + ((rotation - _rotation) * 0.3));
}
Instance of Symbol 357 MovieClip "shieldGfx" in Symbol 380 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.shield == true) && (_parent.bulletHit == true)) {
targetAlpha = 10 + random(50);
} else {
targetAlpha = 0;
}
_alpha = (_alpha + ((targetAlpha - _alpha) * 0.5));
}
Instance of Symbol 363 MovieClip "bar" in Symbol 380 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _parent.health;
}
Instance of Symbol 283 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
_parent.slowDown = true;
Symbol 396 MovieClip Frame 11
_parent.fade = true;
Symbol 397 MovieClip Frame 1
gotoAndStop(2 + random(4));
Instance of Symbol 286 MovieClip in Symbol 397 MovieClip Frame 2
onClipEvent (load) {
targetY = _y;
_y = 0;
_rotation = (_rotation + (-20 + random(40)));
}
onClipEvent (enterFrame) {
_y = (_y + ((targetY - _y) * 0.3));
_rotation = (_rotation + 0.5);
}
Instance of Symbol 382 MovieClip in Symbol 397 MovieClip Frame 3
onClipEvent (load) {
targetY = _y;
_y = 0;
_rotation = (_rotation + (-20 + random(40)));
}
onClipEvent (enterFrame) {
_y = (_y + ((targetY - _y) * 0.3));
_rotation = (_rotation + 0.5);
}
Instance of Symbol 288 MovieClip in Symbol 397 MovieClip Frame 4
onClipEvent (load) {
targetY = _y;
_y = 0;
_rotation = (_rotation + (-20 + random(40)));
}
onClipEvent (enterFrame) {
_y = (_y + ((targetY - _y) * 0.3));
_rotation = (_rotation + 0.5);
}
Instance of Symbol 290 MovieClip in Symbol 397 MovieClip Frame 5
onClipEvent (load) {
targetY = _y;
_y = 0;
_rotation = (_rotation + (-20 + random(40)));
}
onClipEvent (enterFrame) {
_y = (_y + ((targetY - _y) * 0.3));
_rotation = (_rotation + 0.5);
}
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 22
stop();
go2 = true;
Instance of Symbol 322 MovieClip in Symbol 401 MovieClip Frame 22
onClipEvent (load) {
startY = _y;
targetY = startY - 15;
}
onClipEvent (enterFrame) {
if (_y < (startY - 10)) {
targetY = startY + 5;
}
if (_y > startY) {
targetY = startY - 15;
}
_y = (_y + ((targetY - _y) * 0.1));
}
Symbol 402 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
t1 = "You sure are a nosey bastard, Pico.";
t2 = "Have you ever met Alucard?";
t3 = "You're always too busy being popular.";
t4 = "He has interesting telekinetic powers.";
t5 = "Observe!";
t6 = "-end";
t7 = "";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
playMusic = false;
}
onClipEvent (enterFrame) {
if (_parent.speach == true) {
_visible = true;
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
_parent.go = true;
_root.punkKidInAlucardScene = false;
if (playMusic == false) {
playMusic = true;
stopAllSounds();
_root.music.gotoAndStop("metal3");
}
}
} else {
_visible = false;
}
}
Symbol 437 MovieClip Frame 1
stop();
Instance of Symbol 322 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
targetY = startY - 15;
}
onClipEvent (enterFrame) {
if (_y < (startY - 10)) {
targetY = startY + 5;
}
if (_y > startY) {
targetY = startY - 15;
}
_y = (_y + ((targetY - _y) * 0.1));
}
Symbol 437 MovieClip Frame 2
_root.music.gotoAndStop("fastBeat");
Symbol 443 MovieClip Frame 100
gotoAndPlay (1);
Symbol 447 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (load) {
t1 = "-notVisible";
t2 = "-notVisible";
t3 = "-notVisible";
t4 = "-notVisible";
t5 = "Go eat dick, Cyclops.";
t6 = "No one is impressed by your teen angst.";
t7 = "I seem to remember you being a big Pearl Jam fan.";
t8 = "But then you were runnin' with the G-Squad for a while.";
t9 = "Now you're a punk. What the fuck? Pick a trend & stick with it.";
t10 = "-notVisible";
t11 = "-notVisible";
t12 = "-end";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
if (_root.cyclopsSpoken == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-notVisible") {
_visible = false;
} else {
_visible = true;
}
}
Symbol 457 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 46
this.gotoAndPlay(7);
Instance of Symbol 148 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent._parent.shoot == true) {
_visible = true;
_alpha = (10 + random(200));
_xscale = (70 + random(50));
_yscale = (40 + random(70));
_parent._rotation = -1 + random(2);
if ((_root.cyclops.z < (_root.player.z + 6)) && (_root.cyclops.z > (_root.player.z - 6))) {
_root.player.twinkle = true;
_root.health = _root.health - 1;
}
} else {
_visible = false;
}
}
Symbol 472 MovieClip Frame 20
stop();
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 228 MovieClip "blood" in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-130 + random(120));
speed = 3 + random(5);
size = 30 + random(40);
_xscale = size;
_yscale = size;
_x = (_x + (-5 + random(10)));
_y = (_y + (-5 + random(10)));
if (_name == "blood") {
_alpha = 0;
} else {
_alpha = (50 + random(50));
}
}
onClipEvent (enterFrame) {
if (_name != "blood") {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.removeMovieClip();
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
} else if (_parent._parent.bulletHit == true) {
duplicateMovieClip (this, "b" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
}
}
Symbol 500 MovieClip Frame 25
stop();
Instance of Symbol 283 MovieClip in Symbol 500 MovieClip Frame 25
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent._parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent._parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 501 MovieClip Frame 1
stop();
Instance of Symbol 363 MovieClip "bar" in Symbol 501 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _parent.health;
}
Instance of Symbol 92 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
t1 = "Hey Pico, it looks like Casandra has a crush on you!";
t2 = "Otherwise, you'd be dead right now!";
t3 = "It's a shame I don't share Casandra's sentiments.";
t4 = "Any last requests?";
t5 = "-notVisible";
t6 = "-notVisible";
t7 = "-notVisible";
t8 = "-notVisible";
t9 = "-notVisible";
t10 = "At least I never liked that techno-shit you listen to.";
t11 = "Get outta my face, PRICK-O!";
t12 = "-end";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
if (_root.cyclopsSpoken == true) {
this.gotoAndStop(2);
}
musicPlay = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-notVisible") {
_visible = false;
} else {
_visible = true;
}
if (text == "-end") {
_root.cyclopsSpoken = true;
if (musicPlay == false) {
stopAllSounds();
_root.music.gotoAndStop("metal3");
musicPlay = true;
}
}
}
Instance of Symbol 283 MovieClip in Symbol 501 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 505 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 1
stop();
Instance of Symbol 527 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.ninja.health <= 0) {
_visible = true;
}
}
Symbol 556 MovieClip Frame 10
stop();
Symbol 557 MovieClip Frame 9
if ((_root.ninja.z < (_root.player.z + 6)) && (_root.ninja.z > (_root.player.z - 6))) {
if (_root.ninja._currentframe == 1) {
if ((_root.player.x < _root.ninja.x) && (_root.player.x > (_root.ninja.x - 100))) {
_root.health = _root.health - 10;
_root.player.twinkle = true;
}
}
if (_root.ninja._currentframe == 2) {
if ((_root.player.x > _root.ninja.x) && (_root.player.x < (_root.ninja.x + 100))) {
_root.health = _root.health - 10;
_root.player.twinkle = true;
}
}
}
Symbol 557 MovieClip Frame 18
_root.ninja.fight = false;
_root.ninja.attack = false;
_root.ninja.targetX = -78 + random(323);
_root.ninja.targetZ = random(84);
Symbol 558 MovieClip Frame 1
stop();
Instance of Symbol 228 MovieClip "blood" in Symbol 558 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-130 + random(120));
speed = 3 + random(5);
size = 30 + random(40);
_xscale = size;
_yscale = size;
_x = (_x + (-5 + random(10)));
_y = (_y + (-5 + random(10)));
if (_name == "blood") {
_alpha = 0;
} else {
_alpha = (50 + random(50));
}
}
onClipEvent (enterFrame) {
if (_name != "blood") {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 5);
if (_alpha <= 0) {
this.removeMovieClip();
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
} else if (_parent._parent.bulletHit == true) {
duplicateMovieClip (this, "b" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
}
}
Symbol 598 MovieClip Frame 1
stopAllSounds();
Symbol 598 MovieClip Frame 132
_root.music.gotoAndStop("metal2");
stop();
_root.ninjaGoogles.go = true;
_root.ninjaGoogles.x = _root.ninja.x;
_root.ninjaGoogles.z = _root.ninja.z;
Instance of Symbol 283 MovieClip in Symbol 598 MovieClip Frame 132
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent._parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent._parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 600 MovieClip Frame 1
stop();
Instance of Symbol 363 MovieClip "bar" in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _parent.health;
}
Instance of Symbol 92 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (load) {
t1 = "This blade can turn your dick into a coctail weiner.";
t2 = "Only a true ninja can master such a weapon.";
t3 = "I hope you are ready to die.";
t4 = "You will not be able to kill what you cannot see.";
t5 = "A true ninja can fight without his sense of sight.";
t6 = "Having night vision goggles helps, too.";
t7 = "-end";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
musicPlay = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
if (musicPlay == false) {
stopAllSounds();
_root.music.gotoAndStop("metal3");
musicPlay = true;
}
}
}
Instance of Symbol 283 MovieClip in Symbol 600 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 605 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 15
stop();
Instance of Symbol 322 MovieClip in Symbol 605 MovieClip Frame 15
onClipEvent (load) {
startY = _y;
targetY = startY - 15;
}
onClipEvent (enterFrame) {
if (_y < (startY - 10)) {
targetY = startY + 5;
}
if (_y > startY) {
targetY = startY - 15;
}
_y = (_y + ((targetY - _y) * 0.1));
}
Symbol 630 MovieClip Frame 1
x = 0;
while (x < 5) {
duplicateMovieClip (tear, "t" + x, this.getNextHighestDepth());
x++;
}
Instance of Symbol 228 MovieClip "tear" in Symbol 630 MovieClip Frame 1
onClipEvent (load) {
_rotation = (-100 + random(200));
speed = random(5);
size = 30 + random(40);
_xscale = size;
_yscale = size;
startX = _x;
startY = _y;
_alpha = (50 + random(50));
}
onClipEvent (enterFrame) {
_x = (_x + (Math.sin(_rotation * (Math.PI/180)) * speed));
_y = (_y - (Math.cos(_rotation * (Math.PI/180)) * speed));
speed = speed + 0.3;
if (_rotation > 0) {
_rotation = (_rotation + ((180 - _rotation) * 0.1));
}
if (_rotation <= 0) {
_rotation = (_rotation + ((-180 - _rotation) * 0.1));
}
_alpha = (_alpha - 3);
if (_alpha <= 0) {
_x = startX;
_y = startY;
_alpha = (50 + random(50));
size = 30 + random(40);
_xscale = size;
_yscale = size;
speed = random(5);
_rotation = (-100 + random(200));
}
if (_y > 30) {
_alpha = (_alpha * 0.8);
}
}
Symbol 645 MovieClip Frame 13
stop();
Instance of Symbol 283 MovieClip in Symbol 645 MovieClip Frame 13
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent._parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent._parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 677 MovieClip Frame 19
stop();
Instance of Symbol 283 MovieClip in Symbol 677 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent._parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent._parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent._parent.z < (_root.player.z + 6))) && (_parent._parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 680 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
if (_root.neneSpoken == true) {
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
}
t1 = "Oh god! The blood! The Violence! The tension!";
t2 = "I don't want to live through another minute of this!";
t3 = "Please end my life, and spare me this anciety!";
t4 = "-end";
t5 = "";
t6 = "";
t7 = "";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
_root.neneSpoken = true;
}
}
Instance of Symbol 283 MovieClip in Symbol 680 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((((((((_root.player._currentframe == 2) && (_parent.x > _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
} else if ((((((((_root.player._currentframe == 1) && (_parent.x < _root.player.x)) && (_root.gunUp == true)) && (_parent.z < (_root.player.z + 6))) && (_parent.z > (_root.player.z - 6))) && (Key.isDown(65))) && (Key.isDown(83) == false)) && (_root.speachBubble == false)) {
duplicateMovieClip (this.blood, "b" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
}
Symbol 692 MovieClip Frame 1
gotoAndPlay(2 + random(5));
Symbol 692 MovieClip Frame 7
gotoAndPlay (2);
Instance of Symbol 692 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
if (_root.fire == false) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 692 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
if (_root.fire == false) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 701 MovieClip Frame 1
Instance of Symbol 700 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fire == true) {
_alpha = (_alpha + ((random(90) - _alpha) * 0.3));
} else {
_visible = false;
_alpha = 0;
}
}
Instance of Symbol 706 MovieClip in Symbol 707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fire == true) {
_alpha = (_alpha + ((random(90) - _alpha) * 0.3));
} else {
_visible = false;
_alpha = 0;
}
}
Symbol 711 MovieClip Frame 1
stop();
Instance of Symbol 313 MovieClip "lock" in Symbol 711 MovieClip Frame 1
onClipEvent (load) {
go = false;
if (_root.door2Unlocked == true) {
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (go == true) {
if (ySpeed == undefined) {
ySpeed = -5;
}
this.gotoAndStop(2);
_rotation = (_rotation + 3);
_alpha = (_alpha * 0.95);
_y = (_y + ySpeed);
ySpeed = ySpeed + 0.3;
_x = (_x + ((-150 - _x) * 0.05));
}
}
Symbol 714 MovieClip Frame 1
f = 0;
while (f < 10) {
duplicateMovieClip (this.flare, "f" + f, this.getNextHighestDepth());
f++;
}
Instance of Symbol 713 MovieClip "flare" in Symbol 714 MovieClip Frame 1
onClipEvent (load) {
this._y = -10 - random(40);
this._x = -30 + random(60);
this.xSpeed = 0;
this.xSpeed2 = 0;
this._alpha = random(100);
this.size = 60 + random(40);
this._xscale = size;
this._yscale = size;
if (_root.fire == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (this._x < 0) {
this.xSpeed = 5;
}
if (this._x > 0) {
this.xSpeed = -5;
}
this.xSpeed2 = this.xSpeed2 + ((this.xSpeed - this.xSpeed2) * 0.05);
this._x = this._x + this.xSpeed2;
this._y = this._y - (Math.abs(this._y) * 0.05);
this._xscale = this._xscale - 1;
this._yscale = this._yscale - 1;
this._alpha = this._alpha * 0.99;
if (this._alpha < random(5)) {
if (_root.fire == true) {
this._y = -10 - random(40);
this._x = -30 + random(60);
this.xSpeed = 0;
this.xSpeed2 = 0;
this._alpha = random(100);
this.size = 60 + random(40);
this._xscale = size;
this._yscale = size;
} else {
_visible = false;
_parent._visible = false;
}
}
}
Symbol 729 MovieClip Frame 1
stop();
Instance of Symbol 322 MovieClip in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
targetY = startY - 15;
}
onClipEvent (enterFrame) {
if (_y < (startY - 10)) {
targetY = startY + 5;
}
if (_y > startY) {
targetY = startY - 15;
}
_y = (_y + ((targetY - _y) * 0.1));
}
Symbol 752 MovieClip Frame 21
stop();
Symbol 771 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 2
_root.monster.health = _root.monster.health - 3;
Instance of Symbol 771 MovieClip in Symbol 773 MovieClip Frame 1
onClipEvent (load) {
startY = _y;
_y = (_y + 50);
timer = 50 + random(50);
}
onClipEvent (enterFrame) {
timer = timer - 1;
if (timer < 20) {
_y = (_y + ((startY - _y) * 0.3));
this.play();
} else {
_y = (_y + (((startY + 50) - _y) * 0.3));
}
if (timer <= 0) {
timer = 50 + random(50);
}
}
Symbol 775 MovieClip Frame 1
stop();
Instance of Symbol 734 MovieClip in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
_parent.health = _parent.health - 1;
_root.player.sight.play();
duplicateMovieClip (_root.oilSplash, "o" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (_parent.health <= 0) {
_parent.play();
}
}
Symbol 775 MovieClip Frame 42
stop();
Symbol 789 MovieClip Frame 6
_parent.go = false;
stop();
Symbol 790 MovieClip Frame 1
stop();
Symbol 794 MovieClip Frame 1
gotoAndPlay(random(3));
Symbol 828 MovieClip Frame 1
stop();
Symbol 828 MovieClip Frame 40
_parent.punkKid.gotoAndStop(3);
this.swapDepths(_parent.getNextHighestDepth());
removeMovieClip(this);
Symbol 850 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 45
_root.eyeFire2.go = true;
Symbol 850 MovieClip Frame 55
this.gotoAndStop(1);
Symbol 850 MovieClip Frame 65
this.gotoAndStop(1);
Symbol 855 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 45
_root.eyeFire1.go = true;
Symbol 855 MovieClip Frame 55
this.gotoAndStop(1);
Symbol 855 MovieClip Frame 65
this.gotoAndStop(1);
Instance of Symbol 850 MovieClip "eye2" in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.monster.throwTimer == 69) {
this.play();
}
if (_root.monster.health <= 0) {
this.gotoAndStop(56);
}
}
Instance of Symbol 855 MovieClip "eye1" in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.monster.throwTimer == 69) {
this.play();
}
if (_root.monster.health <= 0) {
this.gotoAndStop(56);
}
}
Instance of Symbol 858 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
_parent.eye1.gotoAndPlay(56);
_root.player.sight.play();
}
}
Instance of Symbol 858 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true) && (Key.isDown(1))) {
_parent.eye2.gotoAndPlay(56);
_root.player.sight.play();
}
}
Symbol 863 MovieClip Frame 53
_root.barrel.go = true;
Symbol 863 MovieClip Frame 77
_parent.throwTimer = 70;
_parent.xSpeed = _parent.leftRight;
Symbol 880 MovieClip Frame 16
stop();
Symbol 881 MovieClip Frame 62
stop();
_root.fadeOut = true;
Symbol 882 MovieClip Frame 1
stop();
Instance of Symbol 858 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player._x, _root.player._y, false) && (Key.isDown(1))) {
_parent.health = _parent.health - 1;
_root.player.sight.play();
}
}
Instance of Symbol 363 MovieClip "bar" in Symbol 882 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _parent.health;
}
Instance of Symbol 365 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_parent.bar._y - (_parent.bar._height / 2));
}
Instance of Symbol 850 MovieClip "eye2" in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.monster.throwTimer == 69) {
this.play();
}
if (_root.monster.health <= 0) {
this.gotoAndStop(56);
}
}
Instance of Symbol 855 MovieClip "eye1" in Symbol 887 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.monster.throwTimer == 69) {
this.play();
}
if (_root.monster.health <= 0) {
this.gotoAndStop(56);
}
}
Symbol 891 MovieClip Frame 1
if (_root.music._currentframe != 7) {
stopAllSounds();
_root.music.gotoAndStop(7);
}
Instance of Symbol 858 MovieClip in Symbol 891 MovieClip Frame 72
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player._x, _root.player._y, false) && (Key.isDown(1))) {
_parent.health = _parent.health - 1;
_root.player.sight.play();
}
}
Instance of Symbol 363 MovieClip "bar" in Symbol 891 MovieClip Frame 72
onClipEvent (enterFrame) {
_yscale = _parent.health;
}
Instance of Symbol 365 MovieClip in Symbol 891 MovieClip Frame 72
onClipEvent (enterFrame) {
_y = (_parent.bar._y - (_parent.bar._height / 2));
}
Symbol 891 MovieClip Frame 136
stop();
_root.instructions._visible = true;
Instance of Symbol 850 MovieClip "eye2" in Symbol 891 MovieClip Frame 136
onClipEvent (enterFrame) {
if (_root.monster.throwTimer == 69) {
this.play();
}
if (_root.monster.health <= 0) {
this.gotoAndStop(56);
}
}
Instance of Symbol 855 MovieClip "eye1" in Symbol 891 MovieClip Frame 136
onClipEvent (enterFrame) {
if (_root.monster.throwTimer == 69) {
this.play();
}
if (_root.monster.health <= 0) {
this.gotoAndStop(56);
}
}
Symbol 892 MovieClip Frame 1
stop();
Symbol 892 MovieClip Frame 3
stopAllSounds();
Symbol 895 MovieClip Frame 1
stop();
_root.speachBubble = true;
_root.pause = true;
Symbol 895 MovieClip Frame 2
_root.speachBubble = false;
_root.pause = false;
this.swapDepths(_parent.getNextHighestDepth());
removeMovieClip(this);
Instance of Symbol 895 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
t1 = "Not bad, Prico.";
t2 = "You are already too late however. The time of the punk rock/goth gestapo has come!";
t3 = "Wish you were part of it? You could have been a nonconformist just like the rest of us!";
t4 = "But no - you had to express your infividuality in forms other than your clothing.";
t5 = "-notVisible";
t6 = "-notVisible";
t7 = "-notVisible";
t8 = "-notVisible";
t9 = "-notVisible";
t10 = "You think I need these fucks to help me kill you?!";
t11 = "To be honest, I don't give a shit about any of this society crap.";
t12 = "I have other plans for this world.";
t13 = "-end";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
_parent.punkKid.gotoAndStop(2);
_parent.punks.play();
stopAllSounds();
}
if (text == "-notVisible") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 895 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
t1 = "-notVisible";
t2 = "-notVisible";
t3 = "-notVisible";
t4 = "-notVisible";
t5 = "We are tired of people picking on us for the way we dress. Vengeance is ours!";
t6 = "-notVisible";
t7 = "-notVisible";
t8 = "-notVisible";
t9 = "-notVisible";
t10 = "-notVisible";
t11 = "-notVisible";
t12 = "-notVisible";
t13 = "-end";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
}
if (text == "-notVisible") {
_visible = false;
} else {
_visible = true;
}
}
Symbol 905 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 1
stop();
Instance of Symbol 905 MovieClip in Symbol 910 MovieClip Frame 2
onClipEvent (load) {
recoil = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
this.play();
_visible = true;
size = 80 + random(30);
_xscale = size;
_yscale = size;
_alpha = (70 + random(20));
_parent._y = _parent._y - random(recoil * 1.5);
_parent._x = _parent._x + ((-recoil) + random(recoil * 2));
if (recoil < 15) {
recoil = recoil + 1;
}
_parent.sight._xscale = (_parent.sight._yscale = 100 + (recoil * 4));
} else {
_visible = false;
recoil = recoil * 0.9;
_parent.sight._xscale = (_parent.sight._yscale = _parent.sight._yscale + ((100 - _parent.sight._yscale) * 0.1));
}
}
Instance of Symbol 909 MovieClip "sight" in Symbol 910 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (-_parent._rotation);
}
Symbol 912 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 45
_root.picoFace = "angry";
Symbol 912 MovieClip Frame 135
_root.gotoAndStop(_root._currentframe + 1);
Instance of Symbol 92 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
t1 = "Great news, Pico!";
t2 = "We've found new students to replace the dead ones!";
t3 = "Isn't that great?";
t4 = "We're bussing in students from the ghetto!";
t5 = "Now they'll finally get the opportunity they deserve!";
t6 = "Say hello to your new classmates!";
t7 = "-end";
t8 = "";
t9 = "";
t10 = "";
text = this["t" + tNum];
tNum = 1;
pressed65 = false;
}
onClipEvent (enterFrame) {
text = this["t" + tNum];
if ((_root.pause == true) && (_root.speachBubble == true)) {
if (Key.isDown(65)) {
if (pressed65 == false) {
tNum = tNum + 1;
}
pressed65 = true;
} else {
pressed65 = false;
}
if (text == "-end") {
this.gotoAndStop(2);
}
}
if (text == "-end") {
_root.ghettoEnter = true;
_root.chairPico.play();
if (_root.music._currentframe != 4) {
stopAllSounds();
_root.music.gotoAndStop(4);
}
}
if (tNum == 4) {
_root.picoFace = "sad";
}
}
Symbol 952 MovieClip Frame 90
stop();
Symbol 959 MovieClip Frame 201
stop();
Instance of Symbol 191 MovieClip "selecter" in Symbol 959 MovieClip Frame 201
onClipEvent (load) {
optNum = 1;
option = "opt" + optNum;
pressedKey = true;
pressed65 = true;
}
onClipEvent (enterFrame) {
option = "opt" + optNum;
_y = (_y + ((_parent[option]._y - _y) * 0.3));
if (Key.isDown(38)) {
if (pressedKey == false) {
optNum = optNum - 1;
}
pressedKey = true;
} else if (Key.isDown(40)) {
if (pressedKey == false) {
optNum = optNum + 1;
}
pressedKey = true;
} else {
pressedKey = false;
}
if (optNum > 4) {
optNum = 4;
}
if (optNum < 1) {
optNum = 1;
}
_alpha = (100 - (Math.abs(_parent[option]._y - _y) * 5));
if (Key.isDown(65)) {
if (pressed65 == false) {
if (optNum == 1) {
_root.health = 100;
_root.gotoAndStop((_root._currentframe - (_root._currentframe - (_root.room * 2))) + 3);
}
if (optNum == 2) {
_root.health = 100;
_root.gotoAndStop(2);
}
if (optNum == 3) {
getURL ("http://www.newgrounds.com/pico/", "_self");
}
if (optNum == 4) {
getURL ("http://www.newgrounds.com/", "_blank");
}
}
pressed65 = true;
} else {
pressed65 = false;
}
}
Instance of Symbol 5 MovieClip in Symbol 959 MovieClip Frame 201
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}
Instance of Symbol 7 MovieClip in Symbol 959 MovieClip Frame 201
on (release) {
getURL ("http://www.deadtoast.com/", "_blank");
}
Instance of Symbol 195 MovieClip "opt1" in Symbol 959 MovieClip Frame 201
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 1;
}
on (release) {
_root.health = 100;
_root.gotoAndStop((_root._currentframe - (_root._currentframe - (_root.room * 2))) + 3);
}
Instance of Symbol 198 MovieClip "opt2" in Symbol 959 MovieClip Frame 201
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 2;
}
on (release) {
_root.health = 100;
_root.gotoAndStop(2);
}
Instance of Symbol 201 MovieClip "opt3" in Symbol 959 MovieClip Frame 201
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 3;
}
on (release) {
getURL ("http://www.newgrounds.com/pico/", "_self");
}
Instance of Symbol 204 MovieClip "opt4" in Symbol 959 MovieClip Frame 201
onClipEvent (enterFrame) {
if (_parent.selecter.optNum == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_parent.selecter.optNum = 4;
}
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}