Instance of Symbol 82 MovieClip in Frame 1
on (release) {
_root.gotoAndPlay(50);
}
Frame 36
stop();
Frame 51
function EerieStart() {
if (eerie_done) {
stopAllSounds();
eerie_done = false;
eerie.start(0);
}
}
function EerieFin() {
eerie_done = true;
}
function InvInteract(index) {
var _local1 = index;
var _local2 = _root;
if ((inv[InvSelected] == 10) and (inv[_local1] == 6)) {
inv[_local1] = 7;
} else if ((inv[InvSelected] == 19) and (inv[_local1] == 7)) {
inv[_local1] = 6;
drop(_local2.InvSelected);
_local2.bM("That was a waste of a perfectly good extinguisher.");
} else if ((inv[InvSelected] == 20) and (inv[_local1] == 21)) {
inv[InvSelected] = 22;
drop(_local1);
_local2.bM("I tied the string to the hook.");
} else if ((inv[InvSelected] == 21) and (inv[_local1] == 20)) {
inv[InvSelected] = 22;
drop(_local1);
_local2.bM("I tied the string to the hook.");
} else if ((inv[InvSelected] == 22) and (inv[_local1] == 23)) {
inv[InvSelected] = 24;
drop(_local1);
_local2.bM("A home-made fishing rod!");
} else if ((inv[InvSelected] == 23) and (inv[_local1] == 22)) {
inv[InvSelected] = 24;
drop(_local1);
_local2.bM("A home-made fishing rod!");
} else {
bM("That doesn't work");
InvSelected = -1;
}
}
function InvSelect(index) {
var _local1 = index;
if (InvSelected == _local1) {
InvSelected = -1;
} else if (InvSelected != -1) {
InvInteract(_local1);
} else {
InvSelected = _local1;
bM(Desc[Inv[_local1]]);
}
InvRefresh();
}
function InvRefresh() {
i = 0;
while (i < InvEmpty) {
if (inv[i] == 0) {
inv[i] = inv[i + 1];
inv[i + 1] = 0;
}
if ((inv[i] == 0) and (inv[i + 1] == 0)) {
InvEmpty = i;
}
i++;
}
counter = 0;
i = InvDisplay;
while (i <= (InvDisplay + 4)) {
_root.inventory.attachMovie("inv" + inv[i], "slot" + counter, counter);
_root.inventory["slot" + counter]._x = counter * 60;
_root.inventory["slot" + counter]._y = 0;
counter++;
i++;
}
i = 0;
while (i <= 4) {
thing = eval ("_root.inventory.slot" + i);
thing.box.light._visible = (i + InvDisplay) == InvSelected;
i++;
}
_root.inventory.left._visible = InvDisplay > 0;
_root.inventory.right._visible = (InvEmpty - InvDisplay) > 5;
_root.invbutton.pic.removeMovieClip();
_root.invbutton.dragpic.removeMovieClip();
if (InvSelected > -1) {
_root.invbutton.attachMovie("inv" + inv[InvSelected], "pic", 0);
_root.invbutton.pic._x = -3.8;
_root.invbutton.pic._y = 33.2;
_root.invbutton.pic.box.light._visible = false;
_root.invbutton.attachMovie("inv" + inv[InvSelected], "dragpic", 1);
_root.invbutton.dragpic.begindrag(true);
_root.invbutton.dragpic._x = _root.invbutton._xmouse;
_root.invbutton.dragpic._y = _root.invbutton._ymouse;
_root.invbutton.dragpic.box._visible = false;
}
}
function Take(index) {
bM(Desc[Index]);
inv[InvEmpty] = index;
InvSelected = InvEmpty;
InvEmpty++;
inv[InvEmpty] = 0;
InvRefresh();
}
function Drop(index) {
inv[index] = 0;
InvSelected = -1;
InvRefresh();
}
function bM(message) {
var _local1 = _root;
_local1.text._visible = true;
_local1.text.text.words.text = message;
_local1.text.gotoAndPlay(2);
}
function bMx() {
_root.text._visible = false;
_root.text.text.words.text = "";
}
function M(message) {
_root.name._visible = true;
_root.name.words.text = message;
}
function Mx() {
_root.name._visible = false;
_root.name.words.text = "";
}
function Enter(door, button) {
switch (door.state) {
case 0 :
door.gotoAndPlay(2);
return;
case 1 :
button.dest();
return;
case 2 :
button.dest();
return;
case 3 :
bM("It's locked.");
return;
default :
bM("It's locked.");
}
}
function NurseAction() {
if (nursehere) {
if (roomtype == 0) {
NurseMovtX();
} else {
NurseMovtY();
}
} else if (nursechase and (nursechaseonce == false)) {
nursechaseonce = true;
_root.NurseAppear.gotoAndPlay(2);
} else {
temp = random(1000);
if (((temp == 0) and nursestart) and (nursechaseonce == false)) {
_root.NurseAppear.gotoAndPlay(2);
nursechaseonce = true;
nursechase = true;
}
}
}
function NurseMovtY() {
if (((math.abs(girl._yscale - nurse._yscale) < 10) and nurse._visible) and girl._visible) {
_root.monster.gotoAndPlay(2);
}
if (girl._yscale > nurse._yscale) {
nurse.direction.GotoAndStop(3);
tempscalefactor = scalefactor * (nurse._y / (450 * (1 / nyspeed)));
nurse._xscale = nurse._xscale + tempscalefactor;
nurse._yscale = nurse._yscale + tempscalefactor;
nurse._y = nurse._y + nyspeed;
} else {
nurse.direction.GotoAndStop(4);
tempscalefactor = scalefactor * (nurse._y / (450 * (1 / nyspeed)));
nurse._xscale = nurse._xscale - tempscalefactor;
nurse._yscale = nurse._yscale - tempscalefactor;
nurse._y = nurse._y - nyspeed;
}
}
function NurseMovtX() {
if (girl._visible == false) {
girl._x = girl._x + (random(200) - 100);
}
if (((math.abs(girl._x - nurse._x) < 50) and nurse._visible) and girl._visible) {
_root.monster.gotoAndPlay(2);
}
if (girl._x > nurse._x) {
nurse.direction.GotoAndStop(1);
nurse._x = nurse._x + nxspeed;
} else {
nurse.direction.GotoAndStop(2);
nurse._x = nurse._x - nxspeed;
}
}
function NurseZoom() {
temp = random(100) + 100;
if (roomtype == 0) {
if (girl._x < nurse._x) {
_root.nurse._x = _root.nurse._x - temp;
} else if (girl._x > nurse._x) {
_root.nurse._x = _root.nurse._x + temp;
}
} else {
temp = random(2);
if ((math.abs(girl._y - (nurse._y - temp)) >= 10) and (girl._y < nurse._y)) {
nurse._y = nurse._y - temp;
tempscalefactor = scalefactor * (nurse._y / 450);
nurse._xscale = nurse._xscale - tempscalefactor;
nurse._yscale = nurse._yscale - tempscalefactor;
} else if ((math.abs(girl._y - (nurse._y + temp)) >= 10) and (girl._y > nurse._y)) {
nurse._y = nurse._y + temp;
tempscalefactor = scalefactor * (nurse._y / 450);
nurse._xscale = nurse._xscale + tempscalefactor;
nurse._yscale = nurse._yscale + tempscalefactor;
}
}
}
function GirlMovtY() {
if (targety < uplimit) {
targety = uplimit;
}
if (targety > downlimit) {
targetx = downimit;
}
if (math.abs(girl._y - targety) < 10) {
girl.direction.girl.gotoAndPlay(15);
if (squat) {
girl.direction.girl.gotoAndStop(20);
}
} else if (!squat) {
if (girl._y > targety) {
girl.direction.GotoAndStop(4);
girl.direction.girl.Play();
tempscalefactor = scalefactor * (girl._y / 450);
girl._xscale = girl._xscale - tempscalefactor;
girl._yscale = girl._yscale - tempscalefactor;
girl._y = girl._y - math.ceil(yspeed * (girl._y / 450));
} else {
girl.direction.GotoAndStop(3);
girl.direction.girl.Play();
tempscalefactor = scalefactor * (girl._y / 450);
girl._xscale = girl._xscale + tempscalefactor;
girl._yscale = girl._yscale + tempscalefactor;
girl._y = girl._y + math.ceil(yspeed * (girl._y / 450));
}
}
}
function GirlMovtX() {
if (targetx < leftlimit) {
targetx = leftlimit;
}
if (targetx > rightlimit) {
targetx = rightlimit;
}
if (math.abs(girl._x - targetx) < xspeed) {
girl.direction.girl.gotoAndStop(15);
if (squat) {
girl.direction.girl.gotoAndStop(20);
}
} else if (!squat) {
if (girl._x > targetx) {
girl.direction.GotoAndStop(2);
girl.direction.girl.Play();
girl._x = girl._x - xspeed;
} else {
girl.direction.GotoAndStop(1);
girl.direction.girl.Play();
girl._x = girl._x + xspeed;
}
}
}
function Stay() {
var _local1 = _root;
_local1.targetx = _local1.girl._x;
_local1.targety = _local1.girl._y;
}
eerie = new Sound();
eerie.attachSound("eeriemusic");
eerie.onSoundComplete = EerieFin;
eerie_done = true;
_root.lvl = 2;
_root.yarnvis = true;
inv = [];
inv[0] = 0;
Inv_x = 195;
Inv_y = 220;
InvEmpty = 0;
InvDisplay = 0;
InvSelected = -1;
i = 0;
while (i <= 5) {
inv[i] = 0;
i++;
}
inv[0] = 9;
inv[1] = 10;
inv[2] = 6;
InvEmpty = 3;
desc = [];
desc[0] = "...";
desc[1] = "This towel is nice and absorbent.";
desc[2] = "This toilet paper so soft. And smooth too.";
desc[3] = "This is the master bedroom key.";
desc[4] = "These are good quality rubber gloves.";
desc[5] = "It looks like the key to a treasure chest";
desc[6] = "It's a candle that has been used before.";
desc[7] = "It doesn't give off much light but it'll have to do.";
desc[8] = "It's a shower faucet. The screw is still attached.";
desc[9] = "It's a piece of dead-weight junk. For some reason, the red fish sticker fell off though...";
desc[10] = "It's a box of matches.";
desc[11] = "It's the key the the dresser drawer.";
desc[12] = "It's a video tape. Nope, that doesn't ring a bell.";
desc[13] = "This will come in useful.";
desc[14] = "It's a bottle of pills with a yellow label.";
desc[15] = "It's a key.";
desc[16] = "It's a wooden nickel.";
desc[17] = "It's a small round cork.";
desc[18] = "It's a refreshing can of LUT! Cola.";
desc[19] = "It's a fire extinguisher. It looks like it is the type that can only be used once.";
desc[20] = "It's a ball of yarn.";
desc[21] = "It's the hook from a hanger.";
desc[22] = "It's a hook connected to a string.";
desc[23] = "It's a lighttube.";
desc[24] = "It's a homemade fishing rod.";
desc[25] = "It's a key of sorts... too big for a door though.";
desc[26] = "It's a bunch of keys to the storeroom.";
desc[27] = "It's a strange egg-shaped stone.";
targetx = 0;
targety = 0;
nursedir = 0;
myexit = 0;
nursehere = false;
nursechase = false;
nursestart = false;
nursechaseonce = false;
xspeed = 15;
yspeed = 5;
nxspeed = 2;
nyspeed = 0.5;
squat = false;
hitcount = 0;
monstercount = 10;
justdied = false;
RoomAppearX = [];
RoomAppearY = [];
RoomScale = [];
RoomDir = [];
roomtype = 1;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 1;
RoomAppearX[0] = 0;
RoomAppearY[0] = 0;
RoomScale[0] = 1;
RoomDir[0] = 1;
RoomAppearX[1] = 0;
RoomAppearY[1] = 0;
RoomScale[1] = 1;
RoomDir[1] = 1;
MovieClip.prototype.beginDrag = function (target, lock, l, t, r, b) {
if (typeof(target) == "string") {
target = eval (target);
if (!target) {
trace("Warning: Invalid MovieClip for beginDrag. " + target);
return(undefined);
}
} else if (!(target instanceof MovieClip)) {
b = r;
r = t;
t = l;
l = lock;
lock = target;
target = this;
}
if (target.$dragMethod) {
target.endDrag();
}
target.$dragMethod = {MM:target.onMouseMove};
ASSetPropFlags(target, "$dragMethod", 1, 1);
target.addProperty("onMouseMove", arguments.callee.getMM, arguments.callee.setMM);
ASSetPropFlags(target, "onMouseMove", 3);
var constrain = (arguments.length > 1);
var off_x = 0;
var off_y = 0;
if (!lock) {
off_x = target._parent._xmouse - target._x;
off_y = target._parent._ymouse - target._y;
}
target.$dragMethod.drag = function () {
target._x = target._parent._xmouse - off_x;
target._y = target._parent._ymouse - off_y;
if (constrain) {
if (typeof(l) == "object") {
t = l.ymin;
r = l.xmax;
b = l.ymax;
l = l.xmin;
}
if (target._x < l) {
target._x = l;
} else if (target._x > r) {
target._x = r;
}
if (target._y < t) {
target._y = t;
} else if (target._y > b) {
target._y = b;
}
}
updateAfterEvent();
};
};
MovieClip.prototype.beginDrag.getMM = function () {
this.$dragMethod.drag();
return(this.$dragMethod.MM);
};
MovieClip.prototype.beginDrag.setMM = function (f) {
this.$dragMethod.MM = f;
};
MovieClip.prototype.endDrag = function (target) {
if (arguments.length) {
if (typeof(target) == "string") {
target = eval (target);
}
if (!target) {
trace("Warning: Invalid MovieClip for beginDrag. " + target);
return(undefined);
}
} else {
target = this;
}
ASSetPropFlags(target, "onMouseMove", 0, 3);
delete target.onMouseMove;
if (target.$dragMethod.MM) {
target.onMouseMove = target.$dragMethod.MM;
}
delete target.$dragMethod;
target.startDrag();
target.stopDrag();
};
Instance of Symbol 95 MovieClip "mouse" in Frame 51
onClipEvent (load) {
this._visible = false;
this.nursefront = true;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 51
onClipEvent (load) {
_root.InvRefresh();
}
Frame 52
_root.blackcounter = 0;
button1._visible = false;
button2._visible = false;
stop();
Instance of Symbol 95 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.blackcounter == 0) {
_root.words.text = "Damn... I think a draft just blew out my candle...";
}
if (_root.blackcounter == 1) {
_root.words.text = "Funny... my surroundings feel different somehow...";
}
if (_root.blackcounter == 2) {
_root.words.text = "It smells somehow... antiseptic?";
_root.lightblock.gotoAndPlay(2);
}
if (_root.blackcounter == 3) {
_root.button1._visible = true;
_root.button2._visible = true;
_root.words.text = "Wait a minute... what's that red light over there?";
}
}
Frame 53
stop();
if (lvl2lift_Init == undefined) {
atfloor = 3;
targetfloor = 3;
lvl2lift_Init = true;
}
lift.gotoAndPlay(80);
if (_root.nursechase) {
lift.nurse.gotoAndPlay(2);
}
insidelift = true;
uparrow._visible = false;
downarrow._visible = false;
_root.liftcalled = false;
_root.liftmoving = false;
_root.darkness._visible = false;
Instance of Symbol 95 MovieClip "mouse" in Frame 53
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_Root.lift.closed and (_root.targetfloor != _root.atfloor)) and _root.lift.notmoving) {
_root.bM("The lift is moving.");
_root.lift.gotoAndPlay(2);
}
_root.lift.bg.drinkmachine._visible = _root.atfloor == 2;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 53
onClipEvent (load) {
_root.InvRefresh();
}
Frame 245
stop();
Frame 466
function GameOver() {
gotoAndPlay (682);
}
function OpenCurtains(wardbed) {
var _local1 = wardbed;
var _local2 = _root;
if (random(200) == 0) {
_local1.curtains.gotoAndPlay(2);
if (_local1.bed.hidegirl) {
_local1.bed.gotoAndPlay(1);
_local2.girl._visible = true;
_local2.girl._x = _local1._x;
_local1.bed.hidegirl = false;
_local2.bM("I've been found out!");
}
}
}
function GotoDis() {
gotoAndPlay (642);
}
function GotoStair1() {
gotoAndPlay (466);
}
function GotoStair2() {
gotoAndPlay (612);
}
function GotoStair3() {
gotoAndPlay (582);
}
function GotoLiftInside() {
gotoAndPlay (53);
}
function GotoLiftLobby1() {
gotoAndPlay (673);
}
function GotoLiftLobby2() {
gotoAndPlay (466);
}
function GotoWard2Left() {
gotoAndPlay (680);
}
function GotoWard2right() {
gotoAndPlay (681);
}
function GotoCorri2() {
gotoAndPlay (675);
}
function GotoWard1right() {
gotoAndPlay (679);
}
function GoCorridor3left() {
gotoAndPlay (676);
}
function GoCorridor3right() {
gotoAndPlay (677);
}
function GotoCorri1() {
gotoAndPlay (674);
}
function GotoWard1Left() {
gotoAndPlay (678);
}
function goNurseRoom() {
gotoAndPlay (672);
}
function GotoCorri3Left() {
gotoAndPlay (676);
}
function GotoCorri3right() {
gotoAndPlay (677);
}
function GotoOutro() {
gotoAndPlay (54);
}
roomtype = 0;
scalefactor = 0.2;
leftlimit = 145;
rightlimit = 430;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 190;
RoomAppearY[0] = 210;
RoomScale[0] = 60;
RoomDir[0] = 3;
RoomAppearX[1] = 410;
RoomAppearY[1] = 210;
RoomScale[1] = 60;
RoomDir[1] = 2;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl.y;
nurse._visible = false;
nursechaseonce = false;
if (nurseout) {
nurseroomdoor.gotoAndPlay(2);
} else {
nurseroomdoor.gotoAndPlay(1);
}
nursehere = false;
nursechaseonce = false;
scissors._visible = scissorvis;
oproomtimes++;
if (lvl2oproom_Init) {
bM("It looks like some sick twisted form of surgery has taken place here.");
if (oproomtimes == 5) {
_root.bM("Hmm... nothing seems to be different here...");
}
if (_root.justdied) {
gotoAndPlay (468);
_root.squat = false;
_root.justdied = false;
bM("What is this place? How did I get here?");
} else {
gotoAndPlay (477);
}
}
if (lvl2oproom_Init == undefined) {
bM("What is this place? How did I get here?");
scissorvis = true;
coinvis = true;
ongenerator = false;
nurseout = false;
lvl2oproom_Init = true;
_root.nursechase = false;
nursechaseonce = false;
girl._x = 145;
targetX = girl._x;
targetY = girl._y;
oproomtimes = 1;
}
Instance of Symbol 95 MovieClip "mouse" in Frame 466
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if ((math.abs(_root.girl._x - _root.RoomAppearX[0]) < 50) and (_root.door1.hitTest(_root._xmouse, _root._ymouse, false) and _root.corridorclicky._visible)) {
_root.door1.gotoAndPlay(2);
} else if (_root.invbutton._visible) {
_root.door1.gotoAndPlay(1);
}
if ((_root.girl._x > _root.RoomAppearX[1]) and _root.nurseout) {
_root.myexit = 0;
_Root.gonurseroom();
}
} else {
_root.girl.direction.girl.gotoAndPlay(15);
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Frame 477
stop();
lvl2oproom_Init = true;
Instance of Symbol 208 MovieClip "inventory" in Frame 477
onClipEvent (load) {
_root.InvRefresh();
}
Frame 485
mouse.hide();
_root.myexit = 1;
_root.invbutton._visible = false;
_root.inventory._visible = false;
_root.name._x = -600;
_root.text._x = -600;
_root.corridorclicky._visible = false;
Frame 487
door1.gotoAndstop(3);
Frame 488
girl.direction.gotoAndPlay(4);
targetx = girl._X;
Frame 491
girl._visible = false;
girl._x = -600;
Frame 495
_root.nurseout = true;
nursechase = true;
Frame 500
door1.gotoAndplay(1);
Frame 555
_root.nurseroomdoor.gotoAndPlay(2);
Frame 581
_root.nursechase = true;
_root.nursestart = true;
_root.myexit = 0;
mouse.show();
gotoAndPlay (674);
Frame 582
if (lvl2stair3_Init == undefined) {
lvl2stair3_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 500;
uplimit = 0;
downlimit = 450;
numberexits = 3;
RoomAppearX[0] = 133;
RoomAppearY[0] = 287;
RoomScale[0] = 116;
RoomDir[0] = 1;
RoomAppearX[1] = 360;
RoomAppearY[1] = 287;
RoomScale[1] = 116;
RoomDir[1] = 3;
RoomAppearX[2] = 133;
RoomAppearY[2] = 287;
RoomScale[2] = 116;
RoomDir[2] = 3;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
girlhide._visible = false;
nursechaseonce = false;
nursehere = false;
xspeed = 40;
if (myexit == 2) {
gotoAndPlay (586);
}
Instance of Symbol 95 MovieClip "mouse" in Frame 582
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if ((math.abs(_root.girl._x - _root.roofdoor._x) < 80) and _root.roofdoor.hitTest(_root._xmouse, _root._ymouse, false)) {
_root.roofdoor.gotoAndPlay(2);
} else {
_root.roofdoor.gotoAndPLay(1);
}
if ((math.abs(_root.girl._x - _root.downbutton._x) < 80) and _root.downbutton.hitTest(_root._xmouse, _root._ymouse, false)) {
_root.bg.gotoAndPlay(2);
} else {
_root.bg.gotoAndPLay(1);
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 1;
_root.xspeed = 15;
_Root.GotoLiftLobby1();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 582
onClipEvent (load) {
_root.InvRefresh();
}
Frame 586
girl._visible = false;
Frame 611
runner._visible = false;
girl._visible = true;
stop();
Frame 612
if (lvl2stair2_Init == undefined) {
stairkeystaken = false;
lvl2stair2_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 500;
uplimit = 0;
downlimit = 450;
numberexits = 3;
RoomAppearX[0] = 133;
RoomAppearY[0] = 287;
RoomScale[0] = 116;
RoomDir[0] = 1;
RoomAppearX[1] = 360;
RoomAppearY[1] = 85;
RoomScale[1] = 80;
RoomDir[1] = 3;
RoomAppearX[2] = 133;
RoomAppearY[2] = 287;
RoomScale[2] = 116;
RoomDir[2] = 3;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
girlhide._visible = false;
nursechaseonce = false;
nursehere = false;
xspeed = 30;
_root.stairkeys._visible = !stairkeystaken;
if (myexit == 1) {
girl._visible = false;
gotoAndPlay (613);
}
Instance of Symbol 208 MovieClip "inventory" in Frame 612
onClipEvent (load) {
_root.InvRefresh();
}
Frame 641
stop();
Frame 642
if (lvl2dis_Init == undefined) {
lvl2dis_Init = true;
tubevis = false;
lightbroken = false;
officeunlocked = false;
keytaken = false;
storeroomlocked = true;
bM("Just my luck... the light is spoilt...");
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 50;
rightlimit = 520;
uplimit = 0;
downlimit = 450;
numberexits = 1;
RoomAppearX[0] = 503;
RoomAppearY[0] = 310;
RoomScale[0] = 105;
RoomDir[0] = 2;
RoomAppearX[1] = 120;
RoomAppearY[1] = 310;
RoomScale[1] = 105;
RoomDir[1] = 4;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
girlhide._visible = false;
nursechaseonce = false;
nursehere = false;
xspeed = 30;
note._visible = false;
if (lightbroken) {
wholelight.gotoAndStop(24);
}
lighttube._visible = tubevis;
nurseappear._visible = false;
if (storeroomlocked == false) {
_root.storeroom.gotoAndStop(2);
}
_root.vaseclicky._visible = !storeroomlocked;
Instance of Symbol 95 MovieClip "mouse" in Frame 642
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if ((math.abs(_root.girl._x - _root.RoomAppearX[0]) < 50) and _root.doorshade.hitTest(_root._xmouse, _root._ymouse, false)) {
_root.doorshade._visible = true;
} else {
_root.doorshade._visible = false;
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 642
onClipEvent (load) {
_root.InvRefresh();
}
Frame 651
stop();
Frame 666
stop();
Frame 672
function GotoOpRoom() {
gotoAndPlay (466);
}
if (lvl2nurseroom_Init == undefined) {
holevis = false;
hookvis = false;
hookdrop = false;
nurseroompillstaken = false;
nurseroomkeytaken = false;
stonetaken = false;
lvl2nurseroom_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 500;
uplimit = 0;
downlimit = 450;
numberexits = 1;
RoomAppearX[0] = 133;
RoomAppearY[0] = 287;
RoomScale[0] = 116;
RoomDir[0] = 1;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
girlhide._visible = false;
if (holevis) {
hole.gotoAndPlay(2);
}
nursechaseonce = false;
nursehere = false;
xspeed = 30;
hook._visible = hookvis;
Instance of Symbol 95 MovieClip "mouse" in Frame 672
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if ((math.abs(_root.girl._x - _root.coatrack._x) < 50) and _root.coatrack.hitTest(_root._xmouse, _root._ymouse, false)) {
_root.coatrack.shade._visible = true;
} else {
_root.coatrack.shade._visible = false;
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 1;
_root.xspeed = 15;
_Root.GoToOpRoom();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 672
onClipEvent (load) {
_root.InvRefresh();
}
Frame 673
stop();
roomtype = 1;
scalefactor = 10;
leftlimit = 145;
rightlimit = 420;
uplimit = 235;
downlimit = 0;
numberexits = 3;
RoomAppearX[0] = 285;
RoomAppearY[0] = 244;
RoomScale[0] = 50;
RoomDir[0] = 3;
RoomAppearX[1] = 285;
RoomAppearY[1] = 244;
RoomScale[1] = 50;
RoomDir[1] = 1;
RoomAppearX[2] = 285;
RoomAppearY[2] = 315;
RoomScale[2] = 172;
RoomDir[2] = 4;
RoomAppearX[4] = 285;
RoomAppearY[4] = 315;
RoomScale[4] = 498;
RoomDir[4] = 4;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
nurse._visible = false;
nursehere = false;
nursechaseonce = false;
targetX = girl._x;
targetY = girl._y;
if (lvl2liftlobby1_Init == undefined) {
liftwork = false;
canvis = false;
lvl2liftlobby1_Init = true;
}
Instance of Symbol 95 MovieClip "mouse" in Frame 673
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._y > _root.RoomAppearY[2]) {
_root.myexit = 0;
_root.GoToCorri2();
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[1]) < 80) and _root.bg.stairdoor.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.stairdoor.gotoAndPlay(2);
} else {
_root.bg.stairdoor.gotoAndPlay(1);
}
} else {
_root.girl.direction.girl.gotoAndPlay(15);
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 673
onClipEvent (load) {
_root.InvRefresh();
}
Frame 674
stop();
roomtype = 1;
scalefactor = 10;
leftlimit = 145;
rightlimit = 420;
uplimit = 275;
downlimit = 0;
numberexits = 1;
RoomAppearX[0] = 320;
RoomAppearY[0] = 278;
RoomScale[0] = 40;
RoomDir[0] = 3;
RoomAppearX[1] = 320;
RoomAppearY[1] = 314;
RoomScale[1] = 91;
RoomDir[1] = 1;
RoomAppearX[2] = 320;
RoomAppearY[2] = 286;
RoomScale[2] = 52;
RoomDir[2] = 1;
RoomAppearX[3] = 320;
RoomAppearY[3] = 358;
RoomScale[3] = 180;
RoomDir[3] = 4;
RoomAppearX[4] = 320;
RoomAppearY[4] = 365;
RoomScale[4] = 686;
RoomDir[4] = 4;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
nurse._visible = false;
nursehere = false;
nursechaseonce = false;
targetX = girl._x;
targetY = girl._y;
if (lvl2corridor1_Init == undefined) {
lvl12corridor1_Init = true;
}
Instance of Symbol 95 MovieClip "mouse" in Frame 674
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._y > _root.RoomAppearY[3]) {
_root.myexit = 1;
_root.GoCorridor3right();
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[0]) < 80) and _root.bg.bgdoor0.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.bgdoor0.gotoAndPlay(2);
} else {
_root.bg.bgdoor0.gotoAndPlay(1);
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[1]) < 80) and _root.bg.bgdoor1.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.bgdoor1.gotoAndPlay(2);
} else {
_root.bg.bgdoor1.gotoAndPlay(1);
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[2]) < 80) and _root.bg.bgdoor2.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.bgdoor2.gotoAndPlay(2);
} else {
_root.bg.bgdoor2.gotoAndPlay(1);
}
} else {
_root.girl.direction.girl.gotoAndPlay(15);
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 674
onClipEvent (load) {
_root.InvRefresh();
}
Frame 675
stop();
roomtype = 1;
scalefactor = 10;
leftlimit = 145;
rightlimit = 420;
uplimit = 275;
downlimit = 0;
numberexits = 5;
RoomAppearX[0] = 273;
RoomAppearY[0] = 278;
RoomScale[0] = 40;
RoomDir[0] = 3;
RoomAppearX[1] = 273;
RoomAppearY[1] = 314;
RoomScale[1] = 91;
RoomDir[1] = 2;
RoomAppearX[2] = 273;
RoomAppearY[2] = 286;
RoomScale[2] = 52;
RoomDir[2] = 2;
RoomAppearX[3] = 273;
RoomAppearY[3] = 358;
RoomScale[3] = 180;
RoomDir[3] = 4;
RoomAppearX[4] = 273;
RoomAppearY[4] = 365;
RoomScale[4] = 686;
RoomDir[4] = 4;
RoomAppearX[5] = 273;
RoomAppearY[5] = 314;
RoomScale[5] = 91;
RoomDir[5] = 1;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
nurse._visible = false;
nursehere = false;
nursechaseonce = false;
targetX = girl._x;
targetY = girl._y;
if (lvl2corridor2_Init == undefined) {
exitlock = true;
pharmlock = false;
lvl2corridor2_Init = true;
}
Instance of Symbol 95 MovieClip "mouse" in Frame 675
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._y > _root.RoomAppearY[3]) {
_root.myexit = 0;
_root.GoCorridor3left();
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[0]) < 80) and _root.bg.bgdoor0.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.bgdoor0.gotoAndPlay(2);
} else {
_root.bg.bgdoor0.gotoAndPlay(1);
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[1]) < 80) and _root.bg.bgdoor1.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.bgdoor1.gotoAndPlay(2);
} else {
_root.bg.bgdoor1.gotoAndPlay(1);
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[2]) < 80) and _root.bg.bgdoor2.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.bg.bgdoor2.gotoAndPlay(2);
} else {
_root.bg.bgdoor2.gotoAndPlay(1);
}
if ((math.abs(_root.girl._yscale - _root.RoomScale[2]) < 80) and _root.pharmdoor.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.pharmdoor.gotoAndPlay(2);
} else {
_root.pharmdoor.gotoAndPlay(1);
}
} else {
_root.girl.direction.girl.gotoAndPlay(15);
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 675
onClipEvent (load) {
_root.InvRefresh();
}
Frame 676
if (lvl2ward1left_Init == undefined) {
corkup = false;
corkvis = true;
lvl2ward1left_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 50;
RoomAppearY[0] = 242;
RoomScale[0] = 68;
RoomDir[0] = 3;
RoomAppearX[1] = 550;
RoomAppearY[1] = 242;
RoomScale[1] = 68;
RoomDir[1] = 2;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
nursechaseonce = false;
nursehere = false;
Instance of Symbol 95 MovieClip "mouse" in Frame 676
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._x > _root.RoomAppearX[1]) {
_root.myexit = 0;
_Root.GotoCorri3right();
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 3;
_Root.GotoCorri2();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 676
onClipEvent (load) {
_root.InvRefresh();
}
Frame 677
if (lvl2corri3right_Init == undefined) {
exvis = true;
lvl2corri3right_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 50;
RoomAppearY[0] = 242;
RoomScale[0] = 68;
RoomDir[0] = 1;
RoomAppearX[1] = 550;
RoomAppearY[1] = 242;
RoomScale[1] = 68;
RoomDir[1] = 3;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
nursechaseonce = false;
nursehere = false;
ex.ex._visible = exvis;
Instance of Symbol 95 MovieClip "mouse" in Frame 677
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._x > _root.RoomAppearX[1]) {
_root.myexit = 3;
_Root.GotoCorri1();
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 1;
_Root.GotoCorri3left();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 677
onClipEvent (load) {
_root.InvRefresh();
}
Frame 678
if (lvl2ward1left_Init == undefined) {
lvl2ward1left_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 50;
RoomAppearY[0] = 242;
RoomScale[0] = 68;
RoomDir[0] = 1;
RoomAppearX[1] = 550;
RoomAppearY[1] = 242;
RoomScale[1] = 68;
RoomDir[1] = 2;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
nursechaseonce = false;
nursehere = false;
Instance of Symbol 95 MovieClip "mouse" in Frame 678
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.nurse._visible) {
i = 1;
while (i <= 12) {
if (_root.nurse.hitTest(_root["bed" + i])) {
_root.opencurtains(_root["bed" + i]);
}
i++;
}
}
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._x > _root.RoomAppearX[1]) {
_root.myexit = 0;
_Root.GotoWard1right();
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 1;
_Root.GotoCorri2();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 678
onClipEvent (load) {
_root.InvRefresh();
}
Frame 679
if (lvl2ward1right_Init == undefined) {
lvl2ward1right_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 50;
RoomAppearY[0] = 242;
RoomScale[0] = 68;
RoomDir[0] = 1;
RoomAppearX[1] = 550;
RoomAppearY[1] = 242;
RoomScale[1] = 68;
RoomDir[1] = 2;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
nursechaseonce = false;
nursehere = false;
Instance of Symbol 95 MovieClip "mouse" in Frame 679
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.nurse._visible) {
i = 1;
while (i <= 12) {
if (_root.nurse.hitTest(_root["bed" + i])) {
_root.opencurtains(_root["bed" + i]);
}
i++;
}
}
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._x > _root.RoomAppearX[1]) {
_root.myexit = 1;
_Root.GotoCorri1();
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 1;
_Root.GotoWard1left();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 679
onClipEvent (load) {
_root.InvRefresh();
}
Frame 680
if (lvl2ward2left_Init == undefined) {
lvl2ward2left_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 50;
RoomAppearY[0] = 242;
RoomScale[0] = 68;
RoomDir[0] = 1;
RoomAppearX[1] = 550;
RoomAppearY[1] = 242;
RoomScale[1] = 68;
RoomDir[1] = 2;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
nursechaseonce = false;
nursehere = false;
Instance of Symbol 95 MovieClip "mouse" in Frame 680
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.nurse._visible) {
i = 1;
while (i <= 12) {
if (_root.nurse.hitTest(_root["bed" + i])) {
_root.opencurtains(_root["bed" + i]);
}
i++;
}
}
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._x > _root.RoomAppearX[1]) {
_root.myexit = 0;
_Root.GotoWard2right();
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 2;
_Root.GotoCorri2();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 680
onClipEvent (load) {
_root.InvRefresh();
}
Frame 681
if (lvl2ward2right_Init == undefined) {
lvl2ward2right_Init = true;
}
stop();
roomtype = 0;
scalefactor = 0.2;
leftlimit = 0;
rightlimit = 600;
uplimit = 0;
downlimit = 450;
numberexits = 2;
RoomAppearX[0] = 50;
RoomAppearY[0] = 242;
RoomScale[0] = 68;
RoomDir[0] = 1;
RoomAppearX[1] = 550;
RoomAppearY[1] = 242;
RoomScale[1] = 68;
RoomDir[1] = 2;
girl._x = RoomAppearX[myexit];
girl._y = RoomAppearY[myexit];
girl._xscale = RoomScale[myexit];
girl._yscale = RoomScale[myexit];
girl.direction.gotoAndStop(RoomDir[myexit]);
targetX = girl._x;
targetY = girl._y;
nurse._visible = false;
nursechaseonce = false;
nursehere = false;
Instance of Symbol 95 MovieClip "mouse" in Frame 681
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.NurseAction();
if (_root.nurse._visible) {
i = 1;
while (i <= 12) {
if (_root.nurse.hitTest(_root["bed" + i])) {
_root.opencurtains(_root["bed" + i]);
}
i++;
}
}
if (_root.girl._visible) {
if (_root.roomtype == 0) {
_root.GirlMovtX();
} else {
_root.GirlMovtY();
}
if (_root.girl._x > _root.RoomAppearX[1]) {
_root.myexit = 2;
_Root.GotoCorri1();
}
if (_root.girl._x < _root.RoomAppearX[0]) {
_root.myexit = 1;
_Root.GotoWard2left();
}
}
}
onClipEvent (mouseUp) {
_root.targetx = _root._xmouse;
_root.targety = _root._ymouse;
}
Instance of Symbol 208 MovieClip "inventory" in Frame 681
onClipEvent (load) {
_root.InvRefresh();
}
Frame 682
function continuegame() {
gotoAndPlay (466);
}
_root.justdied = true;
if (_root.monstercount >= 20) {
_root.monstercount = _root.monstercount - 10;
}
Frame 730
stop();
Symbol 93 Button
on (release) {
getURL ("http://lutc.blogspot.com", (window = "_blank"));
getURL ("http://www.haloscan.com/comments/lutc/111807179439225054/", (window = "_blank"));
}
Symbol 131 MovieClip Frame 12
gotoAndPlay (1);
Symbol 131 MovieClip Frame 15
stop();
Symbol 131 MovieClip Frame 16
gotoAndPlay (1);
Symbol 131 MovieClip Frame 20
stop();
Symbol 131 MovieClip Frame 21
gotoAndPlay (1);
Symbol 146 MovieClip Frame 12
gotoAndPlay (1);
Symbol 146 MovieClip Frame 15
stop();
Symbol 146 MovieClip Frame 16
gotoAndPlay (1);
Symbol 146 MovieClip Frame 20
stop();
Symbol 146 MovieClip Frame 21
gotoAndPlay (1);
Symbol 161 MovieClip Frame 12
gotoAndPlay (1);
Symbol 161 MovieClip Frame 15
stop();
Symbol 161 MovieClip Frame 16
gotoAndPlay (1);
Symbol 161 MovieClip Frame 20
stop();
Symbol 161 MovieClip Frame 21
gotoAndPlay (1);
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
stop();
Symbol 162 MovieClip Frame 3
stop();
Symbol 162 MovieClip Frame 4
stop();
Symbol 170 Button
on (release) {
if (_root.inv[_root.InvSelected] == 19) {
_root.Drop(_root.InvSelected);
_root.nurseappear.gotoAndPlay(300);
_root.bM("It disappeared...");
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
} else {
_root.bM("...");
}
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
stop();
Symbol 193 MovieClip Frame 4
stop();
Symbol 194 MovieClip Frame 11
if (random(3) == 1) {
temp = random(100);
_root.nursezoom();
}
Symbol 194 MovieClip Frame 20
if (random(3) == 1) {
temp = random(100);
_root.nursezoom();
}
Symbol 194 MovieClip Frame 30
_root.nursezoom();
Symbol 198 Button
on (release) {
if ((_root.InvDisplay + 4) < _root.InvEmpty) {
_root.InvDisplay++;
_root.InvRefresh();
_root.targetx = _root.girl._x;
}
}
Symbol 199 Button
on (release) {
if (_root.InvDisplay > 0) {
_root.InvDisplay--;
_root.InvRefresh();
_root.targetx = _root.girl._x;
}
}
Symbol 200 Button
on (release) {
Choose(_root.InvDisplay);
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 201 Button
on (release) {
Choose(_root.InvDisplay + 1);
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 202 Button
on (release) {
Choose(_root.InvDisplay + 2);
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 203 Button
on (release) {
Choose(_root.InvDisplay + 3);
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 204 Button
on (release) {
Choose(_root.InvDisplay + 4);
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 206 Button
on (release) {
_root.inventory._visible = !_root.inventory._visible;
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 207 Button
on (press) {
_root.inventoryselected = -1;
_root.InvRefresh;
_root.Inventory.startdrag();
}
on (release) {
_root.inventory.stopdrag();
_root.Inv_x = _root.inventory._x;
_root.Inv_y = _root.inventory._y;
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 208 MovieClip Frame 1
function Choose(choice) {
if (_root.inv[choice] > 0) {
_root.InvSelect(choice);
}
}
this._visible = false;
this._x = _root.inv_x;
this._y = _root.inv_y;
Symbol 210 Button
on (release) {
_root.inventory._visible = !_root.inventory._visible;
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 211 Button
on (release) {
_root.bM(_root.Desc[_root.Inv[_root.InvSelected]]);
_root.InvSelected = -1;
_root.InvRefresh();
_root.targetx = _root.girl._x;
_root.targety = _root.girl._y;
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 60
_root.bMx();
Symbol 232 MovieClip Frame 1
stop();
this._visible = false;
Instance of Symbol 95 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (keyUp) {
if (Key.getcode() == 32) {
_root.hitcount++;
}
}
onClipEvent (enterFrame) {
if (_root.hitcount >= _root.monstercount) {
_parent.gotoAndPlay(90);
_root.monstercount = _root.monstercount + 5;
_root.squat = false;
_root.stay();
_root.bM("It disappeared...");
}
}
Symbol 232 MovieClip Frame 2
this._visible = true;
_root.squat = true;
_root.nurseappear.gotoAndPlay(300);
_root.hitcount = 0;
_root.girl.direction.girl.gotoAndStop(20);
Symbol 232 MovieClip Frame 85
_root.gameover();
_root.squat = false;
Symbol 232 MovieClip Frame 90
this._visible = false;
stop();
Symbol 234 MovieClip Frame 12
if (_root.blackcounter >= 3) {
stop();
_root.blackcounter = 4;
}
Symbol 234 MovieClip Frame 48
_root.blackcounter = _root.blackcounter + 1;
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 12
stop();
Symbol 242 Button
on (release) {
_root.words.text = "It's too dark to do anything... I can't even find my matches...";
}
on (rollOver) {
_root.name.words.text = "Darkness";
}
on (rollOut) {
_root.name.words.text = "";
}
Symbol 243 Button
on (release) {
gotoAndPlay (466);
}
on (rollOver) {
_root.name.words.text = "Pull lever";
}
on (rollOut) {
_root.name.words.text = "";
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 3
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
play();
_root.nursechase = false;
Symbol 267 MovieClip Frame 60
if (_parent.closed == false) {
trace("boo");
}
_root.nursechase = false;
Symbol 268 MovieClip Frame 1
stop();
this.closed = true;
this.notmoving = true;
this.hold = false;
bg._visible = _root.insidelift;
inside._visible = !_root.insidelift;
Symbol 268 MovieClip Frame 2
this.notmoving = false;
Symbol 268 MovieClip Frame 25
this.closed = false;
this.notmoving = true;
_root.atfloor = _root.targetfloor;
_root.uparrow._visible = false;
_root.downarrow._visible = false;
Symbol 268 MovieClip Frame 60
this.hold = true;
this.notmoving = true;
this.closed = false;
play();
Symbol 268 MovieClip Frame 80
this.hold = true;
this.notmoving = true;
this.closed = false;
play();
Symbol 268 MovieClip Frame 97
this.hold = false;
this.closing = true;
Symbol 268 MovieClip Frame 133
stop();
this.closed = true;
this.closing = false;
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 104
_root.darkness._visible = true;
Symbol 279 MovieClip Frame 110
_root.gotoOutro();
Symbol 279 MovieClip Frame 140
stop();
_root.downarrow._visible = false;
Symbol 280 Button
on (release) {
if (_root.lift.closed and (_root.liftmoving == false)) {
_root.bM("The elevator is moving.");
_root.downarrow._visible = true;
_root.liftnumbers.play();
_root.liftmoving = true;
}
}
on (rollOver) {
_root.M("Ground floor");
}
on (rollOut) {
_root.Mx();
}
Symbol 281 Button
on (release) {
_root.bM("The button is stuck.");
}
on (rollOver) {
_root.M("Floor 2");
}
on (rollOut) {
_root.Mx();
}
Symbol 282 Button
on (release) {
if (_root.lift.closed) {
_root.bM("Nothing is happening.");
}
}
on (rollOver) {
_root.M("Floor 3");
}
on (rollOut) {
_root.Mx();
}
Symbol 283 Button
on (release) {
_root.bM("I don't think I want to open the elevator door.");
}
on (rollOver) {
_root.M("Open");
}
on (rollOut) {
_root.Mx();
}
Symbol 284 Button
on (release) {
if (_root.lift.closed) {
_root.bM("The elevator door is closed.");
} else {
_root.bM("Close. Close. Close!");
}
}
on (rollOver) {
_root.M("Close");
}
on (rollOut) {
_root.Mx();
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 292 Button
on (release) {
getURL ("http://lutc.blogspot.com", (window = "_blank"));
getURL ("http://www.haloscan.com/comments/lutc/111807179439225054/", (window = "_blank"));
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 47
_root.blackout = true;
Symbol 305 MovieClip Frame 72
if (_root.roomtype == 1) {
_root.nurse._x = _root.RoomAppearX[4];
_root.nurse._y = _root.RoomAppearY[4];
_root.nurse._xscale = _root.RoomScale[4];
_root.nurse._yscale = _root.RoomScale[4];
_root.nurse.direction.gotoAndStop(_root.RoomDir[4]);
} else if (_root.nursechase) {
_root.nurse._x = _root.RoomAppearX[_root.myexit];
_root.nurse._y = _root.RoomAppearY[_root.myexit];
_root.nurse._xscale = _root.RoomScale[_root.myexit];
_root.nurse._yscale = _root.RoomScale[_root.myexit];
_root.nurse.direction.gotoAndStop(_root.RoomDir[_root.myexit]);
} else {
temp = random(_root.numberexits);
_root.nurse._x = _root.RoomAppearX[temp];
_root.nurse._y = _root.RoomAppearY[temp];
_root.nurse._xscale = _root.RoomScale[temp];
_root.nurse._yscale = _root.RoomScale[temp];
_root.nurse.direction.gotoAndStop(_root.RoomDir[temp]);
}
_root.nurse._visible = true;
_root.NurseHere = true;
_root.nursechaseonce = false;
_root.nursechase = true;
Symbol 305 MovieClip Frame 299
if (random(2) == 0) {
gotoAndPlay (290);
}
Symbol 305 MovieClip Frame 300
stop();
_root.nurse._visible = false;
_root.nursechase = false;
_root.nursehere = false;
Symbol 306 Button
on (release) {
_root.bM("It's already on.");
}
on (rollOver) {
_root.M("Emergency power switch");
}
on (rollOut) {
_root.Mx();
}
Symbol 307 Button
on (release) {
if (_root.oproomtimes == 5) {
if (math.abs(_root.girl._x - _root.RoomAppearX[0]) < 50) {
gotoAndPlay (485);
}
} else if (math.abs(_root.girl._x - _root.RoomAppearX[0]) < 50) {
gotoAndPlay (674);
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To corridor");
}
on (rollOut) {
_root.Mx();
}
Symbol 308 Button
on (release) {
if (!nurseout) {
_root.bM("It's locked.");
} else {
_Root.bM("I could have sworn that it was closed a moment ago...");
}
}
on (rollOver) {
_root.M("To nurse room");
}
on (rollOut) {
_root.Mx();
}
Symbol 309 Button
on (release) {
_root.stay();
_root.bM("I don't really want to know what's underneath there...");
}
on (rollOver) {
_root.M("Bloody blanket");
}
on (rollOut) {
_root.Mx();
}
Symbol 310 Button
on (release) {
_root.bM("I wonder what sick operation was carried out here.");
}
on (rollOver) {
_root.M("Blood splattered screen");
}
on (rollOut) {
_root.Mx();
}
Symbol 311 Button
on (release) {
if (_root.scissorvis) {
_root.scissors._visible = false;
_root.scissorvis = false;
_root.Take(13);
_root.bM("This is the only thing on this tray not covered with blood.");
} else {
_root.bM("It's a tray of surgery tools.");
}
}
on (rollOver) {
_root.M("Tool tray");
}
on (rollOut) {
_root.Mx();
}
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 321 Button
on (release) {
_root.bM("It is impossible to get through that gate.");
}
on (rollOver) {
_root.M("Gate");
}
on (rollOut) {
_root.Mx();
}
Symbol 322 Button
on (rollOver) {
_root.M("To lift lobby");
}
on (rollOut) {
_root.Mx();
}
Symbol 323 Button
on (release) {
if ((math.abs(_root.girl._x - _root.RoomAppearX[2]) < 80) and _root.downbutton.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoStair2();
_root.myexit = 1;
}
}
on (rollOver) {
_root.M("To downstairs");
}
on (rollOut) {
_root.Mx();
}
Symbol 324 Button
on (release) {
_root.bM("This is the third floor.");
}
on (rollOver) {
_root.M("3");
}
on (rollOut) {
_root.Mx();
}
Symbol 325 Button
on (release) {
_root.bM("It looks a little rickety but it should be sturdy enough to support my weight.");
}
on (rollOver) {
_root.M("Staircase");
}
on (rollOut) {
_root.Mx();
}
Symbol 328 Button
on (release) {
if (_root.inv[_root.InvSelected] == 24) {
_root.Drop(_root.InvSelected);
_root.take(26);
_root.stairkeystaken = true;
_root.stairkeys._visible = false;
_root.nursechase = true;
} else {
_root.bM("I can't reach it. It's too far away.");
}
}
on (rollOver) {
_root.M("Bunch of keys");
}
on (rollOut) {
_root.Mx();
}
Symbol 330 Button
on (release) {
if (_root.myexit == 1) {
_root.gotoStair3();
_root.myexit = 2;
}
}
on (rollOver) {
_root.M("To floor 3");
}
on (rollOut) {
_root.Mx();
}
Symbol 331 Button
on (release) {
_root.bM("I don't think I can get to the ground floor from here.");
}
on (rollOver) {
_root.M("To ground floor");
}
on (rollOut) {
_root.Mx();
}
Symbol 332 Button
on (release) {
_root.bM("This is the second floor.");
}
on (rollOver) {
_root.M("2");
}
on (rollOut) {
_root.Mx();
}
Symbol 333 Button
on (release) {
_root.bM("It's blocking my way. I can't get through.");
}
on (rollOver) {
_root.M("Piles of Junk");
}
on (rollOut) {
_root.Mx();
}
Symbol 336 Button
on (release) {
if (_root.inv[_root.InvSelected] == 26) {
_root.Drop(_root.InvSelected);
gotoAndPlay (2);
_root.vaseclicky._visible = true;
_root.storeroomlocked = false;
_root.bM("The storeroom is full of junk.");
} else {
_root.bM("It's locked.");
}
}
on (rollOver) {
_root.M("Open storeroom");
}
on (rollOut) {
_root.Mx();
}
Symbol 339 Button
on (release) {
_root.Stay();
_root.bM("It's empty.");
}
on (rollOver) {
_root.M("Empty vase");
}
on (rollOut) {
_root.Mx();
}
Symbol 344 Button
on (release) {
_root.stay();
if (_root.inv[_root.InvSelected] == 18) {
_root.drop(_root.InvSelected);
gotoAndPlay (2);
_root.corkup = true;
_root.bM("I poured the cola into the vase.");
} else {
_root.bM("It is a water-filled vase with a cork floating inside.");
}
}
on (rollOver) {
_root.M("Vase");
}
on (rollOut) {
_root.Mx();
}
Symbol 345 Button
on (release) {
_root.stay();
if (_root.inv[_root.InvSelected] == 18) {
_root.drop(_root.InvSelected);
gotoAndPlay (2);
_root.corkup = true;
} else {
_root.bM("I can't reach it. The opening of the vase is too small.");
}
}
on (rollOver) {
_root.M("Cork");
}
on (rollOut) {
_root.Mx();
}
Symbol 346 Button
on (release) {
_root.stay();
_root.bM("The water level has reached the brim.");
}
on (rollOver) {
_root.M("Vase");
}
on (rollOut) {
_root.Mx();
}
Symbol 347 Button
on (release) {
_root.take(17);
_root.corkvis = false;
gotoAndPlay (13);
_root.bM("Got it.");
}
on (rollOver) {
_root.M("Cork");
}
on (rollOut) {
_root.Mx();
}
Symbol 348 Button
on (release) {
_root.stay();
_root.bM("It's filled with very diluted cola.");
}
on (rollOver) {
_root.M("Vase");
}
on (rollOut) {
_root.Mx();
}
Symbol 350 MovieClip Frame 1
stop();
if (_root.corkup) {
gotoAndPlay (12);
}
Symbol 350 MovieClip Frame 12
stop();
if (_root.corkvis == false) {
gotoAndPlay (13);
}
Symbol 350 MovieClip Frame 13
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 2
stop();
if (_root.corkvis == false) {
vase.gotoAndStop(13);
}
Symbol 356 Button
on (release) {
_root.bM("It is full of pills.");
}
on (rollOver) {
_root.M("Blue pill bottle");
}
on (rollOut) {
_root.Mx();
}
Symbol 359 Button
on (release) {
_root.bM("It is full of pills.");
}
on (rollOver) {
_root.M("Yellow pill bottle");
}
on (rollOut) {
_root.Mx();
}
Symbol 362 Button
on (release) {
_root.bM("It is full of pills.");
}
on (rollOver) {
_root.M("Red pill bottle");
}
on (rollOut) {
_root.Mx();
}
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 2
_root.lightbroken = true;
_root.tubevis = true;
Symbol 370 MovieClip Frame 23
_root.lighttube._visible = true;
Symbol 370 MovieClip Frame 24
stop();
Symbol 371 Button
on (release) {
_root.bM("This might come in handy in sticky situations.");
_root.take(23);
_root.lighttube._visible = false;
_root.tubevis = false;
}
on (rollOver) {
_root.M("Broken lighttube");
}
on (rollOut) {
_root.Mx();
}
Symbol 376 Button
on (release) {
if (math.abs(_root.girl._X - _root.RoomAppearX[0]) < 80) {
_root.gotoCorri2();
_root.myexit = 5;
}
}
on (rollOver) {
_root.M("To corridor");
}
on (rollOut) {
_root.Mx();
}
Symbol 377 Button
on (release) {
_root.bM("There doesn't seem to be anyone outside.");
}
on (rollOver) {
_root.M("Peek through the blinds");
}
on (rollOut) {
_root.Mx();
}
Symbol 378 Button
on (release) {
_root.bM("This is a noticeboard filled with notices.");
}
on (rollOver) {
_root.M("Noticeboard");
}
on (rollOut) {
_root.Mx();
}
Symbol 379 Button
on (release) {
if (inv[InvSelected] == 7) {
_root.bM("It's a Todo list.");
note._visible = true;
} else {
_root.bM("I'll need a light to read.");
}
}
on (rollOver) {
_root.M("Note");
}
on (rollOut) {
_root.Mx();
}
Symbol 380 Button
on (release) {
_root.bM("It's spoilt.");
}
on (rollOver) {
_root.M("Lights");
}
on (rollOut) {
_root.Mx();
}
Symbol 381 Button
on (release) {
_root.bM("I won't make light of the situation. The switch is really not working.");
}
on (rollOver) {
_root.M("Light switch");
}
on (rollOut) {
_root.Mx();
}
Symbol 382 Button
on (release) {
_root.bM("It is full of pill bottles.");
gotoAndPlay (643);
}
on (rollOver) {
_root.M("Shelf");
}
on (rollOut) {
_root.Mx();
}
Symbol 383 Button
on (release) {
gotoAndPlay (656);
}
on (rollOver) {
_root.M("Vase");
}
on (rollOut) {
_root.Mx();
}
Symbol 390 Button
on (release) {
_root.note._visible = false;
if (_root.lightbroken == false) {
_root.wholelight.gotoAndPlay(2);
}
}
on (rollOver) {
_root.M("Close");
}
on (rollOut) {
_root.Mx();
}
Symbol 392 Button
on (release) {
gotoAndPlay (642);
_root.myExit = 1;
}
on (rollOver) {
_root.M("Back");
}
on (rollOut) {
_root.Mx();
}
Symbol 393 Button
on (release) {
if (_root.keytaken == false) {
_root.take(25);
_root.keytaken = true;
} else {
_root.bM("It's empty.");
}
}
on (rollOver) {
_root.M("Red pill bottle");
}
on (rollOut) {
_root.Mx();
}
Symbol 396 Button
on (release) {
if (_root.girl._visible) {
if (_root.inv[_root.InvSelected] == 9) {
_root.Drop(_root.InvSelected);
gotoAndPlay (2);
_root.bM("I made a hole.");
_root.holevis = true;
} else {
_root.bM("It sounds hollow. A good hard whack from a weighted object should do the trick.");
}
}
}
on (rollOver) {
_root.M("Suspicious spot");
}
on (rollOut) {
_root.Mx();
}
Symbol 398 Button
on (release) {
if (_root.girl._visible) {
if (_root.stonetaken == false) {
_root.take(27);
_root.stonetaken = true;
} else if (_root.nurseroomkeytaken == false) {
_root.take(15);
_root.nurseroomkeytaken = true;
} else {
_root.bM("It's empty.");
}
}
}
on (rollOver) {
_root.M("Hole");
}
on (rollOut) {
_root.Mx();
}
Symbol 399 Button
on (release) {
_root.bM("It's really broken now. Ah well... at least it was of some use.");
}
on (rollOver) {
_root.M("Broken torchlight");
}
on (rollOut) {
_root.Mx();
}
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
stop();
Symbol 404 Button
on (release) {
_root.bM("I don't think I want to know what's inside. It'd be too jarring.");
}
on (rollOver) {
_root.M("Jars");
}
on (rollOut) {
_root.Mx();
}
Symbol 408 Button
on (release) {
_root.hookvis = false;
_root.hook._visible = false;
_root.Take(21);
}
on (rollOver) {
_root.M("Hook");
}
on (rollOut) {
_root.Mx();
}
Symbol 413 Button
on (release) {
if (_root.nursehere and (_root.girl._visible == false)) {
_root.girl._visible = true;
_root.girl._x = _root.coatrack._x;
_root.girlhide._visible = false;
gotoAndPlay (2);
} else {
_root.bM("It's a rack of white overcoats.");
_root.coatrack.gotoAndPlay(2);
}
}
on (rollOver) {
_root.M("Coat rack");
}
on (rollOut) {
_root.Mx();
}
Symbol 415 Button
on (release) {
if (_root.nursehere) {
_root.bM("It's too late to do that now.");
} else if (!_root.girlhide._visible) {
_root.bM("I can hide behind here.");
if (shade._visible) {
_root.girl._visible = false;
_root.girlhide._visible = true;
gotoAndPlay (1);
}
} else {
_root.bM("I think the coast is clear.");
_root.girl._visible = true;
_root.girl._x = _root._xmouse;
_root.girlhide._visible = false;
_root.M("Hide behind coat rack");
}
}
on (rollOver) {
if (_root.girlhide._visible) {
_root.M("Come out from behind coat rack");
} else {
_Root.M("Hide behind coat rack");
}
}
on (rollOut) {
_root.Mx();
}
Symbol 416 Button
on (release) {
_root.bM("It's a rack of white overcoats.");
_root.coatrack.gotoAndPlay(1);
}
on (rollOver) {
_root.M("Coat rack");
}
on (rollOut) {
_root.Mx();
}
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
stop();
shade._visible = false;
if (!_root.hookdrop) {
_root.hookdrop = true;
_root.hookvis = true;
_root.hook._visible = true;
_root.bM("Something dropped out.");
}
Symbol 418 Button
on (rollOver) {
_root.M("To operation theatre");
}
on (rollOut) {
_root.Mx();
}
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 2
stop();
Symbol 428 Button
on (release) {
_root.stay();
if (_root.inv[_root.InvSelected] == 16) {
_root.Drop(_root.InvSelected);
_root.canvis = true;
gotoAndPlay (2);
} else {
_root.bM("It only accepts coins.");
}
}
on (rollOver) {
_root.M("Drink machine");
}
on (rollOut) {
_root.Mx();
}
Symbol 429 Button
on (release) {
_root.stay();
_root.bM("There's a can in the slot.");
}
on (rollOver) {
_root.M("Drink machine");
}
on (rollOut) {
_root.Mx();
}
Symbol 430 Button
on (release) {
_root.stay();
_root.take(18);
_root.canvis = false;
gotoAndPlay (1);
}
on (rollOver) {
_root.M("Slot");
}
on (rollOut) {
_root.Mx();
}
Symbol 431 MovieClip Frame 1
stop();
if (_root.canvis) {
gotoAndPlay (2);
}
Symbol 431 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Instance of Symbol 162 MovieClip "run" in Symbol 435 MovieClip Frame 1
onClipEvent (load) {
this.girl.stop();
}
Symbol 436 Button
on (release) {
if (_root.liftcalled) {
if (_root.bg.lift.closed) {
_root.bg.lift.gotoAndPlay(25);
}
if (_root.bg.lift.closing) {
_root.bg.lift.gotoAndPlay(60);
}
} else if (_root.liftwork) {
_root.bM("The lift is on the way.");
_root.liftcalled = true;
_root.bg.lift.gotoAndPlay(2);
} else if (_root.inv[_root.InvSelected] == 17) {
_root.Drop(_root.InvSelected);
_root.bM("It actually fits. I now have a working lift button.");
_root.nursechase = true;
_root.liftwork = true;
} else {
_root.bM("The lift button is missing. Only a small round hole is left.");
}
}
on (rollOver) {
_root.M("Call lift");
}
on (rollOut) {
_root.Mx();
}
Symbol 437 Button
on (release) {
_root.bM("It leads back to the corridor.");
}
on (rollOver) {
_root.M("To corridor");
_root.bg.gotoAndplay(2);
}
on (rollOut) {
_root.Mx();
_root.bg.gotoAndplay(1);
}
Symbol 438 Button
on (release) {
if ((math.abs(_root.girl._yscale - _root.RoomScale[1]) < 80) and _root.bg.stairdoor.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (582);
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To staircase");
}
on (rollOut) {
_root.Mx();
}
Symbol 439 Button
on (release) {
if (_root.bg.lift.closed == false) {
if (math.abs(_root.girl._yscale - _root.RoomScale[0]) < 80) {
_root.insidelift = true;
_root.gotoLiftInside();
}
} else {
_root.bM("The elevator door isn't open.");
}
}
on (rollOver) {
_root.M("Enter elevator");
}
on (rollOut) {
_root.Mx();
}
Symbol 440 Button
on (release) {
if ((math.abs(_root.girl._y - _root.RoomAppearY[0]) < 50) and _root.bg.bgdoor0.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (466);
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To operation theatre");
}
on (rollOut) {
_root.Mx();
}
Symbol 442 Button
on (release) {
_root.bM("It's a list of people staying in Ward A.");
}
on (rollOver) {
_root.M("Occupant list");
}
on (rollOut) {
_root.Mx();
}
Symbol 443 Button
on (release) {
_root.bM("It's a list of people staying in Ward B.");
}
on (rollOver) {
_root.M("Occupant list");
}
on (rollOut) {
_root.Mx();
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 2
stop();
Symbol 448 Button
on (release) {
if ((math.abs(_root.girl._yscale - _root.RoomScale[2]) < 80) and _root.bg.bgdoor2.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (679);
_root.myexit = 1;
}
}
on (rollOver) {
_root.M("To Ward A");
}
on (rollOut) {
_root.Mx();
}
Symbol 449 Button
on (release) {
if ((math.abs(_root.girl._yscale - _root.Roomscale[0]) < 80) and _root.bg.bgdoor0.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (466);
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To operation theatre");
}
on (rollOut) {
_root.Mx();
}
Symbol 450 Button
on (release) {
_root.bM("It leads to another corridor.");
}
on (rollOver) {
_root.M("To corridor");
_root.bg.gotoAndplay(2);
}
on (rollOut) {
_root.Mx();
_root.bg.gotoAndplay(1);
}
Symbol 451 Button
on (release) {
if ((math.abs(_root.girl._yscale - _root.RoomScale[1]) < 80) and _root.bg.bgdoor1.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (681);
_root.myexit = 1;
}
}
on (rollOver) {
_root.M("To Ward B");
}
on (rollOut) {
_root.Mx();
}
Symbol 454 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 2
stop();
Symbol 456 Button
on (release) {
if ((math.abs(_root.girl._yscale - _root.RoomScale[2]) < 80) and _root.bg.bgdoor2.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (678);
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To Ward A");
}
on (rollOut) {
_root.Mx();
}
Symbol 457 Button
on (release) {
if (_root.pharmlock) {
_root.bM("It's locked");
} else if (math.abs(_root.girl._yscale - _root.RoomScale[2]) < 80) {
_root.gotoDis();
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To pharmacy");
}
on (rollOut) {
_root.Mx();
}
Symbol 458 Button
on (release) {
if (_root.inv[_root.InvSelected] == 15) {
_root.exitlock = false;
_root.drop(_root.InvSelected);
_root.bM("I unlocked it.");
} else if (exitlock) {
_root.bM("It's locked.");
} else if ((math.abs(_root.girl._yscale - _root.Roomscale[0]) < 80) and _root.bg.bgdoor0.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoliftlobby1();
_root.myexit = 2;
}
}
on (rollOver) {
_root.M("To exit");
}
on (rollOut) {
_root.Mx();
}
Symbol 459 Button
on (release) {
if ((math.abs(_root.girl._yscale - _root.RoomScale[1]) < 80) and _root.bg.bgdoor1.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndPlay (680);
_root.myexit = 0;
}
}
on (rollOver) {
_root.M("To Ward B");
}
on (rollOut) {
_root.Mx();
}
Symbol 460 Button
on (release) {
_root.bM("I've got to find a way to escape from this nightmare.");
}
on (rollOver) {
_root.M("Exit sign");
}
on (rollOut) {
_root.Mx();
}
Symbol 463 Button
on (rollOver) {
_root.M("To corridor");
}
on (rollOut) {
_root.Mx();
}
Symbol 464 Button
on (release) {
_root.bM("That's a freaking ugly clock.");
}
on (rollOver) {
_root.M("Grandfather clock");
}
on (rollOut) {
_root.Mx();
}
Symbol 465 Button
on (release) {
if (_root.inv[_root.InvSelected] == 25) {
_root.Drop(_root.InvSelected);
if (_root.opromtimes <= 4) {
_root.oproomtimes = 4;
}
_root.bM("The clock is all wound-up.");
_root.chime.gotoAndPlay(2);
} else {
_root.bM("The clock isn't moving. There is a keyhole here though.");
}
}
on (rollOver) {
_root.M("Clock face");
}
on (rollOut) {
_root.Mx();
}
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 25
_root.bM("That sounded like it came from the operation theatre...");
Symbol 476 Button
on (release) {
if (_root.exvis) {
_root.take(19);
_root.exvis = false;
ex.ex._visible = false;
} else {
_root.bM("It's empty.");
}
}
on (rollOver) {
_root.M("Fire extinguisher holder");
}
on (rollOut) {
_root.Mx();
}
Symbol 477 Button
on (release) {
_root.bM("It looks unused.");
}
on (rollOver) {
_root.M("Receptionist counter");
}
on (rollOut) {
_root.Mx();
}
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
stop();
Symbol 484 MovieClip Frame 3
stop();
Symbol 486 Button
on (release) {
if (math.abs(_root.girl._x - _parent._x) < 50) {
gotoAndPlay (2);
}
}
on (rollOver) {
_root.M("Open cabinet");
}
on (rollOut) {
_root.Mx();
}
Symbol 488 Button
on (release) {
if (math.abs(_root.girl._x - _parent._x) < 50) {
switch (_parent) {
case _level0.bed3 :
if (_root.yarnvis) {
_root.yarnvis = false;
_root.Take(20);
}
break;
case _level0.bed12 :
_root.bM("A diary in here reads: Heehee.. I hid it in the third red bottle from the right...");
break;
default :
_root.bM("It's full of useless stuff that I don't need.");
}
}
}
on (rollOver) {
_root.M("Check cabinet");
}
on (rollOut) {
_root.Mx();
}
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 2
stop();
Symbol 490 Button
on (release) {
if (math.abs(_root.girl._x - this._x) < 50) {
switch (this) {
case _level0.bed3 :
_root.bM("Bed A03: It says that Mdm Grace has gone for her surgery.");
break;
case _level0.bed12 :
_root.bM("Bed B06: This is bed belonged to someone named Hil.");
break;
default :
_root.bM("Nothing interesting.");
}
}
}
on (rollOver) {
_root.M("Patient record sheet");
}
on (rollOut) {
_root.Mx();
}
Symbol 491 Button
on (release) {
if (_root.nursehere) {
_root.bM("I can't do that now.");
} else {
_root.bM("I can hide behind here.");
if (_root.girl._visible and (math.abs(_root.girl._x - this._x) < 50)) {
this.curtains.gotoAndPlay(1);
this.bed.gotoAndPlay(3);
_Root.girl._visible = false;
this.bed.hidegirl = true;
} else if (this.bed.hidegirl) {
_root.bM("I think the coast is clear.");
bed.gotoAndPlay(1);
_root.girl._visible = true;
_root.girl._x = _root._xmouse;
this.bed.hidegirl = false;
}
}
}
on (rollOver) {
if (_root.girl._visible) {
_root.M("Hide behind curtains");
} else if (this.bed.hidegirl) {
_root.M("Come out from behind curtains");
}
}
on (rollOut) {
_root.Mx();
}
Symbol 493 Button
on (release) {
if (_root.nursehere and _parent.bed.hidegirl) {
gotoAndPlay (2);
_parent.bed.gotoAndPlay(1);
_root.girl._visible = true;
_root.girl._x = _root._xmouse;
_parent.bed.hidegirl = false;
} else if ((math.abs(_root.girl._x - _parent._x) < 50) or _parent.bed.hidegirl) {
gotoAndPlay (2);
}
}
on (rollOver) {
_root.M("Open curtains");
}
on (rollOut) {
_root.Mx();
}
Symbol 495 Button
on (release) {
if ((math.abs(_root.girl._x - _parent._x) < 50) or _parent.bed.hidegirl) {
gotoAndPlay (1);
}
}
on (rollOver) {
_root.M("Close curtains");
}
on (rollOut) {
_root.Mx();
}
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
stop();
Instance of Symbol 484 MovieClip "bed" in Symbol 497 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hidegirl == false) {
if ((_root.girl._visible and (math.abs(_root.girl._x - _parent._x) < 50)) and _parent.hitTest(_root._xmouse, _root._ymouse, false)) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(1);
}
}
}
onClipEvent (load) {
this.hidegirl = false;
}
Symbol 498 Button
on (rollOver) {
_root.M("To Ward A");
}
on (rollOut) {
_root.Mx();
}
Symbol 499 Button
on (rollOver) {
_root.M("To Ward B");
}
on (rollOut) {
_root.Mx();
}
Symbol 501 Button
on (release) {
if (_root.inv[_root.InvSelected] == 13) {
_root.drop(_root.InvSelected);
_root.take(16);
_root.bM("Heh... this looks just like a coin.");
} else {
_root.stay();
_root.bM("It's a withered potted plant. Strangely enough, the stems remind me of a stack of coins.");
}
}
on (rollOver) {
_root.M("Lunaria annua");
}
on (rollOut) {
_root.Mx();
}
Symbol 506 MovieClip Frame 48
stop();
Symbol 509 Button
on (release) {
_root.continuegame();
}
Symbol 510 MovieClip Frame 1
switch (random(4)) {
case 0 :
_root.hint = "Hint: Press the spacebar on your keyboard repeatedly when you see PANIC.";
break;
case 1 :
_root.hint = "Hint: The more times you PANIC, the harder it gets.";
break;
case 2 :
_root.hint = "Hint: The fire extinguisher can be used as a weapon.";
break;
case 3 :
_root.hint = "Hint: Find places to hide until the ghost goes away.";
}
Symbol 510 MovieClip Frame 48
stop();