Frame 1
function onEnterFrame() {
playcenter.loadingText.text = percentage;
percentage = ("Loading " + Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%";
if (((_root.getBytesLoaded() / _root.getBytesTotal()) >= 1) && (timer <= 0)) {
clearInterval(countdownInterval);
delete this.onEnterFrame;
playcenter.loadingText.text = "";
playcenter.loadingbox._visible = true;
playcenter.playbtn._visible = true;
}
}
stop();
playcenter.loadingbox._visible = false;
playcenter.playbtn._visible = false;
stop();
timer = 3;
countdown = function () {
timer--;
if (timer == 0) {
clearInterval(countdownInterval);
}
};
countdownInterval = setInterval(countdown, 1000);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Instance of Symbol 121 MovieClip in Frame 2
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Frame 4
function saveGame() {
myLSO = SharedObject.getLocal("johnny");
if (myLSO.data.myObj == undefined) {
trace("Saved Game");
} else {
trace("Overwrote Saved Game");
}
myObj = {};
myObj.objArray = new Array();
myObj.objArray[0] = unlock1;
myObj.objArray[1] = unlock2;
myObj.objArray[2] = unlock3;
myObj.objArray[3] = unlock4;
myObj.objArray[4] = unlock5;
myLSO.data.myObj = myObj;
}
function loadGame() {
myLSO = SharedObject.getLocal("johnny");
if (myLSO.data.myObj == undefined) {
trace("No Saved Game");
} else {
trace("Loaded Game");
unlock1 = myLSO.data.myObj.objArray[0];
unlock2 = myLSO.data.myObj.objArray[1];
unlock3 = myLSO.data.myObj.objArray[2];
unlock4 = myLSO.data.myObj.objArray[3];
unlock5 = myLSO.data.myObj.objArray[4];
}
}
unlockedtotal = 0;
loadGame();
achieve_mc.onEnterFrame = function () {
if (unlock1 == 1) {
achieve_mc.cross1.gotoAndStop(2);
}
if (unlock2 == 1) {
achieve_mc.cross2.gotoAndStop(2);
}
if (unlock3 == 1) {
achieve_mc.cross3.gotoAndStop(2);
}
if (unlock4 == 1) {
achieve_mc.cross4.gotoAndStop(2);
}
if (unlock5 == 1) {
achieve_mc.cross5.gotoAndStop(2);
}
};
achievebtn.tabEnabled = false;
achievebtn.onRelease = function () {
_root.achieve_mc.play();
};
achievebtn.onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
achievebtn.onReleaseOutside = function () {
rollOutEffect(this);
};
achievebtn.onRollOut = function () {
rollOutEffect(this);
};
function rollOverEffect(button) {
button.gotoAndStop(2);
rolloversound.start(0, 1);
}
function rollOutEffect(button) {
button.gotoAndStop(1);
}
function clickEffect(button) {
clicksound.start(0, 1);
}
function hitEffect(button) {
hitsound.start(0, 1);
button.gotoAndPlay(3);
}
function putEffect(button) {
putsound.start(0, 1);
}
function resultEffect(button) {
main.play();
resultsound.start(0, 1);
}
highscoresbtn.tabEnabled = false;
highscoresbtn.onRelease = function () {
showscores();
};
highscoresbtn.onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
highscoresbtn.onReleaseOutside = function () {
rollOutEffect(this);
};
highscoresbtn.onRollOut = function () {
rollOutEffect(this);
};
startbtn.tabEnabled = false;
startbtn.onRelease = function () {
Log.Play();
_root.nextFrame();
};
startbtn.onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
startbtn.onReleaseOutside = function () {
rollOutEffect(this);
};
startbtn.onRollOut = function () {
rollOutEffect(this);
};
moregames.tabEnabled = false;
moregames.onRelease = function () {
getURL ("http://armorgames.com", "_blank");
};
moregames.onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
moregames.onReleaseOutside = function () {
rollOutEffect(this);
};
moregames.onRollOut = function () {
rollOutEffect(this);
};
var bgsound = new Sound(this);
bgsound.attachSound("bgsound");
var clicksound = new Sound(this);
clicksound.attachSound("clicksound");
var hitsound = new Sound(this);
hitsound.attachSound("hitsound");
var putsound = new Sound(this);
putsound.attachSound("putsound");
var resultsound = new Sound(this);
resultsound.attachSound("resultsound");
var rolloversound = new Sound(this);
rolloversound.attachSound("rolloversound");
var alarmsound = new Sound(this);
alarmsound.attachSound("alarmsound");
var buttonsound = new Sound(this);
buttonsound.attachSound("buttonsound");
var punchsound = new Sound(this);
punchsound.attachSound("punchsound");
var knocksound = new Sound(this);
knocksound.attachSound("knocksound");
var trunksound = new Sound(this);
trunksound.attachSound("trunksound");
stop();
Instance of Symbol 128 MovieClip in Frame 4
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Instance of Symbol 128 MovieClip in Frame 4
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Instance of Symbol 151 MovieClip in Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
on (release) {
getURL ("http://twitter.com/armorgames", "_blank");
_root.gunshot.start(0, 1);
}
on (rollOver) {
_root.hoversound.start(0, 1);
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Instance of Symbol 155 MovieClip in Frame 4
onClipEvent (load) {
this.tabEnabled = false;
}
on (release) {
getURL ("http://www.facebook.com/pages/Armor-Games/19522089061", "_blank");
_root.gunshot.start(0, 1);
}
on (rollOver) {
_root.hoversound.start(0, 1);
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Frame 5
alarmsound.start(0, 99);
Instance of Symbol 214 MovieClip in Frame 5
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
_root.gotoAndStop("maingame");
}
Frame 7
function time_to_string(time_to_convert) {
elapsed_hoursseven = Math.floor((time_to_convert / 3600000) + 8);
elapsed_hours = Math.floor(time_to_convert / 3600000);
remaining = time_to_convert - (elapsed_hours * 3600000);
elapsed_minutes = Math.floor(remaining / 60000);
remaining = remaining - (elapsed_minutes * 60000);
elapsed_seconds = Math.floor(remaining / 1000);
remaining = remaining - (elapsed_seconds * 1000);
elapsed_fs = Math.floor(remaining / 10);
if (elapsed_hours < 10) {
hours = "0" + elapsed_hoursseven.toString();
} else {
hours = elapsed_hours.toString();
}
if (elapsed_minutes < 10) {
minutes = "0" + elapsed_minutes.toString();
} else {
minutes = elapsed_minutes.toString();
}
if (elapsed_seconds < 10) {
seconds = "0" + elapsed_seconds.toString();
} else {
seconds = elapsed_seconds.toString();
}
if (elapsed_fs < 10) {
hundredths = "0" + elapsed_fs.toString();
} else {
hundredths = elapsed_fs.toString();
}
return((((hours + ":") + minutes) + ":") + seconds);
}
start_time = getTimer();
countdown = 7200000 /* 0x6DDD00 */;
function descriptionShow() {
description.text = "Nothing interesting.";
}
function navdescriptionShow() {
description.text = "I need to put down this item in the inventory.";
}
stop();
_root.attachMovie("hovertxtmc", "hovertxtmc", _root.getNextHighestDepth());
_root.attachMovie("itemhover", "itemhover", _root.getNextHighestDepth());
endingyet = false;
sprayed = false;
spideron = false;
walleton = false;
alarmout = false;
picachieve = false;
snipeachieve = false;
evilachieve = false;
alarmthrown = false;
refopen = false;
readytobrush = false;
anniedone = false;
needtissue = false;
noteout = false;
gloveson = false;
coderead = false;
draweropen = false;
knockedout = false;
dressed = false;
swirlieon = false;
razoron = false;
soapon = false;
towelon = false;
uniformon = false;
trunkopen = false;
trashcanopen = false;
belialon = false;
cresilon = false;
pyroon = false;
figureson = false;
sniperon = false;
cannonon = false;
cutsceneplayed = false;
cutscene2played = false;
cutscene3played = false;
noteview._visible = false;
picview._visible = false;
main._visible = true;
main2._visible = false;
main3._visible = false;
main.tabEnabled = false;
main2.tabEnabled = false;
main3.tabEnabled = false;
i = 0;
while (i < 100) {
_root.area.in2[i].vis = false;
i++;
}
itemhover.frameNumber = 0;
hovertxtmc.hovertext.text = "";
description.text = "";
_root.onEnterFrame = function () {
if (sniperon) {
if (!snipeachieve) {
achievedrop.gotoAndStop(2);
snipeachieve = true;
}
}
if (!endingyet) {
elapsed_time = getTimer() - start_time;
_root.count.text = time_to_string(elapsed_time);
_root.count_down.text = time_to_string(_root.countdown - elapsed_time);
}
if ((belialon && (cresilon)) && (pyroon)) {
if (!cutscene2played) {
figureson = true;
cutscene2.gotoAndStop(2);
area.in2.standkid.gotoAndStop(2);
cutscene2played = true;
}
}
if ((((soapon && (razoron)) && (towelon)) && (swirlieon)) && (uniformon)) {
if (!cutsceneplayed) {
dressed = true;
cutscene.gotoAndStop(2);
description.text = "Prepare for battle!!!";
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "My fat kid") {
_root.area.in2[i]._visible = false;
_root.area.in2[i].vis = false;
}
if (_root.area.in2[i].itemName == "Annie") {
_root.area.in2[i]._visible = false;
_root.area.in2[i].vis = false;
}
if (_root.area.in2[i].itemName == "Annie ") {
_root.area.in2[i]._visible = true;
_root.area.in2[i].vis = true;
}
i++;
}
cutsceneplayed = true;
}
}
if (_xmouse > (main._x + 50)) {
main._xscale = 100;
main2._xscale = 100;
main3._xscale = 100;
} else if (_xmouse < (main._x - 50)) {
main._xscale = -100;
main2._xscale = -100;
main3._xscale = -100;
}
hovertxtmc._x = _xmouse;
hovertxtmc._y = _ymouse;
hovertxtmc.swapDepths(3);
itemhover._x = _xmouse;
itemhover._y = _ymouse;
itemhover.swapDepths(2);
if (alarmthrown) {
_root.alarmsound.stop("alarmsound");
}
};
main3.onPress = function () {
if (itemhover.itemName == "Hotdog on Stick") {
description.text = "Ahhh that's sumptuous!";
itemhover.frameNumber = 39;
itemhover.gotoAndStop(39);
resultEffect(this);
} else {
description.text = "That tickles.";
}
};
main.onPress = function () {
if (itemhover.itemName == "Uniform") {
description.text = "I'm stinking, I need to cleanup first.";
} else if (itemhover.itemName == "My toothbrush") {
description.text = "My pearly white teetch could get scratched without toothpaste.";
} else if (itemhover.itemName == "Toothbrush Swirly") {
description.text = "I won't swallow after gargling again. I need to find a proper place to do this.";
} else {
description.text = "That tickles.";
}
};
i = 100;
while (i < 200) {
area.in2[i].tabEnabled = false;
area.in2[i].onEnterFrame = function () {
this.gotoAndStop(Number(this._name) - 100);
if (this.itemName == "Tissue") {
if (!this.vis) {
this._visible = true;
} else {
this._visible = false;
}
}
if (this.itemName == "Crowbar ") {
if (!this.vis) {
this._visible = true;
} else {
this._visible = false;
}
}
if (this.itemName == "Annie") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Annie ") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == " Annie") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Frost") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
};
area.in2[i].onPress = function () {
if ((itemhover.itemName == "Chair") && (this.itemName == "Rug")) {
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Crowbar") {
_root.area.in2[i].vis = true;
}
i++;
}
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Crowbar ") {
_root.area.in2[i].vis = true;
}
i++;
}
this.rag.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if (((itemhover.itemName == "") && (this.itemName == "Door")) && (!alarmthrown)) {
description.text = "Annie: 'Hey shut that alarm off before you get down here!'";
} else if (((itemhover.itemName == "Uniform") && (this.itemName == "Door")) && (!alarmthrown)) {
description.text = "I need to put down this item in the inventory.";
} else if (((itemhover.itemName == "Alarm Clock") && (this.itemName == "Door")) && (!alarmthrown)) {
description.text = "I need to put down this item in the inventory.";
} else if (((itemhover.itemName == "") && (this.itemName == "Door")) && (alarmthrown)) {
area._x = area._x - Stage.width;
hitEffect(this);
} else if (((itemhover.itemName == "") && (this.itemName == "Tissue")) && (!needtissue)) {
description.text = "Not mine, must be contaminated.'";
} else if ((itemhover.itemName == "") && (this.itemName == "Crowbar ")) {
description.text = "This is too high.";
} else if ((itemhover.itemName == "") && (this.itemName == "Lamp")) {
description.text = "What an exciting lamp!";
} else if (((itemhover.itemName == "") && (this.itemName == "Sam's Room")) && (!dressed)) {
description.text = "Is this still my house? Why is everything locked from me?";
} else if (((itemhover.itemName == "") && (this.itemName == "Sam's Room")) && dressed) {
if (itemhover.frameNumber == 0) {
area._x = area._x - Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
} else if ((itemhover.itemName == "") && (this.itemName == "Sofa")) {
description.text = "This sofa is very comfortable.";
} else if (((itemhover.itemName == "") && (this.itemName == "Cobweb")) && (!spideron)) {
description.text = "But where's the spider?";
} else if (((itemhover.itemName == "") && (this.itemName == "Cobweb")) && spideron) {
description.text = "Hope you're comfortable there.";
} else if ((itemhover.itemName == "") && (this.itemName == "Annie")) {
description.text = "Annie: 'Did you buy aircondition for the kitchen?'";
} else if ((itemhover.itemName == "") && (this.itemName == "Table Cloth")) {
this.tablecloth.play();
description.text = "Whoosh.";
} else if ((itemhover.itemName == "") && (this.itemName == "Towel")) {
description.text = "I can't reach it!";
} else if ((itemhover.itemName == "") && (this.itemName == "Drawer")) {
description.text = "Annie knows the lock combination.";
} else if (((itemhover.itemName == "") && (this.itemName == "Window")) && (!alarmout)) {
description.text = "It is stuck.";
} else if (((itemhover.itemName == "Alarm Clock") && (this.itemName == "Window")) && (!alarmout)) {
description.text = "I need to open this window.";
} else if (((itemhover.itemName == "") && (this.itemName == "Window")) && alarmout) {
description.text = "Will my wife fit here?";
} else if (((itemhover.itemName == "") && (this.itemName == "Door ")) && (!knockedout)) {
description.text = "Sam: 'Dad, give me my whole allowance this week or I won't let you pass!'";
} else if ((itemhover.itemName == "") && (this.itemName == "Stench")) {
description.text = "Is this even made by human?! Ewww...'";
} else if ((itemhover.itemName == "Hotdog on Stick") && (this.itemName == "Spider")) {
description.text = "Wanna take a bite? I guess not.";
} else if ((itemhover.itemName == "") && (this.itemName == "Spider")) {
description.text = "Awww cute, how could I handle such a delicate critter as you?'";
} else if ((itemhover.itemName == "") && (this.itemName == "Trash Can")) {
description.text = "I'm not touching this now that I'm already cleaned up.'";
} else if ((itemhover.itemName == "") && (this.itemName == "Annie ")) {
description.text = "Annie: 'I found Sam unconscious so I brought him to his room. Guilty?'";
} else if ((itemhover.itemName == "") && (this.itemName == " Annie")) {
description.text = "Don't wake up please?";
} else if ((itemhover.itemName == "Ice Pick") && (this.itemName == "Annie ")) {
description.text = "I'm not that evil yet.";
if (!evilachieve) {
achievedrop.gotoAndStop(6);
evilachieve = true;
}
} else if (((itemhover.itemName == "") && (this.itemName == "Cresil Stand")) && (!figureson)) {
description.text = "Looks like the action figure is missing.";
} else if ((itemhover.itemName == "") && (this.itemName == "Lilith")) {
description.text = "'I dont recognise this figure, must be reserved for something epic.";
} else if (((itemhover.itemName == "") && (this.itemName == "Belial Stand")) && (!belialon)) {
description.text = "Looks like the action figure is missing.";
} else if (((itemhover.itemName == "") && (this.itemName == "Lilith Stand")) && (!pyroon)) {
description.text = "Looks like the action figure is missing.";
} else if (((itemhover.itemName == "") && (this.itemName == "Frost")) && (!cresilon)) {
description.text = "There seems to be an interesting item frozen inside.";
} else if ((itemhover.itemName == "Car Keys") && (this.itemName == "Car")) {
description.text = "I just remembered the door lock is broken. I must find another way in.";
} else if ((itemhover.itemName == "Car Keys") && (this.itemName == "Trunk")) {
if (!trunkopen) {
trunksound.start(0, 1);
description.text = "Well the trunk's still good.";
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Trunk") {
_root.area.in2[i].trunk.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Lilith Figure") {
_root.area.in2[i].vis = true;
}
i++;
}
trunkopen = true;
}
} else if ((((itemhover.itemName == "") && (this.itemName == "Door ")) && knockedout) && (!dressed)) {
description.text = "Annie: 'Where are you going? Clean yourself up and get dressed now! You're late!'";
} else if ((itemhover.itemName == "Boxing Gloves") && (this.itemName == "My fat kid")) {
if (!knockedout) {
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
gloveson = true;
description.text = "Here you go!";
main.play();
shake.play();
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Private Box") {
_root.area.in2[i].vis = true;
}
punchsound.start(0, 1);
this.fatkid.gotoAndStop(2);
i++;
}
}
knockedout = true;
description.text = "That takes care of it.";
} else if (((itemhover.itemName == "Wallet") && (this.itemName == "My fat kid")) && (!knockedout)) {
description.text = "Sam: 'You don't have money in your wallet? Loser.'";
} else if ((itemhover.itemName == "Boxing Gloves") && (this.itemName == "My fat kid")) {
description.text = "I'm not giving you a chance fatso.";
} else if (((itemhover.itemName == "Uniform") && (this.itemName == "Window")) && alarmout) {
description.text = "This is my last uniform that doesn't have a chocolate stain.";
} else if (((itemhover.itemName == "") && (this.itemName == "Bathroom Door")) && (!readytobrush)) {
knocksound.stop("knocksound");
knocksound.start(0, 1);
description.text = "Annie: 'Prepare your stuffs while waiting for me would ya?!'";
} else if ((itemhover.itemName == "Loaded Potato Cannon") && (this.itemName == "Car")) {
description.text = "It's now or never!'";
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
cutscene3.gotoAndPlay(2);
} else if ((itemhover.itemName == "Loaded Potato Sniper") && (this.itemName == "Car")) {
description.text = "It's now or never!'";
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
cutscene3.gotoAndPlay(2);
} else if ((((itemhover.itemName == "") && (this.itemName == "Bathroom Door")) && readytobrush) && (!anniedone)) {
description.text = "Annie: 'Aaaaaahhhhhh!!!!!! Where's the toilet paper???!!!'";
if (!needtissue) {
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Tissue") {
_root.area.in2[i].vis = true;
}
i++;
}
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Tissue") {
_root.area.in2[i].vis = true;
}
i++;
}
needtissue = true;
}
} else if (((((itemhover.itemName == "") && (this.itemName == "Bathroom Door")) && readytobrush) && anniedone) && (!draweropen)) {
description.text = "Annie: 'I'll be out in a minute. By the way, your wallet's in the drawer. Here's the code.'";
i = 0;
while (i < 100) {
if (!noteout) {
if (_root.area.in2[i].itemName == "Note") {
_root.area.in2[i].vis = true;
_root.area.in2[i].note.play();
}
}
i++;
}
noteout = true;
} else if (((((itemhover.itemName == "") && (this.itemName == "Bathroom Door")) && readytobrush) && anniedone) && draweropen) {
if (itemhover.frameNumber == 0) {
area._x = area._x + (Stage.width * 2);
hitEffect(this);
} else {
navdescriptionShow();
}
} else if (((itemhover.itemName == "") && (this.itemName == "Door ")) && dressed) {
if (itemhover.frameNumber == 0) {
area._x = area._x + (Stage.width * 5);
hitEffect(this);
} else {
navdescriptionShow();
}
} else if (((itemhover.itemName == "Alarm Clock") && (this.itemName == "Window")) && alarmout) {
alarmthrown = true;
description.text = "At last my ears are at ease, until I see my wife.";
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Crowbar") && (this.itemName == "Window")) {
this.window.gotoAndStop(2);
alarmout = true;
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Ice Pick") && (this.itemName == "Frost")) {
this.frost.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Spider") && (this.itemName == "Cobweb")) {
this.cobweb.gotoAndStop(2);
itemhover.frameNumber = 0;
spideron = true;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if (((itemhover.itemName == "") && (this.itemName == "Refrigerator")) && (!refopen)) {
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Frozen Toothpaste") {
_root.area.in2[i].vis = true;
}
if (_root.area.in2[i].itemName == "Cresil Figure") {
_root.area.in2[i].vis = true;
}
i++;
}
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Frost") {
_root.area.in2[i].vis = true;
}
i++;
}
refopen = true;
this.ref.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if (((itemhover.itemName == "Gloves") && (this.itemName == "Trash Can")) && (!trashcanopen)) {
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Belial Figure") {
_root.area.in2[i].vis = true;
}
i++;
}
trashcanopen = true;
this.trashcan.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Glass") && (this.itemName == "Water Dispenser")) {
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Hot Water") {
_root.area.in2[i].vis = true;
_root.area.in2[i].glassfill.play();
}
i++;
}
this.ref.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Plunger") && (this.itemName == "Towel")) {
itemhover.frameNumber = 21;
itemhover.gotoAndStop(21);
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Towel") {
this._visible = false;
}
i++;
}
resultEffect(this);
} else if ((itemhover.itemName == "Stick") && (this.itemName == "Spider")) {
itemhover.frameNumber = 40;
itemhover.gotoAndStop(40);
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Spider") {
this._visible = false;
}
i++;
}
resultEffect(this);
} else if ((itemhover.itemName == "Steel Saw") && (this.itemName == "Pipe")) {
itemhover.frameNumber = 27;
itemhover.gotoAndStop(27);
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Pipe") {
this._visible = false;
}
i++;
}
resultEffect(this);
} else if ((itemhover.itemName == "Tissue") && (this.itemName == "Bathroom Door")) {
this.crdoor.gotoAndStop(2);
anniedone = true;
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Air Freshener") && (this.itemName == "Stench")) {
this.stench.gotoAndStop(2);
sprayed = true;
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Razor Max T9000") && (this.itemName == "Razor Slot")) {
razoron = true;
this.razor.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Toothbrush Swirly") && (this.itemName == "Swirly Slot")) {
swirlieon = true;
this.swirlie.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Towel") && (this.itemName == "Towel Slot")) {
towelon = true;
this.towel.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Soap") && (this.itemName == "Soap Slot")) {
soapon = true;
this.soap.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Uniform") && (this.itemName == "Uniform Slot")) {
uniformon = true;
this.uniform.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Cresil Figure") && (this.itemName == "Cresil Stand")) {
cresilon = true;
this.cresilstand.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Lilith Figure") && (this.itemName == "Lilith Stand")) {
pyroon = true;
this.pyrostand.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else if ((itemhover.itemName == "Belial Figure") && (this.itemName == "Belial Stand")) {
belialon = true;
this.belialstand.gotoAndStop(2);
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
resultEffect(this);
} else {
descriptionShow();
}
};
area.in2[i].onRollOver = function () {
hovertxtmc.hovertext.text = this.itemName;
};
area.in2[i].onRollOut = function () {
hovertxtmc.hovertext.text = "";
};
area.in2[i].onReleaseOutside = function () {
hovertxtmc.hovertext.text = "";
};
i++;
}
i = 0;
while (i < 100) {
inventory_mc[i].itemNo = 0;
inventory_mc[i].invNo = 0;
area.in2[i].onEnterFrame = function () {
this.gotoAndStop(Number(this._name) + 1);
if (this.itemName == "Picture") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Crowbar") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Tissue") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Frozen Toothpaste") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Hot Water") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Boxing Gloves") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Wallet") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Saw Blade") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Lighter") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Note") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Soap") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Cresil Figure") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Belial Figure") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Lilith Figure") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Private Box") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
if (this.itemName == "Tape") {
if (!this.vis) {
this._visible = false;
} else {
this._visible = true;
}
}
};
area.in2[i].onRollOver = function () {
hovertxtmc.hovertext.text = this.itemName;
};
area.in2[i].onRollOut = function () {
hovertxtmc.hovertext.text = "";
};
area.in2[i].onReleaseOutside = function () {
hovertxtmc.hovertext.text = "";
};
area[i].tabEnabled = false;
area[i].onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x - (Stage.width * this._name);
}
};
area.in2[i].tabEnabled = false;
area.in2[i].onPress = function () {
clickEffect(this);
if ((itemhover.frameNumber == 0) && (!sprayed)) {
if (this.itemName == "Wallet") {
walleton = true;
}
itemhover.frameNumber = Number(this._name) + 1;
itemhover.gotoAndStop(itemhover.frameNumber);
this._visible = false;
this.vis = false;
}
};
inventory_mc[i].onEnterFrame = function () {
if ((itemhover.itemName == "") && (this.itemNo == 0)) {
this.enabled = false;
} else {
this.enabled = true;
}
};
inventory_mc[i].onPress = function () {
if ((this.invNo == 16) && (itemhover.frameNumber == 0)) {
noteview._visible = true;
coderead = true;
putEffect(this);
} else if ((this.invNo == 46) && (itemhover.frameNumber == 0)) {
picview._visible = true;
putEffect(this);
} else if (this.itemNo == 0) {
putEffect(this);
this.itemNo = itemhover.frameNumber;
this.invNo = itemhover.frameNumber;
this.gotoAndStop(itemhover.frameNumber);
itemhover.gotoAndStop(1);
itemhover.frameNumber = 0;
} else if ((((!this.invNo) == 0) && (itemhover.frameNumber == 0)) || ((((!this.invNo) == 16) && ((!this.invNo) == 46)) && (itemhover.frameNumber == 0))) {
this.itemNo = 0;
hitEffect(this);
itemhover.frameNumber = this.invNo;
itemhover.gotoAndStop(this.invNo);
this.gotoAndStop(1);
} else if (((itemhover.itemName == "Toothpaste") && (this.itemName == "My toothbrush")) || ((itemhover.itemName == "My toothbrush") && (this.itemName == "Toothpaste"))) {
itemhover.frameNumber = 0;
readytobrush = true;
itemhover.gotoAndStop(1);
this.invNo = 11;
this.gotoAndStop(11);
resultEffect(this);
} else if (((itemhover.itemName == "Hot Water") && (this.itemName == "Frozen Toothpaste")) || ((itemhover.itemName == "Frozen Toothpaste") && (this.itemName == "Hot Water"))) {
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
this.invNo = 10;
this.gotoAndStop(10);
resultEffect(this);
} else if (((itemhover.itemName == "Saw Blade") && (this.itemName == "Saw Handle")) || ((itemhover.itemName == "Saw Handle") && (this.itemName == "Saw Blade"))) {
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
this.invNo = 30;
this.gotoAndStop(30);
resultEffect(this);
} else if ((itemhover.itemName == "Small Key") && (this.itemName == "Private Box")) {
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
this.invNo = 24;
this.gotoAndStop(24);
resultEffect(this);
} else if (((itemhover.itemName == "My toothbrush") && (this.itemName == "Frozen Toothpaste")) || ((itemhover.itemName == "Frozen Toothpaste") && (this.itemName == "My toothbrush"))) {
description.text = "I need to thaw this toothpaste first.";
} else if (((itemhover.itemName == "Crowbar") && (this.itemName == "Alarm Clock")) || ((itemhover.itemName == "Alarm Clock") && (this.itemName == "Crowbar"))) {
description.text = "If I break this here, it'll make a mess and Annie won't like it.";
} else if (((itemhover.itemName == "Potato") && (this.itemName == "Trigger Aeropipe")) || ((itemhover.itemName == "Trigger Aeropipe") && (this.itemName == "Potato"))) {
description.text = "This isn't ready yet for loading.";
} else if (((itemhover.itemName == "Pipe") && (this.itemName == "Air Freshener")) || ((itemhover.itemName == "Air Freshener") && (this.itemName == "Pipe"))) {
itemhover.frameNumber = 0;
readytobrush = true;
itemhover.gotoAndStop(1);
this.invNo = 34;
this.gotoAndStop(34);
resultEffect(this);
} else if (((itemhover.itemName == "Aeropipe") && (this.itemName == "Lighter")) || ((itemhover.itemName == "Lighter") && (this.itemName == "Aeropipe"))) {
itemhover.frameNumber = 0;
readytobrush = true;
itemhover.gotoAndStop(1);
this.invNo = 35;
this.gotoAndStop(35);
resultEffect(this);
} else if (((itemhover.itemName == "Trigger Aeropipe") && (this.itemName == "Tape")) || ((itemhover.itemName == "Tape") && (this.itemName == "Trigger Aeropipe"))) {
itemhover.frameNumber = 0;
readytobrush = true;
itemhover.gotoAndStop(1);
this.invNo = 42;
this.gotoAndStop(42);
resultEffect(this);
} else if (((itemhover.itemName == "Potato Cannon") && (this.itemName == "Potato")) || ((itemhover.itemName == "Potato") && (this.itemName == "Potato Cannon"))) {
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
this.invNo = 43;
this.gotoAndStop(43);
resultEffect(this);
} else if (((itemhover.itemName == "Potato Cannon") && (this.itemName == "Tissue Tube")) || ((itemhover.itemName == "Tissue Tube") && (this.itemName == "Potato Cannon"))) {
itemhover.frameNumber = 0;
itemhover.gotoAndStop(1);
this.invNo = 44;
this.gotoAndStop(44);
resultEffect(this);
} else if (((itemhover.itemName == "Loaded Potato Cannon") && (this.itemName == "Tissue Tube")) || ((itemhover.itemName == "Tissue Tube") && (this.itemName == "Loaded Potato Cannon"))) {
itemhover.frameNumber = 0;
sniperon = true;
itemhover.gotoAndStop(1);
this.invNo = 45;
this.gotoAndStop(45);
resultEffect(this);
} else if (((itemhover.itemName == "Potato Sniper") && (this.itemName == "Potato")) || ((itemhover.itemName == "Potato") && (this.itemName == "Potato Sniper"))) {
itemhover.frameNumber = 0;
sniperon = true;
itemhover.gotoAndStop(1);
this.invNo = 45;
this.gotoAndStop(45);
resultEffect(this);
} else {
descriptionShow();
}
};
inventory_mc[i].tabEnabled = false;
inventory_mc[i].onRollOver = function () {
hovertxtmc.hovertext.text = this.itemName;
description.text = this.itemDesc;
};
inventory_mc[i].onRollOut = function () {
hovertxtmc.hovertext.text = "";
description.text = "";
};
inventory_mc[i].onReleaseOutside = function () {
hovertxtmc.hovertext.text = "";
description.text = "";
};
i++;
}
navback.onEnterFrame = function () {
if (area._x < 0) {
this._visible = true;
} else {
this._visible = false;
}
};
navback.onPress = function () {
if (itemhover.frameNumber == 0) {
hitEffect(this);
area._x = 0;
} else {
navdescriptionShow();
}
};
navback.onRollOver = function () {
rollOverEffect(this);
};
navback.onReleaseOutside = function () {
rollOutEffect(this);
};
navback.onRollOut = function () {
rollOutEffect(this);
};
xMouse = inventory_mc._x;
origxMouse = xMouse;
inventory_mc.tabEnabled = false;
inventory_mc.onEnterFrame = function () {
if (Math.abs(xMouse - this._x) < 1) {
this._x = xMouse;
} else {
this._x = this._x - ((this._x - xMouse) / 7);
}
};
arrowright.tabEnabled = false;
arrowright.onPress = function () {
xMouse = xMouse - 60;
hitEffect(this);
};
arrowright.onRollOver = function () {
rollOverEffect(this);
};
arrowright.onReleaseOutside = function () {
rollOutEffect(this);
};
arrowright.onRollOut = function () {
rollOutEffect(this);
};
arrowleft.tabEnabled = false;
arrowleft.onPress = function () {
xMouse = xMouse + 60;
hitEffect(this);
};
arrowleft.onRollOver = function () {
rollOverEffect(this);
};
arrowleft.onReleaseOutside = function () {
rollOutEffect(this);
};
arrowleft.onRollOut = function () {
rollOutEffect(this);
};
arrowleft.onEnterFrame = function () {
if (xMouse >= 25) {
this._visible = false;
} else {
this._visible = true;
}
};
arrowright.onEnterFrame = function () {
if (xMouse <= -565) {
this._visible = false;
} else {
this._visible = true;
}
};
i = 0;
while (i < 100) {
area["nav" + i].tabEnabled = false;
i++;
}
area.nav1.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x + Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav2.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x - (Stage.width * 2);
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav5.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x + (Stage.width * 2);
hitEffect(this);
if (knockedout) {
gloveson = false;
description.text = "No need for this gloves now.";
}
} else {
navdescriptionShow();
}
};
area.nav3.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x - Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav4.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x + Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav6.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x - (Stage.width * 2);
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav7.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x + Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav8.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x - (Stage.width * 5);
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav9.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x + Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
};
area.nav10.onPress = function () {
if (itemhover.frameNumber == 0) {
area._x = area._x - Stage.width;
hitEffect(this);
} else {
navdescriptionShow();
}
};
i = 0;
while (i < 100) {
_root.area["nav" + i].onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
_root.area["nav" + i].onReleaseOutside = function () {
rollOutEffect(this);
};
_root.area["nav" + i].onRollOut = function () {
rollOutEffect(this);
};
i++;
}
Instance of Symbol 514 MovieClip "area" in Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
Instance of Symbol 529 MovieClip "Btn_Mute" in Frame 7
onClipEvent (load) {
this.tabEnabled = false;
}
on (release) {
_root.clicksound.start(0, 1);
if (_root.bgsound.getVolume() != 0) {
this.gotoAndStop(2);
_root.oldVolume = _root.bgsound.getVolume();
_root.slider.slidebar.onEnterFrame = null;
_root.bgsound.setVolume(0);
} else {
this.gotoAndStop(1);
_root.slider.slidebar.onEnterFrame = _root.adjustVolume;
_root.bgsound.setVolume(_root.oldVolume);
}
}
Frame 8
function time_to_string(time_to_convert) {
elapsed_hoursseven = Math.floor((time_to_convert / 3600000) + 8);
elapsed_hours = Math.floor(time_to_convert / 3600000);
remaining = time_to_convert - (elapsed_hours * 3600000);
elapsed_minutes = Math.floor(remaining / 60000);
remaining = remaining - (elapsed_minutes * 60000);
elapsed_seconds = Math.floor(remaining / 1000);
remaining = remaining - (elapsed_seconds * 1000);
elapsed_fs = Math.floor(remaining / 10);
if (elapsed_hours < 10) {
hours = "0" + elapsed_hoursseven.toString();
} else {
hours = elapsed_hours.toString();
}
if (elapsed_minutes < 10) {
minutes = "0" + elapsed_minutes.toString();
} else {
minutes = elapsed_minutes.toString();
}
if (elapsed_seconds < 10) {
seconds = "0" + elapsed_seconds.toString();
} else {
seconds = elapsed_seconds.toString();
}
if (elapsed_fs < 10) {
hundredths = "0" + elapsed_fs.toString();
} else {
hundredths = elapsed_fs.toString();
}
return((((hours + ":") + minutes) + ":") + seconds);
}
start_time = elapsed_time;
endingyet = true;
countdown = 7200000 /* 0x6DDD00 */;
bldg.onEnterFrame = function () {
elapsed_time2 = start_time;
_root.count2.text = time_to_string(elapsed_time2);
_root.count_down.text = time_to_string(_root.countdown - elapsed_time2);
};
sniperon = false;
hovertxtmc.removeMovieClip();
itemhover.removeMovieClip();
stop();
Instance of Symbol 626 MovieClip "bg" in Frame 8
onClipEvent (load) {
speedlimit = 50;
acshown = false;
acshown2 = false;
this.useHandCursor = false;
this.tabEnabled = false;
}
onClipEvent (enterFrame) {
if (speedlimit >= 200) {
if (!acshown) {
_root.achievedrop2.gotoAndStop(3);
acshown = true;
}
}
if (!_root.walleton) {
if (!acshown2) {
_root.achievedrop2.gotoAndStop(4);
acshown2 = true;
}
}
_root.kph.text = speedlimit + " kph";
if (speedlimit >= 50) {
speedlimit = speedlimit - (Math.floor(Math.random() * 3) + 1);
}
if (speedlimit >= 0) {
speedlimit = speedlimit + (Math.floor(Math.random() * 1) + 1);
}
if (this._x > -1800) {
this._x = this._x - speedlimit;
} else {
this._x = 0;
}
}
on (release) {
speedlimit = speedlimit + 7;
}
Instance of Symbol 629 MovieClip in Frame 8
onClipEvent (load) {
this.useHandCursor = false;
this.tabEnabled = false;
}
onClipEvent (enterFrame) {
this._xscale = _root.bg.speedlimit * 1.5;
this._yscale = _root.bg.speedlimit * 1.5;
}
Instance of Symbol 656 MovieClip in Frame 8
onClipEvent (load) {
this.useHandCursor = false;
this.tabEnabled = false;
}
onClipEvent (enterFrame) {
this._x = this._x + (_root.bg.speedlimit / 100);
if (this.hitTest(_root.bldg) && (this._x < 450)) {
_root.fadeout2.gotoAndPlay(2);
}
}
Frame 9
_root.count2.text = time_to_string(elapsed_time2);
submitbtn.tabEnabled = false;
submitbtn.onRelease = function () {
punchin();
};
submitbtn.onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
submitbtn.onReleaseOutside = function () {
rollOutEffect(this);
};
submitbtn.onRollOut = function () {
rollOutEffect(this);
};
againbtn.tabEnabled = false;
againbtn.onRelease = function () {
stopAllSounds();
_root.gotoAndStop("title");
};
againbtn.onRollOver = function () {
description.text = "";
rollOverEffect(this);
};
againbtn.onReleaseOutside = function () {
rollOutEffect(this);
};
againbtn.onRollOut = function () {
rollOutEffect(this);
};
submitTime();
submitEnd();
Symbol 16 MovieClip Frame 1
itemName = "Chair";
Symbol 18 MovieClip Frame 1
itemName = "Crowbar";
Symbol 23 MovieClip Frame 1
itemName = "Alarm Clock";
Symbol 25 MovieClip Frame 1
itemName = "Small Key";
Symbol 27 MovieClip Frame 1
itemName = "My toothbrush";
Symbol 30 MovieClip Frame 1
itemName = "Frozen Toothpaste";
Symbol 32 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
itemName = "Glass";
Symbol 38 MovieClip Frame 1
itemName = "Uniform";
Symbol 40 MovieClip Frame 1
itemName = "Tissue";
vis = false;
Symbol 42 MovieClip Frame 1
itemName = "Wallet";
Symbol 44 MovieClip Frame 1
itemName = "Boxing Gloves";
Symbol 47 MovieClip Frame 1
itemName = "Car Keys";
Symbol 49 MovieClip Frame 1
itemName = "Soap";
Symbol 51 MovieClip Frame 1
itemName = "Tissue Tube";
vis = false;
Symbol 53 MovieClip Frame 1
itemName = "Plunger";
Symbol 55 MovieClip Frame 1
itemName = "Towel";
Symbol 57 MovieClip Frame 1
itemName = "Air Freshener";
Symbol 61 MovieClip Frame 1
itemName = "Potato";
Symbol 63 MovieClip Frame 1
itemName = "Lighter";
Symbol 67 MovieClip Frame 1
itemName = "Saw Handle";
Symbol 69 MovieClip Frame 1
itemName = "Saw Blade";
vis = false;
Symbol 71 MovieClip Frame 1
itemName = "Belial Figure";
vis = false;
Symbol 73 MovieClip Frame 1
itemName = "Cresil Figure";
vis = false;
Symbol 75 MovieClip Frame 1
itemName = "Lilith Figure";
Symbol 77 MovieClip Frame 1
itemName = "Ice Pick";
Symbol 79 MovieClip Frame 1
itemName = "Gloves";
Symbol 81 MovieClip Frame 1
itemName = "Hotdog on Stick";
Symbol 95 MovieClip Frame 1
itemName = "Picture";
Symbol 96 MovieClip [itemhover] Frame 1
stop();
itemName = "";
itemDesc = "";
Symbol 96 MovieClip [itemhover] Frame 2
itemName = "Chair";
itemDesc = "I learned from my 3 year old girl this can be used to reach high places.";
Symbol 96 MovieClip [itemhover] Frame 3
itemName = "Crowbar";
itemDesc = "A crowbar at night saves a life at risk.";
Symbol 96 MovieClip [itemhover] Frame 4
itemName = "Alarm Clock";
itemDesc = "Aargh, shut up!";
Symbol 96 MovieClip [itemhover] Frame 5
itemName = "Small Key";
itemDesc = "Hey it's my private box key! But where's my private box?";
Symbol 96 MovieClip [itemhover] Frame 6
itemName = "My toothbrush";
itemDesc = "I always find you at a different place everytime.";
Symbol 96 MovieClip [itemhover] Frame 7
itemName = "Frozen Toothpaste";
itemDesc = "Ok, very funny. My kid's a natural prankster.";
Symbol 96 MovieClip [itemhover] Frame 8
itemName = "Glass";
itemDesc = "I see this glass is twice half empty.";
Symbol 96 MovieClip [itemhover] Frame 9
itemName = "Hot Water";
itemDesc = "Honey surprise!";
Symbol 96 MovieClip [itemhover] Frame 10
itemName = "Toothpaste";
itemDesc = "Ok, this is better.";
Symbol 96 MovieClip [itemhover] Frame 11
itemName = "Toothbrush Swirly";
itemDesc = "This is how you brush your teeth three times a day at once.";
Symbol 96 MovieClip [itemhover] Frame 12
itemName = "Uniform";
itemDesc = "This doesn't smell so bad. One more use won't hurt.";
Symbol 96 MovieClip [itemhover] Frame 13
itemName = "Tissue";
itemDesc = "Its absence makes people scream!";
Symbol 96 MovieClip [itemhover] Frame 14
itemName = "Wallet";
itemDesc = "Driver's License. Check. Company ID. Check. Cash. What the hell?";
Symbol 96 MovieClip [itemhover] Frame 15
itemName = "Boxing Gloves";
itemDesc = "Hey these are Sam's boxing gloves, let's give him a dose of his own medicine.";
Symbol 96 MovieClip [itemhover] Frame 16
itemName = "Note";
itemDesc = "Am I reading this right?";
Symbol 96 MovieClip [itemhover] Frame 17
itemName = "Car Keys";
itemDesc = "My ticket to freedom.";
Symbol 96 MovieClip [itemhover] Frame 18
itemName = "Soap";
itemDesc = "Aah it's been a while.";
Symbol 96 MovieClip [itemhover] Frame 19
itemName = "Tissue Tube";
itemDesc = "Did she eat all of it?";
Symbol 96 MovieClip [itemhover] Frame 20
itemName = "Plunger";
itemDesc = "Hey, this is quite long! I bet there's another use for this besides the obvious.";
Symbol 96 MovieClip [itemhover] Frame 21
itemName = "Towel";
itemDesc = "What gets wet when you dry yourself after a bath?";
Symbol 96 MovieClip [itemhover] Frame 22
itemName = "Air Freshener";
itemDesc = "Eau de Toilet - XiaoYuan Fragrances";
Symbol 96 MovieClip [itemhover] Frame 23
itemName = "Private Box";
itemDesc = "Good thing I always lock this.";
Symbol 96 MovieClip [itemhover] Frame 24
itemName = "Razor Max T9000";
itemDesc = "I spent a fortune to get this baby.";
Symbol 96 MovieClip [itemhover] Frame 25
itemName = "Potato";
itemDesc = "This is my breakfast?";
Symbol 96 MovieClip [itemhover] Frame 26
itemName = "Lighter";
itemDesc = "This is a stickup! Foom!";
Symbol 96 MovieClip [itemhover] Frame 27
itemName = "Pipe";
itemDesc = "I think this is just exactly what I need.";
Symbol 96 MovieClip [itemhover] Frame 28
itemName = "Saw Handle";
itemDesc = "This is as useful as Annie without its blade.";
Symbol 96 MovieClip [itemhover] Frame 29
itemName = "Saw Blade";
itemDesc = "Brand new and very sharp.";
Symbol 96 MovieClip [itemhover] Frame 30
itemName = "Steel Saw";
itemDesc = "Handy! This can cut thru anything!";
Symbol 96 MovieClip [itemhover] Frame 31
itemName = "Belial Figure";
itemDesc = "This action figure looks devilishly good.";
Symbol 96 MovieClip [itemhover] Frame 32
itemName = "Cresil Figure";
itemDesc = "Freeze under 0 degrees for best effect - Tag on action figure.";
Symbol 96 MovieClip [itemhover] Frame 33
itemName = "Lilith Figure";
itemDesc = "I don't recognize this figure. Must be reserved for something epic.";
Symbol 96 MovieClip [itemhover] Frame 34
itemName = "Aeropipe";
itemDesc = "First step to total annihilation.";
Symbol 96 MovieClip [itemhover] Frame 35
itemName = "Trigger Aeropipe";
itemDesc = "Now it needs something to stick them together.";
Symbol 96 MovieClip [itemhover] Frame 36
itemName = "Ice Pick";
itemDesc = "I think I may have just the right place for this.";
Symbol 96 MovieClip [itemhover] Frame 37
itemName = "Gloves";
itemDesc = "I have the urge to do something disgusting.";
Symbol 96 MovieClip [itemhover] Frame 38
itemName = "Hotdog on Stick";
itemDesc = "I'm hungry.";
Symbol 96 MovieClip [itemhover] Frame 39
itemName = "Stick";
itemDesc = "Hmmm this can be useful.";
Symbol 96 MovieClip [itemhover] Frame 40
itemName = "Spider";
itemDesc = "Time to take you home little friend.";
Symbol 96 MovieClip [itemhover] Frame 41
itemName = "Tape";
itemDesc = "This should keep things together.";
Symbol 96 MovieClip [itemhover] Frame 42
itemName = "Potato Cannon";
itemDesc = "There is no ammo.";
Symbol 96 MovieClip [itemhover] Frame 43
itemName = "Loaded Potato Cannon";
itemDesc = "I'm armed and dangerous.";
Symbol 96 MovieClip [itemhover] Frame 44
itemName = "Potato Sniper";
itemDesc = "For those one hit kills.";
Symbol 96 MovieClip [itemhover] Frame 45
itemName = "Loaded Potato Sniper";
itemDesc = "I'm armed and dangerous.";
Symbol 96 MovieClip [itemhover] Frame 46
itemName = "Picture";
itemDesc = "HotHipsnLips eh? I will never believe anything from the internet again.";
Symbol 96 MovieClip [itemhover] Frame 47
itemName = "Lilith Figure";
itemDesc = "I don't recognise this figure. Must be reserved for something epic.";
Symbol 103 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip "loadingbox" in Symbol 109 MovieClip Frame 1
on (release) {
_root.gotoAndStop("kongintro");
}
on (rollOver) {
Mouse.show();
_root.hoversound.start(0, 1);
this.gotoAndStop(2);
}
on (rollOut) {
_root.shooter._visible = true;
this.gotoAndStop(1);
}
on (releaseOutside) {
_root.shooter._visible = true;
this.gotoAndStop(1);
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 1
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 678 MovieClip [__Packages.LogRequest] Frame 0
class LogRequest
{
var Pieces;
function LogRequest () {
}
function Queue(data) {
if (Failed > 3) {
return(undefined);
}
Pieces++;
Data = Data + (((Data == "") ? "" : "~") + data);
if ((Pieces == 8) || (Data.length > 300)) {
Pieces = 0;
Ready = true;
}
}
function Send() {
var _local3 = new LoadVars();
var _local2 = new LoadVars();
_local2.onLoad = getaction;
_local3.sendAndLoad(((((((((("http://tracker.swfstats.com/Games/q.aspx?guid=" + Log.GUID) + "&swfid=") + Log.SWFID) + "&q=") + Data) + "&url=") + Log.SourceUrl) + "&") + Math.random()) + "z", _local2, "POST");
trace(((((((((("http://tracker.swfstats.com/Games/q.aspx?guid=" + Log.GUID) + "&swfid=") + Log.SWFID) + "&q=") + Data) + "&url=") + Log.SourceUrl) + "&") + Math.random()) + "z");
}
function getaction(success) {
if (!success) {
IOErrorHandler();
}
}
function IOErrorHandler() {
Failed++;
trace("Error trying to send the data.");
}
static var Failed = 0;
var Data = "";
var Ready = false;
}
Symbol 679 MovieClip [__Packages.Log] Frame 0
class Log
{
static var SourceUrl, PingF;
function Log () {
}
static function View(swfid, guid, defaulturl) {
if (swfid == undefined) {
swfid = 0;
}
if (guid == undefined) {
guid = "";
}
if (defaulturl == undefined) {
defaulturl = "";
}
if (SWFID > 0) {
return(undefined);
}
SWFID = swfid;
GUID = guid;
Enabled = true;
if ((SWFID == 0) || (GUID == "")) {
Enabled = false;
return(undefined);
}
if (((defaulturl.indexOf("http://") != 0) && (System.security.sandboxType != "localWithNetwork")) && (System.security.sandboxType != "localTrusted")) {
Enabled = false;
return(undefined);
}
SourceUrl = GetUrl(defaulturl);
if ((SourceUrl == null) || (SourceUrl == "")) {
Enabled = false;
return(undefined);
}
var _local1 = GetCookie("views");
_local1++;
SaveCookie("views", _local1);
Send("v/" + _local1, true);
PingF = setInterval(PingServer, 30000);
}
static function Play() {
if (!Enabled) {
return(undefined);
}
Plays++;
Send("p/" + Plays);
}
static function CustomMetric(name, group) {
if (!Enabled) {
return(undefined);
}
if ((group == null) || (group == undefined)) {
group = "";
}
Send((("c/" + Clean(name)) + "/") + Clean(group));
}
static function LevelCounterMetric(name, level) {
if (!Enabled) {
return(undefined);
}
Send((("lc/" + Clean(name)) + "/") + Clean(level));
}
static function LevelRangedMetric(name, level, value) {
if (!Enabled) {
return(undefined);
}
Send((((("lr/" + Clean(name)) + "/") + Clean(level)) + "/") + value);
}
static function LevelAverageMetric(name, level, value) {
if (!Enabled) {
return(undefined);
}
Send((((("la/" + Clean(name)) + "/") + Clean(level)) + "/") + value);
}
static function PingServer() {
if (!Enabled) {
return(undefined);
}
Pings++;
Send((("t/" + (FirstPing ? "y" : "n")) + "/") + Pings, true);
if (FirstPing) {
FirstPing = false;
}
}
static function Send(s, view) {
if (view == undefined) {
view = false;
}
Request.Queue(s);
if ((Request.Ready || (view)) || (!Queue)) {
Request.Send();
Request = new LogRequest();
}
}
static function GetCookie(n) {
var _local1 = SharedObject.getLocal("swfstats");
if (_local1.data[n] == undefined) {
return(0);
}
return(int(_local1.data[n]));
}
static function SaveCookie(n, v) {
var _local1 = SharedObject.getLocal("swfstats");
_local1.data[n] = v.toString();
_local1.flush();
}
static function Clean(s) {
return(s);
}
static function GetUrl(defaulturl) {
var _local1;
if (defaulturl.indexOf("http://") == 0) {
_local1 = defaulturl;
}
if ((((_local1 == undefined) || (_local1 == null)) || (_local1 == "")) || (_local1 == "null")) {
if ((System.security.sandboxType == "localWithNetwork") || (System.security.sandboxType == "localTrusted")) {
_local1 = "http://local-testing/";
} else {
_local1 = null;
}
}
return(_local1);
}
static var Enabled = false;
static var Queue = true;
static var SWFID = 0;
static var GUID = "";
static var Request = new LogRequest();
static var FirstPing = true;
static var Pings = 0;
static var Plays = 0;
static var HighestGoal = 0;
}
Symbol 118 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 121 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 121 MovieClip Frame 218
_root.gotoAndStop(4);
Symbol 128 MovieClip Frame 1
stop();
Instance of Symbol 132 MovieClip "glove2" in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.gloveson) {
this._visible = true;
} else if (!_root.gloveson) {
this._visible = false;
}
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Instance of Symbol 128 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 180 MovieClip Frame 10
stop();
Symbol 183 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 184 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
_root.achieve_mc.gotoAndPlay("close");
}
Symbol 212 MovieClip Frame 10
stop();
Symbol 216 MovieClip Frame 140
_root.gotoAndStop("maingame");
Symbol 223 MovieClip Frame 1
itemName = "Sofa";
Symbol 227 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
itemName = "Rug";
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
Symbol 238 MovieClip Frame 1
itemName = "Refrigerator";
Symbol 241 MovieClip Frame 1
itemName = "Chair";
Symbol 245 MovieClip Frame 1
itemName = "Annie";
vis = false;
Instance of Symbol 128 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
itemName = "Table Cloth";
Symbol 256 MovieClip Frame 1
itemName = "Lamp";
Symbol 263 MovieClip Frame 9
stop();
Symbol 264 MovieClip Frame 1
itemName = "Tape";
vis = false;
Symbol 268 MovieClip Frame 49
stop();
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Tape") {
_root.area.in2[i].vis = true;
_root.area.in2[i]._visible = true;
}
i++;
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
itemName = "Cobweb";
Symbol 283 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
itemName = "Drawer ";
Symbol 288 MovieClip Frame 1
itemName = "Annie ";
vis = false;
Instance of Symbol 128 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 1
itemName = "Cresil Stand";
Symbol 299 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
itemName = "Lilith Stand";
Symbol 304 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 1
itemName = "Belial Stand";
Instance of Symbol 128 MovieClip in Symbol 328 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 333 MovieClip Frame 9
stop();
Symbol 334 MovieClip Frame 9
stop();
Symbol 336 MovieClip Frame 1
stop();
hitme.onPress = function () {
if (_root.itemHover.itemName == "Ice Pick") {
_root.description.text = "I'm not that evil. Yet.";
if (!_root.evilachieve) {
_root.achievedrop.gotoAndStop(6);
_root.evilachieve = true;
}
} else {
_root.description.text = "He may have something that I need. How can I wake him up?";
}
};
Symbol 336 MovieClip Frame 2
clue2.onPress = function () {
if (!_root.puzzlesolved) {
_root.description.text = "Sam: 'Just ignore the primary colors in the poster behind my back.";
}
};
Symbol 340 MovieClip Frame 2
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
itemName = "Frost";
vis = false;
Symbol 349 MovieClip Frame 20
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 2
itemName = "Bathroom Door";
Symbol 351 MovieClip Frame 1
itemName = "Bathroom Door";
Symbol 353 MovieClip Frame 1
itemName = "Water Dispenser";
Symbol 361 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 20
stop();
Symbol 362 MovieClip Frame 1
itemName = "Hot Water";
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 8
stop();
Symbol 365 MovieClip Frame 1
itemName = "Note";
Symbol 371 MovieClip Frame 1
itemName = "Sam's Room";
Symbol 372 MovieClip Frame 1
itemName = "Crowbar ";
vis = false;
Symbol 374 MovieClip Frame 1
itemName = "Drawer";
Symbol 381 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
itemName = "Swirly Slot";
Symbol 384 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 1
itemName = "Soap Slot";
Symbol 388 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 1
itemName = "Towel Slot";
Symbol 392 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 1
itemName = "Razor Slot";
Symbol 396 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
itemName = "Uniform Slot";
Symbol 410 MovieClip Frame 1
itemName = "Car";
Symbol 412 MovieClip Frame 1
itemName = "Pipe";
Symbol 415 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 1
itemName = "Trunk";
Symbol 419 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 1
itemName = "Trash Can";
Symbol 425 MovieClip Frame 1
itemName = "Spider";
Symbol 428 MovieClip Frame 1
itemName = "Lilith Figure";
Symbol 439 MovieClip Frame 14
stop();
Symbol 440 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 1
itemName = "Window";
Symbol 443 MovieClip Frame 1
itemName = "Door";
Symbol 444 MovieClip Frame 1
itemName = "Door ";
Symbol 476 MovieClip Frame 7
stop();
Symbol 477 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 1
itemName = "My fat kid";
Symbol 480 MovieClip Frame 1
itemName = "Private Box";
vis = false;
Symbol 482 MovieClip Frame 1
itemName = " Annie";
Symbol 485 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 1
b1.counter = 0;
b2.counter = 0;
b3.counter = 0;
b4.counter = 0;
b1.tabEnabled = false;
b2.tabEnabled = false;
b3.tabEnabled = false;
b4.tabEnabled = false;
shownonce = false;
this.onEnterFrame = function () {
b1.countertxt.text = b1.counter;
b2.countertxt.text = b2.counter;
b3.countertxt.text = b3.counter;
b4.countertxt.text = b4.counter;
if ((((b1.counter == 1) && (b2.counter == 4)) && (b3.counter == 3)) && (b4.counter == 1)) {
b1.enabled = (b2.enabled = (b3.enabled = (b4.enabled = false)));
b1._visible = (b2._visible = (b3._visible = (b4._visible = false)));
if (!shownonce) {
if (!_root.picachieve) {
_root.achievedrop.gotoAndStop(5);
_root.picachieve = true;
}
_root.draweropen = true;
_root.area.in2.pinkbox.pinkbox.gotoAndStop(2);
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Pink Box") {
_root.area.in2.pinkbox.pinkbox.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Picture") {
_root.area.in2[i].vis = true;
}
i++;
}
shownonce = true;
}
}
};
b1.onPress = function () {
_root.buttonsound.start(0, 1);
if (b1.counter < 9) {
b1.counter = b1.counter + 1;
} else {
b1.counter = 0;
}
};
b2.onPress = function () {
_root.buttonsound.start(0, 1);
if (b2.counter < 9) {
b2.counter = b2.counter + 1;
} else {
b2.counter = 0;
}
};
b3.onPress = function () {
_root.buttonsound.start(0, 1);
if (b3.counter < 9) {
b3.counter = b3.counter + 1;
} else {
b3.counter = 0;
}
};
b4.onPress = function () {
_root.buttonsound.start(0, 1);
if (b4.counter < 9) {
b4.counter = b4.counter + 1;
} else {
b4.counter = 0;
}
};
itemName = "Pink Box";
Symbol 493 MovieClip Frame 1
b1.counter = 0;
b2.counter = 0;
b3.counter = 0;
b1.tabEnabled = false;
b2.tabEnabled = false;
b3.tabEnabled = false;
shownonce = false;
this.onEnterFrame = function () {
b1.countertxt.text = b1.counter;
b2.countertxt.text = b2.counter;
b3.countertxt.text = b3.counter;
if ((((b1.counter == 6) && (b2.counter == 6)) && (b3.counter == 6)) && (_root.figureson)) {
b1.enabled = (b2.enabled = (b3.enabled = false));
b1._visible = (b2._visible = (b3._visible = false));
if (!shownonce) {
_root.resultEffect(this);
_root.draweropen = true;
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Annie ") {
_root.area.in2[i].vis = false;
_root.area.in2[i]._visible = false;
}
if (_root.area.in2[i].itemName == " Annie") {
_root.area.in2[i]._visible = true;
_root.area.in2[i].vis = true;
}
_root.area.in2.pinkbox._visible = true;
if (_root.area.in2[i].itemName == "Drawer ") {
_root.area.in2[i].drawer.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Saw Blade") {
_root.area.in2[i].vis = true;
}
if (_root.area.in2[i].itemName == "Lighter") {
_root.area.in2[i].vis = true;
}
if (_root.inventory_mc[i].itemName == "Note ") {
_root.inventory_mc[i].gotoAndStop(1);
_root.inventory_mc[i].itemNo = 0;
}
i++;
}
shownonce = true;
}
}
};
b1.onPress = function () {
_root.buttonsound.start(0, 1);
if (b1.counter < 9) {
b1.counter = b1.counter + 1;
} else {
b1.counter = 0;
}
};
b2.onPress = function () {
_root.buttonsound.start(0, 1);
if (b2.counter < 9) {
b2.counter = b2.counter + 1;
} else {
b2.counter = 0;
}
};
b3.onPress = function () {
_root.buttonsound.start(0, 1);
if (b3.counter < 9) {
b3.counter = b3.counter + 1;
} else {
b3.counter = 0;
}
};
Symbol 502 MovieClip Frame 11
_root.itemhover.frameNumber = 22;
_root.itemhover.gotoAndStop(22);
stop();
_root.sprayed = false;
Symbol 503 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 1
itemName = "Stench";
Symbol 505 MovieClip Frame 1
b1.counter = 0;
b2.counter = 0;
b3.counter = 0;
b1.tabEnabled = false;
b2.tabEnabled = false;
b3.tabEnabled = false;
shownonce = false;
this.onEnterFrame = function () {
b1.countertxt.text = b1.counter;
b2.countertxt.text = b2.counter;
b3.countertxt.text = b3.counter;
if ((((b1.counter == 8) && (b2.counter == 0)) && (b3.counter == 3)) && (_root.coderead)) {
b1.enabled = (b2.enabled = (b3.enabled = false));
b1._visible = (b2._visible = (b3._visible = false));
if (!shownonce) {
_root.resultEffect(this);
_root.draweropen = true;
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Annie") {
_root.area.in2[i].vis = true;
}
if (_root.area.in2[i].itemName == "Drawer") {
_root.area.in2[i].drawer.gotoAndStop(2);
}
i++;
}
i = 0;
while (i < 100) {
if (_root.area.in2[i].itemName == "Boxing Gloves") {
_root.area.in2[i].vis = true;
}
if (_root.area.in2[i].itemName == "Wallet") {
_root.area.in2[i].vis = true;
}
if (_root.area.in2[i].itemName == "Soap") {
_root.area.in2[i].vis = true;
}
if (_root.inventory_mc[i].itemName == "Note") {
_root.inventory_mc[i].gotoAndStop(1);
_root.inventory_mc[i].itemNo = 0;
}
i++;
}
shownonce = true;
}
}
};
b1.onPress = function () {
_root.buttonsound.start(0, 1);
if (b1.counter < 9) {
b1.counter = b1.counter + 1;
} else {
b1.counter = 0;
}
};
b2.onPress = function () {
_root.buttonsound.start(0, 1);
if (b2.counter < 9) {
b2.counter = b2.counter + 1;
} else {
b2.counter = 0;
}
};
b3.onPress = function () {
_root.buttonsound.start(0, 1);
if (b3.counter < 9) {
b3.counter = b3.counter + 1;
} else {
b3.counter = 0;
}
};
pinkbox._visible = false;
Symbol 509 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
stop();
Instance of Symbol 520 MovieClip "glove1" in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.gloveson) {
this._visible = true;
} else if (!_root.gloveson) {
this._visible = false;
}
}
Symbol 525 MovieClip Frame 1
stop();
Instance of Symbol 128 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 529 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 2
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 2
_root.area._x = _root.area._x + 3;
_root.area._y = _root.area._y + 3;
Symbol 540 MovieClip Frame 3
_root.area._x = _root.area._x - 3;
_root.area._y = _root.area._y - 3;
Symbol 540 MovieClip Frame 4
_root.area._x = _root.area._x + 3;
_root.area._y = _root.area._y + 3;
Symbol 540 MovieClip Frame 5
_root.area._x = _root.area._x - 3;
_root.area._y = _root.area._y - 3;
Symbol 543 MovieClip Frame 1
stop();
Instance of Symbol 128 MovieClip in Symbol 543 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Instance of Symbol 214 MovieClip in Symbol 545 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
_root.noteview._visible = false;
}
Instance of Symbol 214 MovieClip in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
_root.picview._visible = false;
}
Symbol 548 MovieClip Frame 14
stop();
Symbol 559 MovieClip Frame 16
stop();
Instance of Symbol 214 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
}
Symbol 560 MovieClip Frame 16
_root.shake.play();
Symbol 560 MovieClip Frame 50
_root.main._visible = false;
_root.main2._visible = true;
_root.area.in2.shower.gotoAndStop(2);
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Towel Slot") {
_root.area.in2[i]._visible = false;
}
if (_root.area.in2[i].itemName == "Soap Slot") {
_root.area.in2[i]._visible = false;
}
if (_root.area.in2[i].itemName == "Razor Slot") {
_root.area.in2[i]._visible = false;
}
i++;
}
Symbol 560 MovieClip Frame 257
_root.main2._visible = false;
_root.main3._visible = true;
_root.area.in2.shower.gotoAndStop(1);
_root.description.text = "Viiiiictorrrryyy!!!";
i = 100;
while (i < 200) {
if (_root.area.in2[i].itemName == "Uniform Slot") {
_root.area.in2[i]._visible = false;
}
if (_root.area.in2[i].itemName == "Swirly Slot") {
_root.area.in2[i]._visible = false;
}
i++;
}
Symbol 560 MovieClip Frame 328
_root.main3.sparkle.play();
Symbol 560 MovieClip Frame 329
stop();
Symbol 561 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 2
_root.description.text = "Sam: 'Hey Dad! What are you doing here?!'";
Instance of Symbol 214 MovieClip in Symbol 562 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
_root.cutscene2.nextFrame();
}
Symbol 562 MovieClip Frame 3
_root.description.text = "Look son, I found your action figures!";
Symbol 562 MovieClip Frame 4
_root.description.text = "Sam: 'Cool!!! I thought I would never see them again!'";
Symbol 562 MovieClip Frame 5
_root.description.text = "Now, would you mind telling me what this blueprint is?";
Symbol 562 MovieClip Frame 6
_root.description.text = "If my guess is right, I kinda need it to err, break in somewhere.";
Symbol 562 MovieClip Frame 7
_root.description.text = "Sam: 'That's a potato cannon, very dangerous. Will you help me make one?'";
Symbol 562 MovieClip Frame 8
_root.description.text = "Sure, but I'm missing some parts.";
Symbol 562 MovieClip Frame 9
_root.description.text = "Sam: 'Ok, see the poster behind me?'";
Symbol 562 MovieClip Frame 10
_root.description.text = "Sam: 'Just ignore the primary colors and you'll get the code for my drawer.'";
Symbol 562 MovieClip Frame 11
_root.description.text = "Sam: 'You'll find things that should be able to help you.'";
Symbol 562 MovieClip Frame 12
stop();
Instance of Symbol 128 MovieClip in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Instance of Symbol 570 MovieClip in Symbol 597 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.sniperon) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 570 MovieClip in Symbol 597 MovieClip Frame 70
onClipEvent (load) {
if (_root.sniperon) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 597 MovieClip Frame 91
_root.cutscene3._rotation = _root.cutscene3._rotation + 1;
Symbol 597 MovieClip Frame 92
_root.cutscene3._rotation = _root.cutscene3._rotation - 1;
Symbol 597 MovieClip Frame 93
_root.cutscene3._rotation = _root.cutscene3._rotation + 1;
Symbol 597 MovieClip Frame 94
_root.cutscene3._rotation = _root.cutscene3._rotation - 1;
stop();
Symbol 602 MovieClip Frame 105
stop();
_root.gotoAndStop("ending");
Symbol 603 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 603 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
_root.cutscene2.nextFrame();
}
Symbol 603 MovieClip Frame 110
stop();
Symbol 609 MovieClip Frame 6
stop();
Symbol 610 MovieClip Frame 5
_root.submitSniper();
_root.unlock1 = 1;
_root.saveGame();
Symbol 610 MovieClip Frame 61
stop();
Symbol 613 MovieClip Frame 5
_root.submitSpeed();
_root.unlock2 = 1;
_root.saveGame();
Symbol 613 MovieClip Frame 61
stop();
Symbol 616 MovieClip Frame 5
_root.submitBravery();
_root.unlock3 = 1;
_root.saveGame();
Symbol 616 MovieClip Frame 61
stop();
Symbol 619 MovieClip Frame 5
_root.submitDirty();
_root.unlock4 = 1;
_root.saveGame();
Symbol 619 MovieClip Frame 61
stop();
Symbol 622 MovieClip Frame 5
_root.submitEvil();
_root.unlock5 = 1;
_root.saveGame();
Symbol 622 MovieClip Frame 61
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 2
stop();
Symbol 623 MovieClip Frame 3
stop();
Symbol 623 MovieClip Frame 4
stop();
Symbol 623 MovieClip Frame 5
stop();
Symbol 623 MovieClip Frame 6
stop();
Instance of Symbol 128 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Instance of Symbol 128 MovieClip in Symbol 656 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 658 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 18
stop();
_root.gotoAndStop("credits");
Instance of Symbol 128 MovieClip in Symbol 666 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
onClipEvent (enterFrame) {
timer = timer + 1;
if (timer > counter) {
this.play();
timer = 0;
counter = Math.floor(Math.random() * 100) + 100;
}
}
Symbol 666 MovieClip Frame 6
stop();
Symbol 672 MovieClip Frame 9
stop();
Symbol 674 MovieClip Frame 1
stop();