Frame 1
function lowQuality() {
_quality = "LOW";
Mouse.hide();
}
function medQuality() {
_quality = "MEDIUM";
Mouse.hide();
}
function highQuality() {
_quality = "HIGH";
Mouse.hide();
}
function autoQuality() {
_quality = "autohigh";
Mouse.hide();
}
function mainMenu() {
_global.savepos();
gotoAndStop ("mainmenu");
}
function rusty() {
getURL ("http://www.rustygames.com", _blank);
}
_global.gamestarted = false;
_global.savepos = function () {
_global.posx = _root.player._x;
_global.posy = _root.player._y;
};
shortcutListener = new Object();
shortcutListener.onKeyDown = function () {
if (Key.getCode() == 32) {
if ((i++) >= 3) {
i = 0;
}
_global.mouse = ["Pick Up ", "Look at ", "Talk to ", "none"][i];
} else if (Key.isDown(90)) {
_global.mouse = "Pick Up ";
} else if (Key.isDown(88)) {
_global.mouse = "Look at ";
} else if (Key.isDown(67)) {
_global.mouse = "Talk to ";
} else if (Key.isDown(86)) {
_global.mouse = "none";
} else if (Key.getCode() == 81) {
if ((i++) >= 2) {
i = 0;
}
_quality = ["HIGH", "MEDIUM", "LOW"][i];
}
};
bgloop = new Sound(this);
Key.addListener(shortcutListener);
_global.celldoor = (_global.controldoor = (_global.sanedoor = (_global.insaneguy = (_global.talking = (_global.guytalking = false)))));
_global.exitsignabovedoor = (_global.saneatdoor = (_global.beastatdoor = (_global.saneguard = (_global.beastroom = false))));
_global.chatposition1 = (_global.chatposition2 = (_global.chatposition3 = 1));
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var lowQuality = new ContextMenuItem("Low Quality", lowQuality);
var medQuality = new ContextMenuItem("Medium Quality", medQuality);
var highQuality = new ContextMenuItem("High Quality", highQuality);
var autoQuality = new ContextMenuItem("Auto Quality", autoQuality);
var mainMenu = new ContextMenuItem("Main Menu", mainMenu);
var rusty = new ContextMenuItem("Visit RustyGames.com", rusty);
myMenu.customItems.push(lowQuality, medQuality, highQuality, autoQuality, mainMenu, rusty);
_root.menu = myMenu;
stop();
Frame 2
Mouse.show();
stop();
Frame 3
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 1;
bgloop.stop();
bgloop.attachSound("fear.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = (_root.player._visible = (_root.aliengoop._visible = (_root.guardsblood._visible = false)));
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor._visible = false;
_root.razor._x = -32;
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb._visible = false;
_root.comb._x = -32;
_root.comb_inv._y = 430;
}
if (_global.flesh) {
_root.flesh_inv._y = 430;
_global.fabric = false;
_root.fabric_inv._y = 512;
}
if (_global.fabric) {
_root.fabric_inv._y = 430;
}
if (_global.soap) {
_root.soap._visible = false;
_root.soap._x = -32;
_root.soap_inv._y = 430;
_root.aliengoop._visible = true;
_root.aliengoop._y = 362.95;
_root.guardsblood._visible = true;
}
if (_global.celldoor) {
_root.flesh_inv._y = 512;
_root.jailbars._x = 1024;
_root.lockingmechanism._x = 1024;
_root.exit1._x = 654;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver_inv._y = 430;
}
if (_global.dirtyhand) {
_root.dirtyhand_inv._y = 430;
}
if (_global.soapyhand) {
_root.soapyhand_inv._y = 430;
}
if (_global.cleanhand) {
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign_inv._y = 430;
}
if (_global.matches) {
_root.matches_inv._y = 430;
}
if (_global.flamethrower) {
_root.flamethrower_inv._y = 430;
}
Instance of Symbol 313 MovieClip in Frame 3
onClipEvent (load) {
if (_global.celldoor) {
gotoAndStop ("dooropen");
}
this.cacheAsBitmap = true;
}
Instance of Symbol 318 MovieClip "aliengoop" in Frame 3
onClipEvent (load) {
if (_global.flesh || (_global.celldoor)) {
gotoAndStop ("notthere");
}
this.cacheAsBitmap = true;
}
Instance of Symbol 324 MovieClip "sink" in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 326 MovieClip "toilet" in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 334 MovieClip "bed" in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 345 MovieClip "player" in Frame 3
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speakingscene1");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = -_global.charsize;
} else {
_root.char._xscale = _global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
if (((_global.mouse == "Lick ") || (_global.mouse == "Drink from ")) || (_global.mouse == "Drink ")) {
_global.mouse = "Talk to ";
}
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Razor Blade";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Comb";
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.fabric_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Orange Fabric";
} else if (_root.flesh_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Burning Flesh";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
} else if (_root.comb.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Comb";
} else if (_root.razor.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Razor Blade";
} else if (_root.bottle.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.mouse == "Talk to ") {
_global.mouse = "Drink ";
} else {
_global.mouseoveritem = "Bottle";
}
} else if (_root.exit1.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "Leave Cell";
} else if (_root.sink.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.mouse == "Talk to ") {
_global.mouse = "Drink from ";
}
_global.mouseoveritem = "Sink";
} else if (_root.toilet.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.mouse == "Talk to ") {
_global.mouse = "Lick ";
}
_global.mouseoveritem = "Toilet";
} else if (_root.jumpsuit.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Extra Orange Jumpsuit";
} else if (_root.soap.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.bed.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bed";
} else if (_root.jailbars.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Jail Bars";
} else if (_root.lockingmechanism.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Locking Mechanism";
} else if (_root.aliengoop.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.flesh) {
_global.mouseoveritem = "Hole where burning flesh was";
} else {
_global.mouseoveritem = "Burning Flesh";
}
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.aliengoop.hitTest(_root._xmouse, _root._ymouse, true) != true) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
}
if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Bottle") {
addSound("anemptybottle.wav", "An empty bottle");
} else if (_global.mouseoveritem == "Toilet") {
addSound("mygrottytoilet.wav", "My grotty piss stained toilet");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Sink") {
addSound("myshittybrokensink.wav", "My shitty broken sink");
} else if (_global.mouseoveritem == "Bed") {
addSound("nothinglikeyourownbed.wav", "There's nothing like your own bed");
} else if (_global.mouseoveritem == "Extra Orange Jumpsuit") {
addSound("justanextraorange.wav", "It's just an extra orange jumpsuit");
} else if (_global.mouseoveritem == "Burning Flesh") {
addSound("whatthehellburningflesh.wav", "What the hell? A heap of burning flesh. It's not human...");
} else if (_global.mouseoveritem == "Jail Bars") {
addSound("asstudyasabrickhouse.wav", "Sturdy as a brick house");
} else if (_global.mouseoveritem == "Locking Mechanism") {
addSound("iwasnevergoodat.wav", "I was never good at picking locks...");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem == "Comb") {
if (_global.comb) {
addSound("alreadyhavethat.wav", "I already have that");
} else {
_global.action = "moving";
_global.targetx = 160;
_global.targety = 378;
_global.itemtograb = "comb";
_global.combo = "active";
}
} else if (_global.mouseoveritem == "Razor Blade") {
if (_global.razor) {
addSound("alreadyhavethat.wav", "I already have that");
} else {
_global.action = "moving";
_global.targetx = 160;
_global.targety = 378;
_global.itemtograb = "razor";
_global.combo = "active";
}
} else if (_global.mouseoveritem == "Soap") {
if (_global.soap) {
addSound("alreadyhavethat.wav", "I already have that");
} else {
_global.action = "moving";
_global.targetx = 195;
_global.targety = 295;
_global.itemtograb = "soap";
_global.combo = "active";
}
} else if (_global.mouseoveritem == "Bottle") {
addSound("itsempty.wav", "It's empty");
} else if ((((((_global.mouseoveritem == "Bed") || (_global.mouseoveritem == "Sink")) || (_global.mouseoveritem == "Toilet")) || (_global.mouseoveritem == "Table")) || (_global.mouseoveritem == "Jail Bars")) || (_global.mouseoveritem == "Locking Mechanism")) {
addSound("icantliftthat.wav", "I can't lift that");
} else if (_global.mouseoveritem == "Extra Orange Jumpsuit") {
addSound("ialreadyhaveone.wav", "I already have one, why would I need another?");
} else if (_global.mouseoveritem == "Burning Flesh") {
addSound("iainttouchingthat.wav", "I ain't touching that. That'll melt my hand off");
}
} else if (_level0.textmessage == "Drink Bottle") {
addSound("ionlywishbottleisempty.wav", "I only wish. The bottle is empty");
} else if (_level0.textmessage == "Clean Bloody Hand") {
_global.dirtyhand = false;
_global.soapyhand = true;
_root.dirtyhand_inv._y = 512;
_root.soapyhand_inv._y = 430;
} else if (_level0.textmessage == "Use Soapy Hand with Toilet") {
_global.targetx = 195;
_global.targety = 295;
_global.action = "moving";
_global.itemtograb = "cleanhand";
_global.combo = "active";
} else if (_global.mouse == "Cut up ") {
if (_global.mouseoveritem == "Extra Orange Jumpsuit") {
if ((_global.fabric || _global.celldoor) || _global.flesh) {
addSound("idontneedanymoreofthat.wav", "I don't need that any more of that");
} else {
_global.targetx = 607;
_global.targety = 322;
_global.action = "moving";
_global.itemtograb = "Orange Fabric";
_global.combo = "active";
}
} else if (_global.mouseoveritem == "Bed") {
addSound("youwantmetohackup.wav", "You want me to hack up my sleeping quarters?");
} else if (_global.mouseoveritem == "Soap") {
addSound("whatwouldyoulikemetocarve.wav", "What would you like me to carve? Perhaps Sir would like a Goose?");
} else if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_global.mouseoveritem == "Leave Cell") {
_global.action = "moving";
_global.itemtograb = "Leave1";
_global.targetx = 633;
_global.targety = 351;
} else if (_level0.textmessage == "Use Fabric with Burning Flesh") {
_global.targetx = 551;
_global.targety = 357;
_global.action = "moving";
_global.combo = "active";
_global.itemtograb = "flesh";
} else if (_level0.textmessage == "Use Burning Flesh with Locking Mechanism") {
_global.targetx = 633;
_global.targety = 351;
_global.action = "moving";
_global.combo = "active";
_global.itemtograb = "Open Door";
} else if ((_level0.textmessage == "Use Matches with deodorant") || (_level0.textmessage == "Use deodorant with Matches")) {
_global.flamethrower = true;
_global.matches = false;
_global.deodorant = false;
_root.matches_inv._y = -32;
_root.deodorant_inv._y = -32;
_root.flamethrower_inv._y = 430;
_global.mouse = "none";
_global.mouseoveritem = "";
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Comb with ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.flesh_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Burning Flesh with ";
_global.mouseoveritem = "";
} else if (_root.fabric_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Fabric with ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
} else if ((_global.action == "getrazor") || (_global.action == "getcomb")) {
_root.char.gotoAndStop("pickupt");
}
_root.char._yscale = 100 + ((_y - 267.2) / 6);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 351 MovieClip in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 363 MovieClip in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 3
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 3
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if (_global.mouse == "Pick Up ") {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if ((((_global.mouse == "Talk to ") || (_global.mouse == "Drink ")) || (_global.mouse == "Drink from ")) || (_global.mouse == "Lick ")) {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if (_global.mouse == "Pick Up ") {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if ((((_global.mouse == "Talk to ") || (_global.mouse == "Drink ")) || (_global.mouse == "Drink from ")) || (_global.mouse == "Lick ")) {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 4
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "razor") {
_global.action = "getrazor";
} else if (_global.itemtograb == "comb") {
_global.action = "getcomb";
} else if (_global.itemtograb == "soap") {
_global.savepos();
gotoAndPlay ("grabsoap");
} else if (_global.itemtograb == "Orange Fabric") {
_global.savepos();
gotoAndPlay ("getfabric");
} else if (_global.itemtograb == "flesh") {
_global.savepos();
gotoAndPlay ("getflesh");
} else if (_global.itemtograb == "cleanhand") {
_global.savepos();
gotoAndPlay ("washhand");
} else if (_global.itemtograb == "Open Door") {
_global.savepos();
gotoAndPlay ("unlockcell");
} else if (_global.itemtograb == "Leave1") {
_global.posx = 82;
_global.posy = 331;
gotoAndPlay (9);
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 5
gotoAndPlay (4);
Frame 7
if (_global.speakingtime < 0) {
gotoAndPlay (4);
_global.talking = false;
}
Frame 8
_global.speakingtime--;
gotoAndPlay (7);
Frame 9
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 2;
bgloop.stop();
bgloop.attachSound("demonveins.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = false;
_root.player._visible = false;
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
if (_global.insaneguy) {
_root.insaneprisoner._y = 512;
_root.IPrisoner._visible = false;
}
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb_inv._y = 430;
}
if (_global.soap) {
_root.soap_inv._y = 430;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver._visible = false;
_root.revolver._x = -32;
_root.revolver_inv._y = 430;
}
if (_global.dirtyhand) {
_root.dirtyhand_inv._y = 430;
}
if (_global.soapyhand) {
_root.soapyhand_inv._y = 430;
}
if (_global.cleanhand) {
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign_inv._y = 430;
}
if (_global.matches) {
_root.matches_inv._y = 430;
}
if (_global.flamethrower) {
_root.flamethrower_inv._y = 430;
}
Instance of Symbol 404 MovieClip in Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 345 MovieClip "player" in Frame 9
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speaking2");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = _global.charsize;
} else {
_root.char._xscale = -_global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
if (_global.mouse == "Slap ") {
_global.mouse = "Pick Up ";
}
} else if (_root.exit2.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "To Cell";
} else if (_root.exit3.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "Go To Corridoor";
} else if (_root.revolver.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.baton.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Baton";
} else if (_root.guardID.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "ID Badge";
} else if (_root.radio.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Guard's Radio";
} else if (_root.insaneprisoner.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.mouse == "Pick Up ") {
_global.mouse = "Slap ";
}
_global.mouseoveritem = "Insane Prisoner";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Razor Blade";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Comb";
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
if (((!_root.revolver.hitTest(_root._xmouse, _root._ymouse, true)) && (!_root.guardID.hitTest(_root._xmouse, _root._ymouse, true))) && (!_root.radio.hitTest(_root._xmouse, _root._ymouse, true))) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
}
if (_global.mouseoveritem == "To Cell") {
_global.action = "moving";
_global.itemtograb = "Leave2";
_global.targetx = 97.6;
_global.targety = 326.6;
} else if (_global.mouseoveritem == "Go To Corridoor") {
_global.action = "moving";
_global.itemtograb = "Leave3";
_global.targetx = 427;
_global.targety = 192;
} else if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Revolver") {
addSound("droppedgun.wav", "It looks like the guard dropped his gun");
} else if (_global.mouseoveritem == "Guard's Radio") {
addSound("guardsradio.wav", "The guards radio");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Baton") {
addSound("nightstick.wav", "The guards nightstick");
} else if (_global.mouseoveritem == "ID Badge") {
addSound("guardsid.wav", "The guards ID badge. It doesn't look like he'll have any use for it now.");
} else if (_global.mouseoveritem == "Insane Prisoner") {
addSound("helooksinsane.wav", "He looks... well... insane");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem == "Baton") {
addSound("batondontneed.wav", "I don't need that. I'd rather havep the gun.");
} else if (_global.mouseoveritem == "ID Badge") {
addSound("doesntlooklike.wav", "He doesn't look anything like me... not now at least");
} else if (_global.mouseoveritem == "Guard's Radio") {
addSound("ithinkitsbroken.wav", "I think it's broken");
} else if (_global.mouseoveritem == "Revolver") {
if (_global.revolver) {
addSound("alreadyhavethat.wav", "I already have that");
} else {
_global.targetx = 195;
_global.targety = 330;
_global.action = "moving";
_global.combo = "active";
_global.itemtograb = "revolver";
}
}
} else if (_level0.textmessage == "Talk to Insane Prisoner") {
_global.action = "moving";
_global.itemtograb = "prisoner";
_global.targetx = 544.2;
_global.targety = 314;
} else if (_level0.textmessage == "Clean Bloody Hand") {
_global.dirtyhand = false;
_global.soapyhand = true;
_root.dirtyhand_inv._y = 512;
_root.soapyhand_inv._y = 430;
} else if (_level0.textmessage == "Slap Insane Prisoner") {
addSound("appreciatethat.wav", "I don't think he'd appreciate that");
} else if ((_level0.textmessage == "Use Matches with deodorant") || (_level0.textmessage == "Use deodorant with Matches")) {
_global.flamethrower = true;
_global.matches = false;
_global.deodorant = false;
_root.matches_inv._y = -32;
_root.deodorant_inv._y = -32;
_root.flamethrower_inv._y = 430;
_global.mouse = "none";
_global.mouseoveritem = "";
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
} else if (_global.mouse == "Cut up ") {
if (_global.mouseoveritem == "Insane Prisioner") {
addSound("suchagoodidea.wav", "I don't think that's such a good idea");
} else if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Comb ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
} else if (_global.action == "getrevolver") {
_root.char.gotoAndStop("pickupf");
}
_root.char._yscale = 100 + ((_y - 267.2) / 4);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 363 MovieClip in Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 9
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 9
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if ((_global.mouse == "Pick Up ") || (_global.mouse == "Slap ")) {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if ((((_global.mouse == "Talk to ") || (_global.mouse == "Drink ")) || (_global.mouse == "Drink from ")) || (_global.mouse == "Lick ")) {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if ((_global.mouse == "Pick Up ") || (_global.mouse == "Slap ")) {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 10
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "Leave2") {
_global.posx = 633;
_global.posy = 351;
gotoAndPlay (3);
} else if (_global.itemtograb == "Leave3") {
_global.posx = 535;
_global.posy = 332;
gotoAndPlay (20);
} else if (_global.itemtograb == "prisoner") {
_level0.textmessage = "";
gotoAndPlay (15);
} else if (_global.itemtograb == "revolver") {
_global.action = "getrevolver";
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 11
gotoAndPlay (10);
Frame 13
if (_global.speakingtime < 0) {
gotoAndPlay (10);
_global.talking = false;
}
Frame 14
_global.speakingtime--;
gotoAndPlay (13);
Frame 15
if (_global.chatposition1 == 1) {
chat11 = "Who are you?";
chat12 = "What is this place?";
chat13 = "What the bloody hell was that just then?";
} else if (_global.chatposition1 == 2) {
chat11 = "Your deodorant?";
chat12 = "Can I have it?";
chat13 = "Hey look over there!";
} else if (_global.chatposition1 == 3) {
chat11 = "Let me have it!";
chat12 = "Look out! A piece of succulent salmon!";
chat13 = "The beast will be attracted to the smell";
}
stop();
Instance of Symbol 349 MovieClip "char" in Frame 15
onClipEvent (load) {
gotoAndStop ("still");
}
Instance of Symbol 430 MovieClip "chat11b" in Frame 15
onClipEvent (load) {
function saySound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
}
speech = new Sound(this);
if (_global.said == 1) {
_global.guytalking = true;
saySound("chupa.wav", "I'm... chuppa... chuppa chuppa.... chuppa");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 2) {
_global.guytalking = true;
saySound("afactory.wav", "Is a factory... no no, is not a factory. Is a prison! You can not escape. No escape says I. No escape says everyone!");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 3) {
_global.guytalking = true;
saySound("themonster.wav", "The Monster. The monster was let out again. Let away. The beast. He won't touch my deodorant, my precious deodorant. No! He won't! I'll claw his face off!");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 4) {
_global.guytalking = true;
saySound("mine.wav", "It's mine! You can't have it!");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 5) {
_global.guytalking = true;
saySound("sweatyarms.wav", "And leave me with sweaty arm pits? No! I think not!");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 6) {
_global.guytalking = true;
saySound("trickyone.wav", "Ohh, you're a tricky one. Ahh yes you are. You can't trick me though. Ohh no way!");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 7) {
_global.guytalking = true;
_global.said = 8;
saySound("itsnottrue.wav", "No... is not true");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 8) {
_global.talking = true;
_global.said = 9;
saySound("shewantedyou.wav", "Oh yeah son. I saw her looking at you. She wanted you");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 9) {
_global.talking = false;
_global.guytalking = true;
_global.said = 10;
saySound("betrayme.wav", "No! It can't be! My deodorant wouldn't betray me... why would it? WHY WOULD IT?");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 10) {
_global.talking = true;
_global.guytalking = false;
_global.said = 11;
saySound("ithatesyou.wav", "Err.. face it. It hates you");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 11) {
_global.talking = false;
_global.guytalking = true;
_global.said = 12;
saySound("idontbelieveit.wav", "Nooo.. Noo... I don't believe it!");
_level0.gotoAndPlay("InsaneTalking");
} else if (_global.said == 12) {
_global.guytalking = false;
_global.insaneguy = true;
_global.deodorant = true;
saySound("ahhh.wav", "Ahh! Eeeyaaaiiia ahhhh");
_global.posx = 600;
_global.posy = 327;
_global.said = 999;
_level0.gotoAndPlay("insanefreak");
}
_level0.textmessage = "";
}
onClipEvent (mouseDown) {
function saySound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
}
if (_global.chatposition1 == 1) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 1;
saySound("whoareyou.wav", "Who are you?");
_level0.gotoAndPlay("CharTalkingInsane");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 2;
saySound("whatisthisplace.wav", "What is this place?");
_level0.gotoAndPlay("CharTalkingInsane");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 3;
_global.chatposition1 = 2;
saySound("whatthehellwasthat.wav", "What the bloody hell was that just then?");
_level0.gotoAndPlay("CharTalkingInsane");
}
} else if (_global.chatposition1 == 2) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 4;
saySound("yourdeoderant.wav", "Your deodorant?");
_level0.gotoAndPlay("CharTalkingInsane");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 5;
_global.chatposition1 = 3;
saySound("thatsafinedeoderant.wav", "That's a fine looking deodorant can. Can I have it?");
_level0.gotoAndPlay("CharTalkingInsane");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 6;
_global.chatposition1 = 3;
saySound("heylookoverthere.wav", "Hey look over there! A three headed beast!");
_level0.gotoAndPlay("CharTalkingInsane");
}
} else if (_global.chatposition1 == 3) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 5;
saySound("letmehaveit.wav", "Come on. Let me have it!");
_level0.gotoAndPlay("CharTalkingInsane");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 6;
saySound("heylookoverthere.wav", "Hey look over there! A three headed beast!");
_level0.gotoAndPlay("CharTalkingInsane");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 7;
_global.chatposition1 = 3;
saySound("youknowthebeast.wav", "You know, I think the beast is a lass. She may be attracted to the smell...");
_level0.gotoAndPlay("CharTalkingInsane");
}
}
}
Instance of Symbol 394 MovieClip "pointer" in Frame 15
onClipEvent (load) {
Mouse.hide();
startDrag ("", true);
gotoAndStop ("mouseup");
}
Frame 16
if (_global.speakingtime < 0) {
_global.talking = false;
gotoAndPlay ("TalkingInsane");
}
Frame 17
_global.speakingtime--;
gotoAndPlay (16);
Frame 18
if (_global.speakingtime < 0) {
_global.guytalking = false;
if (_global.said < 8) {
_global.said = 999;
}
gotoAndPlay ("TalkingInsane");
}
Frame 19
_global.speakingtime--;
gotoAndPlay (18);
Frame 20
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 3;
bgloop.stop();
bgloop.attachSound("fear.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = (_root.player._visible = false);
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb_inv._y = 430;
}
if (_global.soap) {
_root.soap_inv._y = 430;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver_inv._y = 430;
}
if (_global.dirtyhand) {
_root.guardshand._x = -32;
_root.dirtyhand_inv._y = 430;
}
if (_global.soapyhand) {
_root.guardshand._x = -32;
_root.soapyhand_inv._y = 430;
}
if (_global.cleanhand) {
_root.guardshand._x = -32;
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign_inv._y = 430;
}
if (_global.matches) {
_root.matches_inv._y = 430;
}
if (_global.flamethrower) {
_root.flamethrower_inv._y = 430;
}
Instance of Symbol 345 MovieClip "player" in Frame 20
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speaking3");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = -_global.charsize;
} else {
_root.char._xscale = _global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
} else if (_root.leave4.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "Go To Cells";
} else if (_root.leave5.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "To Hall Way";
} else if (_root.leave6.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "More Cells";
} else if (_root.guardshand.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Guard's Hand";
} else if (_root.deadguard.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Mutilated Guard";
} else if (_root.gascannister.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Gas Cannister";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Razor Blade";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Comb";
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
if (_global.mouseoveritem == "Go To Cells") {
_global.action = "moving";
_global.itemtograb = "Leave4";
_global.targetx = 588;
_global.targety = 348;
} else if (_global.mouseoveritem == "To Hall Way") {
_global.action = "moving";
_global.itemtograb = "Leave5";
_global.targetx = 77;
_global.targety = 272;
} else if (_global.mouseoveritem == "More Cells") {
_global.action = "moving";
_global.itemtograb = "Leave6";
_global.targetx = 633;
_global.targety = 234;
} else if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Revolver") {
addSound("droppedgun.wav", "It looks like the guard dropped his gun");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Mutilated Guard") {
addSound("headcleanoff.wav", "His head has been taken clean off, not to mention the rest of his body");
} else if (_global.mouseoveritem == "Guard's Hand") {
addSound("guardshand.wav", "It's the guards hand...");
} else if (_global.mouseoveritem == "Gas Cannister") {
addSound("flammablegas.wav", "It's apparently full of flammable gas");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem == "Gas Cannister") {
addSound("icantliftthat.wav", "I can't lift that");
} else if (_global.mouseoveritem == "Mutilated Guard") {
addSound("ughwhichpart.wav", "Ugh, Which part?");
} else if (_global.mouseoveritem == "Guard's Hand") {
addSound("itsattached.wav", "It's attatched to his body");
}
} else if (_global.mouse == "Cut up ") {
if (_global.mouseoveritem == "Guard's Hand") {
_global.action = "moving";
_global.itemtograb = "guardshand";
_global.targetx = 542;
_global.targety = 214;
} else if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_level0.textmessage == "Clean Bloody Hand") {
_global.dirtyhand = false;
_global.soapyhand = true;
_root.dirtyhand_inv._y = 512;
_root.soapyhand_inv._y = 430;
} else if ((_level0.textmessage == "Use Matches with deodorant") || (_level0.textmessage == "Use deodorant with Matches")) {
_global.flamethrower = true;
_global.matches = false;
_global.deodorant = false;
_root.matches_inv._y = -32;
_root.deodorant_inv._y = -32;
_root.flamethrower_inv._y = 430;
_global.mouse = "none";
_global.mouseoveritem = "";
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Comb ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
}
_root.char._yscale = 120 + ((_y - 267.2) / 3);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 349 MovieClip "char" in Frame 20
onClipEvent (enterFrame) {
if (_global.action == "still") {
gotoAndStop ("still");
} else if (_global.action == "moving") {
gotoAndStop ("moving");
}
}
Instance of Symbol 363 MovieClip in Frame 20
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 20
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 20
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 20
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 20
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if (_global.mouse == "Pick Up ") {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if (_global.mouse == "Pick Up ") {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 21
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "Leave4") {
_global.posx = 427;
_global.posy = 192;
gotoAndPlay (9);
} else if (_global.itemtograb == "Leave5") {
_global.posx = 610;
_global.posy = 305;
gotoAndPlay (26);
} else if (_global.itemtograb == "Leave6") {
_global.posx = 320;
_global.posy = 360;
gotoAndPlay (32);
} else if (_global.itemtograb == "guardshand") {
_global.savepos();
gotoAndPlay ("cutoffhand");
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 22
gotoAndPlay (21);
Frame 24
if (_global.speakingtime < 0) {
gotoAndPlay (21);
_global.talking = false;
}
Frame 25
_global.speakingtime--;
gotoAndPlay (24);
Frame 26
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 4;
bgloop.stop();
bgloop.attachSound("fear.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = (_root.player._visible = false);
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
if (_global.beastatdoor) {
_root.controldooropen._visible = false;
_root.controldoor._visible = false;
_root.handscan._visible = false;
_root.handscan._x = -256;
_root.gascannister._x = -256;
_root.saneguy._x = -256;
_root.saneguy._visible = false;
} else {
if (_global.controldoor == false) {
_root.exit8._y = -128;
_root.controldooropen._visible = (_root.controldoorsmashed._visible = false);
} else {
_root.controldoor._visible = (_root.controldoorsmashed._visible = false);
}
if (_global.saneatdoor == false) {
_root.saneguy._x = -256;
_root.saneguy._visible = false;
}
_root.beasteating._x = -1024;
_root.beasteating._visible = false;
}
if (_global.exitsignabovedoor) {
_root.exitsign._x = 57;
}
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb_inv._y = 430;
}
if (_global.soap) {
_root.soap_inv._y = 430;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver_inv._y = 430;
}
if (_global.dirtyhand) {
_root.dirtyhand_inv._y = 430;
}
if (_global.soapyhand) {
_root.soapyhand_inv._y = 430;
}
if (_global.cleanhand) {
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign_inv._y = 430;
}
if (_global.matches) {
_root.matches_inv._y = 430;
}
if (_global.flamethrower) {
_root.flamethrower_inv._y = 430;
}
Instance of Symbol 473 MovieClip "floorspace" in Frame 26
onClipEvent (load) {
if (_global.beastatdoor) {
gotoAndStop ("beast");
} else if (_global.sanedoor) {
gotoAndStop ("sane");
} else {
gotoAndStop ("normal");
}
}
Instance of Symbol 476 MovieClip "nonobject" in Frame 26
onClipEvent (load) {
if (_global.beastatdoor) {
gotoAndStop ("beastherefinal");
}
}
Instance of Symbol 491 MovieClip "exitdoor" in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 345 MovieClip "player" in Frame 26
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speaking4");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = -_global.charsize;
} else {
_root.char._xscale = _global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
if ((_global.mouse == "Use ") || (_global.mouse == "Open ")) {
_global.mouse = "Pick Up ";
}
} else if (_root.exit7.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "To Corridoor";
} else if (_root.exit8.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "Enter Control Room";
} else if (_root.controldoor.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Control Room Door";
if (_global.mouse == "Pick Up ") {
_global.mouse = "Open ";
}
} else if (_root.handscan.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Hand Scanner";
if (_global.mouse == "Pick Up ") {
_global.mouse = "Use ";
}
} else if (_root.gascannister.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Gas Cannister";
} else if (_root.hangingnail.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Hanging Nail";
} else if (_root.exitdoor.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Door";
} else if (_root.beasteating.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "The Beast";
} else if (_root.saneguy.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Sane Prisoner";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Razor Blade";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Comb";
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
} else if (_root.flamethrower_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Makeshift Flamethrower";
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
if (_level0.textmessage == "Clean Bloody Hand") {
_global.dirtyhand = false;
_global.soapyhand = true;
_root.dirtyhand_inv._y = 512;
_root.soapyhand_inv._y = 430;
} else if (_level0.textmessage == "Use Hand with Hand Scanner") {
if ((_global.beastroom == false) && (_global.controldoor == false)) {
_global.action = "moving";
_global.itemtograb = "opencpdoor";
_global.targetx = 336;
_global.targety = 273;
} else if (_global.saneatdoor) {
_global.action = "moving";
_global.itemtograb = "opencpdoorsecond";
_global.targetx = 336;
_global.targety = 273;
} else if (_global.beastroom) {
addSound("ifiopenthatdoor.wav", "If I open the door now the beast is gunna come flying out here and rip my limbs right from my body");
} else {
addSound("idontthinkthatwillwork", "What for?");
}
} else if (_level0.textmessage == "Use Bloody Hand with Hand Scanner") {
_global.action = "moving";
_global.itemtograb = "opencpdoorb";
_global.targetx = 336;
_global.targety = 273;
} else if (_level0.textmessage == "Use Soapy Hand with Hand Scanner") {
_global.action = "moving";
_global.itemtograb = "opencpdoors";
_global.targetx = 336;
_global.targety = 273;
} else if (_level0.textmessage == "Use Hand Scanner") {
_global.action = "moving";
_global.itemtograb = "opencpdoorh";
_global.targetx = 336;
_global.targety = 273;
} else if (_level0.textmessage == "Open Control Room Door") {
addSound("validhandprint.wav", "It's locked. I think I need a valid hand print");
} else if (_global.mouseoveritem == "To Corridoor") {
_global.action = "moving";
_global.itemtograb = "Leave7";
_global.targetx = 610;
_global.targety = 305;
} else if (_global.mouseoveritem == "Enter Control Room") {
_global.action = "moving";
if (_global.beastatdoor) {
_global.itemtograb = "Leave20";
} else {
_global.itemtograb = "Leave8";
}
_global.targetx = 392;
_global.targety = 269;
} else if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Revolver") {
addSound("droppedgun.wav", "It looks like the guard dropped his gun");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Hand Scanner") {
addSound("lookslikeineedavalid.wav", "It looks like I need a valid hand print to open the door");
} else if (_global.mouseoveritem == "Hanging Nail") {
addSound("littlehangingnail.wav", "A little hanging nail above the red door...");
} else if (_global.mouseoveritem == "Gas Cannister") {
addSound("flammablegas.wav", "It's apparently full of flammable gas");
} else if (_global.mouseoveritem == "Control Room Door") {
addSound("ithinkthisdoorcontrol.wav", "I think tchis door leads to the control room");
} else if (_global.mouseoveritem == "Door") {
addSound("reddoorlocked.wav", "It's a red door. I think it's locked");
} else if (_global.mouseoveritem == "The Beast") {
addSound("thatbigbeatpoorguyinside.wav", "That big fucking beast is eating that poor guy from the inside out.");
} else if (_global.mouseoveritem == "Sane Prisoner") {
addSound("onlysaneguyleft.wav", "The only sane guy left in this place trying to open a locked door...");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem != "") {
addSound("icantliftthat.wav", "I can't lift that");
}
} else if (_level0.textmessage == "Use Exit Sign with Hanging Nail") {
_global.action = "moving";
_global.itemtograb = "putexitsign";
_global.targetx = 132;
_global.targety = 310;
} else if (_level0.textmessage == "Talk to Sane Prisoner") {
addSound("helookskindabusy.wav", "He looks kinda busy. I don't think I'll interrupt him");
} else if ((_level0.textmessage == "Use Matches with deodorant") || (_level0.textmessage == "Use deodorant with Matches")) {
_global.flamethrower = true;
_global.matches = false;
_global.deodorant = false;
_root.matches_inv._y = -32;
_root.deodorant_inv._y = -32;
_root.flamethrower_inv._y = 430;
_global.mouse = "none";
_global.mouseoveritem = "";
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
} else if (_level0.textmessage == "Use Makeshift Flamethrower on The Beast") {
_level0.gotoAndPlay("endscene");
} else if (_global.mouse == "Cut up ") {
if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_level0.textmessage == "Comb The Beast") {
addSound("appreciateagrooming.wav", "He doesn't look like the kinda Dog who's appreciate a grooming");
} else if (_level0.textmessage == "Shoot The Beast") {
addSound("asmuchasidliketo.wav", "As much as I'd like to. I think that'll piss him off even more");
} else if (_level0.textmessage == "Clean The Beast") {
addSound("doyouwantmebath.wav", "Do you want me to give him a bath?");
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Comb ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
} else if (_root.flamethrower_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Makeshift Flamethrower on ";
_global.mouseoveritem = "";
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
}
_root.char._yscale = 100 + ((_y - 267.2) / 4);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 559 MovieClip in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 363 MovieClip in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 26
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 26
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if (((_global.mouse == "Pick Up ") || (_global.mouse == "Use ")) || (_global.mouse == "Open ")) {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if (((_global.mouse == "Pick Up ") || (_global.mouse == "Use ")) || (_global.mouse == "Open ")) {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 27
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "Leave7") {
_global.posx = 77;
_global.posy = 272;
gotoAndPlay (20);
} else if (_global.itemtograb == "Leave8") {
_global.posx = 220;
_global.posy = 280;
gotoAndPlay (43);
} else if (_global.itemtograb == "Leave20") {
_global.posx = 220;
_global.posy = 280;
gotoAndPlay (54);
} else if (_global.itemtograb == "opencpdoor") {
_global.savepos();
gotoAndPlay ("opencpdoor");
} else if (_global.itemtograb == "opencpdoorsecond") {
gotoAndPlay ("beasteatsane");
} else if (_global.itemtograb == "opencpdoorb") {
_global.savepos();
gotoAndPlay ("opencpdoorb");
} else if (_global.itemtograb == "opencpdoors") {
_global.savepos();
gotoAndPlay ("opencpdoors");
} else if (_global.itemtograb == "opencpdoorh") {
_global.savepos();
gotoAndPlay ("opencpdoorh");
} else if (_global.itemtograb == "putexitsign") {
_global.savepos();
gotoAndPlay ("exitsignup");
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 28
gotoAndPlay (27);
Frame 30
if (_global.speakingtime < 0) {
gotoAndPlay (27);
_global.talking = false;
}
Frame 31
_global.speakingtime--;
gotoAndPlay (30);
Frame 32
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 5;
bgloop.stop();
bgloop.attachSound("March.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = (_root.player._visible = false);
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
if (_global.saneatdoor) {
_root.saneprisoner._x = -512;
_root.sanechar._visible = false;
}
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb_inv._y = 430;
}
if (_global.soap) {
_root.soap_inv._y = 430;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver_inv._y = 430;
}
if (_global.dirtyhand) {
_root.dirtyhand_inv._y = 430;
}
if (_global.soapyhand) {
_root.soapyhand_inv._y = 430;
}
if (_global.cleanhand) {
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign_inv._y = 430;
}
if (_global.matches) {
_root.matches_inv._y = 430;
}
if (_global.flamethrower) {
_root.flamethrower_inv._y = 430;
}
Instance of Symbol 345 MovieClip "player" in Frame 32
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speaking5");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = _global.charsize;
} else {
_root.char._xscale = -_global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
if ((_global.mouse == "Use ") || (_global.mouse == "Open ")) {
_global.mouse = "Pick Up ";
}
} else if (_root.leave9.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "To Hallway";
} else if (_root.handscan.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Hand Scanner";
if (_global.mouse == "Pick Up ") {
_global.mouse = "Use ";
}
} else if (_root.bloodycell.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Cell";
} else if (_root.saneprisoner.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Sane Prisoner";
if (_global.mosue == "Pick Up ") {
_global.mouse = "Slap ";
}
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Comb";
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
if (_level0.textmessage == "Clean Bloody Hand") {
_global.dirtyhand = false;
_global.soapyhand = true;
_root.dirtyhand_inv._y = 512;
_root.soapyhand_inv._y = 430;
} else if ((_level0.textmessage == "Use Matches with deodorant") || (_level0.textmessage == "Use deodorant with Matches")) {
_global.flamethrower = true;
_global.matches = false;
_global.deodorant = false;
_root.matches_inv._y = -32;
_root.deodorant_inv._y = -32;
_root.flamethrower_inv._y = 430;
_global.mouse = "none";
_global.mouseoveritem = "";
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
} else if (_level0.textmessage == "Slap Sane Prisoner") {
addSound("appreciatethat.wav", "I don't think he'd appreciate that");
} else if (_level0.textmessage == "Talk to Sane Prisoner") {
_global.action = "moving";
_global.itemtograb = "SanePrisoner";
_global.targetx = 380;
_global.targety = 297;
} else if (_global.mouseoveritem == "To Hallway") {
_global.action = "moving";
_global.itemtograb = "Leave9";
_global.targetx = 320;
_global.targety = 360;
} else if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Revolver") {
addSound("droppedgun.wav", "It looks like the guard dropped his gun");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Sane Prisoner") {
addSound("seemsthereissomeone.wav", "It seems there is someone around here whom I can talk to after all");
} else if (_global.mouseoveritem == "Bloody Cell") {
addSound("iamnotgoinginthere.wav", "That is fucking sick. You have got another thing coming mate if you think I am going in there!");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem != "") {
addSound("icantliftthat.wav", "I can't lift that");
}
} else if (_global.mouse == "Cut up ") {
if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Comb ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
}
_root.char._yscale = 120 + ((_y - 267.2) / 3);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 363 MovieClip in Frame 32
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 32
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 32
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 32
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 32
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if ((_global.mouse == "Pick Up ") || (_global.mouse == "Slap ")) {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if ((_global.mouse == "Pick Up ") || (_global.mouse == "Slap ")) {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 33
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "Leave9") {
_global.posx = 633;
_global.posy = 234;
gotoAndPlay (20);
} else if (_global.itemtograb == "SanePrisoner") {
_global.savepos();
gotoAndPlay ("TalkingSane");
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 34
gotoAndPlay (33);
Frame 36
if (_global.speakingtime < 0) {
gotoAndPlay (33);
_global.talking = false;
}
Frame 37
_global.speakingtime--;
gotoAndPlay (36);
Frame 38
if (_global.sanedoor == false) {
if (_global.chatposition2 == 1) {
chat11 = "Well, you seem sane";
chat12 = "Hi, what's your name?";
chat13 = "Good evening";
} else if (_global.chatposition2 == 2) {
chat11 = "Someone is definatly a grumpy Gus";
chat12 = "I think I should be going";
chat13 = "";
}
} else if (_global.chatposition2 == 1) {
chat11 = "Come on! We have to get out of here!";
chat12 = "Your door is open! We have to escape!";
chat13 = "";
} else if (_global.chatposition2 == 2) {
chat11 = "Do you have any other options?";
chat12 = "I don't know? Maybe that big fucking beast?";
chat13 = "Never-fucking-mind";
} else if (_global.chatposition2 == 3) {
chat11 = "...Sure";
chat12 = "Yeah... I guess";
chat13 = "Of course...";
}
stop();
Instance of Symbol 349 MovieClip in Frame 38
onClipEvent (load) {
gotoAndStop ("still");
}
Instance of Symbol 430 MovieClip "chat11b" in Frame 38
onClipEvent (load) {
function saySound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
}
speech = new Sound(this);
if (_global.said == 1) {
_global.guytalking = true;
saySound("sanesane.wav", "Sane?! Sane?! Is that what you call it?!");
_level0.gotoAndPlay("SaneTalking");
} else if (_global.said == 2) {
_global.guytalking = true;
saySound("whyshoulditrustyou.wav", "Why should I trust you? You're one of them! I know it!");
_level0.gotoAndPlay("SaneTalking");
} else if (_global.said == 4) {
_global.guytalking = true;
saySound("doyouknowwhat.wav", "DO YOU KNOW WHAT I JUST SAW?!");
_level0.gotoAndPlay("SaneTalking");
} else if (_global.said == 5) {
_global.said = 999;
_global.chatposition2 = 1;
_level0.gotoAndPlay("Scene5Start");
} else if (_global.said == 6) {
_global.guytalking = true;
saySound("whywhatsthepoint.wav", "Why? What's the point?");
_level0.gotoAndPlay("SaneTalking");
} else if (_global.said == 8) {
_global.guytalking = true;
if (_global.exitsignabovedoor) {
_global.said = 20;
} else {
_global.chatposition2 = 3;
}
saySound("doyouknowawayout.wav", "Do you know a way out?");
_level0.gotoAndPlay("SaneTalking");
} else if (_global.said == 20) {
_global.guytalking = false;
_global.talking = true;
_global.said = 21;
saySound("theexit.wav", "The Exit is just around the corner!");
_level0.gotoAndPlay("CharTalking");
} else if (_global.said == 21) {
_global.talking = false;
_global.guytalking = true;
_global.said = 22;
saySound("okayletsgo.wav", "Okay, let's go!");
_level0.gotoAndPlay("CharTalking");
} else if (_global.said == 22) {
_global.talking = false;
_global.guytalking = false;
_level0.gotoAndPlay("sanerun");
} else if (_global.said == 9) {
_global.said = 999;
_global.chatposition2 = 1;
_level0.gotoAndPlay("Scene5Start");
} else if (_global.said == 10) {
_global.guytalking = true;
_global.said = 23;
saySound("yourelyingiknow.wav", "You're lying! I know it! I'm not moving from this cell!");
_level0.gotoAndPlay("SaneTalking");
} else if (_global.said == 23) {
_global.said = 999;
_global.chatposition2 = 1;
_level0.gotoAndPlay("Scene5Start");
}
_level0.textmessage = "";
}
onClipEvent (mouseDown) {
function saySound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
}
if (_global.sanedoor == false) {
if (_global.chatposition2 == 1) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 1;
saySound("wellyouseem.wav", "Well, You seem sane");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 2;
_global.chatposition2 = 2;
saySound("whatsyourname.wav", "Hi, what's your name?");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 2;
_global.chatposition2 = 2;
saySound("goodevening.wav", "Good evening, I'm selling these fine orange jumpsuits");
_level0.gotoAndPlay("CharTalking");
}
} else if (_global.chatposition2 == 2) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 4;
saySound("grumpygus.wav", "Someone is definatly a Grumpy Gus");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 5;
saySound("ithinkishould.wav", "Okay, Well I think I should be going");
_level0.gotoAndPlay("CharTalking");
}
}
} else if (_global.chatposition2 == 1) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 6;
_global.chatposition2 = 2;
saySound("comeongetout.wav", "Come on! We have to get out of here!");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 6;
_global.chatposition2 = 2;
saySound("cellunlocked.wav", "Your cell is unlocked! We have to get out of here now!");
_level0.gotoAndPlay("CharTalking");
}
} else if (_global.chatposition2 == 2) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 8;
saySound("doyouhaveoptions.wav", "Do you have any other options?");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 8;
saySound("idontknowbigbeast.wav", "Oh I don't know? Maybe that big fucking beast?");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 9;
saySound("neverfuckingmind.wav", "Never-fucking-mind");
_level0.gotoAndPlay("CharTalking");
}
} else if (_global.chatposition2 == 3) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 10;
saySound("sure.wav", "...Sure");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 10;
saySound("yeahiguess.wav", "Yeah... I guess");
_level0.gotoAndPlay("CharTalking");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 10;
saySound("ofcoursetake.wav", "Of course... What do you take me for?");
_level0.gotoAndPlay("CharTalking");
}
}
}
Instance of Symbol 394 MovieClip "pointer" in Frame 38
onClipEvent (load) {
Mouse.hide();
startDrag ("", true);
gotoAndStop ("mouseup");
}
Frame 39
if (_global.speakingtime < 0) {
_global.talking = false;
gotoAndPlay (38);
}
Frame 40
_global.speakingtime--;
gotoAndPlay (39);
Frame 41
if (_global.speakingtime < 0) {
_global.guytalking = false;
if (_global.said < 19) {
_global.said = 999;
}
gotoAndPlay (38);
}
Frame 42
_global.speakingtime--;
gotoAndPlay (41);
Frame 43
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 6;
bgloop.stop();
bgloop.attachSound("demonveins.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = (_root.player._visible = false);
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
if (_global.controldoor == false) {
_root.exit8._y = -128;
_root.controldooropen._visible = false;
} else {
_root.controldoor._visible = false;
}
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb_inv._y = 430;
}
if (_global.soap) {
_root.soap_inv._y = 430;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver_inv._y = 430;
}
if (_global.cleanhand) {
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign._x = -32;
_root.exitsign_inv._y = 430;
}
if (_global.exitsignabovedoor) {
_root.exitsign._x = -32;
}
Instance of Symbol 625 MovieClip "bin" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 667 MovieClip "a32server" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 673 MovieClip "watercooler" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 675 MovieClip "exit10" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 345 MovieClip "player" in Frame 43
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speaking6");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = _global.charsize;
} else {
_root.char._xscale = -_global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
if ((_global.mouse == "Use ") || (_global.mouse == "Slap ")) {
_global.mouse = "Pick Up ";
}
} else if (_root.exit10.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "Leave Control Room";
} else if (_root.watercooler.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Water Tank";
if (_global.mouse == "Pick Up ") {
_global.mouse = "Use ";
}
} else if (_root.matches.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
if (_global.mouse == "Slap ") {
_global.mouse = "Pick Up ";
}
} else if (_root.exitsign.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.bin.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bin";
} else if (_root.a32server.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "A-32 Server";
} else if (_root.controls.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Control Panel";
} else if (_root.guard.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Security Guard";
if (_global.mouse == "Pick Up ") {
_global.mouse = "Slap ";
}
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
if ((!_root.guard.hitTest(_root._xmouse, _root._ymouse, true)) && (!_root.matches.hitTest(_root._xmouse, _root._ymouse, true))) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
}
if (_global.mouseoveritem == "Leave Control Room") {
_global.action = "moving";
_global.itemtograb = "Leave10";
_global.targetx = 220;
_global.targety = 280;
} else if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Revolver") {
addSound("droppedgun.wav", "It looks like the guard dropped his gun");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Water Tank") {
addSound("mmhawatercooler.wav", "Mmmh, a water cooler");
} else if (_global.mouseoveritem == "Matches") {
addSound("ithinktheybelongaskhim.wav", "I think they belong to the security guard. I better ask him");
} else if (_global.mouseoveritem == "Exit Sign") {
addSound("curiousexitsign.wav", "A curiously binned self-powered exit sign");
} else if (_global.mouseoveritem == "Bin") {
addSound("wastepaperbin.wav", "It's a waste paper bin");
} else if (_global.mouseoveritem == "A-32 Server") {
addSound("a32servercabinet.wav", "Ahh. A top of the range A-32 Server cabinet... I really don't know what I am talking about.");
} else if (_global.mouseoveritem == "Control Panel") {
addSound("brokenscreens.wav", "Lots of broken screens, it doesn't seems like they're much use any more");
} else if (_global.mouseoveritem == "Security Guard") {
addSound("onlyremainingguard.wav", "It looks like he's the only remaining security guard in this place");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem == "Exit Sign") {
if (_global.exitsign) {
addSound("alreadyhavethat.wav", "I already have that");
} else {
_global.action = "moving";
_global.itemtograb = "exitsign";
_global.targetx = 220;
_global.targety = 280;
}
} else if (_global.mouseoveritem == "Matches") {
addSound("ithinktheybelongaskhim.wav", "I think they belong to the security guards. I better ask him...");
} else if (_global.mouseoveritem != "") {
addSound("icantliftthat.wav", "I can't lift that");
}
} else if (_level0.textmessage == "Slap Security Guard") {
if (_global.saneguard) {
addSound("slappedhimonce.wav", "I've already slapped him once. I don't think doing it again will help");
} else {
_global.targetx = 310;
_global.targety = 376;
_global.itemtograb = "saneguard";
_global.action = "moving";
}
} else if (_level0.textmessage == "Talk to Security Guard") {
_global.targetx = 310;
_global.targety = 376;
_global.itemtograb = "talktosaneguard";
_global.action = "moving";
} else if (_global.mouse == "Cut up ") {
if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Comb ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
}
_root.char._yscale = 110 + ((_y - 267.2) / 3);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 693 MovieClip "guard" in Frame 43
onClipEvent (load) {
if (_global.saneguard) {
gotoAndStop ("guardsane");
} else {
gotoAndStop ("guardinsane");
}
}
Instance of Symbol 698 MovieClip in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 363 MovieClip in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 43
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 43
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if (((_global.mouse == "Pick Up ") || (_global.mouse == "Use ")) || (_global.mouse == "Slap ")) {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if (((_global.mouse == "Pick Up ") || (_global.mouse == "Use ")) || (_global.mouse == "Slap ")) {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 44
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "Leave10") {
_global.posx = 392;
_global.posy = 269;
gotoAndPlay (26);
} else if (_global.itemtograb == "saneguard") {
_global.savepos();
gotoAndPlay ("slapguard");
} else if (_global.itemtograb == "exitsign") {
_global.savepos();
gotoAndPlay ("grabexit");
} else if (_global.itemtograb == "talktosaneguard") {
_global.savepos();
gotoAndPlay ("TalkingG");
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 45
gotoAndPlay (44);
Frame 47
if (_global.speakingtime < 0) {
gotoAndPlay (44);
_global.talking = false;
}
Frame 48
_global.speakingtime--;
gotoAndPlay (47);
Frame 49
if (_global.saneguard == false) {
chat11 = "Who are you?";
chat12 = "What happened here?";
chat13 = "Nevermind";
} else if (_global.chatposition3 == 1) {
chat11 = "What is this place?";
chat12 = "You're a guard here?";
chat13 = "What is happening here?";
} else if (_global.chatposition3 == 2) {
chat11 = "What can we do?";
chat12 = "Where is the beast right now?";
if (_global.exitsign || (_global.exitsignabovedoor)) {
chat13 = "Exit sign?";
} else {
chat13 = "I'll get to it!";
}
}
stop();
Instance of Symbol 349 MovieClip "char" in Frame 49
onClipEvent (load) {
gotoAndStop ("still");
}
Instance of Symbol 704 MovieClip in Frame 49
onClipEvent (load) {
if (_global.saneguard) {
gotoAndStop ("saneguardtalk");
} else {
gotoAndStop ("insaneguardtalk");
}
}
Instance of Symbol 430 MovieClip "chat11b" in Frame 49
onClipEvent (load) {
function saySound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
}
speech = new Sound(this);
if (_global.said == 1) {
_global.guytalking = true;
saySound("rambling.wav", "*inane whimpering*");
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 2) {
_global.said = 999;
_level0.gotoAndPlay("Scene6Start");
} else if (_global.said == 3) {
_global.guytalking = true;
saySound("itsaprison.wav", "It's a prison... well, it was. Now it's a living fucking nightmare");
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 4) {
_global.guytalking = true;
saySound("dontmakenodifferent.wav", "Yeah I am, Although I don't make no fucking difference, we're all meat in the eyes of that.. that thing...");
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 5) {
_global.guytalking = true;
saySound("abeastthebeast.wav", "A beast... THE beast... it got free. It's on the loose. We won't make it out");
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 6) {
_global.guytalking = true;
saySound("nothingwecando.wav", "Nothing! There is nothing we can do. We're trapped here! They locked the entire place down, there is no way out!");
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 7) {
_global.guytalking = true;
saySound("everywherenowhere.wav", "It's everywhere. It's fucking nowhere, it sees us all!");
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 8) {
_global.guytalking = true;
saySound("foroneofthedoors.wav", "It was for the one of the doors. But there is no exit now, they're sealed entire place... so I took it down, it was taunting... driving me insane!");
_global.said = 10;
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 9) {
_global.said = 999;
_level0.gotoAndPlay("Scene6Start");
} else if (_global.said == 10) {
_global.guytalking = false;
_global.talking = true;
_global.said = 11;
saySound("canyouopencelldoors.wav", "Can you... open the cell doors for me?");
_level0.gotoAndPlay("MTalking");
} else if (_global.said == 11) {
_global.guytalking = true;
_global.talking = false;
saySound("whypointless.wav", "Why? It's fucking pointless!");
_global.said = 12;
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 12) {
_global.guytalking = false;
_global.talking = true;
_global.said = 13;
saySound("allthehelp.wav", "We're gunna need help we can get if we're gunna make it out of here alive.");
_level0.gotoAndPlay("MTalking");
} else if (_global.said == 13) {
_global.guytalking = true;
_global.talking = false;
saySound("iguessso.wav", "Okay I guess so. Now which one was it? Ah here...");
_global.said = 14;
_level0.gotoAndPlay("GTalking");
} else if (_global.said == 14) {
_global.beastroom = true;
_global.sanedoor = true;
_global.controldoor = false;
_level0.gotoAndPlay("controlbeast");
}
_level0.textmessage = "";
}
onClipEvent (mouseDown) {
function saySound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
}
if (_global.saneguard == false) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 1;
saySound("whoareyoucop.wav", "Who are you?");
_level0.gotoAndPlay("MTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 1;
saySound("whatthehellhappened.wav", "What the hell happened to you?");
_level0.gotoAndPlay("MTalking");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 2;
saySound("bethatway.wav", "Alright, be that way then Dickshit");
_level0.gotoAndPlay("MTalking");
}
} else if (_global.chatposition3 == 1) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 3;
_global.chatcopthing1 = true;
if ((_global.chatcopthing1 && (_global.chatcopthing2)) && (_global.chatcopthing3)) {
_global.chatposition3 = 2;
}
saySound("tellmewhatis.wav", "Tell me... what is this place?");
_level0.gotoAndPlay("MTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 4;
_global.chatcopthing2 = true;
if ((_global.chatcopthing1 && (_global.chatcopthing2)) && (_global.chatcopthing3)) {
_global.chatposition3 = 2;
}
saySound("youraguardhere.wav", "You! You're a guard here?");
_level0.gotoAndPlay("MTalking");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 5;
_global.chatcopthing3 = true;
if ((_global.chatcopthing1 && (_global.chatcopthing2)) && (_global.chatcopthing3)) {
_global.chatposition3 = 2;
}
saySound("whatthefuckisgoingon.wav", "What the fuck is going on here?");
_level0.gotoAndPlay("MTalking");
}
} else if (_global.chatposition3 == 2) {
if (_root.chat11b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 6;
saySound("whatcanwedo.wav", "What can we do?");
_level0.gotoAndPlay("MTalking");
} else if (_root.chat12b.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.talking = true;
_global.said = 7;
saySound("whereisthebeast.wav", "Where is the beast now?");
_level0.gotoAndPlay("MTalking");
} else if (_root.chat13b.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.exitsign || (_global.exitsignabovedoor)) {
_global.talking = true;
_global.said = 8;
saySound("exitsign.wav", "What the hell is this exit sign for?");
_level0.gotoAndPlay("MTalking");
} else {
_global.talking = true;
_global.said = 9;
saySound("rightillget.wav", "Right, I'll get to it!");
_level0.gotoAndPlay("MTalking");
}
}
}
}
Instance of Symbol 394 MovieClip "pointer" in Frame 49
onClipEvent (load) {
Mouse.hide();
startDrag ("", true);
gotoAndStop ("mouseup");
}
Frame 50
if (_global.speakingtime < 0) {
_global.talking = false;
gotoAndPlay (49);
}
Frame 51
_global.speakingtime--;
gotoAndPlay (50);
Frame 52
if (_global.speakingtime < 0) {
_global.guytalking = false;
if (_global.said < 9) {
_global.said = 999;
}
gotoAndPlay (49);
}
Frame 53
_global.speakingtime--;
gotoAndPlay (52);
Frame 54
_global.action = "still";
_global.mouse = "none";
_global.mouseoveritem = "";
_global.itemtograb = "none";
_global.combo = "inactive";
_level0.textmessage = "";
_global.scene = 7;
bgloop.stop();
bgloop.attachSound("March.mp3");
bgloop.start(0, 999);
_root.floorspace._visible = (_root.player._visible = false);
_root.player._x = _global.posx;
_root.player._y = _global.posy;
_root.char._x = _root.player._x;
_root.char._y = _root.player._y;
if (_global.controldoor == false) {
_root.exit8._y = -128;
_root.controldooropen._visible = false;
} else {
_root.controldoor._visible = false;
}
_global.charsize = _root.char._xscale;
if (_global.razor) {
_root.razor_inv._y = 430;
}
if (_global.comb) {
_root.comb_inv._y = 430;
}
if (_global.soap) {
_root.soap_inv._y = 430;
}
if (_global.deodorant) {
_root.deodorant_inv._y = 430;
}
if (_global.revolver) {
_root.revolver_inv._y = 430;
}
if (_global.cleanhand) {
_root.cleanhand_inv._y = 430;
}
if (_global.exitsign) {
_root.exitsign_inv._y = 430;
}
if (_global.matches) {
_root.matches._x = -32;
_root.matches_inv._y = 430;
}
if (_global.flamethrower) {
_root.matches._x = -32;
_root.flamethrower_inv._y = 430;
}
Instance of Symbol 665 MovieClip in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 730 MovieClip "guardsremains" in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 735 MovieClip "brokenstuff" in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 742 MovieClip "guardsskin" in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 345 MovieClip "player" in Frame 54
onClipEvent (load) {
function addSound(soundname, txtmessage) {
speech.attachSound(soundname);
speech.start(0, 1);
_level0.textmessage = txtmessage;
_global.speakingtime = (speech.duration / 1000) * 30;
_global.talking = true;
_global.mouse = "none";
_level0.gotoAndPlay("speaking7");
}
function movechar() {
var _local7 = _global.targetx - _x;
var _local8 = _global.targety - _y;
if (_local7 > 0) {
_root.char._xscale = _global.charsize;
} else {
_root.char._xscale = -_global.charsize;
}
var _local10 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
var _local9 = _local10 / speed;
_x = (_x + (_local7 / _local9));
_y = (_y + (_local8 / _local9));
var _local4 = _x + (_width / 2);
var _local3 = _y - (_height / 2);
var _local5 = _x - (_width / 2);
var _local6 = _y + (_height / 2);
while ((!_root.floorspace.hitTest(_local5, _local3, true)) && (!_root.floorspace.hitTest(_local4, _local3, true))) {
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
_local5 = _x - (_width / 2);
}
while (!_root.floorspace.hitTest(_local4, _local3, true)) {
_x = (_x-1);
_y = (_y+1);
_local4 = _x + (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local3, true)) {
_x = (_x+1);
_y = (_y+1);
_local5 = _x - (_width / 2);
_local3 = _y - (_height / 2);
}
while (!_root.floorspace.hitTest(_local5, _local6, true)) {
_x = (_x+1);
_y = (_y-1);
_local5 = _x - (_width / 2);
_local6 = _y + (_height / 2);
}
while (!_root.floorspace.hitTest(_local4, _local6, true)) {
_x = (_x-1);
_y = (_y-1);
_local4 = _x + (_width / 2);
_local6 = _y + (_height / 2);
}
if ((Math.abs(lastx - _x) < 2) && (Math.abs(lasty - _y) < 2)) {
_global.action = "still";
}
lastx = _x;
lasty = _y;
if (Math.round(_local10) <= speed) {
_global.action = "still";
}
}
speed = 8;
speech = new Sound(this);
}
onClipEvent (mouseMove) {
if (_root.nonobject.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "";
} else if (_root.exit10.hitTest(_root._xmouse, _root._ymouse, true) && (_global.mouse == "none")) {
_global.mouseoveritem = "Leave Control Room";
} else if (_root.brokenstuff.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Broken Stuff";
} else if (_root.matches.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
} else if (_root.brokentable.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Broken Table";
} else if (_root.guardsremains.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Guards Remains";
} else if (_root.guardsskin.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Guards Skin";
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soap";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Revolver";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "deodorant";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Clean Hand";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Bloody Hand";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Soapy Hand";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Exit Sign";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouseoveritem = "Matches";
}
}
onClipEvent (mouseDown) {
if (_root.floorspace.hitTest(_root._xmouse, _root._ymouse, true)) {
if ((!_root.guard.hitTest(_root._xmouse, _root._ymouse, true)) && (!_root.matches.hitTest(_root._xmouse, _root._ymouse, true))) {
_global.targetx = _root._xmouse;
_global.targety = _root._ymouse;
_global.action = "moving";
_global.mouse = "none";
_global.itemtograb = "none";
}
}
if (_global.mouseoveritem == "Leave Control Room") {
_global.action = "moving";
_global.itemtograb = "Leave10";
_global.targetx = 220;
_global.targety = 280;
} else if (_root.grabicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Pick Up ";
} else if (_root.lookicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Look at ";
} else if (_root.talkicon.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Talk to ";
} else if (_global.mouse == "Look at ") {
if (_global.mouseoveritem == "Comb") {
addSound("justalowlycomb.wav", "Just a lowly comb. I use it for my beard");
} else if (_global.mouseoveritem == "Razor Blade") {
addSound("myshavingrazor.wav", "My shaving razor. Haven't used it in a while");
} else if (_global.mouseoveritem == "Revolver") {
addSound("droppedgun.wav", "It looks like the guard dropped his gun");
} else if (_global.mouseoveritem == "Soap") {
addSound("lookslikethesoap.wav", "Look like the soap fell on the floor");
} else if (_global.mouseoveritem == "Broken Stuff") {
addSound("ithinkitsapileofshit.wav", "I think it's a pile of broke shit");
} else if (_global.mouseoveritem == "Matches") {
addSound("packofmatchesuse.wav", "A pack of matches. I don't think the guard will have much use for them any more");
} else if (_global.mouseoveritem == "Exit Sign") {
addSound("flammablegas.wav", "A curiously binned self-powered exit sign");
} else if (_global.mouseoveritem == "Broken Table") {
addSound("itsabrokentable.wav", "It's a broken table");
} else if (_global.mouseoveritem == "Guards Remains") {
addSound("moredisgusting.wav", "I don't think I've seen anything more disgusting than that...");
} else if (_global.mouseoveritem == "Guards Skin") {
addSound("itsskin.wav", "It's... Erm... skin... Why wold you make me look at these things?");
}
} else if (_global.mouse == "Pick Up ") {
if (_global.mouseoveritem == "Matches") {
if (_global.matches) {
addSound("alreadyhavethat.wav", "I already have that");
} else {
_global.action = "moving";
_global.itemtograb = "matches";
_global.targetx = 405;
_global.targety = 333;
}
} else if (_global.mouseoveritem != "") {
addSound("icantliftthat.wav", "I can't lift that");
}
} else if ((_level0.textmessage == "Use Matches with deodorant") || (_level0.textmessage == "Use deodorant with Matches")) {
if (_global.matches) {
_global.flamethrower = true;
_global.matches = false;
_global.deodorant = false;
_root.matches_inv._y = -32;
_root.deodorant_inv._y = -32;
_root.flamethrower_inv._y = 430;
_global.mouse = "none";
_global.mouseoveritem = "";
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
} else {
_global.action = "moving";
_global.itemtograb = "flamethrower";
_global.targetx = 405;
_global.targety = 333;
addSound("makeshiftflamethrower.wav", "Ha ahh. That's what I'm talking about. A makeshift flamethrower");
}
} else if (_global.mouse == "Cut up ") {
if ((_global.mouseoveritem == "Razor Blade") || (_global.mouseoveritem == "")) {
} else {
addSound("justwhatdoyou.wav", "Just what do you take me for?");
}
} else if (_root.soap_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Clean ";
_global.mouseoveritem = "";
} else if (_root.comb_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Comb ";
_global.mouseoveritem = "";
} else if (_root.razor_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Cut up ";
_global.mouseoveritem = "";
} else if (_root.revolver_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Shoot ";
_global.mouseoveritem = "";
} else if (_root.deodorant_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use deodorant with ";
_global.mouseoveritem = "";
} else if (_root.cleanhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Hand with ";
_global.mouseoveritem = "";
} else if (_root.dirtyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Bloody Hand with ";
_global.mouseoveritem = "";
} else if (_root.soapyhand_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Soapy Hand with ";
_global.mouseoveritem = "";
} else if (_root.exitsign_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Exit Sign with ";
_global.mouseoveritem = "";
} else if (_root.matches_inv.hitTest(_root._xmouse, _root._ymouse, true)) {
_global.mouse = "Use Matches with ";
_global.mouseoveritem = "";
_global.apeshit = true;
} else if (((_global.mouse != "none") && (_global.mouseoveritem != "")) && (_global.combo == "inactive")) {
randommessage = Math.round(Math.random() * 5);
if (randommessage == 0) {
addSound("idontthinkthatwillwork", "I don't think that will work");
} else if (randommessage == 1) {
addSound("iamnotdoingthat", "I am not doing that");
} else if (randommessage == 2) {
addSound("idrathernot", "I'd really rather not");
} else if (randommessage == 3) {
addSound("gotobejoking", "You've got to be joking");
} else if (randommessage == 4) {
addSound("areyouinsane", "Are you insane?");
}
}
}
onClipEvent (enterFrame) {
currentscale = _root.char._xscale * (_global.charsizze / 100);
if ((_global.itemtograb != "none") && (_global.action != "moving")) {
_root.char._xscale = _global.charsize;
}
if (_global.action == "moving") {
movechar();
_root.char.gotoAndStop("moving");
} else if (_global.action == "still") {
_root.char.gotoAndStop("still");
} else if ((_global.action == "getmatches") || (_global.action == "getflame")) {
_root.char.gotoAndStop("pickupf");
}
_root.char._yscale = 110 + ((_y - 267.2) / 3);
if (_root.char._xscale < 0) {
_root.char._xscale = -_root.char._yscale;
} else {
_root.char._xscale = _root.char._yscale;
}
_root.char._x = _x;
_root.char._y = _y;
}
Instance of Symbol 363 MovieClip in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 293 MovieClip "grabicon" in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 295 MovieClip "lookicon" in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Frame 54
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 394 MovieClip "pointer" in Frame 54
onClipEvent (load) {
function buttonpressed() {
if (_global.mouseoveritem != "") {
if (_global.mouse == "Pick Up ") {
gotoAndStop ("handdown");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyedown");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthdown");
} else {
gotoAndStop ("mousedown");
}
} else if (_global.mouse == "Pick Up ") {
gotoAndStop ("handup");
} else if (_global.mouse == "Look at ") {
gotoAndStop ("eyeup");
} else if (_global.mouse == "Talk to ") {
gotoAndStop ("mouthup");
} else {
gotoAndStop ("mouseup");
}
}
Mouse.hide();
startDrag ("", true);
stop();
}
onClipEvent (mouseUp) {
buttonpressed();
}
onClipEvent (keyUp) {
buttonpressed();
}
onClipEvent (mouseMove) {
buttonpressed();
}
Frame 55
if (_global.action == "still") {
if (_global.itemtograb != "none") {
if (_global.itemtograb == "Leave10") {
_global.posx = 468;
_global.posy = 300;
gotoAndPlay (26);
} else if (_global.itemtograb == "matches") {
_global.action = "getmatches";
} else if (_global.itemtograb == "flamethrower") {
_global.action = "getflame";
}
}
}
if (_global.mouse == "none") {
textmessage = _global.mouseoveritem;
} else {
textmessage = _global.mouse + _global.mouseoveritem;
}
Frame 56
gotoAndPlay (55);
Frame 58
if (_global.speakingtime < 0) {
gotoAndPlay (55);
_global.talking = false;
}
Frame 59
_global.speakingtime--;
gotoAndPlay (58);
Frame 60
bgloop.stop();
stop();
Frame 69
bgloop.stop();
stop();
Frame 77
bgloop.stop();
stop();
Frame 85
bgloop.stop();
stop();
Frame 94
bgloop.stop();
stop();
Frame 103
bgloop.stop();
stop();
Frame 110
bgloop.stop();
stop();
Frame 118
bgloop.stop();
stop();
Frame 125
bgloop.stop();
stop();
Frame 132
bgloop.stop();
stop();
Frame 141
bgloop.stop();
stop();
Frame 151
bgloop.stop();
stop();
Frame 161
bgloop.stop();
stop();
Frame 171
bgloop.stop();
stop();
Frame 179
bgloop.stop();
stop();
Frame 189
bgloop.stop();
stop();
Frame 197
bgloop.stop();
stop();
Frame 205
bgloop.stop();
stop();
Frame 211
bgloop.stop();
stop();
Symbol 155 Button
on (release) {
getURL ("http://www.rustygames.com", "_blank");
}
Symbol 163 MovieClip Frame 55
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndPlay (57);
}
Symbol 163 MovieClip Frame 56
gotoAndPlay (55);
Symbol 163 MovieClip Frame 70
_root.play();
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
if (_global.talking) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 188 MovieClip Frame 10
gotoAndPlay (1);
Symbol 207 Button
on (release) {
getURL ("http://www.rustygames.com", "_blank");
}
Symbol 221 Button
on (release) {
_global.celldoor = true;
_global.itemtograb = "none";
_global.action = "still";
_global.mouse = "none";
_global.flesh = false;
_global.cleanhand = true;
_global.controldoor = true;
_quality = "LOW";
gotoAndPlay (1);
}
Symbol 226 Button
on (release) {
gotoAndPlay (1);
}
Symbol 245 Button
on (release) {
_global.celldoor = true;
_global.itemtograb = "none";
_global.action = "still";
_global.mouse = "none";
_global.flesh = false;
_global.cleanhand = true;
_global.controldoor = true;
_quality = "LOW";
_root.play();
}
Symbol 246 Button
on (release) {
_root.play();
}
Symbol 247 Button
on (release) {
_quality = "HIGH";
}
Symbol 248 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 249 Button
on (release) {
getURL ("http://www.rustygames.com/", "_blank");
}
Symbol 250 Button
on (release) {
getURL ("http://www.partytuesday.co.uk", "_blank");
}
Symbol 251 Button
on (release) {
gotoAndPlay (37);
}
Symbol 252 Button
on (release) {
Mouse.show();
_global.razor = (_global.comb = (_global.soap = (_global.fabric = (_global.flesh = (_global.revolver = (_global.deodorant = (_global.cleanhand = (_global.dirtyhand = (_global.soapyhand = (_global.matches = (_global.exitsign = (_global.flamethrower = false))))))))))));
_global.posx = 344;
_global.posy = 355;
_global.gamestarted = true;
_root.gotoAndPlay("intro");
}
Symbol 253 Button
on (release) {
_quality = "LOW";
}
Symbol 288 Button
on (release) {
switch (_global.scene) {
case 1 :
_root.gotoAndPlay("Scene1Start");
break;
case 2 :
_root.gotoAndPlay("Scene2Start");
break;
case 3 :
_root.gotoAndPlay("Scene3Start");
break;
case 4 :
_root.gotoAndPlay("Scene4Start");
break;
case 5 :
_root.gotoAndPlay("Scene5Start");
break;
case 6 :
_root.gotoAndPlay("Scene6Start");
break;
case 7 :
_root.gotoAndPlay("Scene7Start");
break;
default :
_root.play();
}
}
Symbol 290 Button
on (release) {
_global.celldoor = true;
_global.itemtograb = "none";
_global.action = "still";
_global.mouse = "none";
_global.cleanhand = true;
_global.beastatdoor = true;
_global.matches = true;
_global.deodorant = true;
_quality = "LOW";
_root.play();
}
Symbol 291 Button
on (release) {
Mouse.show();
_global.razor = (_global.comb = (_global.soap = (_global.fabric = (_global.flesh = (_global.revolver = (_global.deodorant = (_global.cleanhand = (_global.dirtyhand = (_global.soapyhand = (_global.matches = (_global.exitsign = (_global.flamethrower = false))))))))))));
_global.gamestarted = true;
_root.play();
}
Symbol 303 Button
on (release) {
play();
}
Instance of Symbol 201 MovieClip in Symbol 304 MovieClip Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 229 MovieClip in Symbol 304 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
mediumq._alpha = 50;
lowq._alpha = 50;
highq._alpha = 100;
} else if (_quality == "MEDIUM") {
mediumq._alpha = 100;
lowq._alpha = 50;
highq._alpha = 50;
} else if (_quality == "LOW") {
mediumq._alpha = 50;
lowq._alpha = 100;
highq._alpha = 50;
}
}
Symbol 304 MovieClip Frame 35
if (_quality == "HIGH") {
mediumq._alpha = 50;
lowq._alpha = 50;
highq._alpha = 100;
} else if (_quality == "MEDIUM") {
mediumq._alpha = 100;
lowq._alpha = 50;
highq._alpha = 50;
} else if (_quality == "LOW") {
mediumq._alpha = 50;
lowq._alpha = 100;
highq._alpha = 50;
}
Instance of Symbol 289 MovieClip in Symbol 304 MovieClip Frame 35
onClipEvent (load) {
if (!_global.gamestarted) {
this._visible = false;
}
}
Symbol 304 MovieClip Frame 36
gotoAndPlay (35);
Instance of Symbol 295 MovieClip "lookicon" in Symbol 304 MovieClip Frame 39
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 297 MovieClip "talkicon" in Symbol 304 MovieClip Frame 39
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Symbol 304 MovieClip Frame 50
stop();
Symbol 304 MovieClip Frame 62
gotoAndPlay (35);
Symbol 313 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 19
if (_global.itemtograb == "razor") {
_root.razor._visible = false;
_root.razor._x = -32;
_root.razor_inv._y = 430;
_global.razor = true;
} else if (_global.itemtograb == "comb") {
_root.comb._visible = false;
_root.comb._x = -32;
_root.comb_inv._y = 430;
_global.comb = true;
}
Symbol 347 MovieClip Frame 25
_global.itemtograb = "none";
_global.action = "still";
_global.combo = "inactive";
_global.mouse = "none";
Symbol 348 MovieClip Frame 21
if (_global.itemtograb == "revolver") {
_global.revolver = true;
_root.revolver._y = -32;
_root.revolver_inv._y = 430;
} else if (_global.itemtograb == "matches") {
_global.matches = true;
_root.matches._y = -32;
_root.matches_inv._y = 430;
} else if (_global.itemtograb == "flamethrower") {
_global.flamethrower = true;
_global.deodorant = false;
_root.deodorant_inv._y = 512;
_root.matches._x = -32;
_root.flamethrower_inv._y = 430;
}
Symbol 348 MovieClip Frame 28
_global.itemtograb = "none";
_global.action = "still";
_global.combo = "inactive";
_global.mouse = "none";
Instance of Symbol 355 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Cut up ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 332 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Clean ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 353 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Comb with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 365 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Fabric with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 367 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Burning Flesh with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 371 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Shoot ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 369 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use deodorant with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 373 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Bloody Hand with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 375 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Hand with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 377 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Soapy Hand with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 379 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Exit Sign with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 381 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_global.mouse == "Use Matches with ") {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 383 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.mouse == "Use Makeshift Flamethrower on ") {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "chupamouth" in Symbol 400 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 399 MovieClip "chupamouthstill" in Symbol 400 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.guytalking == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 400 MovieClip Frame 2
gotoAndPlay (1);
Symbol 446 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 2
stop();
Symbol 473 MovieClip Frame 3
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 501 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 553 MovieClip Frame 1
stop();
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 591 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 596 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 1
stop();
Symbol 682 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 1
stop();
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 60
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 90
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 91
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 120
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 121
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 150
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 151
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 180
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 181
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 210
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 211
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 240
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 241
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 270
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 271
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 300
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 301
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 330
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 331
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 360
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 361
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 390
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 692 MovieClip Frame 391
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
stop();
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 702 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 187 MovieClip "speakingmouth" in Symbol 703 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.guytalking) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 704 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 2
stop();
Symbol 763 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 341
_level0.gotoAndPlay("Scene4Start");
Symbol 967 MovieClip Frame 1
stop();
Symbol 1071 MovieClip Frame 1
stop();
Symbol 1308 MovieClip Frame 2294
_global.gamestarted = false;
_level0.gotoAndPlay("mainmenu");
Symbol 1390 MovieClip Frame 196
_global.soapyhand = false;
_global.cleanhand = true;
_level0.gotoAndPlay("Scene1Start");
Symbol 1394 MovieClip Frame 1
stop();
Symbol 1414 MovieClip Frame 122
_level0.gotoAndPlay("Scene2Start");
Symbol 1455 MovieClip Frame 300
_global.dirtyhand = true;
_level0.gotoAndPlay("Scene3Start");
Symbol 1464 MovieClip Frame 40
_global.exitsign = true;
_level0.gotoAndPlay("Scene6Start");
Symbol 1476 MovieClip Frame 150
_global.saneguard = true;
_level0.gotoAndPlay("Scene6Start");
Instance of Symbol 1480 MovieClip in Symbol 1512 MovieClip Frame 1
onClipEvent (load) {
if (_global.celldoor) {
gotoAndStop ("dooropen");
}
}
Symbol 1512 MovieClip Frame 114
_global.fabric = true;
_level0.gotoAndPlay("Scene1Start");
Instance of Symbol 313 MovieClip in Symbol 1515 MovieClip Frame 1
onClipEvent (load) {
if (_global.celldoor == true) {
gotoAndStop ("dooropen");
}
}
Symbol 1529 MovieClip Frame 62
_global.flesh = true;
_global.fabric = false;
_level0.gotoAndPlay("Scene1Start");
Symbol 1552 MovieClip Frame 140
_global.controldoor = true;
_level0.gotoAndPlay("Scene4Start");
Symbol 1554 MovieClip Frame 140
_level0.gotoAndPlay("Scene4Start");
Symbol 1557 MovieClip Frame 140
_level0.gotoAndPlay("Scene4Start");
Symbol 1562 MovieClip Frame 140
_level0.gotoAndPlay("Scene4Start");
Symbol 1567 MovieClip Frame 42
_global.exitsignabovedoor = true;
_global.exitsign = false;
_level0.gotoAndPlay("Scene4Start");
Symbol 1706 MovieClip Frame 707
_global.beastatdoor = true;
_level0.gotoAndPlay("Scene4Start");
Symbol 1885 MovieClip Frame 1
sfx = new Sound(this);
Symbol 1885 MovieClip Frame 172
sfx.attachSound("handgun.wav");
sfx.start(0, 1);
Symbol 1885 MovieClip Frame 179
sfx.attachSound("handgun.wav");
sfx.start(0, 1);
Symbol 1885 MovieClip Frame 187
sfx.attachSound("handgun.wav");
sfx.start(0, 1);
Symbol 1885 MovieClip Frame 346
sfx.attachSound("SPLAT1.wav");
sfx.start(0, 1);
sfx.attachSound("SPLAT1.wav");
sfx.start(0, 1);
Symbol 1885 MovieClip Frame 375
_global.soap = true;
_global.itemtograb = "none";
_global.action = "still";
_global.combo = "inactive";
_global.mouse = "none";
_global.guystopmed = true;
_level0.gotoAndPlay("Scene1Start");
Symbol 1889 MovieClip Frame 93
_global.celldoor = true;
_global.itemtograb = "none";
_global.action = "still";
_global.mouse = "none";
_global.flesh = false;
_level0.gotoAndPlay("Scene1Start");
Symbol 1961 MovieClip Frame 340
_global.saneatdoor = true;
_global.sanedoor = true;
_global.targetx = 77;
_global.targety = 272;
_level0.gotoAndPlay("Scene4Start");
Instance of Symbol 1989 MovieClip in Symbol 1990 MovieClip Frame 1
on (press) {
getURL ("http://www.rustygames.com", "_blank");
}
Symbol 1993 Button
on (release) {
getURL ("http://www.partytuesday.co.uk", "_blank");
}
Symbol 2013 Button
on (release) {
getURL ("http://www.rustygames.com", "_blank");
}
Symbol 2063 MovieClip Frame 1
stop();
Symbol 2080 MovieClip Frame 1
stop();
Symbol 2103 MovieClip Frame 966
_level0.gotoAndPlay("Scene1Start");