Frame 1
function f_Cursor() {
cursor._x = _root._xmouse;
cursor._y = _root._ymouse;
}
function f_FullScreen() {
Stage.fullScreenSourceRect = new flash.geom.Rectangle(0, 0, 640, 480);
Stage.displayState = "fullScreen";
}
_quality = "low";
Mouse.hide();
var contextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
_root.menu = contextMenu;
stop();
Instance of Symbol 73 MovieClip [API Connector (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
api_id = "12840";
encryption_key = "21KFZSUgf18rEDrAdE6e0n7bl56orUUt";
version = "";
fake_session = false;
debug = false;
error_screens = true;
medal_popups = false;
}
Instance of Symbol 296 MovieClip "cursor" in Frame 1
onClipEvent (load) {
startDrag ("", true);
}
Frame 3
function f_CheckText() {
return(a_Dialog.length);
}
function chat(person, dialogue, rageup, moneyup, laugh) {
a_Face.push(person);
a_Dialog.push(formatText(dialogue));
if (rageup) {
a_Rage.push(rageup);
} else {
a_Rage.push(-1);
}
if ((moneyup != undefined) and (moneyup != 0)) {
a_Money.push(moneyup);
} else {
a_Money.push(0);
}
if (laugh) {
a_Laugh.push(laugh);
} else {
a_Laugh.push(-1);
}
}
function f_TextClear() {
textClicked = true;
textInit = true;
a_Dialog = new Array();
a_Face = new Array();
a_Money = new Array();
a_Laugh = new Array();
do {
a_Rage.splice(0, 1);
if (a_Rage[0] > -1) {
f_Rage(a_Rage[0]);
}
} while (a_Rage.length);
a_Rage = new Array();
}
function f_TextBox() {
if (!textbox) {
if (a_Dialog.length > 0) {
textTimer = 0;
textInit = false;
textClicked = false;
f_Sound(s_char);
talk.gotoAndStop("on");
if (smashmode) {
if (a_Face[0] == 1) {
a_Face[0] = 9;
}
}
talk.face.gotoAndStop(a_Face[0]);
if (a_Rage[0] > -1) {
f_Rage(a_Rage[0]);
}
if (a_Money[0] != 0) {
f_UpdateMoney(a_Money[0]);
}
if (a_Laugh[0] > 0) {
if (a_Laugh[0] == 3) {
s_boing.start(0, 0);
} else if (a_Laugh[0] == 2) {
s_chicken.start(0, 0);
} else {
f_Laugh();
}
}
textbox = a_Dialog[0].charAt(0);
p1.goal_x = p1._x;
p1.goal_y = p1._y;
p1.body.body.gotoAndStop(p1.stand);
return(true);
}
} else {
if (textbox.length < a_Dialog[0].length) {
textTimer++;
if (textClicked) {
textbox = a_Dialog[0];
f_Sound(s_char);
} else if (textTimer > 3) {
textTimer = 0;
textbox = textbox + a_Dialog[0].charAt(textbox.length);
f_Sound(s_char);
}
return(true);
}
if (!textInit) {
talk.blinker.gotoAndStop("on");
textClicked = false;
textInit = true;
return(true);
}
if (textClicked) {
a_Dialog.splice(0, 1);
a_Face.splice(0, 1);
a_Rage.splice(0, 1);
a_Money.splice(0, 1);
a_Laugh.splice(0, 1);
textbox = "";
if (!f_CheckText()) {
talk.gotoAndStop("off");
textComplete();
textComplete = undefined;
} else {
talk.blinker.gotoAndStop("off");
f_TextBox();
}
}
}
}
function f_TextClick() {
textClicked = true;
}
function f_NextText() {
if (textbox.length < a_Dialog[0].length) {
f_Sound(s_char);
textbox = a_Dialog[0];
}
textInit = true;
f_TextClick();
}
function formatText(text) {
var _local3 = text.split(" ");
var _local5 = _local3.length;
formatTextField.text = outText;
formatTextField.autoSize = "left";
formatTextField.wordWrap = true;
formatTextField.multiline = true;
var outText = _local3[0];
var _local2;
var _local4 = formatTextField.textHeight;
var _local1 = 1;
while (_local1 < _local5) {
_local2 = (outText + " ") + _local3[_local1];
formatTextField.text = _local2;
if (formatTextField.textHeight > _local4) {
outText = outText + (newline + _local3[_local1]);
_local4 = formatTextField.textHeight;
} else {
outText = _local2;
}
_local1++;
}
return(outText);
}
function f_Mission(newmission) {
mission = newmission;
missiontext = mission;
missionhud.bargoal = (mission.length * 16) - 450;
missionhud.timer = 180;
}
function f_ShowMission() {
if (mission) {
if (missionhud.timer > 0) {
missionhud.timer = 0;
} else {
missiontext = mission;
missionhud.bargoal = (mission.length * 16) - 450;
missionhud.timer = 180;
}
}
}
function f_MissionTimer() {
if (!mission) {
if (missionhud._x > -40) {
missionhud._x = missionhud._x - 6;
}
} else if (missionhud._x < 2) {
missionhud._x = missionhud._x + 6;
}
if (missionhud.timer > 0) {
if (missionhud.bar._x < missionhud.bargoal) {
missionhud.bar._x = missionhud.bar._x + 16;
}
missionhud.timer--;
} else if (missionhud.bar._x > -500) {
missionhud.bar._x = missionhud.bar._x - 12;
}
}
function f_MissionClear() {
missionhud.timer = 0;
mission = undefined;
}
function f_GoBlank(zone) {
zone.gotoAndStop("blank");
}
function f_LookLeft(zone) {
zone.stand = "stand_left";
zone.body.body.gotoAndStop(zone.stand);
}
function f_LookRight(zone) {
zone.stand = "stand_right";
zone.body.body.gotoAndStop(zone.stand);
}
function f_LookDown(zone) {
zone.stand = "stand_down";
zone.body.body.gotoAndStop(zone.stand);
}
function f_LookUp(zone) {
zone.stand = "stand_up";
zone.body.body.gotoAndStop(zone.stand);
}
function f_StopJohnny() {
p1.goal_x = p1._x;
p1.goal_y = p1._y;
}
function f_UpdateMoney(u) {
money2 = money2 + u;
if (Math.abs(money - money2) <= 30) {
moneyi = 1;
} else {
moneyi = int(Math.abs(money - money2) / 30);
}
moneyhud.gotoAndPlay("on");
}
function f_MoneyAdjust(zone) {
if (money > money2) {
money = money - moneyi;
} else if (money <= money2) {
money = money2;
zone.gotoAndPlay("off");
}
}
function f_WalktoXY(zone, x, y) {
zone.goal_x = x;
zone.goal_y = y;
zone.moving = true;
return(true);
}
function f_WalktoMouse() {
f_WalktoXY(p1, _xmouse - game._x, _ymouse - game._y);
}
function f_AddEvent(zone) {
zone.x = zone._x;
zone.y = zone._y;
zone.w = zone._width / 2;
zone.h = zone._height / 2;
zone.left = zone.x - zone.w;
zone.right = zone.x + zone.w;
zone.top = zone.y - zone.h;
zone.bottom = zone.y + zone.h;
a_Events.push(zone);
}
function f_HitEvent(zone) {
if (noexit) {
return(undefined);
}
for (i in a_Events) {
var _local1 = a_Events[i];
if (Math.abs(zone._x - _local1.x) <= _local1.w) {
if (Math.abs(zone._y - _local1.y) <= _local1.h) {
_local1.f_Action(zone);
}
}
}
}
function f_AddWall(zone, u_wall) {
if (zone.skip) {
return(undefined);
}
u_wall.x = zone._x + u_wall._x;
u_wall.y = zone._y + u_wall._y;
u_wall.w = (u_wall._width / 2) * (zone._xscale / 100);
u_wall.h = (u_wall._height / 2) * (zone._yscale / 100);
u_wall.left = u_wall.x - u_wall.w;
u_wall.right = u_wall.x + u_wall.w;
u_wall.top = u_wall.y - u_wall.h;
u_wall.bottom = u_wall.y + u_wall.h;
a_Walls.push(u_wall);
}
function f_Rage(u) {
rage = u - 1;
ragemeter.gotoAndStop(u);
}
function f_InvItem(zone, item) {
zone.gotoAndStop("blank");
cursor.gotoAndStop(item);
}
function f_GetTux() {
f_MissionClear();
tuxhome = 1;
f_GetItem("tux");
}
function f_DressClerk() {
if (tuxready) {
chat(51, "Great news, your tux is ready!");
gottux = true;
tuxready = false;
newtux = true;
textComplete = f_GetTux;
} else if (gottux) {
chat(51, "Great to see you, Johnny! You're my favorite customer.");
} else {
chat(51, "Hi Johnny! Sorry, your tuxedo isn't ready yet.");
if (!gotdress) {
chat(1, "I was actually thinking I might buy a dress for my Lisa!");
chat(51, "That Lisa is one lucky girl.");
}
}
}
function f_UseDress() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if (screen == "theroom") {
if (Math.abs(_local2 - lisa.x) < 60) {
if ((_local1 < lisa.y) and (_local1 > (lisa.y - 75))) {
if (cp_theroom == 1) {
f_Sound(s_dresson);
f_Lisa3();
f_RemoveItem("dress");
cursor.gotoAndStop(1);
cp_theroom = 2;
}
return(undefined);
}
}
if (Math.abs(_local2 - game.spoon._x) < 40) {
if (Math.abs(_local1 - game.spoon._y) < 40) {
chat(1, "You can't dress a spoon!");
}
}
if (Math.abs(_local2 - p1._x) < 40) {
if ((_local1 < p1._y) and (_local1 > (p1._y - 75))) {
chat(1, "I think it would look better on my Lisa.");
}
}
}
cursor.gotoAndStop(1);
f_RefreshInventory();
}
function f_UseFlowers() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if (screen == "theroom") {
if (Math.abs(_local2 - lisa.x) < 60) {
if ((_local1 < lisa.y) and (_local1 > (lisa.y - 75))) {
if (cp_theroom >= 2) {
f_GiveFlowers();
f_RemoveItem("flowers");
cursor.gotoAndStop(1);
cp_theroom = 3;
}
return(undefined);
}
}
if (Math.abs(_local2 - game.spoon._x) < 40) {
if (Math.abs(_local1 - game.spoon._y) < 40) {
chat(1, "You can't give flowers to a spoon!");
}
}
if (Math.abs(_local2 - p1.x) < 40) {
if ((_local1 < p1.y) and (_local1 > (p1.y - 75))) {
chat(1, "They smell beautiful!");
}
}
}
cursor.gotoAndStop(1);
f_RefreshInventory();
}
function f_UseRecorder() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if (screen == "theroom") {
if (Math.abs(_local2 - game.phone._x) < 40) {
if (Math.abs(_local1 - game.phone._y) < 40) {
if (mission == "Record everything!") {
f_MissionClear();
}
chat(1, "I'll record everything!");
recording = true;
usedrecorder = true;
f_RemoveItem("recorder");
cursor.gotoAndStop(1);
if (stairlisten == 2) {
textComplete = f_Peter0;
}
return(undefined);
}
}
if (Math.abs(_local2 - p1.x) < 40) {
if ((_local1 < p1.y) and (_local1 > (p1.y - 75))) {
chat(1, "I can record things with this.");
}
}
}
cursor.gotoAndStop(1);
f_RefreshInventory();
}
function f_UseTape() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if (screen == "theroom") {
if (Math.abs(_local2 - game.phone._x) < 40) {
if (Math.abs(_local1 - game.phone._y) < 40) {
chat(1, "I'll continue to record everything!");
havetape = false;
recording = true;
f_RemoveItem("tape");
cursor.gotoAndStop(1);
if (stairlisten == 2) {
textComplete = f_Peter0;
}
return(undefined);
}
}
} else if (screen == "bedroom") {
if (Math.abs(_local2 - game.tapeplayer._x) < 40) {
if (Math.abs(_local1 - game.tapeplayer._y) < 40) {
f_PlayTape();
f_RemoveItem("tape");
cursor.gotoAndStop(1);
return(undefined);
}
}
}
if (Math.abs(_local2 - p1.x) < 40) {
if ((_local1 < p1.y) and (_local1 > (p1.y - 75))) {
chat(1, "Tastes like plastic!");
}
}
cursor.gotoAndStop(1);
f_RefreshInventory();
}
function f_UseTux() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if (Math.abs(_local2 - p1.x) < 40) {
if ((_local1 < p1.y) and (_local1 > (p1.y - 75))) {
if (outfit == 6) {
chat(1, "I'm not interested in wearing a tux today.");
} else if (outfit == 7) {
chat(1, "I'm too upset to put on a tux!");
} else if (outfit == 8) {
chat(1, "I'm too angry to put on a tux!");
} else {
f_ChangeJohnny(5);
f_RemoveItem("tux");
if (newtux) {
newtux = false;
f_LookDown(p1);
f_Sound(s_dresson);
game.stars._x = p1._x;
game.stars._y = p1._y - 35;
game.stars.f_Action = f_TuxTalk;
game.stars.gotoAndPlay("go");
talk.gotoAndStop("wait");
}
}
}
}
cursor.gotoAndStop(1);
f_RefreshInventory();
}
function f_TuxTalk() {
chat(1, "This tux fits great!");
chat(51, "Great Johnny, and thanks for undressing in front of me!");
textComplete = f_MissionHome;
}
function f_UseGun() {
var _local4 = cursor._x - game._x;
var _local2 = cursor._y - game._y;
var _local3 = true;
if (Math.abs(_local4 - p1.x) < 40) {
if ((_local2 < p1.y) and (_local2 > (p1.y - 75))) {
_local3 = false;
if (cp_theroom < 100) {
chat(1, "Now why would I do something crazy like that?!");
} else if (screen == "bedroom") {
f_Suicide();
} else {
chat(9, "This isn't a very intimate location to do that sort of thing!");
}
}
}
var _local1 = false;
if ((screen == "dressinterior") and (!smashed.dressclerk2)) {
_local1 = true;
}
if ((screen == "flowerinterior") and (!smashed.flowerclerk2)) {
_local1 = true;
}
if ((screen == "electronicinterior") and (!smashed.electronicsclerk2)) {
_local1 = true;
}
if (_local1) {
if (Math.abs(_local4 - game.target_clerk._x) < 30) {
if (Math.abs(_local2 - game.target_clerk._y) < 40) {
game.clerk.gotoAndStop("die");
}
}
}
if (Math.abs(_local4 - game.target_dog._x) < 30) {
if (Math.abs(_local2 - game.target_dog._y) < 40) {
_local3 = false;
chat(9, "Oh doggy, I can't shoot you!");
}
}
if (_local3) {
s_gun.start(0, 0);
}
cursor.gotoAndStop(1);
f_RefreshInventory();
}
function f_ObjectPop(zone, a_Array) {
for (n in a_Array) {
if (a_Array[n] == zone) {
a_Array.splice(n, 1);
return(undefined);
}
}
}
function f_RemoveItem(zone) {
f_ObjectPop(zone, a_Inventory);
f_RefreshInventory();
}
function f_GetItem(zone) {
a_Inventory.push(zone);
f_RefreshInventory();
}
function f_RefreshInventory() {
var _local2 = 0;
while (_local2 <= 2) {
if (_local2 < a_Inventory.length) {
_root["i" + _local2].gotoAndStop(a_Inventory[_local2]);
} else {
_root["i" + _local2].gotoAndStop("blank");
}
_local2++;
}
}
function f_WV(zone, speed) {
var _local4 = speed;
for (i in a_Walls) {
var _local1 = a_Walls[i];
if ((zone.right >= _local1.left) and (zone.left <= _local1.right)) {
if (speed > 0) {
if (zone.top <= _local1.top) {
if ((zone.bottom + speed) >= _local1.top) {
speed = _local1.top - zone.bottom;
}
}
} else if (zone.bottom >= _local1.bottom) {
if ((zone.top + speed) <= _local1.bottom) {
speed = _local1.bottom - zone.top;
}
}
}
}
if ((_local4 > 0) and (speed < 0)) {
speed = 0;
} else if ((_local4 < 0) and (speed > 0)) {
speed = 0;
}
return(speed);
}
function f_WH(zone, speed) {
var _local4 = speed;
for (i in a_Walls) {
var _local1 = a_Walls[i];
if ((zone.top <= _local1.bottom) and (zone.bottom >= _local1.top)) {
if (speed > 0) {
if (zone.left <= _local1.left) {
if ((zone.right + speed) >= _local1.left) {
zone.hitwall = _local1;
speed = _local1.left - zone.right;
}
}
} else if (zone.right >= _local1.right) {
if ((zone.left + speed) <= _local1.right) {
zone.hitwall = _local1;
speed = _local1.right - zone.left;
}
}
}
}
if ((_local4 > 0) and (speed < 0)) {
speed = 0;
} else if ((_local4 < 0) and (speed > 0)) {
speed = 0;
}
return(speed);
}
function f_MoveH(zone, speed) {
var _local3 = zone.x;
if (zone.ghost) {
zone._x = zone._x + speed;
} else {
zone._x = zone._x + f_WH(zone, speed);
}
zone.top = zone._y + zone.zone.top;
zone.bottom = zone._y + zone.zone.bottom;
zone.right = zone._x + zone.zone.right;
zone.left = zone._x + zone.zone.left;
zone.x = zone._x;
}
function f_MoveV(zone, speed) {
if (zone.ghost) {
zone._y = zone._y + speed;
} else {
zone._y = zone._y + f_WV(zone, speed);
}
zone.top = zone._y + zone.zone.top;
zone.bottom = zone._y + zone.zone.bottom;
zone.right = zone._x + zone.zone.right;
zone.left = zone._x + zone.zone.left;
zone.y = zone._y;
f_Depth(zone, zone._y);
}
function f_Clear() {
a_Walls = new Array();
a_Events = new Array();
a_Dialog = new Array();
a_Face = new Array();
a_Rage = new Array();
a_Money = new Array();
a_Laugh = new Array();
a_Depths = new Array();
current_depth_mod = 0;
currentfx = 0;
moves_max = 100;
moves = new Array(moves_max);
var _local1 = 0;
while (_local1 < moves_max) {
moves[_local1] = new Array(4);
_local1++;
}
step = 0;
delay = 20;
}
function f_CleanUp() {
for (i in a_Depths) {
var _local1 = a_Depths[i];
removeMovieClip(_local1);
}
}
function f_SetXY(zone, x, y) {
f_InitChar(zone);
zone.x = x;
zone.y = y;
zone._x = x;
zone._y = y;
zone.goal_x = zone.x;
zone.goal_y = zone.y;
f_Depth(zone, zone._y);
if (zone == p1) {
if (a_Party[0]) {
f_SetXY(game.f1, p1._x, p1._y);
}
if (a_Party[1]) {
f_SetXY(game.f2, p1._x, p1._y);
}
if (a_Party[2]) {
f_SetXY(game.p4, p1._x, p1._y);
}
}
}
function f_InitFX(zone) {
f_SetDepthMod(zone);
}
function f_InitChar(zone) {
if (!zone.init) {
zone.init = true;
zone.speed_x = 3;
zone.speed_y = 3;
zone.x = zone._x;
zone.y = zone._y;
f_SetDepthMod(zone);
f_Depth(zone, zone._y);
zone.zone.right = zone.zone._x + (zone.zone._width / 2);
zone.zone.left = zone.zone._x - (zone.zone._width / 2);
zone.zone.top = zone.zone._y - (zone.zone._height / 2);
zone.zone.bottom = zone.zone._y + (zone.zone._height / 2);
zone.right = zone.x + zone.zone.right;
zone.left = zone.x + zone.zone.left;
zone.top = zone.y + zone.zone.top;
zone.bottom = zone.y + zone.zone.bottom;
if (!zone.goal_x) {
zone.goal_x = zone.x;
zone.goal_y = zone.y;
}
zone.stand = "stand_down";
zone.laststand = zone.stand;
}
}
function f_NeedShower() {
if (showermission) {
showermission = false;
f_Mission("Take a shower!");
}
needshower = true;
smell_timer = 19;
}
function f_ChangeJohnny(newshirt) {
if (outfit == 5) {
f_GetTux();
}
outfit = newshirt;
p1.num = newshirt;
f_RefreshShirts();
}
function f_PickOutfit(newshirt, zone) {
if ((outfit != 7) and (outfit != 8)) {
f_ChangeJohnny(newshirt);
zone.gotoAndStop("off");
}
}
function f_TakeShower() {
if (mission == "Take a shower!") {
f_MissionClear();
}
needshower = false;
if (rage != 4) {
f_ChangeJohnny(9);
}
p1.stand = "shower";
p1.body.body.gotoAndStop("shower");
game.shower.gotoAndPlay("go");
talk.gotoAndStop("wait");
if (cp_bedroom == 8) {
cp_bedroom = 9;
cp_theroom = 9;
}
}
function f_RefreshShirts() {
if ((outfit == 1) or (outfit == 6)) {
game.closet.closet.shirt1.gotoAndStop("off");
game.closet.closet.shirt2.gotoAndStop("on");
game.closet.closet.shirt3.gotoAndStop("on");
} else if (outfit == 2) {
game.closet.closet.shirt1.gotoAndStop("on");
game.closet.closet.shirt2.gotoAndStop("off");
game.closet.closet.shirt3.gotoAndStop("on");
} else if (outfit == 3) {
game.closet.closet.shirt1.gotoAndStop("on");
game.closet.closet.shirt2.gotoAndStop("on");
game.closet.closet.shirt3.gotoAndStop("off");
} else if ((outfit == 4) or (outfit == 5)) {
game.closet.closet.shirt1.gotoAndStop("on");
game.closet.closet.shirt2.gotoAndStop("on");
game.closet.closet.shirt3.gotoAndStop("on");
}
p1.body.gotoAndStop(outfit);
}
function f_InitPlayer(zone) {
p1 = zone;
p1.num = outfit;
zone.f_Special = f_Johnny;
zone.f_Record = f_Record;
}
function f_AddParty(num) {
a_Party.push(num);
}
function f_LevelSetup() {
f_Clear();
f_InitPlayer(game.p1);
screen = undefined;
textbox = undefined;
textComplete = undefined;
talk.gotoAndStop("off");
cursor.gotoAndStop(1);
f_RefreshInventory();
f_SpoonInv();
if (a_Party[0]) {
game.f1.num = a_Party[0];
game.f1.f_Special = f_Follow;
game.f1.place = 1;
f_SetXY(game.f1, p1._x, p1._y);
if (game.f1.num == 55) {
game.f1.f_Click = f_ChrisTaunt;
game.f1.clicker.gotoAndStop("on");
}
}
if (a_Party[1]) {
game.f2.num = a_Party[1];
game.f2.f_Special = f_Follow;
game.f2.place = 2;
f_SetXY(game.f2, p1._x, p1._y);
}
if (a_Party[2]) {
game.p4.num = a_Party[2];
game.p4.f_Special = f_Follow;
game.p4.place = 3;
f_SetXY(game.p4, p1._x, p1._y);
}
if (!blockfader) {
f_FadeIn();
} else {
blockfader = false;
}
}
function f_SmashMedal() {
if (smashed.cdshelf) {
if (smashed.painting1) {
if (smashed.painting2) {
if (smashed.painting3) {
if (smashed.crates) {
if (smashed.candle1) {
if (smashed.candle2) {
if (smashed.candle3) {
if (smashed.candle4) {
if (smashed.fruit) {
if (smashed.tv) {
if (smashed.mirror) {
if (smashed.dresser) {
if (smashed.sheet1) {
if (smashed.sheet2) {
if (smashed.dress) {
f_Medal("Destroyer");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
function f_SmashMedal2() {
if (smashed.dressclerk) {
if (smashed.flowerclerk) {
if (smashed.electronicsclerk) {
}
}
}
}
function f_SmashModeTheRoom() {
var _local1 = 1;
while (_local1 <= 7) {
game["smash" + _local1].gotoAndStop("smash");
_local1++;
}
game.table.gotoAndStop("smash");
}
function f_SmashModeBedroom() {
var _local1 = 1;
while (_local1 <= 8) {
game["smash" + _local1].gotoAndStop("smash");
_local1++;
}
}
function f_FadeIn(fade_speed) {
if (!fader_align) {
fader_align = "top";
}
if (!fade_speed) {
fade_speed = 0.7;
}
f_FadeDitherGradient(fade_speed, 0, undefined, fader_align);
}
function f_FadeOut(fade_speed) {
talk.gotoAndStop("wait");
var _local1 = random(3);
if (_local1 == 0) {
fader_align = "top";
} else if (_local1 == 1) {
fader_align = "bottom";
} else {
fader_align = "middle";
}
if (!fade_speed) {
fade_speed = 0.7;
}
f_FadeDitherGradient(fade_speed, 4278190080, f_FadedOut, fader_align);
}
function f_FadeOutUp(fade_speed) {
talk.gotoAndStop("wait");
fader_align = "bottom";
if (!fade_speed) {
fade_speed = 0.7;
}
f_FadeDitherGradient(fade_speed, 4278190080, f_FadedOut, fader_align);
}
function f_JustFadeOut(fade_speed) {
f_FadeDitherGradient(fade_speed, 4278190080);
}
function f_FX(f, x, y) {
currentfx++;
if (currentfx > 4) {
currentfx = 1;
}
var _local1 = game["fx" + currentfx];
_local1._x = x;
_local1._y = y;
_local1.gotoAndStop("blank");
_local1.gotoAndStop(f);
f_Depth(_local1, y);
return(_local1);
}
function f_Johnny() {
if (needshower) {
smell_timer++;
if (smell_timer == 20) {
f_FX("smell", (p1.x - 30) + random(60), p1.y + 1);
smell_timer = 0;
}
}
}
function f_SetSpeed(zone, thrower, x, y) {
var _local2 = x - thrower.x;
if (_local2 > zone.speed_x) {
var _local5 = zone.speed_x;
} else if (_local2 < (-zone.speed_x)) {
var _local5 = -zone.speed_x;
} else {
var _local5 = _local2;
}
var _local3 = y - thrower.y;
if (_local3 > zone.speed_y) {
var _local4 = zone.speed_y;
} else if (_local3 < (-zone.speed_y)) {
var _local4 = -zone.speed_y;
} else {
var _local4 = _local3;
}
if (Math.abs(_local2) > Math.abs(_local3)) {
var _local4 = _local4 * Math.abs(_local3 / _local2);
} else if (_local2 < _local3) {
var _local5 = _local5 * Math.abs(_local2 / _local3);
}
zone.speed_x = _local5;
zone.speed_y = _local4;
zone.timer = 0;
zone.toss_length = _local2 / zone.speed_x;
}
function f_CatchPoint() {
perfect_catch++;
if (perfect_catch == 8) {
f_Medal("Receiver");
}
}
function f_ThrowPoint() {
perfect_throw++;
if (perfect_throw == 9) {
f_Medal("Quarterback");
}
}
function f_TossFootball(thrower, catcher, good) {
if (good) {
var _local1 = f_FX("football1", thrower._x, thrower._y);
} else {
var _local1 = f_FX("football3", thrower._x, thrower._y);
}
_local1.x = _local1._x;
_local1.y = _local1._y;
_local1.speed_x = 3;
_local1.speed_y = 3;
_local1.body._y = -30;
_local1.catcher = catcher;
if (catcher == p1) {
_local1.speed_x = 2;
_local1.speed_y = 2;
_local1.goal_x = (game.ballspace._x - (game.ballspace._width / 2)) + random(game.ballspace._width);
_local1.goal_y = (game.ballspace._y - (game.ballspace._height / 2)) + random(game.ballspace._height);
_local1.xspot = f_FX("x", _local1.goal_x, _local1.goal_y);
} else {
_local1.goal_x = catcher._x;
_local1.goal_y = catcher._y;
}
if (thrower.x < catcher._x) {
thrower.stand = "stand_right";
thrower.body.body.gotoAndStop(thrower.stand);
} else {
thrower.stand = "stand_left";
thrower.body.body.gotoAndStop(thrower.stand);
}
f_SetSpeed(_local1, thrower, _local1.goal_x, _local1.goal_y);
f_Sound(s_footballtoss);
return(_local1);
}
function f_FootballFly(zone) {
if (zone.body._y <= -10) {
zone.timer++;
if (zone.timer < (zone.toss_length / 2)) {
zone.body._y = zone.body._y - 1;
} else {
zone.body._y = zone.body._y + 1;
}
zone._x = zone._x + zone.speed_x;
zone._y = zone._y + zone.speed_y;
f_Depth(zone, zone._y);
} else if (zone.xspot) {
zone.body.stop();
zone.xspot.gotoAndStop("blank");
zone.xspot = undefined;
}
if (zone.body._y > -50) {
if (Math.abs(zone._x - zone.catcher.x) < 20) {
if (Math.abs(zone._y - zone.catcher.y) < 20) {
if (zone.xspot) {
zone.catcher.caught = true;
zone.body.stop();
zone.xspot.gotoAndStop("blank");
zone.xspot = undefined;
} else {
zone.catcher.caught = false;
}
f_Sound(s_footballcatch);
zone.f_Destin();
zone.gotoAndStop("blank");
return(undefined);
}
}
}
}
function f_DennySearch(zone) {
if (drugfight == 4) {
if (!zone.found) {
if ((a_Party[0] >= 20) and (a_Party[0] <= 29)) {
var _local2 = game.f1;
if (Math.abs(_local2._x - zone._x) < (zone._width / 2)) {
if (Math.abs(_local2._y - zone._y) < (zone._height / 2)) {
zone.found = true;
f_DennyHome();
}
}
}
}
}
}
function f_Follow(zone) {
if (!p1.moving) {
zone.body.body.gotoAndStop(zone.stand);
return(undefined);
}
iteration = zone.place * delay;
if (iteration <= step) {
var _local5 = step - iteration;
} else {
var _local5 = moves_max - (iteration - step);
}
if (step == 0) {
var _local11 = moves_max - 1;
var _local10 = moves_max - 2;
} else if (step == 1) {
var _local11 = 0;
var _local10 = moves_max - 1;
} else {
var _local11 = step - 1;
var _local10 = step - 2;
}
var _local9 = zone._x;
var _local8 = zone._y;
var _local7 = moves[_local5][0];
var _local6 = moves[_local5][1];
if (!_local7) {
return(undefined);
}
if (!_local6) {
return(undefined);
}
var _local2 = _local7 - _local9;
var _local4 = _local6 - _local8;
var _local3 = 5;
if (_local2 > _local3) {
_local2 = _local3;
} else if (_local2 < (-_local3)) {
_local2 = -_local3;
}
if (_local4 > _local3) {
_local4 = _local3;
} else if (_local4 < (-_local3)) {
_local4 = -_local3;
}
f_SetXY(zone, zone._x + _local2, zone._y + _local4);
if (_local4 > Math.abs(_local2)) {
zone.stand = "stand_down";
zone.body.body.gotoAndStop("walk_down");
} else if (_local4 < (-Math.abs(_local2))) {
zone.stand = "stand_up";
zone.body.body.gotoAndStop("walk_up");
} else if (_local2 > 0) {
zone.stand = "stand_right";
zone.body.body.gotoAndStop("walk_right");
} else if (_local2 < 0) {
zone.stand = "stand_left";
zone.body.body.gotoAndStop("walk_left");
} else {
zone.body.body.gotoAndStop(zone.stand);
}
}
function f_Controls(zone) {
zone.f_Special(zone);
if ((textbox or pause) or (!zone.num)) {
return(undefined);
}
var _local5 = zone.goal_x - zone._x;
var _local4 = zone.goal_y - zone._y;
if (zone._x == zone.goal_x) {
if (zone._y == zone.goal_y) {
if (!zone.moving) {
return(undefined);
}
}
}
if (_local5 > zone.speed_x) {
var _local3 = zone.speed_x;
} else if (_local5 < (-zone.speed_x)) {
var _local3 = -zone.speed_x;
} else {
var _local3 = _local5;
}
if (_local4 > zone.speed_y) {
var _local2 = zone.speed_y;
} else if (_local4 < (-zone.speed_y)) {
var _local2 = -zone.speed_y;
} else {
var _local2 = _local4;
}
if (Math.abs(_local5) > Math.abs(_local4)) {
var _local2 = _local2 * Math.abs(_local4 / _local5);
} else if (Math.abs(_local5) < Math.abs(_local4)) {
var _local3 = _local3 * Math.abs(_local5 / _local4);
}
if (Math.abs(_local3) < 0.02) {
var _local3 = 0;
zone.goal_x = zone._x;
}
if (Math.abs(_local2) < 0.02) {
var _local2 = 0;
zone.goal_y = zone._y;
}
if ((_local3 != 0) or (_local2 != 0)) {
zone.laststand = zone.stand;
}
var _local7 = zone._x;
if (_local3 != 0) {
f_MoveH(zone, _local3);
if (Math.abs(_local4) > Math.abs(_local5)) {
if (_local2 > 0) {
zone.stand = "stand_down";
zone.body.body.gotoAndStop("walk_down");
} else {
zone.stand = "stand_up";
zone.body.body.gotoAndStop("walk_up");
}
} else if (Math.abs(zone._x - zone.goal_x) > 1) {
if (_local3 > 0) {
zone.stand = "stand_right";
zone.body.body.gotoAndStop("walk_right");
} else {
zone.stand = "stand_left";
zone.body.body.gotoAndStop("walk_left");
}
}
if (zone._x == _local7) {
var _local6 = Math.abs(_local3);
if (zone.hitwall.walltype == 1) {
var _local2 = -_local6;
} else if (zone.hitwall.walltype == 3) {
if (zone.goal_y > zone._y) {
var _local2 = _local6;
} else {
var _local2 = -_local6;
}
} else {
var _local2 = _local6;
}
}
}
var _local8 = zone._y;
if (_local2 != 0) {
f_MoveV(zone, _local2);
if (_local3 == 0) {
if (Math.abs(zone._y - zone.goal_y) > 1) {
if (_local2 > 0) {
zone.stand = "stand_down";
zone.body.body.gotoAndStop("walk_down");
} else {
zone.stand = "stand_up";
zone.body.body.gotoAndStop("walk_up");
}
}
}
if (zone._y == _local8) {
if (zone._x == _local7) {
zone.goal_x = zone._x;
zone.goal_y = zone._y;
}
}
}
zone.x = zone._x;
zone.y = zone._y;
if (((_local3 == 0) and (_local2 == 0)) or ((_local8 == zone._y) and (_local7 == zone._x))) {
if (zone.moving) {
zone.goal_x = zone._x;
zone.goal_y = zone._y;
zone.moving = false;
if (zone == p1) {
if (f_HitEvent(zone)) {
return(undefined);
}
}
zone.body.body.gotoAndStop(zone.stand);
prev_Destin = zone.f_Destin;
zone.f_Destin(zone);
if (zone.f_Destin == prev_Destin) {
zone.f_Destin = undefined;
}
}
}
zone.f_Record();
}
function f_Record() {
if (p1.moving) {
moves[step][0] = p1._x;
moves[step][1] = p1._y;
step++;
if (step > moves_max) {
step = 0;
}
}
}
function f_AddNeutral(zone) {
f_SetDepthMod(zone);
f_Depth(zone, zone._y);
}
function f_Depth(zone, y) {
var _local2 = 30 * int(y + game._y);
if (zone.depth_mod == undefined) {
trace("NO DEPTH: " + zone);
}
zone.current_depth = _local2 + zone.depth_mod;
zone.swapDepths(zone.current_depth);
}
function f_SetDepthMod(zone) {
current_depth_mod++;
zone.depth_mod = current_depth_mod;
a_Depths.push(zone);
}
function f_rad2deg(radian) {
return(57.2957795130823 * radian);
}
function f_CoffeeMenu() {
chat(80, "Hi Johnny! What can I get for you?");
talk.coffeemenu.gotoAndStop("on");
}
function f_SetupRPG() {
if (cp_theroom >= 100) {
rpg.p1.num = 1;
rpg.p2.num = "blank";
rpg.p3.num = 2;
rpg.p4.num = "blank";
rpg.turn = 1;
rpg.moves = 1;
rpg.jhealth_max = 12;
rpg.mhealth_max = 9;
rpg.jhealth = rpg.jhealth_max;
rpg.mhealth = rpg.mhealth_max;
} else {
rpg.p1.num = 1;
rpg.p2.num = 2;
rpg.p3.num = 3;
rpg.p4.num = "blank";
rpg.turn = random(2) + 1;
rpg.moves = 3;
rpg.jhealth_max = 7;
rpg.mhealth_max = 20;
rpg.chealth_max = 9;
rpg.jhealth = rpg.jhealth_max;
rpg.mhealth = rpg.mhealth_max;
rpg.chealth = rpg.chealth_max;
}
rpg.p1.gotoAndStop(rpg.p1.num);
rpg.p2.gotoAndStop(rpg.p2.num);
rpg.p3.gotoAndStop(rpg.p3.num);
rpg.p4.gotoAndStop(rpg.p4.num);
rpg.taunted = 0;
rpg.rounds = 1;
rpg.stopfight = false;
}
function f_RPGOutfit(zone) {
if (cp_theroom >= 100) {
zone.gotoAndStop(2);
}
}
function f_RPGMarkTurn() {
if (cp_theroom >= 100) {
if ((random(2) == 1) and (rpg.taunted == 0)) {
rpg.moves++;
rpg.taunted++;
f_RPGMarkGlamour();
} else {
f_RPGMarkAttack();
}
} else {
rpg.turn = 2;
rpg.battlemenu.gotoAndStop("mark");
}
}
function f_RPGJohnnyTurn() {
rpg.turn = 1;
rpg.p1.body.gotoAndStop("idle");
rpg.battlemenu.gotoAndStop("johnny");
}
function f_RPGJohnnyAttack() {
rpg.p1.body.gotoAndStop("attack");
rpg.p1.victim = rpg.p3;
rpg.p1.f_Destin = f_RPGNextTurn;
}
function f_RPGMarkAttack() {
if (cp_theroom >= 100) {
rpg.perfectHit = true;
rpg.p1.body.gotoAndStop("attack");
rpg.p1.victim = rpg.p3;
rpg.p1.f_Destin = f_RPGNextTurn;
} else {
rpg.p2.body.gotoAndStop("attack");
rpg.p2.victim = rpg.p3;
rpg.p2.f_Destin = f_RPGNextTurn;
}
}
function f_RPGMarkGlamour() {
rpg.battlemenu.gotoAndStop("blank");
rpg.chrisStun = true;
if (cp_theroom >= 100) {
rpg.p1.body.gotoAndStop("taunt");
rpg.p1.victim = rpg.p3;
rpg.p1.f_Destin = f_RPGNextTurn;
} else {
rpg.p2.body.gotoAndStop("taunt");
rpg.p2.victim = rpg.p3;
rpg.p2.f_Destin = f_RPGNextTurn;
}
}
function f_RPGJohnnyTaunt() {
rpg.chrisStun = true;
if (cp_theroom >= 100) {
rpg.taunted++;
if (rpg.taunted == 1) {
rpg.moves++;
}
}
rpg.p1.victim = rpg.p3;
rpg.p1.body.gotoAndStop("taunt");
rpg.p1.f_Destin = f_RPGNextTurn;
}
function f_RPGChrisTurn() {
rpg.battlemenu.gotoAndStop("blank");
rpg.p1.body.gotoAndStop("attack");
if (random(2) == 1) {
rpg.p1.victim = rpg.p3;
} else {
rpg.p1.victim = rpg.p4;
}
rpg.p1.f_Destin = f_RPGSwitch;
}
function f_RPGSwap() {
var _local2 = rpg.p1.num;
var _local1 = rpg.p2.num;
rpg.p1.num = rpg.p3.num;
rpg.p2.num = rpg.p4.num;
rpg.p3.num = _local2;
rpg.p4.num = _local1;
rpg.p1.gotoAndStop(rpg.p1.num);
rpg.p2.gotoAndStop(rpg.p2.num);
rpg.p3.gotoAndStop(rpg.p3.num);
rpg.p4.gotoAndStop(rpg.p4.num);
if (cp_theroom >= 100) {
rpg.turn = 1;
rpg.moves = 1;
} else {
rpg.turn = random(2) + 1;
rpg.moves = 3;
}
}
function f_RPGNextTurn() {
if (rpg.stopfight) {
return(undefined);
}
if (cp_theroom >= 100) {
rpg.moves--;
if (rpg.moves <= 0) {
f_RPGSwitch();
} else if (rpg.p1.num == 1) {
f_RPGJohnnyTurn();
} else {
f_RPGMarkTurn();
}
} else {
rpg.moves--;
if (rpg.moves <= 0) {
f_RPGSwitch();
} else if (rpg.turn == 1) {
f_RPGMarkTurn();
} else {
f_RPGJohnnyTurn();
}
}
}
function f_RPGSwitch() {
if (rpg.stopfight) {
return(undefined);
}
rpg.chrisStun = false;
rpg.perfectHit = false;
rpg.taunted = 0;
rpg.battlemenu.gotoAndStop("blank");
rpg.gotoAndPlay("switch");
}
function f_RPGDamage(zone, health_mod) {
if ((zone.num == 3) and (cp_theroom < 100)) {
rpg.chealth = rpg.chealth - health_mod;
rpg.cper = int((rpg.chealth / rpg.chealth_max) * 100);
if (rpg.cper < 0) {
rpg.cper = 0;
}
rpg.health.cbar.gotoAndStop((100 - rpg.cper) + 1);
zone.health = rpg.chealth;
} else if ((zone.num == 2) or (zone.num == 3)) {
rpg.mhealth = rpg.mhealth - health_mod;
rpg.mper = int((rpg.mhealth / rpg.mhealth_max) * 100);
if (rpg.mper < 0) {
rpg.mper = 0;
}
rpg.health.mbar.gotoAndStop((100 - rpg.mper) + 1);
zone.health = rpg.mhealth;
} else if (zone.num == 1) {
rpg.jhealth = rpg.jhealth - health_mod;
rpg.jper = int((rpg.jhealth / rpg.jhealth_max) * 100);
if (rpg.jper < 0) {
rpg.jper = 0;
}
rpg.health.jbar.gotoAndStop((100 - rpg.jper) + 1);
zone.health = rpg.jhealth;
}
}
function f_RPGTaunt(zone, taunt) {
if (cp_theroom >= 100) {
if (random(3) == 1) {
rpg.chrisStun = false;
rpg.moves--;
zone.victim.body.gotoAndStop("pimp");
} else {
zone.victim.body.gotoAndStop(taunt);
}
} else {
zone.victim.body.gotoAndStop(taunt);
}
}
function f_FadedOut() {
f_Cleanup();
if (spoonfind.active) {
spoonfind.active = false;
if (!musicoff) {
song.setVolume(100);
}
}
gotoAndStop ("fadeclear");
gotoAndStop(fader.destin);
}
function f_Freezer() {
if (hothead) {
if (Math.abs(p1._x - game.fridgespot._x) < 45) {
if (Math.abs(p1._y - game.fridgespot._y) < 30) {
hothead = false;
p1.goal_x = p1._x;
p1.goal_y = p1._y;
f_MissionClear();
p1.gotoAndStop("frozen");
chat(1, "Ahhh that feels nice. Ok, I'm ready to go back in.");
}
}
}
}
function f_SetIngredient(zone) {
if (zone.num == undefined) {
zone.gotoAndStop("blank");
} else {
zone.gotoAndStop(zone.num);
}
}
function f_RefreshFoods() {
game.bananas.gotoAndStop(1);
game.loaf.gotoAndStop(1);
game.cheese.gotoAndStop(1);
game.ham.gotoAndStop(1);
game.tomatoes.gotoAndStop(1);
game.lettuce.gotoAndStop(1);
}
function f_UseBananas() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop("bananas");
f_RefreshFoods();
game.bananas.gotoAndStop(2);
} else if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away perfectly good bananas!");
game.bananas.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "I should slice these before putting them on a sandwich!");
game.bananas.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "I should slice these before putting them on a sandwich!");
game.bananas.gotoAndStop(1);
} else {
game.bananas.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseTomatoes() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop("tomatoes");
f_RefreshFoods();
game.tomatoes.gotoAndStop(2);
} else if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away perfectly good tomatoes!");
game.tomatoes.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "I should slice these before putting them on a sandwich!");
game.tomatoes.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "I should slice these before putting them on a sandwich!");
game.tomatoes.gotoAndStop(1);
} else {
game.tomatoes.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseLettuce() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop("lettuce");
f_RefreshFoods();
game.lettuce.gotoAndStop(2);
} else if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away perfectly good lettuce!");
game.lettuce.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "I should slice this up before putting it on a sandwich!");
game.lettuce.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "I should slice this up before putting it on a sandwich!");
game.lettuce.gotoAndStop(1);
} else {
game.lettuce.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseHam() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop("ham");
f_RefreshFoods();
game.ham.gotoAndStop(2);
} else if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away perfectly good ham!");
game.ham.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "I should slice this up before putting it on a sandwich!");
game.ham.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "I should slice this up before putting it on a sandwich!");
game.ham.gotoAndStop(1);
} else {
game.ham.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseCheese() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop("cheese");
f_RefreshFoods();
game.cheese.gotoAndStop(2);
} else if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away perfectly good cheese!");
game.cheese.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "I should slice this up before putting it on a sandwich!");
game.cheese.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "I should slice this up before putting it on a sandwich!");
game.cheese.gotoAndStop(1);
} else {
game.cheese.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseLoaf() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop("loaf");
f_RefreshFoods();
game.loaf.gotoAndStop(2);
} else if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away a perfectly good loaf of bread!");
game.loaf.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "I should only put down a slice of bread, not the whole loaf!");
game.loaf.gotoAndStop(1);
} else if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "I should only put down a slice of bread, not the whole loaf!");
game.loaf.gotoAndStop(1);
} else {
game.loaf.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UsePB() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
chat(1, "That will just make a mess.");
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away a perfectly good peanut butter!");
}
f_AddTopping(_local2, _local1, "pb");
game.pbjar.gotoAndStop(1);
cursor.gotoAndStop(1);
}
function f_UseJelly() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
chat(1, "That will just make a mess.");
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away a perfectly good grape jelly!");
}
f_AddTopping(_local2, _local1, "jelly");
game.jellyjar.gotoAndStop(1);
cursor.gotoAndStop(1);
}
function f_UseMouse() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
chat(1, "I'm not a mouse surgeon.");
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "Get in the trash, mouse!");
cursor.gotoAndStop(1);
return(undefined);
}
if (!f_AddTopping(_local2, _local1, "mouse")) {
game.mouse.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseSponge() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
chat(1, "Scrub scrub! The cutting board is spotless!");
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "One dirty sponge, in the trash!");
}
if (!f_AddTopping(_local2, _local1, "sponge")) {
game.sponge.gotoAndStop(1);
}
cursor.gotoAndStop(1);
}
function f_UseDrano() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
chat(1, "This will just make a mess.");
}
if ((Math.abs(_local2 - game.sink._x) < 30) and (Math.abs(_local1 - game.sink._y) < 20)) {
chat(1, "This should clear out those tough clogs.");
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away a perfectly good drain cleaner!");
}
f_AddTopping(_local2, _local1, "drano");
game.drano.gotoAndStop(1);
cursor.gotoAndStop(1);
}
function f_UseKnife() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
if (game.board._currentframe == 8) {
game.board.num = "lettuceslice";
game.board.gotoAndStop(game.board.num);
game.lettuce.gotoAndStop(1);
} else if (game.board._currentframe == 9) {
game.board.num = "tomatoslice";
game.board.gotoAndStop(game.board.num);
game.tomatoes.gotoAndStop(1);
} else if (game.board._currentframe == 10) {
game.board.num = "bread";
game.board.gotoAndStop(game.board.num);
game.loaf.gotoAndStop(1);
} else if (game.board._currentframe == 11) {
game.board.num = "bananaslice";
game.board.gotoAndStop(game.board.num);
game.bananas.gotoAndStop(1);
} else if (game.board._currentframe == 12) {
game.board.num = "hamslice";
game.board.gotoAndStop(game.board.num);
game.ham.gotoAndStop(1);
} else if (game.board._currentframe == 13) {
game.board.num = "cheeseslice";
game.board.gotoAndStop(game.board.num);
game.cheese.gotoAndStop(1);
} else if (game.board.num == "blank") {
chat(1, "I need to put something on the cutting board first!");
} else {
chat(1, "It's already sliced!");
}
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "I can't throw away a perfectly good knife!");
}
if ((Math.abs(_local2 - game.sandwich1._x) < 30) and (Math.abs(_local1 - game.sandwich1._y) < 30)) {
chat(1, "That would be hard to swallow!");
}
if ((Math.abs(_local2 - game.sandwich2._x) < 30) and (Math.abs(_local1 - game.sandwich2._y) < 30)) {
chat(1, "That would be hard to swallow!");
}
if (((Math.abs(_local2 - p1._x) < 30) and (_local1 <= p1._y)) and (_local1 > (p1._y - 50))) {
chat(1, "I would have to be pretty angry to do that!");
}
game.knife.gotoAndStop(1);
cursor.gotoAndStop(1);
}
function f_SetTopping(s_num, num) {
sandwich = this["sandwich" + s_num];
f_ShowSandwich(sandwich);
if (!sandwich.s1) {
if (num == "bread") {
talk.sandwich.gotoAndStop("on");
talk.sandwich.sandwich = sandwich;
sandwich.s1 = num;
game.table["sandwich" + s_num].s1.gotoAndStop(num);
talk.sandwich.s1.gotoAndStop(num);
talk.sandwich.s2.gotoAndStop(1);
talk.sandwich.s3.gotoAndStop(1);
talk.sandwich.s4.gotoAndStop(1);
talk.sandwich.s5.gotoAndStop(1);
// unexpected jump
}
chat(1, "A sandwich must begin and end with a slice of bread!");
return(false);
}
if (!sandwich.s2) {
if (num == "bread") {
chat(1, "I'm in America now, I can put other things in a sandwich!");
} else {
sandwich.s2 = num;
game.table["sandwich" + s_num].s2.gotoAndStop(num);
talk.sandwich.s2.gotoAndStop(num);
}
} else if (!sandwich.s3) {
if (num == "bread") {
chat(1, "I'm in America now, I can put other things in a sandwich!");
} else {
sandwich.s3 = num;
game.table["sandwich" + s_num].s3.gotoAndStop(num);
talk.sandwich.s3.gotoAndStop(num);
}
} else if (!sandwich.s4) {
if (num == "bread") {
chat(1, "I'm in America now, I can put other things in a sandwich!");
} else {
sandwich.s4 = num;
game.table["sandwich" + s_num].s4.gotoAndStop(num);
talk.sandwich.s4.gotoAndStop(num);
}
} else {
if (!sandwich.s5) {
if (num == "bread") {
sandwich.s5 = num;
game.table["sandwich" + s_num].s5.gotoAndStop(num);
sandwich.day = day;
var _local6 = false;
var _local4 = false;
var _local5 = false;
if (((sandwich.s2 == "mouse") or (sandwich.s3 == "mouse")) or (sandwich.s4 == "mouse")) {
_local6 = true;
}
if (((sandwich.s2 == "sponge") or (sandwich.s3 == "sponge")) or (sandwich.s4 == "sponge")) {
_local5 = true;
}
if (((sandwich.s2 == "drano") or (sandwich.s3 == "drano")) or (sandwich.s4 == "drano")) {
_local4 = true;
}
if ((_local6 and _local5) and _local4) {
f_Medal("Nastwich");
}
talk.sandwich.s5.gotoAndStop(num);
talk.sandwich.star.f_Action = f_SandwichesDone;
f_Sound(s_dresson);
talk.sandwich.star.gotoAndPlay("go");
talk.gotoAndStop("wait");
// unexpected jump
}
chat(1, "That's too much stuff. I should top this off with a slice of bread!");
return(false);
}
chat(1, "This sandwich is finished!");
}
return(true);
}
function f_SandwichesDone() {
if (makefood == 1) {
if (sandwich1.s5 and sandwich2.s5) {
chat(1, "I can go tell Mark and Peter their sandwiches are ready!");
f_MissionClear();
textComplete = f_SandwichClose;
} else if (sandwich1.s5 or sandwich2.s5) {
chat(1, "There's a sandwich for Mark. Now I'll make one for Peter!");
textComplete = f_SandwichClose;
} else {
chat(1, "I need to make sandwiches for Mark and Peter!");
}
} else {
chat(1, "What a nice sandwich!");
textComplete = f_SandwichClose;
}
}
function f_SandwichClose() {
talk.sandwich.gotoAndStop("off");
}
function f_AddTopping(x, y, num) {
if ((Math.abs(x - game.sandwich1._x) < 30) and (Math.abs(y - game.sandwich1._y) < 30)) {
if (sandwich2.s1 and (!sandwich2.s5)) {
chat(1, "I should finish the other sandwich first.");
} else {
return(f_SetTopping(1, num));
}
}
if ((Math.abs(x - game.sandwich2._x) < 30) and (Math.abs(y - game.sandwich2._y) < 30)) {
if (sandwich1.s1 and (!sandwich1.s5)) {
chat(1, "I should finish the other sandwich first.");
} else {
return(f_SetTopping(2, num));
}
}
return(false);
}
function f_UseTopping() {
var _local2 = cursor._x - game._x;
var _local1 = cursor._y - game._y;
if ((Math.abs(_local2 - game.board._x) < 30) and (Math.abs(_local1 - game.board._y) < 20)) {
game.board.gotoAndStop(cursor.body.num);
f_RefreshFoods();
}
if ((Math.abs(_local2 - game.trash._x) < 30) and (Math.abs(_local1 - game.trash._y) < 20)) {
chat(1, "In the trash you go!");
}
f_AddTopping(_local2, _local1, cursor.body.num);
cursor.gotoAndStop(1);
}
function f_ShowSandwich(sandwich) {
talk.sandwich.gotoAndStop("on");
talk.sandwich.sandwich = sandwich;
talk.sandwich.s1.gotoAndStop(sandwich.s1);
if (sandwich.s2) {
talk.sandwich.s2.gotoAndStop(sandwich.s2);
} else {
talk.sandwich.s2.gotoAndStop(1);
}
if (sandwich.s3) {
talk.sandwich.s3.gotoAndStop(sandwich.s3);
} else {
talk.sandwich.s3.gotoAndStop(1);
}
if (sandwich.s4) {
talk.sandwich.s4.gotoAndStop(sandwich.s4);
} else {
talk.sandwich.s4.gotoAndStop(1);
}
if (sandwich.s5) {
talk.sandwich.s5.gotoAndStop(sandwich.s5);
} else {
talk.sandwich.s5.gotoAndStop(1);
}
}
function f_EraseSandwich(sandwich) {
sandwich.s1 = undefined;
sandwich.s2 = undefined;
sandwich.s3 = undefined;
sandwich.s4 = undefined;
sandwich.s5 = undefined;
if (sandwich == sandwich1) {
var _local1 = game.table.sandwich1;
} else {
var _local1 = game.table.sandwich2;
}
_local1.gotoAndStop(1);
_local1.s1.gotoAndStop(1);
_local1.s2.gotoAndStop(1);
_local1.s3.gotoAndStop(1);
_local1.s4.gotoAndStop(1);
_local1.s5.gotoAndStop(1);
}
function f_SandwichLoad(sandwich) {
if (sandwich.s5) {
if (sandwich.day < day) {
sandwich.s1 = "rottenbottom";
sandwich.s5 = "rottentop";
if (sandwich == sandwich1) {
game.table.sandwich1.gotoAndStop("rotten");
} else {
game.table.sandwich2.gotoAndStop("rotten");
}
} else {
if (sandwich == sandwich1) {
var _local2 = game.table.sandwich1;
} else {
var _local2 = game.table.sandwich2;
}
_local2.s1.gotoAndStop(sandwich.s1);
_local2.s2.gotoAndStop(sandwich.s2);
_local2.s3.gotoAndStop(sandwich.s3);
_local2.s4.gotoAndStop(sandwich.s4);
_local2.s5.gotoAndStop(sandwich.s5);
}
} else {
sandwich.s1 = undefined;
sandwich.s2 = undefined;
sandwich.s3 = undefined;
sandwich.s4 = undefined;
sandwich.s5 = undefined;
}
}
function f_RaceSetup() {
o_current = 0;
o_frequency = 700;
o_distance = 0;
o_length = 10000;
o_timer = 0;
o_total = 3;
o_speed = 0;
o_speed_max = -7;
o_width = 680;
o_win = 0;
game.bg1.default_x = game.bg1._x;
game.bg2.default_x = game.bg2._x;
game.bg3.default_x = game.bg3._x;
game.bg4.default_x = game.bg4._x;
game.finish.default_x = game.finish._x;
racebutton = false;
if (smashmode) {
f_RaceStart();
} else {
chat(30, "Catch me, come on!");
textComplete = f_RaceStart;
}
}
function f_RaceStart() {
game.mark.gotoAndStop("run");
game.johnny.gotoAndStop("run");
if (smashmode) {
game.johnny.body.gotoAndStop(2);
} else {
f_ChangeSong(song2.m_battle);
}
progressbar.gotoAndStop("on");
}
function f_RaceControls(zone) {
if (!game.johnny.finished) {
if (zone.fall_timer <= 0) {
if (clicked) {
if (zone.jump_timer < 10) {
if (!zone.jumping) {
if (smashmode) {
f_Sound(s_beastjump);
} else {
f_Sound(s_jump);
}
zone.jumping = true;
zone.gotoAndStop("jump");
}
zone.jump_timer++;
zone.jump_speed = -12;
}
} else if (zone.jumping) {
zone.jump_timer = 100;
}
if (zone.jumping) {
zone.body._y = zone.body._y + zone.jump_speed;
zone.jump_speed++;
if (zone.body._y >= 0) {
zone.jumping = false;
zone.jump_timer = 0;
zone.gotoAndStop("run");
if (smashmode) {
if (o_distance < 200) {
zone.body.gotoAndStop(2);
} else {
zone.body.gotoAndStop(3);
}
}
}
} else {
zone.jump_timer = 0;
if (smashmode) {
if (o_distance < 200) {
zone.body.gotoAndStop(2);
} else {
zone.body.gotoAndStop(3);
}
}
}
if (o_speed > o_speed_max) {
o_speed = o_speed - 0.03;
if (o_speed < o_speed_x) {
o_speed = o_speed_max;
}
}
} else {
zone.fall_timer--;
if (zone.body._y < 0) {
zone.body._y = zone.body._y + zone.jump_speed;
zone.jump_speed++;
if (zone.body._y > 0) {
zone.body._y = 0;
}
}
o_speed = o_speed + 0.1;
if (o_speed > 0) {
o_speed = 0;
}
if (zone.fall_timer <= 0) {
zone.gotoAndStop("run");
if (smashmode) {
if (o_distance < 200) {
zone.body.gotoAndStop(2);
} else {
zone.body.gotoAndStop(3);
}
}
}
}
game.bg1._x = game.bg1._x + o_speed;
if (game.bg1._x <= (game.bg1.default_x - o_width)) {
game.bg1._x = game.bg1._x + o_width;
}
game.bg2._x = game.bg2._x + (o_speed * 0.83);
if (game.bg2._x <= (game.bg2.default_x - o_width)) {
game.bg2._x = game.bg2._x + o_width;
}
game.bg3._x = game.bg3._x + (o_speed * 0.71);
if (game.bg3._x <= (game.bg3.default_x - o_width)) {
game.bg3._x = game.bg3._x + o_width;
}
game.bg4._x = game.bg4._x + (o_speed * 0.5);
if (game.bg4._x <= (game.bg4.default_x - o_width)) {
game.bg4._x = game.bg4._x + o_width;
}
if (o_distance > (o_length * 0.92)) {
o_frequency = 750;
} else if (o_distance > (o_length * 0.75)) {
o_frequency = 240;
} else if (o_distance > (o_length * 0.5)) {
o_frequency = 400;
}
o_timer = o_timer + Math.abs(o_speed);
if (o_timer > o_frequency) {
o_timer = 0;
o_current++;
if (o_current > o_total) {
o_current = 1;
}
var _local3 = game["o" + o_current];
_local3.active = true;
_local3.body.gotoAndStop(random(2) + 1);
_local3._x = 700 - game._x;
}
var _local2 = 1;
while (_local2 <= o_total) {
var _local3 = game["o" + _local2];
if (_local3.active) {
_local3._x = _local3._x + o_speed;
if ((_local3._x + game._x) < -60) {
_local3.active = false;
} else {
if (Math.abs(_local3._x - game.johnny._x) < 20) {
if ((!zone.jumping) and (!zone.fall_timer)) {
f_Sound(s_hit);
zone.fall_timer = 30;
zone.jump_speed = 1;
zone.gotoAndStop("fall");
zone.body._y = -_local3.h;
}
}
if (!racebutton) {
if (_local3._x < (game.johnny._x + 200)) {
buttonhelp.gotoAndStop("press");
racebutton = true;
} else if (_local3._x < (game.johnny._x + 630)) {
buttonhelp.gotoAndStop("on");
}
}
if (Math.abs(_local3._x - game.mark._x) < 60) {
if (!game.mark.jumping) {
game.mark.jumping = true;
game.mark.jump_speed = -14;
if (((game.mark._x + game._x) > -20) and ((game.mark._x + game._x) < 660)) {
s_jump2.start(0, 0);
}
game.mark.gotoAndStop("jump");
}
}
}
}
_local2++;
}
} else if (smashmode) {
if (!smashed.chrisr) {
var _local2 = 1;
while (_local2 <= o_total) {
var _local3 = game["o" + _local2];
if (Math.abs(_local3._x - game.mark._x) < 60) {
if (!game.mark.jumping) {
game.mark.jumping = true;
game.mark.jump_speed = -14;
if (((game.mark._x + game._x) > -20) and ((game.mark._x + game._x) < 660)) {
s_jump2.start(0, 0);
}
game.mark.gotoAndStop("jump");
}
}
_local2++;
}
} else {
return(undefined);
}
}
if ((!game.mark.finished) or smashmode) {
if (o_speed < 0) {
game.mark._x = game.mark._x + ((o_speed - o_speed_max) - 0.8);
} else {
game.mark._x = game.mark._x + ((-o_speed_max) - 0.8);
}
} else {
game.mark._x = game.mark._x + o_speed;
}
if (game.mark.jumping) {
game.mark.body._y = game.mark.body._y + game.mark.jump_speed;
game.mark.jump_speed++;
if (game.mark.body._y >= 0) {
game.mark.jumping = false;
game.mark.gotoAndStop("run");
}
}
if (smashmode and game.johnny.finished) {
return(undefined);
}
o_distance = o_distance + Math.abs(o_speed);
var _local4 = o_distance + (game.mark._x - game.johnny._x);
if ((o_length - o_distance) < (game.finish.default_x - game.johnny._x)) {
game.finish._x = game.finish._x + o_speed;
}
if (o_win == 2) {
var _local5 = o_length - 75;
} else {
var _local5 = o_length;
}
if (o_distance >= _local5) {
game.johnny.finished = true;
o_distance = o_length;
o_speed = 0;
if (o_win != 2) {
if (o_win != 1) {
o_win = 1;
if (smashmode) {
game.johnny.gotoAndStop("lose");
} else {
f_Medal("Runner");
game.johnny.gotoAndStop("win");
}
}
} else if (o_win == 2) {
game.johnny.gotoAndStop("lose");
}
}
if (o_win == 1) {
var _local5 = o_length - 75;
} else {
var _local5 = o_length;
}
if (_local4 >= _local5) {
game.mark.finished = true;
if (o_win != 1) {
o_win = 2;
if (!smashmode) {
game.mark.gotoAndStop("win");
}
} else if (o_win == 1) {
if (!smashmode) {
game.mark.gotoAndStop("lose");
}
}
}
progressbar.j._x = (o_distance / o_length) * 544;
progressbar.m._x = (_local4 / o_length) * 544;
if (smashmode) {
if (o_distance > 200) {
if ((zone._x >= (game.mark._x - 60)) and (zone._x < (game.mark._x + 20))) {
if (!zone.jumping) {
o_speed = 0;
smashed.chrisr = true;
chrisjoke = true;
game.johnny.finished = true;
game.mark.gotoAndStop("blank");
zone.gotoAndStop("kill");
}
}
}
}
}
function f_EndRace() {
jog = 3;
door = 1;
f_FadeSong(song1.m_theme);
fader.destin = "park1";
f_FadeOut();
}
function f_SmashChrisR() {
f_Medal("Rainmaker");
}
function f_EndSmashRace() {
door = 1;
fader.destin = "park1";
f_FadeOut();
}
function f_WrestleStart() {
wrestle_j = 0;
wrestle_m = 0;
wrestle_timer = 0;
wrestle_quitter = 0;
wrestle_goal = 30;
wrestleking = false;
}
function f_Wrestle(zone) {
if (clicked) {
if (!pressed_button) {
pressed_button = true;
wrestle_quitter = 0;
wrestle_j++;
}
} else {
pressed_button = false;
}
wrestle_quitter++;
wrestle_timer++;
if ((wrestle_timer % 15) == 0) {
wrestle_m++;
}
if (wrestle_quitter > 40) {
if (wrestle_m < wrestle_j) {
wrestle_m = wrestle_j;
} else {
wrestle_m++;
}
}
if (wrestle_j >= wrestle_goal) {
wrestleking = true;
zone.gotoAndPlay("jwin");
} else if (wrestle_m >= wrestle_goal) {
zone.gotoAndPlay("mwin");
} else if (wrestle_j > (wrestle_m + 1)) {
zone.gotoAndStop("johnny");
} else if (wrestle_m > (wrestle_j + 1)) {
zone.gotoAndStop("mark");
} else {
zone.gotoAndStop("draw");
}
}
function f_SetSpoon(zone, spoon_type) {
if (a_spoons[spoon_type]) {
zone.gotoAndStop("blank");
} else {
zone.spoon_type = spoon_type;
zone.spoon.gotoAndStop(spoon_type);
zone.tabEnabled = false;
zone.tabChildren = false;
}
}
function f_GetSpoon(zone) {
spoonfind.spoon_type = zone.spoon_type;
spoonfind.gotoAndPlay("go");
a_spoons[zone.spoon_type] = true;
gotspoon = true;
f_SpoonInv();
}
function f_SpoonSpin(zone) {
var _local2 = 1;
while (_local2 <= 10) {
var _local4 = zone["s" + _local2];
var _local1 = zone.spoons["s" + _local2];
_local4._x = (((_local1.s._x + _local1._x) * (zone.spoons._xscale / 100)) - 12.5) + zone.spoons._x;
_local4._y = (((_local1.s._y + _local1._y) * (zone.spoons._yscale / 100)) - 12.5) + zone.spoons._y;
_local2++;
}
}
function f_SpoonInv() {
if ((!spooninv.init) and gotspoon) {
spooninv.gotoAndStop(2);
} else {
var _local1 = 1;
while (_local1 <= 10) {
if (a_spoons[_local1]) {
spooninv.bar["s" + _local1].gotoAndStop(_local1);
} else {
spooninv.bar["s" + _local1].gotoAndStop("black");
}
_local1++;
}
}
}
function f_Timer(total, timedone) {
timer.total = total;
timer.f_TimeDone = timedone;
timer.gotoAndPlay("go");
talk.gotoAndStop("wait");
}
function f_MusicOn() {
musicoff = false;
song.setVolume(100);
hudmusic.gotoAndStop("on");
}
function f_MusicOff() {
musicoff = true;
song.setVolume(0);
hudmusic.gotoAndStop("off");
}
function f_Sound(newsound) {
newsound.start(0, 0);
}
function f_ChangeSong(newsong, noloop) {
music.gotoAndStop(1);
song.stop();
song = newsong;
if (musicoff) {
song.setVolume(0);
} else {
song.setVolume(100);
}
if (noloop) {
song.start(0, 0);
} else {
song.start(0, 1000);
}
}
function f_FadeSong(newsong) {
if (musicoff) {
f_ChangeSong(newsong);
} else {
music.newsong = newsong;
music.gotoAndStop("fade");
}
}
function f_EnterShop() {
music.oldsong = song;
f_FadeSong(song10.m_store);
}
function f_ExitShop() {
f_FadeSong(music.oldsong);
}
function f_EnterMark() {
music.oldsong = song;
f_FadeSong(song11.m_mark);
}
function f_ExitMark() {
f_FadeSong(music.oldsong);
}
function f_Unsee() {
unsee = 0;
unsee_total = 6;
if (unsee_vandal) {
unsee++;
}
if (unsee_couch) {
unsee++;
}
if (unsee_crap) {
unsee++;
}
if (unsee_hottub) {
unsee++;
}
if (unsee_worship) {
unsee++;
}
if (unsee_balloon) {
unsee++;
}
chat(1, ((("That is " + unsee) + " of ") + unsee_total) + " things I wish I could unsee.");
if (unsee >= unsee_total) {
f_Medal("Unsee");
}
}
function f_Medal(medal) {
medalbox.gotoAndPlay("go");
medalbox.body.gotoAndStop(medal);
com.newgrounds.API.unlockMedal(medal);
}
function f_BankPlay() {
game.play();
}
function f_Save() {
so = SharedObject.getLocal("TheRoom");
so.clear();
so.data.day = day;
so.data.a_spoons = a_spoons;
so.data.money = money;
so.data.money2 = money2;
so.data.cp_theroom = cp_theroom;
so.data.cp_bedroom = cp_bedroom;
so.data.gotdress = gotdress;
so.data.gotflowers = gotflowers;
so.data.gotrecorder = gotrecorder;
so.data.usedrecorder = usedrecorder;
so.data.gottux = gottux;
so.data.havetape = havetape;
so.data.gotspoon = gotspoon;
so.data.perfect_catch = perfect_catch;
so.data.perfect_throw = perfect_throw;
so.data.drugfight = drugfight;
so.data.chrisjail = chrisjail;
so.data.flowertalk = flowertalk;
so.data.confront = confront;
so.data.starving = starving;
so.data.mikealley = mikealley;
so.data.mikevisit = mikevisit;
so.data.stairlisten = stairlisten;
so.data.tuxhome = tuxhome;
so.data.cp_phone = cp_phone;
so.data.phone1 = phone1;
so.data.phone2 = phone2;
so.data.phone3 = phone3;
so.data.phone4 = phone4;
so.data.diary0 = diary0;
so.data.diary1 = diary1;
so.data.diary2 = diary2;
so.data.diary3 = diary3;
so.data.diary4 = diary4;
so.data.diary5 = diary5;
so.data.diary6 = diary6;
so.data.diary7 = diary7;
so.data.diary8 = diary8;
so.data.diary9 = diary9;
so.data.unsee_vandal = unsee_vandal;
so.data.unsee_couch = unsee_couch;
so.data.unsee_crap = unsee_crap;
so.data.unsee_hottub = unsee_hottub;
so.data.unsee_worship = unsee_worship;
so.data.unsee_balloon = unsee_balloon;
so.data.recording = recording;
so.flush();
}
function f_Load() {
so = SharedObject.getLocal("TheRoom");
day = so.data.day;
a_spoons = so.data.a_spoons;
money = so.data.money;
money2 = so.data.money2;
cp_theroom = so.data.cp_theroom;
cp_bedroom = so.data.cp_bedroom;
gotdress = so.data.gotdress;
gotflowers = so.data.gotflowers;
gotrecorder = so.data.gotrecorder;
usedrecorder = so.data.usedrecorder;
gottux = so.data.gottux;
havetape = so.data.havetape;
gotspoon = so.data.gotspoon;
perfect_catch = so.data.perfect_catch;
perfect_throw = so.data.perfect_throw;
drugfight = so.data.drugfight;
chrisjail = so.data.chrisjail;
flowertalk = so.data.flowertalk;
confront = so.data.confront;
starving = so.data.starving;
mikealley = so.data.mikealley;
mikevisit = so.data.mikevisit;
stairlisten = so.data.stairlisten;
tuxhome = so.data.tuxhome;
cp_phone = so.data.cp_phone;
phone1 = so.data.phone1;
phone2 = so.data.phone2;
phone3 = so.data.phone3;
phone4 = so.data.phone4;
diary0 = so.data.diary0;
diary1 = so.data.diary1;
diary2 = so.data.diary2;
diary3 = so.data.diary3;
diary4 = so.data.diary4;
diary5 = so.data.diary5;
diary6 = so.data.diary6;
diary7 = so.data.diary7;
diary8 = so.data.diary8;
diary9 = so.data.diary9;
unsee_vandal = so.data.unsee_vandal;
unsee_couch = so.data.unsee_couch;
unsee_crap = so.data.unsee_crap;
unsee_hottub = so.data.unsee_hottub;
unsee_worship = so.data.unsee_worship;
unsee_balloon = so.data.unsee_balloon;
recording = so.data.recording;
if (gotrecorder and (!usedrecorder)) {
f_GetItem("recorder");
}
if (havetape) {
f_GetItem("tape");
}
newgame = false;
f_FadeClear(4278190080);
f_ChangeSong(song1.m_theme);
gotoAndStop ("bedroom");
}
function f_SavedGame() {
so = SharedObject.getLocal("TheRoom");
if (so.data.day) {
return(true);
}
return(false);
}
function f_Erase() {
so = SharedObject.getLocal("TheRoom");
so.clear();
}
function f_NewGame() {
a_Inventory = new Array();
a_Party = new Array();
smashed = new Object();
recording = false;
gotdress = false;
gotflowers = false;
gotrecorder = false;
usedrecorder = false;
gottux = false;
tuxready = false;
havetape = false;
gotspoon = false;
foundroom = false;
smashmode = false;
chasechris = false;
chrisjoke = false;
noexit = false;
unsee_vandal = false;
unsee_couch = false;
unsee_crap = false;
unsee_hottub = false;
unsee_worship = false;
unsee_balloon = false;
a_spoons = new Array();
var _local1 = 1;
while (_local1 <= 10) {
a_spoons[_local1] = false;
_local1++;
}
newgame = true;
outfit = 1;
day = 1;
worked = true;
money = 6000000 /* 0x5B8D80 */;
money2 = 6000000 /* 0x5B8D80 */;
perfect_catch = 0;
perfect_throw = 0;
jacket = true;
cp_theroom = 1;
cp_bedroom = 1;
cp_dennyroom = 0;
drugfight = 0;
chrisjail = false;
flowertalk = 0;
confront = 0;
rage = 0;
starving = false;
mikealley = 0;
mikevisit = 0;
stairlisten = 0;
tuxhome = 0;
cp_phone = 0;
phone1 = false;
phone2 = false;
phone3 = false;
phone4 = false;
diary0 = false;
diary1 = false;
diary2 = false;
diary3 = false;
diary4 = false;
diary5 = false;
diary6 = false;
diary7 = false;
diary8 = false;
diary9 = false;
showermission = false;
needshower = false;
makefood = 0;
havegun = false;
sandwich1 = new Object();
sandwich1.s1 = undefined;
sandwich1.s2 = undefined;
sandwich1.s3 = undefined;
sandwich1.s4 = undefined;
sandwich1.s5 = undefined;
sandwich2 = new Object();
sandwich2.s1 = undefined;
sandwich2.s2 = undefined;
sandwich2.s3 = undefined;
sandwich2.s4 = undefined;
sandwich2.s5 = undefined;
}
function f_Laugh() {
if (random(2) == 1) {
s_johnnylaugh1.start(0, 0);
} else {
s_johnnylaugh2.start(0, 0);
}
}
function f_GoTime() {
if (f_SavedGame()) {
gotoAndStop ("continue");
} else {
gotoAndStop ("intro");
}
}
function f_IntroTalk() {
chat(1, "What a beautiful day!");
p1.speed_y = 3;
textComplete = f_Earthquake;
}
function f_Earthquake() {
talk.gotoAndStop("wait");
fmv.gotoAndStop("earthquake");
}
function f_Earthquake2() {
chat(1, "Woah! Was that an earthquake?");
textComplete = f_Earthquake3;
}
function f_Earthquake3() {
game.markcar.gotoAndPlay("go");
talk.gotoAndStop("wait");
}
function f_Earthquake4() {
chat(30, "Holy crap, Johnny! Did you feel that?");
chat(1, "Oh hai Mark! Yes, I did!");
chat(30, "This is very bad. The bridge just collapsed right behind me!");
chat(1, "Are you ok Mark?");
chat(30, "Yeah Johnny, just very shaken up.");
textComplete = f_Earthquake5;
}
function f_Earthquake5() {
game.markcar.gotoAndPlay("go2");
talk.gotoAndStop("wait");
}
function f_Earthquake6() {
f_LookRight(p1);
chat(40, "Hello boys, are you alright?");
chat(1, "Oh hai Claudette! Yes, we are fine! Is Lisa ok?");
chat(40, "Yes, Lisa is fine but a bit shaken up.");
chat(1, "I better get home and comfort her!");
chat(40, "Now Johnny, as my future son-in-law I expect you to provide for Lisa.");
chat(40, "Lisa has been eyeing up a red dress at the dress shop.");
chat(40, "Now would be the perfect time to give her a gift.");
chat(1, "Ok Claudette, whatever you say!");
textComplete = f_MissionDress;
}
function f_MissionDress() {
f_Mission("Buy dress for Lisa.");
f_Timer(60, f_Earthquake10);
talk.gotoAndStop("wait");
}
function f_Earthquake10() {
chat(30, "I'm very busy so I gotta run. See you guys later!");
chat(40, "I'm meeting Shirley for coffee so I need to run as well.");
chat(30, "Need a ride?");
chat(40, "Sure!");
textComplete = f_Earthquake11;
}
function f_Earthquake11() {
game.markcar.gotoAndPlay("go3");
talk.gotoAndStop("wait");
}
function f_Earthquake12() {
chat(1, "I better get moving!");
}
function f_MissionGiveDress() {
f_Mission("Give dress to Lisa.");
}
function f_Lisa1(zone) {
chat(1, "Hi babe!");
zone.f_Click = f_Lisa2;
}
function f_Lisa2(zone) {
chat(10, "You owe me one, Johnny.");
}
function f_Lisa3(zone) {
if (Math.abs(p1.x - lisa.x) > 75) {
if (p1.x < lisa.x) {
f_LookRight(p1);
} else {
f_LookLeft(p1);
}
}
f_ChangeDress();
return(undefined);
}
function f_ChangeDress() {
f_MissionClear();
game.stars.f_Action = f_Lisa4;
game.stars.gotoAndPlay("go");
lisa.num = 11;
lisa.body.gotoAndStop(lisa.num);
talk.gotoAndStop("wait");
}
function f_Lisa4(zone) {
chat(1, "Wow you look so sexy Lisa!");
chat(10, "Isn't it fabulous?");
chat(1, "I would do anything for my girl!");
textComplete = f_DennyEnter1;
}
function f_DennyEnter1() {
f_FadeSong(song3.m_playful);
f_SetXY(denny, game.door1._x, game.door1._y);
f_WalktoXY(denny, game.door1._x + 50, game.door1._y - 30);
denny.f_Destin = f_Denny1;
talk.gotoAndStop("wait");
}
function f_Denny1(zone) {
f_LookDown(p1);
chat(20, "Oh hey guys!");
chat(1, "Oh hai Denny!");
chat(20, "Wooow! Look at you!");
chat(10, "It's from Johnny.");
chat(1, "Anything for my princess! Ah ha ha ha!", undefined, undefined, 1);
chat(20, "How much was it?");
chat(10, "Denny! Don't ask a question like that.");
chat(1, "Nice to see you Denny! I'm going to take a nap.");
chat(20, "Can I go upstairs too?");
chat(1, "Ha ha!", undefined, undefined, 1);
chat(10, "Denny, I think I'm gonna join him.");
textComplete = f_NapTime;
}
function f_NapTime() {
f_WalktoXY(lisa, game.door2._x, game.door2._y);
lisa.f_Destin = f_LisaNapTime;
talk.gotoAndStop("wait");
}
function f_LisaNapTime() {
chat(1, "Ha ha!", undefined, undefined, 1);
cp_theroom = 2;
lisa.gotoAndStop("blank");
f_Mission("Join Lisa for naptime.");
}
function f_LisaBed() {
f_WalktoXY(p1, game.spot2._x, game.spot2._y);
p1.f_Destin = f_LisaBed2;
talk.gotoAndStop("wait");
}
function f_LisaBed2() {
f_MissionClear();
chat(1, "Ha ha! SMOOOCH!", undefined, undefined, 1);
textComplete = f_DennyBed;
}
function f_DennyBed() {
f_FadeSong(song3.m_playful);
f_SetXY(denny, game.door1._x, game.door1._y);
f_WalktoXY(denny, game.spot3._x, game.spot3._y);
denny.f_Destin = f_DennyBed2;
talk.gotoAndStop("wait");
}
function f_DennyBed2(zone) {
chat(10, "Denny, do you have something else to do?");
chat(20, "I just like to watch you guys!");
chat(10, "Ohh, Denny, Denny boy.");
chat(1, "Denny, two's great but three's a crowd!");
chat(20, "I get it. You guys wanna be alone!");
chat(1, "That's the idea!");
chat(20, "FINE. I have homework to do anyway.");
chat(20, "Bye loverbirds!");
chat(1, "Bye Denny!");
textComplete = f_DennyBed3;
}
function f_DennyBed3() {
f_WalktoXY(denny, game.door1._x, game.door1._y);
denny.f_Destin = f_DennyBed4;
talk.gotoAndStop("wait");
}
function f_DennyBed4() {
denny.gotoAndStop("blank");
chat(1, "Ha ha! SMOOCH SMOOCH.", undefined, undefined, 1);
textComplete = f_EndDay1;
}
function f_EndDay1() {
cp_bedroom = 3;
cp_theroom = 3;
dayname = "WEDNESDAY";
fader.destin = "sleep";
f_FadeOut();
cp_diary = 1;
}
function f_MissionWork() {
f_Mission("Go to work.");
}
function f_BankEnd() {
talk.gotoAndStop("wait");
worked = true;
door = 1;
fader.destin = "bankexterior";
f_FadeOut();
}
function f_StartDay2() {
game.lisabed.gotoAndStop("morning");
day = 2;
worked = false;
cp_bedroom = 4;
f_SetXY(p1, game.spot4._x, game.spot4._y);
f_NeedShower();
f_ChangeJohnny(9);
chat(1, "Did you like last night?");
chat(10, "Yes I did.");
textComplete = f_MissionWork;
}
function f_BankDay2() {
if (recording) {
cp_phone = 1;
cp_diary = 2;
}
flowertalk = 1;
cp_theroom = 4;
cp_bedroom = 5;
chat(100, "Great news Johnny!");
chat(100, "We've put your ideas to work and the bank is making lots of money.");
chat(1, "That is great! I get my promotion?");
chat(100, "Sorry Johnny, not yet.");
chat(1, "But I'm saving you lots of money!");
chat(100, "Just a few more weeks, Johnny. You're our favorite employee.");
textComplete = f_BankEnd;
}
function f_FlowerTalk() {
claudette = game.p2;
claudette.num = 41;
claudette.body.gotoAndStop(claudette.num);
f_SetXY(claudette, game.spot1._x, game.spot1._y);
claudette.f_Click = f_FlowerTalk2;
claudette.clicker.gotoAndStop("on");
}
function f_FlowerTalk2() {
chat(40, "So did you get your promotion? Are you making more money yet?");
chat(1, "Sorry Claudette, no. They say a few more weeks.");
chat(40, "If you're going to be my son-in-law, you will need to buy a house.");
chat(1, "I know, Claudette.");
chat(40, "Well don't go home empty-handed.");
chat(40, "At least get Lisa some flowers before you break the news.");
textComplete = f_MissionFlowers;
}
function f_MissionFlowers() {
flowertalk = 2;
f_Mission("Buy roses for Lisa.");
}
function f_Phone() {
if (ringing) {
f_MissionClear();
f_Tux1();
} else if (recording) {
if (game.p2.num) {
chat(1, "I can't fiddle with the tape with people in the room!");
} else {
recording = false;
f_ReturnTape();
havetape = true;
chat(1, "I can play this in my bedroom tape player!");
}
} else {
chat(1, "I don't have any calls to make.");
}
}
function f_PlayTape() {
if (cp_phone == 1) {
f_Phone1();
} else if (cp_phone == 2) {
f_Phone2();
} else if (cp_phone == 3) {
f_Phone3();
} else {
chat(1, "There is nothing on the tape yet.");
textComplete = f_ReturnTape;
}
}
function f_ReturnTape() {
f_GetItem("tape");
}
function f_Phone1() {
if (!phone1) {
phone1 = true;
phone1new = true;
}
talk.tapes.gotoAndStop(2);
chat(111, "[Phone Ringing]");
chat(30, "Hello?");
chat(10, "Hey baby how are you doing?");
chat(30, "Oh hey how you doing? Yeah I'm very busy, what's going on?");
chat(10, "I just finished talking to my mom, she gave me this big lecture about Johnny.");
chat(30, "Look we'll talk about it later, I told you I'm very busy.");
chat(10, "We'll talk about it NOW. Whenever you say we'll talk about it later, we never do.");
chat(10, "I can't wait until later. I wanna talk RIGHT now.");
chat(10, "You owe me one, anyway.");
chat(30, "Alright, what do you want to talk about?");
chat(10, "She's a stupid bitch! She wants to control my life.");
chat(10, "I'm not gonna put up with it. I'm gonna do what I want to do and that's it.");
chat(10, "What do you think I should do?");
chat(30, "Why do you ask me? You've been very happy with Johnny.");
chat(30, "What do you want me to say? You should enjoy your life.");
chat(10, "...");
chat(30, "What's the problem?");
chat(10, "Maybe you're right. Can I see you tomorrow?");
chat(30, "Ok! How about noon?");
chat(10, "I'll be waiting for you. Bye.");
chat(30, "Alright bye, seeya!");
chat(111, "[Phone Ringing]");
chat(110, "Pizza Place!");
chat(10, "Hi, I'd like to order a pizza.");
chat(110, "Is this for delivery? What is your phone number?");
chat(10, "Yeah, Delivery. 555-4828.");
chat(110, "And what would you like on it?");
chat(10, "Half canadian bacon with pineapple, half artichoke with pesto and light on the cheese.");
chat(110, "Alright, that will be 15 minutes!");
chat(10, "Thanks.");
textComplete = f_ReturnTape;
}
function f_LisaFlowerWait() {
chat(10, "Hi Johnny.");
}
function f_Flower1(zone) {
chat(1, "Hi!");
chat(50, "Can I help you?");
}
function f_Flower2() {
gotflowers = true;
cursor.gotoAndStop(1);
f_MissionClear();
chat(1, "Can I have a dozen red roses please?");
chat(50, "Oh hi Johnny I didn't know it was you!");
chat(50, "Here you go!");
chat(1, "That's me! How much is it?");
chat(50, "It will be $18.");
chat(1, "Here you go! Keep the change!", -1, -18);
chat(50, "You're my favorite customer!");
chat(1, "Thanks a lot! Byeee!");
textComplete = f_GetFlowers;
}
function f_GetFlowers() {
game.flowers.gotoAndStop(2);
f_GetItem("flowers");
f_Mission("Give flowers to Lisa.");
}
function f_GiveFlowers() {
s_dresson.start(0, 0);
chat(1, "These are for you!");
chat(10, "Thanks honey, they're beautiful!");
chat(10, "Did you get your promotion?");
chat(1, "Naaah.");
textComplete = f_Flower2b;
}
function f_Flower2b() {
p1.ghost = true;
f_WalktoXY(p1, game.spot6._x, game.spot6._y);
p1.f_Destin = f_Flower2c;
talk.gotoAndStop("wait");
}
function f_Flower2c() {
f_WalktoXY(p1, game.spot1._x, game.spot1._y);
p1.f_Destin = f_Flower2d;
}
function f_Flower2d() {
lisa.ghost = true;
f_WalktoXY(p1, game.spot4._x, game.spot4._y);
f_WalktoXY(lisa, game.spot7._x + 20, game.spot7._y - 5);
p1.f_Destin = f_LookDown;
lisa.f_Destin = f_Flower2e;
}
function f_Flower2e() {
p1.ghost = false;
lisa.ghost = false;
f_LookLeft(lisa);
f_FadeSong(song5.m_sexytime);
chat(10, "You didn't get it, did you.");
chat(1, "That son of a bitch told me that I would get it within three months.");
chat(1, "I save them bundles. They crazy! I don't think I will ever get it.");
chat(1, "They betray me, they didn't keep their promise, they trick me and I don't care anymore.");
chat(10, "Did you tell them how much you save them?");
chat(1, "Of course what do you think? They already put my ideas into practice!");
chat(1, "The bank saves money and they are using me and I am their fool.");
chat(10, "I still love you!");
chat(1, "You're the only one who does.");
chat(10, "At least you have friends. I didn't get any calls today.");
chat(10, "You're right. The computer business is too competitive.");
chat(10, "Do you want me to order a pizza?");
chat(1, "Whatever, I don't care.");
chat(10, "I already ordered a pizza.");
chat(1, "Ha ha! You think about everything. Ha ha.", undefined, undefined, 1);
chat(10, "What's the matter? You alright?");
chat(10, "It's just a lousy promotion. You know what you need?");
chat(10, "You need a drink.");
chat(1, "I don't drink, you know that!");
textComplete = f_Flower3;
}
function f_Flower3() {
lisa.ghost = true;
f_WalktoXY(lisa, game.spot7._x, game.spot3._y + 20);
lisa.f_Destin = f_Flower3b;
talk.gotoAndStop("wait");
}
function f_Flower3b() {
f_WalktoXY(lisa, game.spot5._x + 40, game.spot5._y);
lisa.f_Destin = f_Flower4;
}
function f_Flower4() {
lisa.ghost = false;
f_WalktoXY(lisa, game.door3._x + 80, game.door3._y);
lisa.f_Destin = f_Flower5;
}
function f_Flower5() {
f_WalktoXY(lisa, game.door3._x - 100, game.door3._y);
lisa.f_Destin = f_Flower5a;
}
function f_Flower5a() {
lisa.num = 120;
lisa.body.gotoAndStop(lisa.num);
f_WalktoXY(lisa, game.door3._x + 76, game.door3._y);
lisa.f_Destin = f_Flower6;
}
function f_Flower6() {
f_LookDown(lisa);
chat(1, "Ha ha!", undefined, undefined, 1);
textComplete = f_Flower6a;
}
function f_Flower6a() {
lisa.ghost = true;
f_WalktoXY(lisa, game.spot5._x + 40, game.spot5._y + 10);
lisa.f_Destin = f_Flower6b;
talk.gotoAndStop("wait");
}
function f_Flower6b() {
f_WalktoXY(lisa, game.spot6._x, game.spot5._y);
lisa.f_Destin = f_Flower6c;
}
function f_Flower6c() {
lisa.ghost = true;
f_WalktoXY(lisa, game.spot1._x, game.spot1._y);
lisa.f_Destin = f_Flower6d;
}
function f_Flower6d() {
lisa.ghost = false;
f_LookDown(lisa);
chat(10, "Don't worry about it. It's good for you.");
chat(1, "You must be crazy! I can't drink this.");
chat(10, "If you love me, you'll drink this!");
chat(1, "You're right. It IS good.");
chat(10, "I know, I AM right.");
chat(10, "Don't worry about those fuckers you're a good man.");
chat(10, "DRINK and let's have some fun!");
textComplete = f_Flower7;
}
function f_Flower7() {
cp_theroom = 6;
fader.destin = "theroom";
f_FadeOut();
}
function f_Flower8() {
p1.num = 4;
f_SetXY(p1, game.spot4._x, game.spot4._y);
f_LookLeft(p1);
lisa = game.p2;
lisa.num = 19;
f_SetXY(lisa, game.spot4._x - 50, game.spot4._y);
f_LookRight(lisa);
game.table.gotoAndStop("pizza");
chat(1, "Ha ha! Ha ha!", undefined, undefined, 1);
chat(10, "Hyuck yuck!");
chat(1, "You have nice legs Lisa!");
chat(10, "YOU have nice PECS.");
chat(1, "I'm tired, I'm wasted, I love you darling!");
chat(10, "Come on make love to me.");
chat(1, "Meh...");
chat(10, "Come on! You owe me one!");
chat(1, "I love you Lisa!");
chat(10, "I love you, Johnny!");
chat(1, "Ha ha!", undefined, undefined, 1);
textComplete = f_EndDay2;
}
function f_EndDay2() {
cp_bedroom = 6;
cp_theroom = 7;
dayname = "THURSDAY";
fader.destin = "sleep";
f_FadeOut(2);
}
function f_StartDay3() {
day = 3;
worked = false;
game.lisabed.gotoAndStop("morning");
cp_bedroom = 4;
f_SetXY(p1, game.spot4._x, game.spot4._y);
f_NeedShower();
f_ChangeJohnny(9);
f_MissionWork();
}
function f_BankDay3() {
cp_bedroom = 7;
drugfight = 1;
chat(100, "Just a few more weeks, Johnny!");
textComplete = f_BankEnd;
}
function f_MarkHearsDenny() {
mark = game.p2;
mark.num = 33;
f_SetXY(mark, game.door1._x + 200, game.door1._y + 120);
f_WalktoXY(mark, game.door1._x + 100, game.door1._y + 120);
mark.f_Destin = f_MarkHearsDenny2;
talk.gotoAndStop("wait");
}
function f_MarkHearsDenny2() {
mark = game.p2;
chat(30, "Do you hear that, it sounds like Denny!");
mark.f_Special = f_Follow;
mark.place = 1;
f_AddParty(33);
}
function f_Drug1() {
mark = game.f1;
mark.f_Special = undefined;
f_ObjectPop(33, a_Party);
if (!game.f1.num) {
game.f1.num = 33;
}
f_SetXY(p1, game.door1._x + 20, p1.y);
f_SetXY(mark, game.door1._x - 20, p1.y - 1);
chris = game.p2;
chris.num = 55;
f_SetXY(chris, game.spot1._x, game.spot1._y);
f_LookRight(chris);
denny = game.p3;
denny.num = 20;
denny.speed_x = 2;
denny.speed_y = 2;
f_SetXY(denny, game.spot2._x, game.spot2._y);
f_LookLeft(denny);
chat(55, "Where's my fucking money Denny?");
textComplete = f_DrugRPGIntro;
}
function f_DrugRPGIntro() {
cursor.gotoAndStop(1);
f_ChangeSong(song2.m_battle);
fmv.gotoAndStop("battle1");
talk.gotoAndStop("wait");
}
function f_DrugRPGIntro2() {
fader.destin = "rpg";
f_FadeDitherGradient(1, 4294901760, f_FadedOut, "middle");
}
function f_KOChris() {
f_FadeSong(song1.m_theme);
drugfight = 2;
fader.destin = "roof";
f_FadeDitherGradient(1, 4278190080, f_FadedOut, "middle");
}
function f_DrugGirls() {
mark = game.f1;
mark.num = 33;
chris = game.p2;
chris.num = 55;
f_SetXY(chris, game.spot1._x, game.spot1._y);
f_LookDown(chris);
denny = game.p3;
denny.num = 20;
denny.speed_x = 2;
denny.speed_y = 2;
f_SetXY(denny, game.spot8._x, game.spot8._y);
f_LookLeft(denny);
f_SetXY(p1, chris._x - 40, chris._y);
f_SetXY(mark, chris._x + 40, chris._y);
f_LookRight(p1);
f_LookLeft(mark);
lisa = game.p4;
lisa.num = 18;
lisa.body.gotoAndStop(lisa.num);
f_SetXY(lisa, game.door1._x - 10, game.door1._y + 5);
claudette = game.p5;
claudette.num = 43;
claudette.body.gotoAndStop(claudette.num);
f_SetXY(claudette, game.door1._x + 20, game.door1._y);
chat(10, "What's going on here? Somebody help!");
chat(1, "Let's take him to the police!");
textComplete = f_GetChris;
}
function f_GetChris() {
f_Mission("Take Chris R to Police.");
chris.f_Special = f_Follow;
chris.place = 1;
f_AddParty(55);
mark.f_Special = f_Follow;
mark.place = 2;
f_AddParty(33);
f_WalktoXY(lisa, denny._x - 40, denny._y);
f_WalktoXY(claudette, denny._x - 70, denny._y + 1);
f_WalktoXY(p1, game.door1._x, game.door1._y);
talk.gotoAndStop("wait");
}
function f_DropOffChris() {
f_MissionClear();
f_LookUp(chris);
f_LookUp(mark);
chat(101, "Well if it isn't our old friend Chris R!");
chat(101, "We've been looking for a reason to bust you for years.");
textComplete = f_DropOffChris2;
}
function f_DropOffChris2() {
f_WalktoXY(cop1, chris._x - 30, chris._y - 2);
f_WalktoXY(cop2, chris._x + 30, chris._y - 2);
cop1.f_Destin = f_DropOffChris3;
talk.gotoAndStop("wait");
}
function f_DropOffChris3() {
f_WalktoXY(cop1, game.spot2._x, game.spot2._y);
f_WalktoXY(cop2, game.spot3._x, game.spot3._y);
f_WalktoXY(chris, game.spot1._x, game.spot1._y);
chris.f_Destin = f_DropOffChris4;
talk.gotoAndStop("wait");
}
function f_DropOffChris4() {
chris.stand = "stand_down";
chris.body.body.gotoAndStop(chris.stand);
cop1.stand = "stand_down";
cop1.body.body.gotoAndStop(cop1.stand);
cop2.stand = "stand_down";
cop2.body.body.gotoAndStop(cop2.stand);
chris.f_Special = undefined;
f_ObjectPop(55, a_Party);
mark.place = 1;
game.jaildoor.gotoAndPlay("close");
game.jailwall.skip = false;
f_AddWall(game.jailwall, game.jailwall.wall);
drugfight = 3;
chrisjail = true;
chat(101, "Thanks Johnny, you're our favorite citizen!");
cop1.f_Click = f_Cop1Talk;
cop1.clicker.gotoAndStop("on");
cop2.f_Click = f_Cop2Talk;
cop2.clicker.gotoAndStop("on");
}
function f_Cop1Talk() {
chat(101, "Thanks again Johnny.");
}
function f_Cop2Talk() {
chat(104, "You're our favorite citizen, Johnny.");
}
function f_Cop1Talk2() {
chat(101, "Stay out of trouble.");
}
function f_Cop2Talk2() {
chat(104, "Hello there, Johnny!");
}
function f_Cop1Talk3() {
chat(101, "Chris R escaped! Let us know if you see him.");
}
function f_Cop2Talk3() {
chat(104, "Watch your back for Chris R, he's out there somewhere.");
}
function f_ChrisTaunt() {
var _local1 = random(4);
if (_local1 == 0) {
chat(55, "Fucker!");
} else if (_local1 == 1) {
chat(55, "You're fucking dead!");
} else if (_local1 == 2) {
chat(55, "Where's my fucking money?!");
} else {
chat(55, "You're fucking dead man!");
}
}
function f_MissionDennyRoof() {
f_Mission("Check on Denny.");
}
function f_DrugTalk() {
f_MissionClear();
denny = game.p2;
denny.num = 20;
f_SetXY(denny, game.spot8._x, game.spot8._y);
lisa = game.p3;
lisa.num = 10;
claudette = game.p4;
claudette.num = 40;
denny.stand = "stand_left";
denny.body.body.gotoAndStop(denny.stand);
f_SetXY(lisa, denny._x - 40, denny._y);
f_SetXY(claudette, denny._x - 80, denny._y + 5);
lisa.stand = "stand_right";
lisa.body.body.gotoAndStop(lisa.stand);
claudette.stand = "stand_right";
claudette.body.body.gotoAndStop(claudette.stand);
mark = game.f1;
mark.f_Special = undefined;
f_ObjectPop(33, a_Party);
f_SetXY(p1, game.door1._x + 20, game.door1._y);
f_SetXY(mark, game.door1._x - 20, game.door1._y);
f_WalktoXY(p1, denny._x - 20, denny._y - 20);
f_WalktoXY(mark, denny._x - 70, denny._y - 20);
p1.f_Destin = f_DrugTalk2;
drugfight = 4;
talk.gotoAndStop("wait");
}
function f_DrugTalk2() {
p1.stand = "stand_down";
p1.body.body.gotoAndStop(p1.stand);
mark.stand = "stand_down";
mark.body.body.gotoAndStop(mark.stand);
f_FadeSong(song3.m_playful);
chat(1, "Are you ok Denny?");
chat(20, "I'm ok.");
chat(1, "Are you ok?");
chat(20, "I'm ok!");
chat(40, "What's ok? He's taking drugs!");
chat(30, "Come on stop! It was a mistake.");
chat(40, "A mistake! That he takes drugs!");
chat(1, "Let's go hooome.");
chat(30, "Come on, it's clear!");
chat(40, "What's clear? I am gonna call the police!");
chat(10, "Mom, stop! It was Denny's mistake, just stop!");
chat(30, "Let's go!");
textComplete = f_DrugTalk3;
}
function f_DrugTalk3() {
f_WalktoXY(claudette, game.door1._x - 10, game.door1._y);
f_WalktoXY(mark, game.door1._x + 20, game.door1._y);
claudette.f_Destin = f_DrugTalk4;
talk.gotoAndStop("wait");
}
function f_DrugTalk4() {
claudette.gotoAndStop("blank");
mark.gotoAndStop("blank");
claudette._y = claudette._y - 100;
mark._y = mark._y - 100;
chat(1, "Why did you do this? You know better, right?");
chat(20, "I'm sorry...");
chat(1, "Why?!");
chat(20, "I'm SORRY!");
chat(1, "You know better, Denny! You almost got killed!");
chat(20, "I'm sorry! It won't happen again, I promise!");
chat(10, "Denny, you know that Johnny's like your father.");
chat(10, "And we're your friends, we're gonna help you.");
chat(1, "Let's go home.");
textComplete = f_GetDenny;
}
function f_GetDenny() {
f_Mission("Take Denny home.");
denny.f_Special = f_Follow;
denny.place = 1;
f_AddParty(20);
lisa.f_Special = f_Follow;
lisa.place = 2;
f_AddParty(10);
}
function f_DennyHome() {
drugfight = 5;
denny = game.f1;
denny.f_Special = undefined;
f_ObjectPop(20, a_Party);
lisa = game.f2;
lisa.place = 1;
p1.goal_x = p1.x;
p1.goal_y = p1.y;
if (p1.x > denny._x) {
p1.stand = "stand_left";
denny.stand = "stand_right";
} else {
p1.stand = "stand_right";
denny.stand = "stand_left";
}
p1.body.body.gotoAndStop(p1.stand);
lisa.body.body.gotoAndStop(lisa.stand);
denny.goal_x = denny._x;
denny.goal_y = denny._y;
denny.body.body.gotoAndStop(denny.stand);
chat(20, "Thanks for walking me home guys!");
textComplete = f_DennyHome2;
}
function f_DennyHome2() {
f_FadeSong(song1.m_theme);
f_MissionClear();
f_WalktoXY(game.f1, game.door3._x, game.door3._y + 5);
game.f1.f_Destin = f_DennyHome3;
talk.gotoAndStop("wait");
}
function f_DennyHome3() {
cp_dennyroom = 1;
game.f1.gotoAndStop("blank");
talk.gotoAndStop(1);
f_Mission("Go home.");
cp_theroom = 8;
cp_bedroom = 8;
}
function f_HomeFromDrugs() {
lisa = game.f1;
lisa.f_Special = undefined;
f_ObjectPop(10, a_Party);
cp_theroom = 8;
f_MissionClear();
f_WalktoXY(lisa, game.spot5._x, game.spot5._y);
lisa.f_Destin = f_HomeFromDrugs2;
talk.gotoAndStop("wait");
}
function f_HomeFromDrugs2() {
lisa.stand = "stand_down";
lisa.body.body.gotoAndStop(lisa.stand);
chat(10, "I'm gonna call Claudette and make sure she got home ok.");
chat(10, "You should take a shower Johnny, you stink.");
showermission = true;
textComplete = f_NeedShower;
}
function f_LisaEndCall() {
if (recording) {
cp_phone = 2;
}
lisa = game.p2;
lisa.num = 10;
f_SetXY(lisa, game.spot5._x, game.spot5._y);
p1.goal_x = p1._x;
p1.goal_y = p1._y;
p1.stand = "stand_left";
p1.body.body.gotoAndStop(p1.stand);
chat(10, "Claudette got home ok. Let's go to bed.");
textComplete = f_LisaEndCall2;
}
function f_LisaEndCall2() {
f_WalktoXY(lisa, game.door2._x - 50, game.door2._y);
lisa.f_Destin = f_LisaEndCall3;
talk.gotoAndStop("wait");
}
function f_LisaEndCall3() {
lisa.stand = "stand_right";
lisa.body.body.gotoAndStop(lisa.stand);
cp_bedroom = 9;
cp_theroom = 10;
dayname = "FRIDAY";
fader.destin = "sleep";
f_FadeOut();
}
function f_Phone2(zone) {
if (!phone2) {
phone2 = true;
phone2new = true;
}
talk.tapes.gotoAndStop(2);
chat(111, "[Phone Ringing]");
chat(10, "I miss you.");
chat(30, "I just saw you! What are you talking about!");
chat(10, "I just wanted to hear your sexy voice.");
chat(10, "I've been thinking about your strong hands around my body and it excites me so much.");
chat(30, "...");
chat(10, "I love you.");
chat(30, "Is Johnny there?");
chat(10, "He's... In the shower.");
chat(30, "I don't understand you. Why do you do things like this?");
chat(10, "Because I love you. You just don't care, do you.");
chat(30, "I DO care. But we agreed, it's over between us!");
chat(10, "I understand, it's our secret.");
chat(10, "But I still have feelings for you and you just don't care.");
chat(30, "I DO care.");
chat(10, "I have to go now. I'll see you later darling.");
chat(30, "Don't call me that.");
chat(10, "Okaaay! Bye.");
textComplete = f_ReturnTape;
}
function f_StartDay4() {
game.lisabed.gotoAndStop("morning");
day = 4;
worked = false;
outfit = 9;
f_ChangeJohnny(9);
cp_diary = 3;
cp_bedroom = 10;
cp_dennyroom = 0;
f_SetXY(p1, game.spot4._x, game.spot4._y);
chat(1, "TGIF!");
textComplete = f_MissionWork;
}
function f_BankDay4() {
chat(100, "Just a few more weeks and you should be getting that raise!");
confront = 1;
textComplete = f_BankEnd;
}
function f_Confront() {
f_StopJohnny();
chat(40, "You remember my friend Shirley Hamilton?");
chat(40, "She found a new house and needs money for the down payment.");
chat(40, "I would help her but I have my own problems...");
chat(40, "My jerk brother Harold wants me to give him a share of my house!");
chat(40, "Not to mention I just found out I definitely have breast cancer.");
chat(40, "Could you lend her the money?");
chat(1, "That would be an awkward situation.");
chat(40, "I expected you to be a little more generous.", 2);
chat(40, "And what is this I hear about you HITTING Lisa?");
chat(1, "I did not hit Lisa what are you talking about?", 3);
chat(40, "Lisa told me you got drunk last night and hit her.");
chat(1, "I did not hit her, I did not!", 4);
chat(40, "Don't get so worked up! Go cool off on the roof.");
confront = 2;
textComplete = f_ConfrontEnd;
}
function f_ConfrontEnd(zone) {
f_Mission("Cool off on the roof.");
claudette.clicker.gotoAndStop("off");
f_WalktoXY(claudette, game.door2._x - 150, game.door2._y);
}
function f_Roof0() {
f_MissionClear();
confront = 3;
mark = game.p2;
mark.num = 31;
f_SetXY(mark, game.spot5._x, game.spot5._y);
chat(1, "I did not hit her! It's not true! It's BULLSHIT!");
textComplete = f_Roof01;
}
function f_Roof01() {
f_WalktoXY(p1, game.door1._x, game.door1._y + 70);
p1.f_Destin = f_Roof1;
talk.gotoAndStop("wait");
}
function f_Roof1() {
chat(1, "I did not hit her! I did NOT.");
chat(1, "Oh hai Mark!", 1);
chat(30, "Oh hey Johnny, what's up?");
textComplete = f_Roof2;
}
function f_Roof2() {
f_WalktoXY(p1, game.spot4._x, game.spot4._y + 20);
p1.f_Destin = f_Roof3;
talk.gotoAndStop("wait");
}
function f_Roof3() {
f_SetXY(p1, game.spot4._x, game.spot4._y);
p1.stand = "stand_down";
p1.body.body.gotoAndStop(p1.stand);
chat(1, "I have a problem with Lisa, she said that I hit her!");
chat(30, "What?! Well did you?");
chat(1, "No! It's not true, don't even ask!");
chat(1, "What's new with you?");
chat(30, "Well I'm just sitting up here thinking, ya know?");
chat(30, "I got a question for you!");
chat(1, "Yah?");
chat(30, "You think girls like to cheat like guys do?");
chat(1, "...What makes you say that?");
chat(30, "I dunno! I dunno, I'm just... I'm just thinkin'.");
chat(1, "I don't have to worry about that because Lisa is loyal to me.");
chat(30, "Yeah man you never know. People are very strange these days.");
chat(30, "I used to know a girl, she had a dozen guys.");
chat(30, "One of them found out about it.");
chat(30, "Beat her up so bad she ended up at a hospital on Guerrero Street.");
chat(1, "Ha ha ha! What a story, Mark.", undefined, undefined, 1);
chat(30, "Yeah you can say THAT again!");
chat(1, "I'm so happy I have you as my best friend!");
chat(1, "And I love Lisa so much.");
chat(30, "Yeah man. Yeah you are very lucky.");
chat(1, "Well maybe you should have a girl, Mark.");
chat(30, "...Yeah. Yeah maybe you're right.");
chat(30, "Maybe I have one already, I dunno yet.");
chat(1, "Well what happened? Remember Betty, that's her name?");
chat(30, "Betty?");
chat(1, "Yah.");
chat(30, "Yeah we don't see each other anymore.");
chat(30, "You know she wasn't any good in bed.");
chat(30, "She was BEAUTIFUL but we had too many arguments.");
chat(1, "That's too bad! My Lisa's great when I can get it.");
chat(30, "Oh man, I just can't figure women out.");
chat(30, "Sometimes they're just too smart.");
chat(30, "Sometimes they're flat-out stupid.");
chat(30, "Other times they're just evil.");
chat(1, "It seems to me that you're the EXPERT, Mark!");
chat(30, "No! Heh. Definitely not an expert, Johnny.");
chat(1, "What's bothering you, Mark?");
chat(30, "Nothing, man!");
chat(1, "Do you... Do you have some secrets?");
chat(30, "Forget it!");
chat(1, "Why don't you tell me? Come on.");
chat(30, "Forget it, dude!");
chat(1, "Is it some secret? Come on.");
chat(30, "I'll talk to you later!");
chat(1, "Well, whatever.");
textComplete = f_Roof4;
}
function f_Roof4() {
denny = game.p3;
denny.num = 23;
denny.body.gotoAndStop(denny.num);
f_SetXY(denny, game.door1._x, game.door1._y);
f_WalktoXY(denny, game.door1._x, game.door1._y + 50);
f_WalktoXY(mark, game.door1._x, game.door1._y);
mark.f_Destin = f_Roof5;
f_FadeSong(song3.m_playful);
talk.gotoAndStop("wait");
}
function f_Roof5(zone) {
mark._y = mark._y - 100;
mark.gotoAndStop("blank");
denny.stand = "stand_right";
denny.body.body.gotoAndStop(denny.stand);
chat(20, "Hey Johnny!");
chat(1, "Oh, hai Denny!");
textComplete = f_Roof6;
}
function f_Roof6() {
f_WalktoXY(denny, game.spot6._x, game.spot6._y);
denny.f_Destin = f_Roof7;
talk.gotoAndStop("wait");
}
function f_Roof7() {
denny.stand = "stand_left";
denny.body.body.gotoAndStop(denny.stand);
chat(20, "What's wrong with Mark?");
chat(1, "He's cranky today! Ha ha ha!", undefined, undefined, 1);
chat(1, "Girl trouble, I guess! What's new with you?");
chat(20, "Not much! Still going to the movie tonight?");
chat(1, "Oh sure, we are!");
chat(20, "What kinda movie are we gonna see?");
chat(1, "Well we'll see... Denny don't plan too much, it may not come out right!");
chat(20, "Alright, let's toss the ball around!");
chat(1, "Ok!");
textComplete = f_Roof8;
}
function f_Roof8() {
f_WalktoXY(p1, game.spot7._x, game.spot7._y);
p1.f_Destin = f_Roof9;
talk.gotoAndStop("wait");
}
function f_Roof9() {
p1.stand = "stand_right";
p1.body.body.gotoAndStop(p1.stand);
fmv.gotoAndStop("throw");
fmv.goal = denny;
fmv.f_Destin = f_Roof10;
talk.gotoAndStop("wait");
}
function f_Roof10() {
chat(20, "Gotta tell ya about something.");
textComplete = f_Roof11;
}
function f_Roof11() {
noexit = true;
var _local1 = f_TossFootball(denny, p1, true);
_local1.f_Destin = f_Roof12;
}
function f_Roof12() {
if (p1.caught) {
fmv.gotoAndStop("catch");
} else {
fmv.gotoAndStop("throw");
}
fmv.goal = denny;
fmv.f_Destin = f_Roof20;
talk.gotoAndStop("wait");
}
function f_Roof20() {
chat(1, "Shoot, Denny.");
chat(20, "It's about Lisa.");
chat(1, "Go on.");
chat(20, "She's beautiful!");
chat(20, "She looks great in her red dress.");
chat(20, "I think I'm in love with her.");
chat(1, "Go on.");
chat(20, "I know she doesn't like me because sometimes she's mean to me...");
chat(20, "But sometimes when I'm around her...");
chat(20, "I feel like I want to kiss her and tell her that I love her.");
chat(1, "...");
chat(20, "I dunno. I'm just confused.");
chat(1, "Denny!");
chat(1, "Don't worry about that!");
chat(1, "Lisa loves you too, as a person!");
chat(1, "As a human being!");
chat(1, "As a friend!");
chat(20, "...");
chat(1, "You know, people don't have to say it.");
chat(1, "They can feel it.");
chat(20, "Whattaya mean?");
textComplete = f_Roof21;
}
function f_Roof21() {
f_WalktoXY(denny, game.spot5._x, game.spot5._y + 20);
f_WalktoXY(p1, game.spot4._x, game.spot4._y + 20);
p1.f_Destin = f_Roof22;
talk.gotoAndStop("wait");
}
function f_Roof22() {
f_SetXY(p1, game.spot4._x, game.spot4._y);
p1.stand = "stand_down";
p1.body.body.gotoAndStop(p1.stand);
f_SetXY(denny, game.spot5._x, game.spot5._y);
denny.stand = "stand_down";
denny.body.body.gotoAndStop(denny.stand);
chat(1, "You can love someone deep inside your heart and there is nothing wrong with it.");
chat(1, "If a lot of people love each other, the world would be a better place to live.");
chat(20, "Lisa's your future wife!");
chat(1, "Denny, don't worry about it!");
chat(1, "You're a part of our family and we love you very much!");
chat(1, "We will help you any time and Lisa loves you too!");
chat(1, "As a friend!");
chat(1, "You are sort of... Like her son!");
chat(20, "You mean, you're not upset with me?");
chat(1, "No, because I trust you and I trust Lisa!");
chat(20, "...");
chat(1, "What about Elizabeth, huh?");
chat(20, "Well... I love her.");
chat(1, "Mmm hmm!");
chat(20, "When I graduate from college, get a good job...");
chat(20, "I wanna marry her and have kids with her.");
chat(1, "That's the idea!");
chat(20, "You're right!");
chat(20, "Thanks for paying my tuition.");
chat(1, "You're very welcome Denny and keep in mind if you have any problems,", -1, -46500);
chat(1, "talk to me and I will help you!");
chat(20, "Awesome.");
chat(20, "Thanks, Johnny!");
chat(1, "Let's go eat, huh?");
chat(1, "Come on, let's go!");
chat(20, "I'm starving.");
starving = true;
cp_theroom = 20;
textComplete = f_Roof23;
}
function f_Roof23() {
noexit = false;
f_Mission("Take Denny to Coffee Shop.");
dennycoffee = 1;
denny.f_Special = f_Follow;
denny.place = 1;
f_AddParty(23);
}
function f_FutureTalk() {
if ((day % 3) == 0) {
if (random(3) == 1) {
chat(107, "Try our new mint 'plutonium' ice cream! It's so green it glows!");
} else if (random(2) == 1) {
chat(107, "Our mocha lattes will melt your brain!");
} else {
chat(107, "It's so hot in here man\u00E2\u20AC\u00A6 I'm only getting miminum wage for this gig.");
}
} else if ((day % 2) == 0) {
if (random(3) == 1) {
chat(106, "The bridge is out? \u00E2\u20AC\u00A6Not in the FUTURE it isn't\u00E2\u20AC\u00A6");
} else if (random(2) == 1) {
chat(106, "Need 1.21 gigawatts of caffeine?");
} else {
chat(106, "Great Scott! Our mocha lattes are delicious!");
}
} else if (random(3) == 1) {
chat(1, "Nice life preserver, kid!");
} else if (random(2) == 1) {
chat(105, "Try our cheesecake today! Don't be a Slacker!");
} else if (random(2) == 1) {
chat(105, "I'm trying to get them to add Tab to the menu!");
} else {
chat(105, "A cup of joe, 88 cents every day!");
}
}
function f_CoffeeOrder() {
if (dennycoffee == 1) {
dennycoffee = 0;
chat(80, "How about you?");
chat(20, "I'll have the cheesecake!");
chat(81, "Congratulations, you're our billionth cheesecake served!", -1, -5);
chat(80, "I knew we could count on you, Denny.");
textComplete = f_DennyCoffee1;
} else if (a_Party[0] == 38) {
chat(80, "How about you?");
chat(30, "I'll have the mint tea.");
chat(80, "Ok!");
if (last_size == 0) {
chat(81, "What size?");
chat(30, "I'll have a medium.");
} else {
if (last_size == 1) {
chat(81, "Small also?");
} else if (last_size == 2) {
chat(81, "Medium also?");
} else if (last_size == 3) {
chat(81, "Large also?");
}
chat(30, "Yeah!");
}
chat(80, "Go sit down, we'll be right there.");
textComplete = f_Coffee1;
} else {
chat(80, "Here you go!");
}
f_NextText();
}
function f_DennyCoffee1() {
f_MissionClear();
denny = game.f1;
denny.f_Special = undefined;
f_ObjectPop(23, a_Party);
f_WalktoXY(denny, game.spot2._x, game.spot2._y);
f_WalktoXY(p1, game.spot1._x, game.spot1._y);
p1.f_Destin = f_DennyCoffee2;
talk.gotoAndStop("wait");
}
function f_DennyCoffee2() {
f_SetXY(p1, game.spot1._x, game.spot1._y);
f_SetXY(denny, game.spot2._x, game.spot2._y);
p1.stand = "stand_down";
p1.body.body.gotoAndStop(p1.stand);
denny.stand = "stand_up";
denny.body.body.gotoAndStop(denny.stand);
chat(1, "So Denny how is the cheesecake?");
chat(20, "It's AMAZING, Johnny! You should try some!");
chat(1, "No thanks.");
chat(20, "Too late anyway, I just ate it all!");
chat(20, "Thanks for paying for my cheesecake, Johnny. Seeya!");
textComplete = f_DennyCoffee3;
}
function f_DennyCoffee3() {
f_WalktoXY(denny, game.door1._x, game.door1._y);
denny.f_Destin = f_DennyCoffee4;
talk.gotoAndStop("wait");
}
function f_DennyCoffee4() {
starving = false;
denny.gotoAndStop("blank");
chat(1, "I guess I should be getting home now.");
textComplete = f_MissionHome;
}
function f_MissionHome() {
f_Mission("Go home.");
}
function f_Fight1() {
game.wall1.skip = true;
game.wall2.skip = true;
game.wall3.skip = true;
game.wall4.skip = true;
game.wall5.skip = true;
f_SetXY(p1, game.door1._x, game.door1._y - 50);
f_LookUp(p1);
michelle = game.p3;
michelle.num = 61;
f_SetXY(michelle, game.spot4._x, game.spot4._y);
lisa = game.p2;
lisa.num = 12;
f_SetXY(lisa, game.spot7._x, game.spot7._y);
f_LookRight(michelle);
f_LookLeft(lisa);
chat(60, "Don't worry, you can trust me. Your secret is safe with me.");
f_LookUp(p1);
textComplete = f_Fight2;
}
function f_Fight2() {
f_WalktoXY(p1, game.door1._x, game.door1._y - 75);
p1.f_Destin = f_Fight3;
talk.gotoAndStop("wait");
}
function f_Fight3() {
f_LookDown(michelle);
f_LookDown(lisa);
chat(1, "Hello Michelle!");
chat(1, "I heard you!");
textComplete = f_Fight4;
}
function f_Fight4() {
f_WalktoXY(p1, game.spot6._x, game.spot6._y);
p1.f_Destin = f_Fight5;
talk.gotoAndStop("wait");
}
function f_Fight5() {
f_LookRight(p1);
chat(1, "What secret?");
chat(10, "It's between us women!");
chat(60, "Hi Johnny!");
chat(1, "Did you get a new dress?");
chat(60, "Uhhh, well I guess I better be going.");
chat(60, "I'll just talk to you guys later.");
textComplete = f_Fight6;
}
function f_Fight6() {
f_WalktoXY(michelle, game.p1._x + 40, game.p1._y);
michelle.f_Destin = f_Fight7;
talk.gotoAndStop("wait");
}
function f_Fight7() {
f_LookLeft(michelle);
chat(60, "Excuse me.");
textComplete = f_Fight8;
}
function f_Fight8() {
f_WalktoXY(lisa, game.spot4._x, game.spot4._y);
f_WalktoXY(michelle, game.door1._x, game.door1._y);
michelle.f_Destin = f_Fight9;
talk.gotoAndStop("wait");
}
function f_Fight9() {
f_LookDown(p1);
f_LookDown(lisa);
f_LookUp(michelle);
chat(60, "Lisa, remember what I told you!");
textComplete = f_Fight10;
}
function f_Fight10() {
f_WalktoXY(michelle, game.door1._x, game.door1._y + 150);
michelle.f_Destin = f_Fight11;
talk.gotoAndStop("wait");
}
function f_Fight11() {
michelle.gotoAndStop("blank");
f_LookRight(p1);
chat(1, "What's she talking about?");
chat(10, "It's girl talk, I JUST told you that.");
chat(1, "I never hit you.");
chat(1, "You shouldn't have any secrets from me, I am your future husband.");
chat(10, "You sure about that?");
chat(10, "Maybe I'll change my mind.");
chat(1, "Don't talk like that.");
chat(1, "What do you mean?");
chat(10, "What do you THINK?");
chat(10, "Women change their minds ALL the time.");
chat(1, "Ha ha ha! You must be kidding, aren't you?", undefined, undefined, 1);
chat(10, "Look, I don't wanna talk about it.");
chat(10, "I'm gonna go upstairs, wash up and go to bed.");
chat(1, "How dare you talk to me like that!", 2);
chat(1, "You should tell me everything!");
chat(10, "I can't talk right now.");
textComplete = f_Fight15;
}
function f_Fight15() {
f_WalktoXY(p1, lisa._x - 40, lisa._y);
p1.f_Destin = f_Fight16;
talk.gotoAndStop("wait");
}
function f_Fight16() {
chat(1, "Why Lisa, why is that? Please talk to me, please!", 3);
chat(1, "You are part of my life, you are everything!");
chat(1, "I could not go on without you, Lisa!");
chat(10, "You're scaring me.");
chat(1, "You're lying, I never hit you!", 4);
textComplete = f_Fight17;
}
function f_Fight17() {
talk.gotoAndStop("wait");
fmv.gotoAndStop("tear");
}
function f_Fight18() {
chat(10, "Why are you so hysterical?!");
chat(1, "Do you understand life?");
chat(1, "Do you?");
textComplete = f_Fight20;
}
function f_Fight20() {
f_WalktoXY(lisa, game.spot7._x - 30, game.spot7._y);
lisa.f_Destin = f_Fight21;
talk.gotoAndStop("wait");
}
function f_Fight21() {
f_WalktoXY(lisa, game.door2._x, game.door2._y);
lisa.f_Destin = f_Fight22;
talk.gotoAndStop("wait");
}
function f_Fight22() {
f_LookLeft(lisa);
f_LookDown(p1);
chat(10, "Don't worry about it. Everything will be alright.");
chat(1, "You drive me crazy!");
chat(10, "Good night, Johnny!");
chat(1, "Don't worry about it.", 1);
chat(1, "I still love you.");
chat(1, "Good night, Lisa.");
textComplete = f_EndDay4;
}
function f_FightEnd() {
lisa.gotoAndStop("blank");
cp_theroom = 21;
}
function f_EndDay4() {
cp_theroom = 21;
cp_bedroom = 22;
dayname = "SATURDAY";
fader.destin = "sleep";
f_FadeOut();
}
function f_StartDay5() {
game.lisabed.gotoAndStop("night");
day = 5;
mikealley = 1;
worked = true;
outfit = 9;
f_ChangeJohnny(9);
cp_bedroom = 23;
f_NeedShower();
f_SetXY(p1, game.spot4._x, game.spot4._y);
chat(1, "Yay Saturday!");
}
function f_Alley0() {
f_FadeSong(song3.m_playful);
fader.destin = "alley";
f_FadeOut();
}
function f_Alley1() {
cp_bedroom = 24;
noexit = true;
f_SetXY(p1, game.spot1._x, game.spot1._y);
f_LookRight(p1);
mike = game.p2;
mike.num = 67;
f_SetXY(mike, game.spot2._x, game.spot2._y);
f_LookLeft(mike);
chat(65, "Hey Johnny, what's going on?");
chat(1, "Oh hai Mike, what's new?");
chat(65, "Actually Johnny, I've got a little bit of a tragedy on my hands.");
chat(1, "Uh huh.");
chat(65, "Me and Michelle, we were making out.. uh... at YOUR place.");
chat(1, "Ha ha ha.", undefined, undefined, 1);
chat(65, "And uh... Lisa and Claudette sort of... walked in on us. In the middle of it.");
chat(1, "...");
chat(65, "That's not the end of the story.");
chat(1, "Go on, I'm listening!");
chat(65, "Ok. We're going at it and um... I get out of there as fast as possible.");
chat(65, "Well you know, I get my pants, I get my shirt and I get out of there.");
chat(65, "And then about halfway down the stairs I realized that I have misplaced... ");
chat(65, "I have forgotten something.");
chat(1, "Mmm hmm.");
chat(65, "Uh... My UNDERWEAR.");
chat(1, "Ha ha.", undefined, undefined, 1);
chat(65, "So I come back to get it, ya know and I pretend that I need a book.");
chat(65, "Ya know like I'm looking for my book.");
chat(65, "And I reach in, put the underwear in my pocket and sorta slide out real quick.");
chat(65, "Well Claudette, she saw it sticking out of my pocket.");
chat(65, "She pulls it out and she's uh showing everybody...");
chat(65, "Me UNDERWEARS.");
chat(1, "You must be kidding, underwear! I got the picture!");
chat(65, "Yeah I, I don't know what to do.");
chat(1, "That's life!");
chat(65, "Uhh.");
textComplete = f_Alley2;
}
function f_Alley2() {
denny = game.p3;
denny.num = 23;
denny.body.gotoAndStop(denny.num);
f_SetXY(denny, game.door1._x, game.door1._y);
f_WalktoXY(denny, game.spot3._x, game.spot3._y);
denny.f_Destin = f_Alley3;
talk.gotoAndStop("wait");
}
function f_Alley3() {
f_LookUp(denny);
f_LookDown(mike);
f_LookDown(p1);
chat(20, "Hey Johnny! Hey Mike!");
chat(1, "Oh hai Denny!");
chat(20, "You guys wanna play some football?");
chat(65, "I gotta go see Michelle in a little bit to make out with her.");
chat(20, "Oh psh come on!");
chat(1, "Come on Mike, let's do it! Come on!");
chat(65, "Alright, whatever!");
chat(1, "Let's go for it!");
chat(20, "I'm going out.");
textComplete = f_Alley4;
}
function f_Alley4() {
f_WalktoXY(denny, game.spot5._x, game.spot5._y);
f_WalktoXY(p1, game.spot6._x, game.spot6._y);
denny.f_Destin = f_Alley5;
talk.gotoAndStop("wait");
}
function f_Alley5() {
f_LookRight(denny);
f_LookDown(p1);
var _local1 = f_TossFootball(mike, denny, true);
_local1.f_Destin = f_Alley6;
talk.gotoAndStop("wait");
}
function f_Alley6() {
chat(65, "Yeah sorry you had to see that.");
chat(20, "I'm not sorry. Ha ha ha!");
textComplete = f_Alley7;
}
function f_Alley7() {
var _local1 = f_TossFootball(denny, p1, true);
_local1.f_Destin = f_Alley8;
}
function f_Alley8() {
if (p1.caught) {
fmv.gotoAndStop("catch");
} else {
fmv.gotoAndStop("throw");
}
fmv.goal = mike;
fmv.f_Destin = f_Alley9;
talk.gotoAndStop("wait");
}
function f_Alley9() {
chat(65, "Almost as much as I was.");
textComplete = f_Alley10;
}
function f_Alley10() {
var _local1 = f_TossFootball(mike, denny, true);
_local1.f_Destin = f_Alley11;
talk.gotoAndStop("wait");
}
function f_Alley11() {
chat(20, "Studying, right?");
textComplete = f_Alley12;
}
function f_Alley12() {
var _local1 = f_TossFootball(denny, mike, true);
_local1.f_Destin = f_Alley13;
talk.gotoAndStop("wait");
}
function f_Alley13() {
chat(65, "Well...");
textComplete = f_Alley14;
}
function f_Alley14() {
var _local1 = f_TossFootball(mike, p1, true);
_local1.f_Destin = f_Alley15;
}
function f_Alley15() {
if (p1.caught) {
fmv.gotoAndStop("catch");
} else {
fmv.gotoAndStop("throw");
}
fmv.goal = denny;
fmv.f_Destin = f_Alley16;
talk.gotoAndStop("wait");
}
function f_Alley16() {
chat(20, "I don't study like that.");
textComplete = f_Alley17;
}
function f_Alley17() {
var _local1 = f_TossFootball(denny, mike, true);
_local1.f_Destin = f_Alley18;
talk.gotoAndStop("wait");
}
function f_Alley18() {
f_LookRight(p1);
chat(1, "He doesn't.", undefined, undefined, 1);
textComplete = f_Alley19;
}
function f_Alley19() {
var _local1 = f_TossFootball(mike, p1, true);
_local1.f_Destin = f_Alley20;
}
function f_Alley20() {
if (p1.caught) {
fmv.gotoAndStop("catch");
} else {
fmv.gotoAndStop("throw");
}
fmv.goal = denny;
fmv.f_Destin = f_Alley21;
talk.gotoAndStop("wait");
}
function f_Alley21() {
chat(20, "Ha ha!");
chat(65, "Yawn...");
textComplete = f_Alley22;
}
function f_Alley22() {
var _local1 = f_TossFootball(denny, mike, true);
_local1.f_Destin = f_Alley23;
talk.gotoAndStop("wait");
}
function f_Alley23() {
mark = game.p4;
mark.num = 32;
mark.body.gotoAndStop(mark.num);
f_SetXY(mark, game.door1._x, game.door1._y);
f_WalktoXY(mark, game.spot4._x, game.spot4._y);
mark.f_Destin = f_Alley24;
talk.gotoAndStop("wait");
}
function f_Alley24() {
f_LookUp(mark);
f_LookDown(denny);
chat(30, "Hey Denny, what's up?");
chat(20, "What's up, Mark?");
chat(1, "Oh, hai Mark!");
chat(65, "What's going on man?");
textComplete = f_Alley25;
}
function f_Alley25() {
f_WalktoXY(mark, game.spot7._x, game.spot7._y);
mark.f_Destin = f_Alley26;
talk.gotoAndStop("wait");
}
function f_Alley26() {
f_LookRight(mark);
var _local1 = f_TossFootball(mike, mark, true);
_local1.f_Destin = f_Alley27;
talk.gotoAndStop("wait");
}
function f_Alley27() {
chat(30, "Not too much, what about you guys?");
textComplete = f_Alley27b;
}
function f_Alley27b() {
f_WalktoXY(mark, game.spot3._x, game.spot3._y);
mark.f_Destin = f_Alley28;
talk.gotoAndStop("wait");
}
function f_Alley28() {
var _local1 = f_TossFootball(mark, denny, true);
_local1.f_Destin = f_Alley29;
talk.gotoAndStop("wait");
}
function f_Alley29() {
chat(20, "He was just telling us about an underwear issue he has.");
chat(65, "Dude! Don't...");
textComplete = f_Alley30;
}
function f_Alley30() {
var _local1 = f_TossFootball(denny, mark, true);
_local1.f_Destin = f_Alley31;
talk.gotoAndStop("wait");
}
function f_Alley31() {
f_LookRight(p1);
f_LookRight(mark);
chat(30, "Underwear? What's that?");
chat(65, "Dude it's... it's embarrassing man, I don't wanna get into it.");
chat(30, "Underwear? Man come on.");
textComplete = f_Alley32;
}
function f_Alley32() {
f_WalktoXY(mark, game.spot2._x - 15, game.spot2._y - 7);
mark.f_Destin = f_Alley33;
talk.gotoAndStop("wait");
}
function f_Alley33() {
f_LookRight(mark);
mike.gotoAndStop("blank");
game.trash.gotoAndPlay("go");
}
function f_Alley34() {
f_WalktoXY(mark, game.trashspot._x + 30, game.trashspot._y + 15);
f_WalktoXY(p1, game.trashspot._x - 50, game.trashspot._y - 10);
f_WalktoXY(denny, game.trashspot._x - 80, game.trashspot._y - 5);
mark.f_Destin = f_LookLeft;
p1.f_Destin = f_LookDown;
denny.f_Destin = f_Alley35;
talk.gotoAndStop("wait");
}
function f_Alley35() {
chat(65, "Oh, god!");
chat(1, "You ok?");
chat(30, "Are you alright?");
chat(20, "Are you ok?");
chat(65, "Yeah.");
chat(30, "Are you sure?");
chat(65, "Uh huh!");
textComplete = f_Alley36;
}
function f_Alley36() {
game.trash.gotoAndPlay("getup");
talk.gotoAndStop("wait");
}
function f_Alley37() {
f_SetXY(mike, game.trashspot._x, game.trashspot._y);
mike.gotoAndStop(1);
chat(1, "Wanna go see a doctor?");
chat(65, "No no no no.");
chat(65, "I'm good. I'm alright. I'm fine.");
chat(30, "I'm gonna take him home.");
chat(1, "Mark, why don't you take him home.");
chat(1, "And Mike, listen if you need anything, call me anytime, alright?");
chat(65, "Ok.");
chat(1, "See you guys!");
chat(20, "See you guys!");
textComplete = f_Alley38;
}
function f_Alley38() {
f_WalktoXY(mark, game.door1._x - 75, game.door1._y);
f_WalktoXY(mike, game.door1._x - 75, game.door1._y);
mike.f_Destin = f_GoBlank;
mark.f_Destin = f_Alley39;
talk.gotoAndStop("wait");
}
function f_Alley39() {
mark.gotoAndStop("blank");
chat(1, "Let's go home, Denny!");
textComplete = f_EndAlley;
}
function f_EndAlley() {
noexit = false;
f_Mission("Take Denny home.");
mikealley = 2;
stairlisten = 1;
f_NeedShower();
denny.f_Special = f_Follow;
denny.place = 1;
f_AddParty(23);
}
function f_AlleyDennyHome() {
denny = game.f1;
denny.f_Special = undefined;
f_ObjectPop(23, a_Party);
f_SetXY(denny, game.door4._x - 90, game.door4._y - 75);
f_SetXY(p1, game.door4._x, game.door4._y - 75);
f_LookRight(denny);
f_LookLeft(p1);
chat(20, "Thanks for walking me home, Johnny. Seeya!");
textComplete = f_AlleyDennyHome2;
}
function f_AlleyDennyHome2() {
cp_dennyroom = 1;
f_Mission("Take a shower!");
f_FadeSong(song1.m_theme);
f_WalktoXY(denny, game.door2._x - 100, game.door2._y);
}
function f_StairListen() {
cp_theroom = 30;
cp_dennyroom = 0;
claudette = game.p3;
claudette.num = 41;
f_SetXY(claudette, game.spot3._x, game.spot3._y);
f_LookLeft(claudette);
lisa = game.p2;
lisa.num = 10;
f_SetXY(lisa, game.spot2._x, game.spot2._y);
f_LookRight(lisa);
f_LookLeft(p1);
chat(10, "He's not my husband.");
chat(40, "I know but Johnny is part of our family.");
chat(10, "Mom. I don't love Johnny anymore.");
chat(10, "I don't even like him.");
chat(40, "...");
chat(10, "I had sex with someone else.");
chat(40, "You can't be serious.");
chat(10, "You don't understand.");
chat(40, "Who? Who is it?");
chat(10, "I don't wanna talk about it.");
chat(40, "You don't wanna talk about it!");
chat(40, "Then why did you bring it up in the first place?");
chat(10, "I don't know.");
chat(40, "You don't know.");
chat(40, "If you think I'm tired today, wait till you see me tomorrow.");
chat(10, "Coming to the party?");
chat(40, "Sure. I suppose so!");
stairlisten = 2;
textComplete = f_StairListenEnd;
}
function f_StairListenEnd() {
f_WalktoXY(claudette, game.door1._x, game.door1._y + 50);
claudette.f_Destin = f_SLClaudetteExit;
talk.gotoAndStop("wait");
}
function f_SLClaudetteExit() {
f_WalktoXY(lisa, game.door1._x, game.door1._y + 50);
lisa.f_Destin = f_SLLisaExit;
claudette.gotoAndStop("blank");
talk.gotoAndStop("wait");
}
function f_SLLisaExit() {
lisa.gotoAndStop("blank");
f_WalktoXY(p1, game.door2._x - 100, game.door2._y);
p1.f_Destin = f_StairListenEnd2;
talk.gotoAndStop("wait");
}
function f_StairListenEnd2() {
chat(1, "How can they say this about me?");
chat(1, "I don't believe it!");
chat(1, "I show them.");
if (recording) {
chat(1, "It's a good thing I record everything!");
} else {
chat(1, "I will record everything.");
}
cp_theroom = 31;
if (recording) {
textComplete = f_Peter0;
} else {
textComplete = f_MissionRecord;
}
}
function f_MissionRecord() {
f_Mission("Record everything!");
}
function f_Peter0() {
stairlisten = 3;
peter = game.p2;
peter.num = 70;
peter.body.gotoAndStop(peter.num);
peter.init = false;
peter.gotoAndStop("on");
f_SetXY(peter, game.door1._x, game.door1._y + 65);
f_WalktoXY(peter, game.door1._x - 50, game.door1._y - 50);
peter.f_Destin = f_Peter0a;
talk.gotoAndStop("wait");
}
function f_Peter0a() {
f_LookRight(peter);
chat(1, "Oh hai Peter!");
chat(70, "Hi Johnny.");
textComplete = f_Peter0b;
}
function f_Peter0b() {
f_WalktoXY(peter, game.spot7._x, game.spot7._y + 70);
peter.f_Destin = f_Peter0c;
talk.gotoAndStop("wait");
}
function f_Peter0c() {
f_WalktoXY(peter, game.spot7._x, game.spot7._y);
peter.f_Destin = f_Peter1;
talk.gotoAndStop("wait");
}
function f_Peter1() {
f_LookDown(peter);
chat(1, "I don't understand women. Do you, Peter?");
chat(70, "What man does?");
chat(70, "What's the problem?");
chat(1, "They never say what they mean. And they always play games.");
chat(70, "Ok. Um. Whattaya mean?");
chat(1, "I have a serious problem with Lisa.");
chat(1, "Um. I don't think she's faithful to me.");
chat(1, "In fact, I know she isn't.");
chat(70, "Lisa? Are you sure?");
chat(1, "Yeah I'm sure, I overheard a conversation between Lisa and her mother.");
chat(1, "What should I do, Peter?");
chat(70, "This is Lisa we're talking about?");
chat(1, "Yeah.");
chat(70, "I don't know what to say.");
chat(1, "But you are psychologist. Do you have some advise?");
chat(70, "It's a complicated situation, Johnny.");
chat(70, "I mean, you're my friend and I don't get between you and Lisa.");
chat(70, "But look, if you want to, you should confront her.");
chat(1, "I can't confront her! I want to give her second chance, after all she's my future wife.");
chat(1, "You know what they say, love is blind.");
chat(70, "Well you got a lot of faith in Lisa.");
chat(70, "Sometimes, life gets complicated and the unexpected can happen.");
chat(70, "When it does, we just gotta deal with it.");
textComplete = f_Peter2;
}
function f_Peter2() {
game.doorbell.f_Destin = f_Peter3;
game.doorbell.gotoAndPlay(2);
talk.gotoAndStop("wait");
}
function f_Peter3() {
chat(70, "Did you hear the door?");
chat(1, "Yeah.");
textComplete = f_Peter4;
}
function f_Peter4() {
mark = game.p3;
mark.num = 34;
mark.body.gotoAndStop(mark.num);
mark.init = false;
mark.gotoAndStop("on");
f_SetXY(mark, game.door1._x, game.door1._y + 65);
f_WalktoXY(mark, game.door1._x - 50, game.door1._y - 75);
mark.f_Destin = f_Peter5;
talk.gotoAndStop("wait");
}
function f_Peter5() {
f_LookRight(mark);
chat(1, "Oh hai, Mark!");
chat(30, "Oh hey Johnny!");
chat(30, "Hey Peter!");
chat(1, "We're just talking about women.");
chat(30, "Women, man. Women just confuse me.");
chat(70, "...");
textComplete = f_Peter6;
}
function f_Peter6() {
mark.ghost = true;
f_WalktoXY(mark, game.spot6._x, game.spot6._y);
mark.f_Destin = f_Peter7;
talk.gotoAndStop("wait");
}
function f_Peter7() {
mark.ghost = false;
f_LookRight(mark);
chat(30, "I have a girl... but she's married.");
chat(30, "I mean she's very attractive, it's just, it's driving me crazy.");
chat(70, "Why didn't you mention this before? Is it anyone I know?");
chat(30, "Nah man, you don't know her.");
chat(1, "Can I meet her?");
chat(30, "I don't think so.");
chat(30, "It's an awkward situation.");
chat(1, "You mean she's too old or you think I would take her away from you?");
chat(70, "Heh heh!");
chat(1, "Huh?");
chat(30, "Nah.");
chat(1, "I have my own problems.");
chat(70, "Tell me about your problems, Johnny.");
chat(1, "Peter! You always play psychologist with us!");
chat(70, "Look, I'm just your friend and I'm just worried about you!");
chat(1, "Lisa is teasing me about whether we are going to get married or not.");
chat(1, "And we didn't make love in a while and I don't know what to do.");
chat(70, "You never really know. Look, you should tell her about your feelings, ok?");
chat(70, "You shouldn't hide them. You two have been together forever!");
chat(70, "You can work out anything as long as you talk about it.");
chat(1, "Not always.");
chat(70, "People are people, sometimes they just can't see their own faults.");
chat(30, "Yeah I'm thinking of moving to a bigger place, man. I'm making some good money.");
chat(70, "Look, you should tell her the truth! I mean you're doing this for your girl, right?");
chat(1, "You're right, Peter! Ha ha!", undefined, undefined, 1);
chat(1, "Is she getting a divorce, Mark?");
chat(30, "You guys are too much!");
chat(30, "Hey are you running Bay to Breakers this year?");
chat(1, "I am! Sure!");
chat(70, "Nah I'm not doing that this year.");
chat(1, "Ha ha! Chicken, Peter! You're just a little chicken!", undefined, undefined, 1);
chat(1, "CHEEEEEP! CHEEP CHEEP CHEEEEEEP!", undefined, undefined, 2);
chat(70, "Who you calling chicken? I just don't like all the weirdos.");
chat(70, "There's too many weirdos there.");
chat(1, "Ah ah ahhh... I don't mind.");
chat(1, "Mark do you remember the one with the big tits? The blondie one?");
chat(30, "No how about the one with the bridal gown with the sign?");
chat(1, "Ah yeah, can you marry me? Ha ha ha! I thought I would take her up on it. Ha ha!", undefined, undefined, 1);
chat(30, "I never ate so much!");
chat(1, "Yeah the barbecue chicken was delicious rice, that was cool.");
chat(70, "You guys prove my point! You're both weird!");
chat(70, "You guys wanna play cards?");
chat(1, "No, we can't! I expect Lisa any minute.");
chat(30, "Hey come on, man! Who's the king of the house?");
chat(70, "Yeah! You guys gotta see what she's like before you get married.");
chat(70, "Speaking of which, how did you meet Lisa? You never told us.");
chat(1, "Oh that's a very interesting story.");
chat(1, "When I moved to San Francisco with two suitcases and I didn't know anyone...");
chat(1, "I hit the YMCA here with a $2000 check which I couldn't cash.");
chat(30, "Why not?");
chat(1, "Well because it was an out of state bank.");
chat(1, "Anyway I was working as a busboy in a hotel and she was sitting, drinking her coffee.");
chat(1, "She was SO BEAUTIFUL and I say hai to her and that's how we met.");
chat(30, "So what's the interesting part?");
chat(1, "Well the interesting part is that on our first date, she paid for dinner.");
chat(30, "Whaaat? No tips from your job?");
chat(1, "Whatever. Do you guys wanna eat something?");
textComplete = f_MissionFood;
makefood = 1;
}
function f_MissionFood() {
f_FadeSong(song3.m_playful);
f_Mission("Make sandwiches.");
}
function f_MarkPeterLeft() {
lisa = game.p2;
lisa.num = 10;
f_SetXY(lisa, game.door1._x, game.door1._y - 50);
f_LookUp(lisa);
f_SetXY(p1, game.door3._x + 75, game.door3._y);
f_LookDown(p1);
chat(1, "Where did Peter and Mark go?");
chat(10, "They had to run. Denny says hi.");
chat(1, "But I just made them a snack!");
chat(10, "Apparently they weren't that hungry.");
chat(10, "BTW I stopped by the dress shop to check in.");
chat(10, "Your tux will be ready tomorrow.");
chat(1, "Oh great! I am excited to try it on.");
chat(10, "Good for you Johnny. Let's go to bed.");
textComplete = f_MarkPeterLeft2;
}
function f_MarkPeterLeft2() {
f_FadeSong(song1.m_theme);
f_WalktoXY(lisa, game.door2._x, game.door2._y);
lisa.f_Destin = f_GoBlank;
cp_theroom = 44;
cp_bedroom = 44;
bedtime = true;
}
function f_Day5BedTime() {
game.lisabed.gotoAndStop("night");
game.bedbutton.gotoAndStop("on");
}
function f_EndDay5() {
cp_bedroom = 45;
dayname = "SUNDAY";
fader.destin = "sleep";
f_FadeOut();
}
function f_StartDay6() {
game.lisabed.gotoAndStop("morning");
day = 6;
worked = true;
outfit = 9;
f_ChangeJohnny(9);
cp_bedroom = 46;
bedtime = false;
tuxready = true;
f_SetXY(p1, game.spot4._x, game.spot4._y);
chat(1, "Time to pick up my tux!");
textComplete = f_MissionTux;
}
function f_MissionTux() {
f_Mission("Pick up your tux.");
}
function f_Tux1() {
ringing = false;
f_WalktoXY(p1, game.spot5._x, game.spot5._y);
p1.f_Destin = f_Tux2;
talk.gotoAndStop("wait");
}
function f_Tux2() {
game.phonering.gotoAndStop(1);
s_pickup.start(0, 0);
f_LookLeft(p1);
chat(80, "Hi Johnny! I saw you on the street and wanted to say that tux looks GREAT!");
chat(1, "Oh hai Susan! Thanks!");
chat(80, "You look better than a slice of cheesecake!");
chat(1, "Oh, thank you.");
chat(80, "You do like cheesecake, right???");
chat(1, "Yeah. Thanks a lot!");
textComplete = f_Tux3;
}
function f_Tux3() {
s_hangup.start(0, 0);
denny = game.p2;
denny.num = 25;
denny.body.gotoAndStop(denny.num);
f_SetXY(denny, game.door1._x, game.door1._y);
f_WalktoXY(denny, game.door1._x - 55, game.door1._y - 50);
denny.f_Destin = f_Tux4;
talk.gotoAndStop("wait");
}
function f_Tux4() {
f_LookDown(p1);
f_LookUp(denny);
chat(1, "Oh hai, Denny!");
chat(1, "Nice tux, you look great!");
chat(20, "You look really handsome!");
chat(1, "Ha ha ha!", undefined, undefined, 1);
chat(20, "Your wedding picture is gonna look great.");
chat(1, "Awe thanks.");
textComplete = f_Tux5;
}
function f_Tux5() {
game.doorbell.f_Destin = f_Tux6;
game.doorbell.gotoAndPlay(2);
talk.gotoAndStop("wait");
}
function f_Tux6() {
f_LookRight(denny);
peter = game.p3;
peter.num = 75;
peter.body.gotoAndStop(peter.num);
f_SetXY(peter, game.door1._x, game.door1._y);
f_WalktoXY(peter, game.door1._x + 50, game.door1._y - 75);
peter.f_Destin = f_Tux7;
talk.gotoAndStop("wait");
}
function f_Tux7() {
f_LookLeft(peter);
chat(20, "Hey, Peter! Come on in!");
chat(1, "Oh hai, Peter!");
chat(20, "You look really good too!");
chat(1, "Sit down!");
textComplete = f_Tux8;
}
function f_Tux8() {
f_WalktoXY(peter, game.spot6._x, game.spot6._y);
peter.f_Destin = f_Tux9;
talk.gotoAndStop("wait");
}
function f_Tux9() {
f_LookDown(peter);
game.doorbell.f_Destin = f_Tux10;
game.doorbell.gotoAndPlay(2);
talk.gotoAndStop("wait");
}
function f_Tux10() {
mark = game.p4;
mark.num = 35;
mark.body.gotoAndStop(mark.num);
f_SetXY(mark, game.door1._x, game.door1._y);
f_WalktoXY(mark, game.door1._x, game.door1._y - 50);
mark.f_Destin = f_Tux10b;
talk.gotoAndStop("wait");
}
function f_Tux10b() {
fmv.f_Destin = f_Tux11;
fmv.gotoAndStop("shaved");
}
function f_Tux11() {
f_LookLeft(mark);
chat(20, "...");
chat(20, "Woah!");
chat(1, "Wooooow!");
chat(35, "Hey guys!");
chat(35, "You like it?");
chat(20, "Yeah!");
chat(70, "Yeah, it looks good!");
chat(1, "You look great! You look like a baby face.");
chat(20, "You guys wanna play some football?");
chat(70, "In tuxes? Nah, you gotta be kidding.");
chat(20, "Come on Mark, let's do it.");
chat(35, "I'm up for it!");
chat(20, "Johnny?");
chat(1, "Ask Peter.");
chat(20, "Come on, Peter!");
chat(70, "No, I don't think so.");
chat(20, "Pleeease!");
chat(70, "Nope.");
chat(20, "Come on! Cheep cheep cheep!");
chat(1, "Cheep cheep cheep!", undefined, undefined, 2);
chat(35, "Cheep cheep cheep!");
chat(70, "Ok fine let's go.");
chat(20, "Let's play in front of the electronics store!");
textComplete = f_TuxGroup1;
}
function f_TuxGroup1() {
cp_bedroom = 48;
f_Mission("Go to electronics store.");
tuxhome = 2;
denny.f_Special = f_Follow;
denny.place = 1;
f_AddParty(25);
mark.f_Special = f_Follow;
mark.place = 2;
f_AddParty(35);
peter.f_Special = f_Follow;
peter.place = 3;
f_AddParty(75);
f_FadeSong(song3.m_playful);
}
function f_TuxFootball() {
f_MissionClear();
denny = game.f1;
mark = game.f2;
peter = game.p4;
denny.f_Special = undefined;
f_ObjectPop(25, a_Party);
mark.f_Special = undefined;
f_ObjectPop(35, a_Party);
peter.f_Special = undefined;
f_ObjectPop(75, a_Party);
f_WalktoXY(p1, game.spot1._x, game.spot1._y);
f_WalktoXY(denny, game.spot2._x, game.spot2._y);
f_WalktoXY(mark, game.spot3._x, game.spot3._y);
f_WalktoXY(peter, game.spot4._x, game.spot4._y);
talk.gotoAndStop("wait");
noexit = true;
mark.f_Destin = f_LookRight;
peter.f_Destin = f_TuxFootball2;
}
function f_TuxFootball2() {
f_LookLeft(denny);
f_LookLeft(peter);
f_LookRight(mark);
chat(20, "Catch, Johnny!");
textComplete = f_TuxFootball3;
}
function f_TuxFootball3() {
var _local1 = f_TossFootball(denny, p1, true);
_local1.f_Destin = f_TuxFootball4;
}
function f_TuxFootball4() {
if (p1.caught) {
fmv.gotoAndStop("catch");
} else {
fmv.gotoAndStop("throw");
}
fmv.goal = peter;
fmv.f_Destin = f_TuxFootball5;
talk.gotoAndStop("wait");
}
function f_TuxFootball5() {
chat(20, "Alright Peter!");
textComplete = f_TuxFootball6;
}
function f_TuxFootball6() {
var _local1 = f_TossFootball(peter, denny, true);
_local1.f_Destin = f_TuxFootball7;
talk.gotoAndStop("wait");
}
function f_TuxFootball7() {
chat(20, "Here we go Mark!");
textComplete = f_TuxFootball8;
}
function f_TuxFootball8() {
var _local1 = f_TossFootball(denny, mark, true);
_local1.f_Destin = f_TuxFootball9;
talk.gotoAndStop("wait");
}
function f_TuxFootball9() {
chat(1, "Come on, come on everybody! Come on!");
textComplete = f_TuxFootball10;
}
function f_TuxFootball10() {
var _local1 = f_TossFootball(mark, denny, true);
_local1.f_Destin = f_TuxFootball11;
talk.gotoAndStop("wait");
}
function f_TuxFootball11() {
chat(20, "Catch Mark!");
textComplete = f_TuxFootball12;
}
function f_TuxFootball12() {
var _local1 = f_TossFootball(denny, mark, true);
_local1.f_Destin = f_TuxFootball13;
talk.gotoAndStop("wait");
}
function f_TuxFootball13() {
chat(30, "Go deep!");
textComplete = f_TuxFootball14;
}
function f_TuxFootball14() {
f_WalktoXY(peter, peter._x + 120, peter._y);
peter.f_Destin = f_TuxFootball15;
talk.gotoAndStop("wait");
}
function f_TuxFootball15() {
peter.gotoAndStop("peterfall");
}
function f_TuxFootball16() {
f_WalktoXY(denny, peter._x, peter._y - 10);
f_WalktoXY(p1, peter._x - 40, peter._y - 20);
f_WalktoXY(mark, peter._x - 50, peter._y + 10);
talk.gotoAndStop("wait");
mark.f_Destin = f_TuxFootball17;
}
function f_TuxFootball17() {
f_SetXY(p1, p1._x, p1._y);
f_LookDown(p1);
f_LookDown(denny);
f_LookRight(mark);
chat(20, "Gee Peter, you're clumsy!");
chat(70, "Alright that's it, I'm done.");
chat(70, "Great idea Denny.");
textComplete = f_TuxFootballEnd;
}
function f_TuxFootballEnd() {
tuxhome = 3;
noexit = false;
showermission = true;
f_NeedShower();
denny.f_Special = f_Follow;
denny.place = 1;
f_AddParty(25);
mark.f_Special = f_Follow;
mark.place = 2;
f_AddParty(35);
peter.gotoAndStop(1);
peter.f_Special = f_Follow;
peter.place = 3;
f_AddParty(75);
}
function f_TuxPeterLeave() {
peter = game.p4;
peter.f_Special = undefined;
f_ObjectPop(75, a_Party);
f_WalktoXY(p1, game.door3._x - 200, game.door3._y);
f_WalktoXY(peter, game.door3._x - 250, game.door3._y);
peter.f_Destin = f_TuxPeterLeave2;
talk.gotoAndStop("wait");
}
function f_TuxPeterLeave2() {
f_LookRight(peter);
chat(75, "I'm feeling a little light-headed guys, I'm gonna go home and lay down.");
chat(1, "Alright Peter enjoy your nap!");
chat(25, "Cheep cheep cheep cheep!");
textComplete = f_TuxPeterLeave3;
}
function f_TuxPeterLeave3() {
tuxhome = 4;
f_WalktoXY(peter, game.door2._x - 150, game.door2._y);
}
function f_TuxDennyLeave() {
denny = game.f1;
mark = game.f2;
denny.f_Special = undefined;
f_ObjectPop(25, a_Party);
mark.f_Special = undefined;
f_ObjectPop(35, a_Party);
f_WalktoXY(denny, game.door4._x - 60, game.door4._y - 50);
f_WalktoXY(mark, game.door4._x + 60, game.door4._y - 50);
mark.f_Destin = f_TuxDennyLeave2;
}
function f_TuxDennyLeave2() {
f_LookRight(denny);
f_LookLeft(p1);
f_LookLeft(mark);
chat(25, "Great game, guys. Seeya later!");
textComplete = f_TuxDennyLeave3;
}
function f_TuxDennyLeave3() {
f_WalktoXY(denny, game.door2._x - 75, game.door2._y);
denny.f_Destin = f_TuxMarkLeave;
talk.gotoAndStop("wait");
}
function f_TuxMarkLeave() {
cp_dennyroom = 1;
denny.gotoAndStop("blank");
f_LookRight(p1);
chat(35, "Hey Johnny, wanna meet at the coffee shop tomorrow after work?");
chat(1, "Sure Mark that would be great!");
chat(35, "Alright! See you very soon.");
textComplete = f_TuxMarkLeave2;
}
function f_TuxMarkLeave2() {
f_FadeSong(song1.m_theme);
tuxhome = 5;
cp_theroom = 47;
cp_bedroom = 47;
f_WalktoXY(mark, game.door3._x + 150, game.door3._y);
}
function f_ComeToBed() {
cp_dennyroom = 0;
chat(10, "Come to bed, Johnny.");
if (day == 5) {
textComplete = f_EndDay5;
} else if (day == 6) {
textComplete = f_EndDay6;
} else if (day == 7) {
textComplete = f_EndDay7;
} else if (day == 8) {
textComplete = f_EndDay8;
}
}
function f_Day6BedTime() {
game.lisabed.gotoAndStop("night");
game.bedbutton.gotoAndStop("on");
bedtime = true;
}
function f_EndDay6() {
cp_theroom = 50;
cp_bedroom = 50;
tuxhome = 6;
bedtime = false;
dayname = "MONDAY";
fader.destin = "sleep";
f_FadeOut();
}
function f_StartDay7() {
game.lisabed.gotoAndStop("morning");
day = 7;
worked = false;
outfit = 9;
coffeeshop = false;
f_RemoveItem("tux");
f_ChangeJohnny(9);
cp_bedroom = 51;
f_SetXY(p1, game.spot4._x, game.spot4._y);
chat(1, "Just call me Garfield because I hate Mondays.");
textComplete = f_MissionWork;
}
function f_BankDay7() {
chat(100, "Great news Johnny, we just landed a new client!");
chat(100, "He's the acclaimed film writer, director, producer and star, Tommy Wiseau!");
chat(100, "The bank will make a lot of money!");
chat(1, "Wait do you mean -the- Tommy Wiseau of Wiseah Films?");
chat(100, "Yup, that is him!");
chat(1, "Wow he is the greatest writer director producer star ever!");
chat(100, "And now he's our favorite client!");
chat(1, "I have to tell my friend Mark about this when we meet for coffee today.");
chat(100, "Just remember Johnny, the identity of our clients is strictly confidential.");
cp_bedroom = 52;
textComplete = f_BankEnd;
}
function f_CoffeeMark() {
mark = game.p2;
mark.num = 38;
f_SetXY(mark, game.spot1._x, game.spot1._y);
mark.f_Click = f_CoffeeMark2;
mark.clicker.gotoAndStop("on");
}
function f_CoffeeMark2() {
chat(30, "Thanks for coming, I'm very thirsty!");
mark.f_Special = f_Follow;
mark.place = 1;
f_AddParty(38);
mark.f_Click = f_MarkThirsty;
coffeeshop = true;
textComplete = f_CoffeeMark3;
}
function f_MarkThirsty() {
chat(30, "I need my mint tea fix very soon!");
}
function f_CoffeeMark3() {
f_MissionClear();
f_WalktoXY(p1, game.event1._x, game.event1._y);
}
function f_Coffee1() {
mark = game.f1;
mark.f_Special = undefined;
f_ObjectPop(38, a_Party);
f_WalktoXY(p1, game.spot1._x, game.spot1._y);
f_WalktoXY(mark, game.spot2._x, game.spot2._y);
p1.f_Destin = f_LookDown;
mark.f_Destin = f_Coffee2;
talk.gotoAndStop("wait");
}
function f_Coffee2() {
f_SetXY(p1, game.spot1._x, game.spot1._y);
f_LookDown(p1);
mark.gotoAndStop("blank");
game.markchair.gotoAndStop("on");
chat(30, "Man I'm so tired of girls' games.");
chat(1, "What happened now, Mark?");
chat(30, "Relationships never work, why waste my time?");
chat(1, "What makes you say that?");
chat(30, "It's not that easy, Johnny.");
chat(1, "Well you should be happy, Mark.");
chat(30, "Yeah I know. Life is too short.");
textComplete = f_Coffee3;
}
function f_Coffee3() {
f_WalktoXY(susan, game.spot4._x, game.spot4._y);
susan.f_Destin = f_Coffee4;
talk.gotoAndStop("wait");
}
function f_Coffee4() {
f_WalktoXY(susan, game.spot5._x, game.spot5._y);
susan.f_Destin = f_Coffee6;
}
function f_Coffee6() {
f_WalktoXY(susan, game.spot7._x, game.spot7._y);
susan.f_Destin = f_Coffee7;
}
function f_Coffee7() {
f_LookRight(susan);
chat(1, "Oh thank you Susan!");
chat(80, "You're welcome. How about something like... cheesecake!");
chat(1, "No.");
chat(30, "Not today.");
chat(80, "It's real good!");
chat(80, "Alright.");
textComplete = f_Coffee9;
}
function f_Coffee9() {
f_WalktoXY(susan, game.spot5._x, game.spot5._y);
susan.f_Destin = f_Coffee10;
talk.gotoAndStop("wait");
}
function f_Coffee10() {
f_WalktoXY(susan, game.spot4._x, game.spot4._y);
susan.f_Destin = f_Coffee11;
}
function f_Coffee11() {
f_WalktoXY(susan, game.spot3._x, game.spot3._y);
susan.f_Destin = f_Coffee12;
}
function f_Coffee12() {
f_LookRight(susan);
chat(30, "How was work today?");
chat(1, "Oh pretty good. We got a new client and the bank will make a lot of money.");
chat(30, "What client?");
chat(1, "I cannot tell you it's confidential!");
chat(30, "Oh come on! Why not?");
chat(1, "No, I can't. Anyway how is your sex life?");
chat(30, "...");
chat(30, "Can't talk about it.");
chat(1, "Why not?");
chat(30, "...");
chat(1, "Oh god, I have to run.");
chat(30, "Already?");
chat(1, "Yeah I'm sorry.");
chat(30, "Alright it's on me.");
chat(1, "Yeah. Seeya. Seeya Mark.");
chat(30, "Wanna go jogging? Golden Gate park?");
chat(1, "Yeah sure! What time?");
chat(30, "Golden Gate park, 6:30.");
chat(1, "Right on.");
chat(30, "Seeya.");
chat(1, "Okey dokey bye.");
textComplete = f_MissionHome;
cp_theroom = 55;
cp_bedroom = 55;
}
function f_Day7BedTime() {
game.lisabed.gotoAndStop("night");
game.bedbutton.gotoAndStop("on");
bedtime = true;
}
function f_EndDay7() {
cp_theroom = 60;
cp_bedroom = 60;
bedtime = false;
dayname = "TUESDAY";
fader.destin = "sleep";
f_FadeOut();
}
function f_StartDay8() {
game.lisabed.gotoAndStop("morning");
day = 8;
worked = true;
jog = 1;
outfit = 9;
coffeeshop = false;
f_ChangeJohnny(9);
cp_bedroom = 61;
f_SetXY(p1, game.spot4._x, game.spot4._y);
chat(1, "I gotta meet Mark for a run!");
textComplete = f_MissionRun;
}
function f_MissionRun() {
f_Mission("Meet Mark at the park.");
}
function f_BankDay8() {
chat(100, "You're late, Johnny! You have to stay after hours and clean up as punishment.");
textComplete = f_BankEnd;
}
function f_ParkMark() {
mark = game.p2;
mark.num = 37;
f_SetXY(mark, game.spot1._x, game.spot1._y);
mark.gotoAndStop("markwait");
mark.f_Click = f_Park1;
mark.clicker.gotoAndStop("on");
}
function f_Park1() {
mark.gotoAndStop("on");
f_LookDown(mark);
p1.body.body.gotoAndStop(p1.stand);
chat(1, "Hey!");
if (outfit == 3) {
chat(30, "Hey Johnny, how's it going?");
chat(1, "Good!");
textComplete = f_Park2;
} else {
chat(30, "Hey Johnny, where's your jogging clothes?");
chat(1, "Oh whoops, I better go home and change!");
}
}
function f_Park2() {
f_MissionClear();
jog = 2;
door = 1;
talk.gotoAndStop("wait");
noexit = true;
fader.destin = "park2";
f_FadeOut();
}
function f_Park10() {
mark = game.p2;
mark.num = 37;
f_SetXY(mark, game.door1._x, game.door1._y);
f_WalktoXY(mark, game.spot1._x, game.spot1._y);
mark.f_Destin = f_Park11a;
park_tosses = 3;
p1.f_Destin = f_LookLeft;
talk.gotoAndStop("wait");
}
function f_Park11a() {
f_LookRight(mark);
chat(30, "Catch this Johnny, come on!");
textComplete = f_Park11;
}
function f_Park11() {
talk.gotoAndStop(1);
var _local1 = f_TossFootball(mark, p1, true);
_local1.f_Destin = f_Park12;
}
function f_Park12() {
if (p1.caught) {
fmv.gotoAndStop("catch");
} else {
fmv.gotoAndStop("throw");
}
fmv.goal = mark;
park_tosses--;
if (park_tosses <= 0) {
fmv.f_Destin = f_Park13;
} else {
fmv.f_Destin = f_ParkDelay;
}
}
function f_ParkDelay() {
f_Timer(60, f_Park11);
}
function f_Park13() {
f_WalktoXY(mark, game.door3._x + 100, game.door3._y);
f_WalktoXY(p1, game.door3._x + 100, game.door3._y);
talk.gotoAndStop("wait");
mark.f_Destin = f_ParkEnd;
}
function f_ParkEnd() {
fader.destin = "race";
f_FadeOut();
noexit = false;
cp_theroom = 70;
cp_bedroom = 70;
worked = false;
}
function f_PostRace() {
jog = 4;
f_NeedShower();
mark = game.p2;
mark.num = 37;
f_SetXY(mark, game.door1._x, game.door1._y - 50);
f_WalktoXY(mark, game.door1._x - 50, game.door1._y + 160);
mark.f_Destin = f_PostRace2;
talk.gotoAndStop("wait");
}
function f_PostRace2() {
chat(30, "Good run, Johnny! Seeya later.");
textComplete = f_PostRace3;
}
function f_PostRace3() {
f_MissionWork();
f_WalktoXY(mark, game.spot2._x, game.spot2._y);
mark.f_Destin = f_PostRace4;
}
function f_PostRace4() {
f_WalktoXY(mark, game.door2._x - 100, game.spot2._y);
mark.f_Destin = f_GoBlank;
}
function f_Day8BedTime() {
game.lisabed.gotoAndStop("night");
game.bedbutton.gotoAndStop("on");
bedtime = true;
}
function f_EndDay8() {
cp_bedroom = 80;
bedtime = false;
dayname = "WEDNESDAY";
fader.destin = "sleep";
f_FadeOut();
}
function f_StartDay9() {
day = 9;
worked = false;
outfit = 9;
f_ChangeJohnny(9);
cp_theroom = 80;
f_SetXY(p1, game.spot4._x, game.spot4._y);
chat(1, "Gee, Lisa is up early today!");
textComplete = f_MissionWork;
}
function f_GetCookie() {
lisa = game.p2;
lisa.num = 12;
f_SetXY(lisa, game.spot6._x, game.spot6._y);
cp_bedroom = 85;
chat(10, "I made you a birthday cookie, it's in the kitchen!");
}
function f_EatCookie() {
chat(1, "Nom nom nom!");
cp_theroom = 81;
game.sandwich2._y = game.sandwich2._y - 200;
}
function f_PMExit1() {
lisa = game.p2;
lisa.num = 12;
f_SetXY(lisa, game.spot6._x, game.spot6._y);
f_WalktoXY(p1, game.door3._x + 100, p1._y);
p1.f_Destin = f_PMExit2;
talk.gotoAndStop("wait");
}
function f_PMExit2() {
f_WalktoXY(p1, p1._x, game.spot6._y);
p1.f_Destin = f_PMExit3;
}
function f_PMExit3() {
f_LookLeft(claudette);
chat(1, "Bye, Lisa!");
textComplete = f_PMExit4;
}
function f_PMExit4() {
f_LookDown(claudette);
f_WalktoXY(p1, game.door1._x - 30, game.door1._y - 100);
claudette = game.p3;
claudette.num = 45;
claudette.body.gotoAndStop(claudette.num);
f_SetXY(claudette, game.door1._x, game.door1._y);
f_WalktoXY(claudette, game.door1._x + 20, game.door1._y - 60);
p1.f_Destin = f_PMExit5;
talk.gotoAndStop("wait");
}
function f_PMExit5() {
chat(1, "Oh hai Claudette!");
chat(1, "Bye!");
chat(40, "Bye!");
textComplete = f_PMExit6;
}
function f_PMExit6() {
cp_theroom = 82;
f_LookDown(claudette);
f_WalktoXY(p1, game.event1._x, game.event1._y);
talk.gotoAndStop("wait");
}
function f_BankDay9() {
chat(100, "Hey Johnny, seeya tonigh...er I mean tomorrow!");
cp_theroom = 100;
textComplete = f_BankEnd;
}
function f_Party1() {
f_SetXY(p1, game.door1._x, game.door1._y - 50);
f_LookUp(p1);
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.p_lisa._x, game.p_lisa._y);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p_denny._x, game.p_denny._y);
mark = game.p4;
mark.num = 39;
f_SetXY(mark, game.p_mark._x, game.p_mark._y);
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p_claudette._x, game.p_claudette._y);
steve = game.p6;
steve.num = 95;
f_SetXY(steve, game.p_steve._x, game.p_steve._y);
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p_boss._x, game.p_boss._y);
michelle = game.f1;
michelle.num = 62;
f_SetXY(michelle, game.p_michelle._x, game.p_michelle._y);
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p_mike._x, game.p_mike._y);
chat(90, "Surprise!");
chat(90, "Happy Birthday to you! Happy Birthday to you!");
chat(1, "Oh wow!");
chat(90, "Happy Birthday dear Johnny!");
chat(1, "Alright, thank you!");
chat(90, "Happy Birthday to you! Whoooo!");
chat(1, "Thank you! Thanks!");
chat(10, "Hey everybody let's go outside for some fresh air!");
textComplete = f_Party2;
}
function f_Party2() {
cp_theroom = 101;
door = 1;
fader.destin = "roof";
f_FadeOut(2);
}
function f_RoofDepths() {
f_Depth(p1, p1._y);
f_Depth(denny, denny._y);
f_Depth(claudette, claudette._y);
f_Depth(boss, boss._y);
f_Depth(michelle, michelle._y);
f_Depth(mike, mike._y);
f_Depth(game.wallover, game.wallover._y);
f_Depth(game.table1, game.table1._y);
f_Depth(game.table2, game.table2._y);
f_Depth(game.table3, game.table3._y);
}
function f_InDoor(u_temp) {
if (u_temp) {
if (Math.abs(u_temp._x - game.door._x) < 40) {
if (Math.abs(u_temp._y - game.door._y) < 30) {
return(true);
}
}
}
return(false);
}
function f_RoofDoor(zone) {
if ((((f_InDoor(p1) or f_InDoor(mark)) or f_InDoor(denny)) or f_InDoor(lisa)) or f_InDoor(claudette)) {
return(true);
}
}
function f_RoofParty0() {
f_SetXY(p1, game.p_johnny._x, game.p_johnny._y);
f_LookDown(p1);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p_denny._x, game.p_denny._y);
f_LookRight(denny);
denny.f_Click = f_RoofDenny;
denny.clicker.gotoAndStop("on");
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p_claudette._x, game.p_claudette._y);
f_LookLeft(claudette);
claudette.f_Click = f_RoofClaudette;
claudette.clicker.gotoAndStop("on");
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p_boss._x, game.p_boss._y);
boss.f_Click = f_RoofBoss;
boss.clicker.gotoAndStop("on");
michelle = game.f1;
michelle.num = 62;
f_SetXY(michelle, game.p_michelle._x, game.p_michelle._y);
michelle.f_Click = f_RoofMichelle;
michelle.clicker.gotoAndStop("on");
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p_mike._x, game.p_mike._y);
mike.f_Click = f_RoofMike;
mike.clicker.gotoAndStop("on");
f_FadeSong(undefined);
game_default_y = game._y;
game._y = game._y - 1530;
sky._y = sky._y - 765;
game.chriscar.gotoAndPlay("go");
talk.gotoAndStop("wait");
}
function f_RoofDenny() {
chat(20, "Happy birthday, Johnny! Got any champagne for me?");
}
function f_RoofClaudette() {
chat(40, "Have you changed your mind about lending Shirley that money?");
}
function f_RoofBoss() {
chat(100, "Lisa looks hot tonight.");
}
function f_RoofMike() {
chat(65, "I gotta see if Claudette will give me underwears back to me.");
}
function f_RoofMichelle() {
chat(60, "Hey maybe Lisa needs some help downstairs. Let's go see what's up!");
michelle.f_Special = f_Follow;
michelle.place = 1;
michelle.f_Click = undefined;
michelle.clicker.gotoAndStop("off");
f_AddParty(62);
markhall = true;
cp_theroom = 102;
textComplete = f_MissionHelpLisa;
}
function f_MissionHelpLisa() {
f_Mission("Check on Lisa.");
}
function f_MarkHall() {
markhall = false;
mark = game.p3;
mark.num = 39;
f_SetXY(mark, game.door2._x, game.door2._y);
f_WalktoXY(mark, game.door2._x - 200, game.door2._y);
f_WalktoXY(p1, game.door2._x - 260, game.door2._y - 20);
p1.f_Destin = f_MarkHall2;
talk.gotoAndStop("wait");
}
function f_MarkHall2() {
chat(30, "Steve needs to keep his stupid comments in his pocket!");
textComplete = f_MarkHall3;
}
function f_MarkHall3() {
f_WalktoXY(mark, game.door1._x, game.door1._y);
mark.f_Destin = f_GoBlank;
}
function f_PartyLisaSteve() {
f_MissionClear();
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.door1._x + 26, game.door1._y - 100);
steve = game.p3;
steve.num = 95;
f_SetXY(steve, game.door1._x - 26, game.door1._y - 100);
f_SetXY(p1, game.door1._x, game.door1._y - 50);
f_LookUp(p1);
michelle = game.f1;
f_SetXY(michelle, game.door1._x - 50, game.door1._y - 50);
f_LookUp(michelle);
chat(1, "Thank you honey, this is a beautiful party! You invited all my friends. Good thinking!");
chat(10, "You're welcome, darling!");
chat(10, "You know how much I love you!");
chat(1, "I do. Ha ha ha!", undefined, undefined, 1);
chat(10, "You know it's getting really hot in here. Why don't we go back outside?");
chat(1, "Mmm hmm! Ha ha!", undefined, undefined, 1);
f_ObjectPop(62, a_Party);
lisa.f_Special = f_Follow;
lisa.place = 1;
f_AddParty(13);
steve.f_Special = f_Follow;
steve.place = 2;
f_AddParty(95);
michelle.f_Special = f_Follow;
michelle.place = 3;
f_AddParty(62);
cp_theroom = 103;
textComplete = f_MissionParty;
}
function f_MissionParty() {
f_Mission("Return to party.");
}
function f_RoofParty1() {
f_MissionClear();
f_ObjectPop(95, a_Party);
f_ObjectPop(62, a_Party);
f_ObjectPop(13, a_Party);
f_SetXY(p1, game.p_johnny._x, game.p_johnny._y);
f_LookDown(p1);
lisa = game.p2;
lisa.num = 13;
lisa.f_Special = undefined;
f_SetXY(lisa, game.p_lisa._x, game.p_lisa._y);
f_LookLeft(lisa);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p_denny._x, game.p_denny._y);
f_LookRight(denny);
mark = game.p4;
mark.num = 39;
f_SetXY(mark, game.p_mark._x, game.p_mark._y);
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p_claudette._x, game.p_claudette._y);
f_LookRight(claudette);
steve = game.p6;
steve.num = 95;
steve.f_Special = undefined;
f_SetXY(steve, game.p_steve._x, game.p_steve._y);
f_LookLeft(steve);
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p_boss._x, game.p_boss._y);
michelle = game.f1;
michelle.num = 62;
michelle.f_Special = undefined;
f_SetXY(michelle, game.p_michelle._x, game.p_michelle._y);
f_LookLeft(michelle);
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p_mike._x, game.p_mike._y);
chat(1, "Hey everybody! I have an announcement to make! We're expecting!");
textComplete = f_RoofParty2;
}
function f_RoofParty2() {
f_WalktoXY(steve, lisa._x - 40, lisa._y - 20);
f_WalktoXY(michelle, lisa._x - 70, lisa._y);
michelle.f_Destin = f_RoofParty3;
talk.gotoAndStop("wait");
}
function f_RoofParty3() {
f_LookRight(michelle);
f_LookLeft(lisa);
f_LookDown(steve);
chat(60, "Lisa, I have to talk to you.");
chat(60, "You have got to be honest with Johnny!");
chat(95, "I agree with that.");
chat(10, "Look, I'm gonna tell him, ok? I just don't wanna ruin his birthday.");
chat(95, "When is the baby due?");
chat(10, "There is no baby.");
chat(60, "What?!");
chat(95, "What are you talking about?");
chat(10, "I told him that to make it interesting.");
chat(10, "We're probably gonna have a baby eventually anyway.");
chat(10, "You're not gonna tell Johnny are you?");
chat(60, "Lisa are you feeling ok? Because this is just getting worse and worse.");
chat(95, "I feel like I'm sitting on an atomic bomb, waiting for it to go off.");
chat(60, "Me too! There's no simple solution to this.");
chat(10, "Don't worry! You guys worry entirely too much about me.");
chat(60, "Lisa, we're not worried about you, we're worried about Johnny.");
chat(60, "You don't understand the psychological impact of what you're doing here!");
chat(60, "You're hurting yourself. You're hurting our friendship.");
chat(10, "I am not responsible for Johnny. I'm through with that.");
chat(10, "I'm changing. I have the right, don't I? People are changing all the time.");
chat(10, "I have to think about my future. What's it to you?");
chat(95, "This is gonna pull us all down. It's gonna shake up our group of friends!");
chat(95, "It's gonna destroy our friendship, Lisa.");
chat(95, "I don't think Mark really loves you.");
chat(10, " I don't wanna talk about it!");
chat(60, "Lisa, you're gonna have to face it.");
chat(60, "I for one am gonna have a hard time forgiving you if you don't.");
chat(10, "Hey everybody! Let's go inside and eat some cake!");
textComplete = f_RoofParty4;
}
function f_RoofParty4() {
f_WalktoXY(p1, game.door1._x - 30, game.door1._y + 60);
p1.f_Destin = f_LookRight;
f_WalktoXY(denny, game.door1._x, game.door1._y);
denny.f_Destin = f_GoBlank;
f_WalktoXY(claudette, game.door1._x, game.door1._y);
claudette.f_Destin = f_GoBlank;
mike.ghost = true;
f_SetXY(mike, mike._x, mike._y + 10);
f_WalktoXY(mike, game.door1._x, game.door1._y);
mike.f_Destin = f_LookLeft;
mark.ghost = true;
f_WalktoXY(mark, game.door1._x, game.door1._y);
mark.f_Destin = f_GoBlank;
boss.ghost = true;
f_WalktoXY(boss, game.door1._x, game.door1._y);
boss.f_Destin = f_GoBlank;
f_WalktoXY(lisa, game.p_michelle._x, game.p_michelle._y);
lisa.f_Destin = f_RoofParty5;
f_LookLeft(michelle);
f_LookLeft(steve);
talk.gotoAndStop("wait");
}
function f_RoofParty5() {
f_WalktoXY(lisa, game.door1._x, game.door1._y);
lisa.f_Destin = f_RoofParty6;
}
function f_RoofParty6() {
cp_theroom = 104;
f_GoBlank(lisa);
fader.destin = "theroom";
f_FadeOut(2);
}
function f_PartyFight1() {
f_SetXY(p1, game.p2_johnny._x, game.p2_johnny._y);
f_LookDown(p1);
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p2_claudette._x, game.p2_claudette._y);
f_LookLeft(claudette);
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.p2_lisa._x, game.p2_lisa._y);
f_LookLeft(lisa);
mark = game.p4;
mark.num = 39;
f_SetXY(mark, game.p2_mark._x, game.p2_mark._y);
f_LookRight(mark);
steve = game.p6;
steve.num = 95;
f_SetXY(steve, game.p2_steve._x, game.p2_steve._y);
f_LookRight(steve);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p2_denny._x, game.p2_denny._y);
f_LookLeft(denny);
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p2_boss._x, game.p2_boss._y);
michelle = game.f1;
michelle.num = 62;
f_SetXY(michelle, game.p2_michelle._x, game.p2_michelle._y);
f_LookRight(michelle);
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p2_mike._x, game.p2_mike._y);
f_LookLeft(mike);
chat(1, "I'm sorry I couldn't lend your friend money, Claudette.");
chat(40, "That's alright darling. I will explain to Shirley that it's an awkward situation.");
textComplete = f_PartyFight2;
}
function f_PartyFight2() {
fmv.gotoAndStop("slap");
talk.gotoAndStop("wait");
}
function f_PartyFight3() {
chat(10, "Just shut up!");
textComplete = f_PartyFight4;
}
function f_PartyFight4() {
p1.ghost = true;
f_WalktoXY(p1, p1._x + 30, lisa._y + 20);
p1.f_Destin = f_PartyFight5;
f_WalktoXY(mark, mark._x, lisa._y + 20);
mark.f_Destin = f_LookRight;
talk.gotoAndStop("wait");
}
function f_PartyFight5() {
p1.ghost = false;
f_LookLeft(p1);
f_LookDown(lisa);
chat(1, "What are you doing? What's going on here?");
chat(30, "Pfft, you really don't know, do you?");
textComplete = f_PartyFight6;
}
function f_PartyFight6() {
f_WalktoXY(p1, mark._x + 40, p1._y);
p1.f_Destin = f_PartyFight7;
talk.gotoAndStop("wait");
}
function f_PartyFight7() {
chat(1, "Maybe I know more than you think I do, Mark!");
textComplete = f_PartyFight8;
}
function f_PartyFight8() {
p1.gotoAndStop("jshove");
mark.gotoAndStop("mshove");
talk.gotoAndStop("wait");
p1.f_Destin = f_PartyFight9;
}
function f_PartyFight9() {
mark.gotoAndStop(1);
f_SetXY(mark, p1._x - 70, p1._y);
f_WalktoXY(mark, p1._x - 40, p1._y);
mark.f_Destin = f_PartyFight10;
}
function f_PartyFight10() {
chat(30, "Shit! Alright?");
chat(1, "What do you want from me huh?");
textComplete = f_PartyFight11;
}
function f_PartyFight11() {
p1.gotoAndStop("jshove");
mark.gotoAndStop("mshove");
talk.gotoAndStop("wait");
p1.f_Destin = f_PartyFight12;
}
function f_PartyFight12() {
chat(10, "Stop it!");
chat(1, "Alright. Alright!");
chat(1, "Ok folks everything is fine! Fighting is over!");
chat(1, "I'm sorry Mark.");
chat(30, "Yeah. Me too.");
chat(1, "Lisa can you clean up here? Please.");
textComplete = f_PFExit1;
}
function f_PFExit1() {
f_WalktoXY(p1, game.spot5._x + 40, game.spot5._y);
p1.f_Destin = f_PFExit2;
talk.gotoAndStop("wait");
}
function f_PFExit2() {
f_WalktoXY(p1, game.door3._x + 80, game.door3._y);
p1.f_Destin = f_PFExit3;
}
function f_PFExit3() {
f_WalktoXY(p1, game.door3._x, game.door3._y);
hothead = true;
cp_theroom = 110;
}
function f_MissionHotHead() {
f_Mission("Cool off.");
}
function f_PartyFight20() {
f_SetXY(p1, game.door3._x + 80, game.door3._y);
f_LookDown(p1);
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p2_claudette._x, game.p2_claudette._y);
f_LookLeft(claudette);
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.p2_lisa._x, game.p2_lisa._y);
f_GoBlank(lisa);
mark = game.p4;
mark.num = 39;
f_SetXY(mark, game.p2_mark._x, game.p2_mark._y);
f_GoBlank(mark);
game.dancers.gotoAndStop("on");
steve = game.p6;
steve.num = 95;
f_SetXY(steve, game.p2_steve._x, game.p2_steve._y);
f_LookRight(steve);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p2_denny._x, game.p2_denny._y);
f_LookLeft(denny);
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p2_boss._x, game.p2_boss._y);
michelle = game.f1;
michelle.num = 62;
f_SetXY(michelle, game.p2_michelle._x, game.p2_michelle._y);
f_LookRight(michelle);
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p2_mike._x, game.p2_mike._y);
f_LookLeft(mike);
f_WalktoXY(p1, game.spot5._x + 40, game.p2_mark._y + 30);
p1.f_Destin = f_PFExit10;
talk.gotoAndStop("wait");
}
function f_PFExit10() {
f_WalktoXY(p1, game.p2_mark._x + 30, game.p2_mark._y + 20);
p1.f_Destin = f_PartyFight21;
talk.gotoAndStop("wait");
}
function f_PartyFight21() {
f_LookUp(p1);
chat(1, "What are you doing?");
chat(10, "None of your business!");
chat(1, "You're my future wife, what are you doing Lisa?");
textComplete = f_PartyFight22;
}
function f_PartyFight22() {
game.dancers.gotoAndStop("off");
lisa.gotoAndStop(1);
lisa.body.gotoAndStop(lisa.num);
f_LookDown(lisa);
mark.gotoAndStop(1);
mark.body.gotoAndStop(mark.num);
f_WalktoXY(mark, p1._x - 40, p1._y);
mark.f_Destin = f_PartyFight22a;
}
function f_PartyFight22a() {
f_LookLeft(p1);
f_LookRight(mark);
chat(30, "Leave her alone man, she doesn't wanna talk to you.");
chat(1, "Since when do you give me orders?");
chat(30, "Since Lisa changed her mind about you!");
chat(1, "Ha.");
chat(30, "Wake up man! What planet are you on?");
chat(1, "I think you should leave right now, Mark.");
chat(10, "Don't spoil it, we were just having fun.");
chat(30, "Don't worry about it man.");
chat(1, "Don't touch me motherfucker!");
chat(1, "Get out.");
textComplete = f_PartyFight23;
}
function f_PartyFight23() {
p1.gotoAndStop("jshove");
mark.gotoAndStop("mshove");
talk.gotoAndStop("wait");
p1.f_Destin = f_PartyFight24;
}
function f_PartyFight24() {
chat(10, "Stop it!");
chat(10, "You two are acting like children.");
chat(10, "You're gonna ruin the party.");
chat(30, "Son of a bitch! You keep your girl satisfied, she wouldn't come to me!");
chat(1, "Get out of my house.");
chat(1, "I'll kill you! I'll break every bone in your body!");
textComplete = f_RPGFinalFight;
}
function f_RPGFinalFight() {
cursor.gotoAndStop(1);
f_ChangeSong(song2.m_battle);
fmv.gotoAndStop("battle2");
talk.gotoAndStop("wait");
}
function f_RPGFinalFight2() {
fader.destin = "rpg";
f_FadeDitherGradient(1, 4294901760, f_FadedOut, "middle");
}
function f_TryAgain() {
chat(1, "Let's try that again, shall we?");
textComplete = f_DrugRPGIntro;
}
function f_InteruptFight() {
cp_theroom = 113;
fader.destin = "theroom";
f_FadeOut();
}
function f_PartyFight30() {
f_SetXY(p1, game.p2_mark._x + 60, game.p2_mark._y + 20);
f_LookLeft(p1);
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.p2_mark._x + 30, game.p2_lisa._y);
f_LookDown(lisa);
mark = game.p4;
mark.num = 39;
f_SetXY(mark, game.p2_mark._x, game.p2_mark._y + 20);
f_LookRight(mark);
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p2_claudette._x, game.p2_claudette._y);
f_LookLeft(claudette);
steve = game.p6;
steve.num = 95;
f_SetXY(steve, game.p2_steve._x, game.p2_steve._y);
f_LookRight(steve);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p2_denny._x, game.p2_denny._y);
f_LookLeft(denny);
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p2_boss._x, game.p2_boss._y);
michelle = game.f1;
michelle.num = 62;
f_SetXY(michelle, game.p2_michelle._x, game.p2_michelle._y);
f_LookRight(michelle);
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p2_mike._x, game.p2_mike._y);
f_LookLeft(mike);
chat(10, "Stop it!");
chat(1, "I'll kill you! Bastard!");
chat(30, "You couldn't kill me if you tried.");
chat(1, "You betrayed me, you're that good.");
chat(1, "You, you're just a chicken.");
chat(1, "CHEEP CHEEP CHEEP CHEEEEEP.", undefined, undefined, 2);
textComplete = f_GoWrestle;
}
function f_GoWrestle() {
fader.destin = "wrestle";
f_FadeDitherGradient(1, 4294901760, f_FadedOut, "middle");
}
function f_EndWrestle() {
cp_theroom = 115;
fader.destin = "theroom";
f_FadeOut();
}
function f_PartyFight40() {
f_SetXY(p1, game.p2_mark._x + 60, game.p2_mark._y + 20);
f_LookLeft(p1);
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.p2_mark._x + 30, game.p2_lisa._y);
f_LookDown(lisa);
mark = game.p4;
mark.num = 39;
f_SetXY(mark, game.p2_mark._x, game.p2_mark._y + 20);
if (wrestleking) {
f_Medal("Pusher");
mark.gotoAndStop("mshove");
mark.body.gotoAndStop("down");
} else {
f_LookRight(mark);
}
claudette = game.p5;
claudette.num = 42;
f_SetXY(claudette, game.p2_claudette._x, game.p2_claudette._y);
f_LookLeft(claudette);
steve = game.p6;
steve.num = 95;
f_SetXY(steve, game.p2_mark._x - 100, game.p2_mark._y);
f_LookRight(steve);
denny = game.p3;
denny.num = 27;
f_SetXY(denny, game.p2_mark._x - 140, game.p2_mark._y - 20);
f_LookRight(denny);
boss = game.p7;
boss.num = 100;
f_SetXY(boss, game.p2_boss._x, game.p2_boss._y);
michelle = game.f1;
michelle.num = 62;
f_SetXY(michelle, game.p2_michelle._x, game.p2_michelle._y);
f_LookRight(michelle);
mike = game.f2;
mike.num = 66;
f_SetXY(mike, game.p2_mike._x, game.p2_mike._y);
f_LookLeft(mike);
chat(95, "It's over! It's over!");
chat(1, "It's not over! Everybody betrayed me! I'm fed up with this world.");
textComplete = f_PFExit20;
}
function f_PFExit20() {
f_WalktoXY(p1, game.event2._x, game.event2._y);
cp_bedroom = 120;
talk.gotoAndStop("wait");
f_FadeSong(song1.m_theme);
}
function f_BedroomSad1() {
f_SetXY(p1, game.spot5._x, game.spot5._y);
p1.gotoAndStop("johnnycry");
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.spot6._x, game.spot6._y);
f_LookLeft(lisa);
game.doorway.gotoAndStop("closed");
f_Timer(60, f_SadTalk0);
}
function f_SadTalk0() {
claudette = game.p3;
claudette.num = 42;
claudette.body.gotoAndStop(claudette.num);
f_SetXY(claudette, game.door1._x, game.door1._y);
f_WalktoXY(claudette, lisa._x + 50, lisa._y);
claudette.f_Destin = f_SadTalk1;
}
function f_SadTalk1() {
f_LookRight(lisa);
f_LookLeft(claudette);
chat(40, "I cleaned up the kitchen, sweetheart, so you don't have to worry about that.");
chat(10, "He still won't come out of the bathroom.");
chat(40, "Sweetheart, he's upset! Now Johnny is a sensible man.");
chat(40, "He will come out. You will discuss this. Everything is going to be ok.");
chat(10, "I just think I should be alone with him right now.");
chat(40, "I understand, sweetheart. I'm gonna go home now.");
chat(40, "Bye bye! You call me if you need me.");
chat(10, "I will. Thanks mom.");
chat(40, "Mm hm!");
textComplete = f_SadTalk2;
}
function f_SadTalk2() {
f_WalktoXY(claudette, game.door1._x, game.door1._y);
claudette.f_Destin = f_SadTalk3;
talk.gotoAndStop("wait");
}
function f_SadTalk3() {
f_GoBlank(claudette);
f_WalktoXY(lisa, game.spot8._x, game.spot8._y);
lisa.f_Destin = f_SadTalk4;
}
function f_SadTalk4() {
f_LookLeft(lisa);
p1.gotoAndStop("on");
f_LookDown(p1);
chat(10, "You can come out now Johnny, she's gone.");
chat(1, "In a few minutes, bitch!");
chat(10, "Who are you calling a bitch?");
chat(1, "You and your stupid mother.");
textComplete = f_SadTalk5;
}
function f_SadTalk5() {
f_LookDown(lisa);
f_Timer(40, f_SadTalk6);
textComplete = f_SadTalk6;
talk.gotoAndStop("wait");
}
function f_SadTalk6() {
f_WalktoXY(lisa, game.spot7._x, game.spot7._y);
lisa.f_Destin = f_SadTalk7;
}
function f_SadTalk7() {
f_LookDown(lisa);
s_pickup.start(0, 0);
if (recording) {
cp_phone = 3;
}
chat(10, "Hi, Mark? I need to talk to you.");
chat(10, "...");
chat(10, "Don't worry about Johnny, he's just being a big baby.");
chat(10, "You know I love you very much.");
chat(10, "...");
chat(10, "I love you.");
chat(10, "...");
chat(10, "I know, he's not worth it.");
chat(10, "Why don't I come up there and be with you?");
chat(10, "...");
chat(10, "You got it!");
chat(10, "I'm on my way! Bye.");
textComplete = f_SadTalk8;
}
function f_SadTalk8() {
game.doorway.gotoAndStop("open");
s_hangup.start(0, 0);
f_WalktoXY(p1, game.spot8._x, game.spot8._y);
p1.f_Destin = f_SadTalk9;
talk.gotoAndStop("wait");
}
function f_SadTalk9() {
chat(1, "Who were you talking to?");
chat(10, "Nobody.");
chat(1, "We'll see about that.");
textComplete = f_SadTalk10;
}
function f_SadTalk10() {
f_WalktoXY(p1, game.event1._x, game.event1._y);
talk.gotoAndStop("wait");
cp_theroom = 120;
cp_bedroom = 130;
}
function f_TheRoomTape() {
if (!havetape) {
if (!recording) {
recording = true;
}
cp_theroom = 121;
f_SetXY(p1, game.door2._x - 50, game.door2._y);
chat(1, "Good thing I've been recording everything!");
}
}
function f_BedroomTape() {
lisa = game.p2;
lisa.num = 13;
f_SetXY(lisa, game.spot6._x, game.spot6._y);
f_LookRight(lisa);
lisa.f_Click = f_BedroomTapeLisa;
lisa.clicker.gotoAndStop("on");
if (havetape) {
talk.gotoAndStop("wait");
fmv.gotoAndStop("tape");
}
}
function f_BedroomTapeLisa() {
chat(1, "We'll see about that.");
}
function f_Phone3() {
if (!phone3) {
phone3 = true;
phone3new = true;
}
talk.tapes.gotoAndStop(2);
chat(111, "[Phone Ringing]");
chat(30, "Hello?");
chat(10, "Hi, Mark? I need to talk to you.");
chat(30, "What's going on?");
chat(10, "Don't worry about Johnny, he's just being a big baby.");
chat(10, "You know I love you very much.");
chat(10, "You're the sparkle in my life. I can't live without you.");
chat(10, "I love you.");
textComplete = f_PhoneFight2;
}
function f_PhoneFight2() {
s_pickup.start(0, 0);
f_Timer(30, f_PhoneFight3);
talk.gotoAndStop("wait");
}
function f_PhoneFight3() {
chat(1, "You little tramp!");
chat(1, "HOW COULD YOU DO THIS TO ME?");
chat(1, "I gave you seven years of my life, and you betrayed me.");
chat(1, "Let's see what else we have on this tape.");
chat(10, "No! Stop.");
chat(10, "You little prick, I put up with you for seven years!");
chat(1, "...");
chat(10, "You think you're an angel. You're just like everybody.");
chat(1, "I treat you like a princess! And you stab me in the back.");
chat(1, "I love you and I do anything for you just to please you.");
chat(1, "And now you betray me. HOW COULD YOU LOVE HIM?!");
textComplete = f_PhoneFight4;
}
function f_PhoneFight4() {
s_pickup.start(0, 0);
f_Timer(30, f_PhoneFight5);
talk.gotoAndStop("wait");
}
function f_PhoneFight5() {
talk.tapes.gotoAndStop(2);
chat(30, "Why don't you ditch this creep. I don't like him anymore.");
chat(10, "I know, he's not worth it.");
chat(10, "Why don't I come up there and be with you?");
chat(30, "Sure baby come on up. I want your body.");
chat(10, "You got it!");
textComplete = f_PhoneFight6;
}
function f_PhoneFight6() {
if (((phone1 == true) and (phone2 == true)) and (phone3 == true)) {
f_Medal("Bugged");
}
s_pickup.start(0, 0);
f_Timer(30, f_PhoneFight7);
talk.gotoAndStop("wait");
}
function f_PhoneFight7() {
chat(1, "Everybody betrayed me. I don't have a friend in the world.");
chat(10, "I'm leaving you, Johnny.");
textComplete = f_GetOut1;
}
function f_GetOut1() {
havetape = false;
f_WalktoXY(lisa, game.door1._x, game.door1._y);
lisa.f_Destin = f_GetOut2;
talk.gotoAndStop("wait");
}
function f_GetOut2() {
f_GoBlank(lisa);
f_WalktoXY(p1, game.spot9._x, game.spot9._y);
p1.f_Destin = f_GetOut3;
}
function f_GetOut3() {
f_LookDown(p1);
chat(1, "Get out! Get out! Get out of my life!");
textComplete = f_GetOut4;
}
function f_GetOut4() {
f_WalktoXY(p1, game.spot10._x, game.spot10._y);
p1.f_Destin = f_GetOut5;
}
function f_GetOut5() {
f_LookDown(p1);
chat(1, "Raaaaaar!");
textComplete = f_GetOut6;
}
function f_GetOut6() {
cp_theroom = 130;
f_WalktoXY(p1, game.event1._x, game.event1._y);
talk.gotoAndStop("wait");
}
function f_RoomAngry1() {
f_FadeSong(song5.m_sexytime);
f_WalktoXY(p1, game.spot7._x, game.spot7._y + 10);
p1.f_Destin = f_RoomAngry2;
talk.gotoAndStop("wait");
}
function f_RoomAngry2() {
f_LookDown(p1);
p1.gotoAndStop("johnnycry");
chat(9, "Reeeeeeaaaaar!");
chat(9, "Why Lisa? Why? Why?!");
cp_bedroom = 140;
cp_theroom = 140;
textComplete = f_FlashBack;
}
function f_FlashBack() {
fmv.gotoAndStop("flashback");
talk.gotoAndStop("wait");
}
function f_RoomRage() {
chat(9, "You bitch!!!");
}
function f_Suicide() {
f_RemoveItem("gun");
cursor.gotoAndStop(1);
talk.gotoAndStop("wait");
p1.ghost = true;
f_WalktoXY(p1, game.killspot._x, game.killspot._y);
p1.f_Destin = f_Suicide2;
}
function f_Suicide2() {
p1.gotoAndStop("johnnydie");
}
function f_Suicide3() {
chat(9, "Why? Why is this happening to me? Why?!");
chat(9, "It's over.");
chat(9, "God. Forgive me.");
textComplete = f_Suicide10;
}
function f_Suicide10() {
talk.gotoAndStop("wait");
p1.body.gotoAndPlay("suicide");
}
function f_JohnnyDead() {
f_FadeSong(song7.m_sad);
johnny_x = p1._x;
johnny_y = p1._y;
cp_bedroom = 150;
fader.destin = "bedroom";
f_FadeOut(2);
}
function f_JohnnyStillDead() {
if (havetape) {
f_RemoveItem("tape");
}
f_SetXY(p1, game.killspot._x, game.killspot._y);
p1.gotoAndStop("johnnydead");
f_Timer(120, f_Ending);
talk.gotoAndStop("wait");
}
function f_Ending() {
mark = game.p3;
mark.num = 39;
mark.body.gotoAndStop(mark.num);
f_SetXY(mark, game.door1._x, game.door1._y);
f_WalktoXY(mark, game.door1._x - 200, game.door1._y);
mark.f_Destin = f_Ending2;
}
function f_Ending2() {
f_LookRight(mark);
lisa = game.p2;
lisa.num = 13;
lisa.body.gotoAndStop(lisa.num);
f_SetXY(lisa, game.door1._x, game.door1._y);
f_WalktoXY(lisa, game.door1._x - 80, game.door1._y - 10);
lisa.f_Destin = f_Ending3;
}
function f_Ending3() {
chat(30, "Wake up Johnny, come on!");
chat(10, "Is he dead?");
chat(10, "My god Mark, is he dead?!");
chat(30, "Yes, he's dead.");
chat(10, "Oh my god.");
chat(10, "I've lost him but I still have you right? Right?");
chat(30, "You don't have me.");
chat(30, "You'll never have me.");
chat(30, "You killed him.");
chat(10, "Mark we're free to be together!");
chat(10, "I love you.");
chat(10, "I love you!");
chat(30, "Tramp.");
chat(30, "You killed him, you're the cause of all of this.");
chat(30, "I don't love you.");
chat(30, "Get out of my life, you bitch!");
textComplete = f_Ending10;
}
function f_Ending10() {
denny = game.p4;
denny.num = 27;
denny.body.gotoAndStop(denny.num);
f_SetXY(denny, game.door1._x, game.door1._y);
f_WalktoXY(denny, game.door1._x - 70, game.door1._y + 10);
denny.f_Destin = f_Ending11;
talk.gotoAndStop("wait");
}
function f_Ending11() {
chat(20, "What's happening?!");
chat(30, "Don't look Denny!");
chat(20, "Johnny's dead!");
chat(20, "Wake up Johnny please! Please! It's not right!");
chat(20, "It's not right!");
chat(10, "He's in a better place!");
chat(20, "Leave us!");
chat(20, "Both of you leave.");
chat(30, "As far as I'm concerned, you can drop off the earth!");
chat(30, "That's a promise.");
chat(20, "Just leave! Both of you!");
chat(30, "Leave him, alright? Let him be with him!");
chat(20, "Why, Johnny? Why?! Johnny, why?");
chat(20, "Why?");
textComplete = f_Ending12;
}
function f_Ending12() {
talk.gotoAndStop("wait");
denny.gotoAndStop("crydenny");
mark.gotoAndStop("crymark");
lisa.gotoAndStop("crylisa");
p1.gotoAndStop("johnnyrise");
}
function f_Ending13() {
fader.destin = "ending";
f_FadeOutUp();
}
function f_Alien1() {
chat(86, "So tell me Johnny...");
chat(86, "How was your time on Earth?");
textComplete = f_Alien2;
}
function f_Alien2() {
j.bg.gotoAndPlay("go");
}
function f_Alien3() {
chat(85, "It was enchanting for a moment but I've had enough of that world.");
chat(87, "And Lisa?");
chat(85, "The situation with Lisa was unfortunate.");
chat(86, "Sadly we may never understand life.");
chat(87, "The handsome one, Mark...");
chat(85, "My best friend.");
chat(87, "He questioned what planet you were from.");
chat(85, "Yes, that is when I knew my time was coming to an end.");
chat(86, "As all things must.");
chat(86, "So tell me, Johnny...");
chat(86, "How many spoons did you find?");
textComplete = f_AlienSpoons;
}
function f_AlienSpoons() {
j.gotoAndPlay("go");
}
function f_AlienSpoonCount() {
allSpoons = true;
totalSpoons = 0;
var _local1 = 1;
while (_local1 <= 10) {
if (!a_spoons[_local1]) {
allSpoons = false;
} else {
totalSpoons++;
}
_local1++;
}
if (allSpoons) {
chat(86, "Oh my, is that all ten spoons?");
chat(87, "Yes, I believe it is!");
chat(86, "Wonderful! Activate the machine!");
textComplete = f_AlienSpoonYes;
} else {
if (totalSpoons == 1) {
chat(86, "Looks like you have 1 spoon.");
} else {
chat(86, ("Looks like you have " + totalSpoons) + " spoons.");
}
chat(86, "Unfortunately, that won't be enough to activate the machine.");
chat(87, "No need to sulk #86, this is a time of celebration!");
chat(86, "Indeed it is.");
textComplete = f_AlienSpoonNo;
}
}
function f_AlienSpoonNo() {
j.gotoAndPlay("no");
}
function f_AlienSpoonYes() {
j.gotoAndPlay("yes");
}
function f_EarthSpooned() {
f_ChangeSong(song8.m_ufo);
f_Timer(60, f_EarthSpooned2);
fmv.gotoAndStop(1);
}
function f_EarthSpooned2() {
f_Medal("The Machine");
chat(86, "HA HA HA HA HA HA HA HA HA!");
chat(85, "That made it all worth it.");
chat(87, "Oh, you men.");
chat(86, "Let's party!");
textComplete = f_AlienDance;
}
function f_AlienDance() {
j.bg.gotoAndStop("dance");
}
function f_BankRPGIntro() {
cursor.gotoAndStop(1);
f_ChangeSong(song2.m_battle);
fmv.gotoAndStop("battle3");
talk.gotoAndStop("wait");
}
function f_BankRPGIntro2() {
fader.destin = "bankrpg";
f_FadeDitherGradient(1, 4294901760, f_FadedOut, "middle");
}
function f_BankRPGEnd() {
f_ChangeSong(song6.m_rage);
smashed.boss = true;
door = 1;
fader.destin = "bankexterior";
f_FadeOut();
}
function f_BankQuote() {
chat(9, "Banking hours are over.");
}
function f_DiaryHud(u) {
if (diary1) {
if (diary1new) {
diary1new = false;
u.s1.gotoAndPlay("go");
} else {
u.s1.gotoAndStop(2);
}
}
if (diary2) {
if (diary2new) {
diary2new = false;
u.s2.gotoAndPlay("go");
} else {
u.s2.gotoAndStop(2);
}
}
if (diary3) {
if (diary3new) {
diary3new = false;
u.s3.gotoAndPlay("go");
} else {
u.s3.gotoAndStop(2);
}
}
if (diary4) {
if (diary4new) {
diary4new = false;
u.s4.gotoAndPlay("go");
} else {
u.s4.gotoAndStop(2);
}
}
if (diary5) {
if (diary5new) {
diary5new = false;
u.s5.gotoAndPlay("go");
} else {
u.s5.gotoAndStop(2);
}
}
if (diary6) {
if (diary6new) {
diary6new = false;
u.s6.gotoAndPlay("go");
} else {
u.s6.gotoAndStop(2);
}
}
if (diary7) {
if (diary7new) {
diary7new = false;
u.s7.gotoAndPlay("go");
} else {
u.s7.gotoAndStop(2);
}
}
if (diary8) {
if (diary8new) {
diary8new = false;
u.s8.gotoAndPlay("go");
} else {
u.s8.gotoAndStop(2);
}
}
if (diary9) {
if (diary9new) {
diary9new = false;
u.s9.gotoAndPlay("go");
} else {
u.s9.gotoAndStop(2);
}
}
}
function f_Diary() {
if (day == 1) {
if (!diary1) {
diary1 = true;
diary1new = true;
}
chat(29, "Tuesday, April 15th, 2003");
chat(29, "Elizabeth and I had a nice date last night.");
chat(29, "I would rather go hang out with Johnny and Lisa, though.");
} else if (day == 2) {
if (!diary2) {
diary2 = true;
diary2new = true;
}
chat(29, "Wednesday, April 16th, 2003");
chat(29, "I just like to watch Johnny and Lisa but they never let me.");
chat(29, "I get it though, they just want to be alone.");
} else if (day == 3) {
if (!diary3) {
diary3 = true;
diary3new = true;
}
chat(29, "Thursday, April 17th, 2003");
chat(29, "Mark asked me if I could score him some weed.");
chat(29, "I could really use the money so I got the weed on credit from Chris R.");
chat(29, "Now Mark won't pay me, and Chris R is getting pissed!");
chat(29, "As if that was bad enough...");
chat(29, "Lisa looks so beautiful in her red dress, but she won't let me kiss her!");
} else if (day == 4) {
if (!diary4) {
diary4 = true;
diary4new = true;
}
chat(29, "Friday, April 18th, 2003");
chat(29, "Chris R confronted me about the drug money I owe him.");
chat(29, "If Johnny and Mark hadn't stopped him I'd be a dead man!");
chat(29, "Then Lisa and Claudette got all up in my grill about 'What kind of money?'");
chat(29, "I was like, 'Stop ganging up on me!' but these bitches were crazy.");
chat(29, "Claudette's not my fucking mother and she needs to stop acting like it.");
} else if (day == 5) {
if (!diary5) {
diary5 = true;
diary5new = true;
}
chat(29, "Saturday, April 19th, 2003");
chat(29, "Johnny and I chilled on the roof and tossed the football around.");
chat(29, "I told him my feelings about Lisa and he said she just sees me as a friend.");
chat(29, "We hit the coffee shop afterwards and I got the billionth cheesecake!");
chat(29, "Then we went to the movies and saw the latest Tommy Wiseau flick.");
chat(29, "It was awesome, but I couldn't stop thinking about kissing Lisa some day.");
} else if (day == 6) {
if (!diary6) {
diary6 = true;
diary6new = true;
}
chat(29, "Sunday, April 20th, 2003");
chat(29, "I hung out with the guys and tossed a football around in the alley.");
chat(29, "Mike was telling some weird story about his underwears.");
chat(29, "I was like, 'I don't study like that' and Johnny laughed.");
chat(29, "Then Mark came in and sorta accidentally knocked Mike over.");
chat(29, "It was weird, seemed intentional. Whatever.");
chat(29, "I hung out with Lisa later but she still won't kiss me!");
chat(29, "I went home with her but Johnny was in the kitchen so I gave up and left.");
} else if (day == 7) {
if (!diary7) {
diary7 = true;
diary7new = true;
}
chat(29, "Monday, April 21st, 2003");
chat(29, "I picked up my tux to try it on before Johnny's wedding.");
chat(29, "At least I think it's for Johnny's wedding.");
chat(29, "We did something totally crazy and played football in our tuxes!");
chat(29, "Peter fell and hurt himself though so we had to stop.");
chat(29, "He's so clumsy!");
} else if (day == 8) {
if (!diary8) {
diary8 = true;
diary8new = true;
}
chat(29, "Tuesday, April 22nd, 2003");
chat(29, "I was hoping to hang out with Johnny but he came home late.");
chat(29, "I think he was having coffee with Mark or something.");
chat(29, "I didn't want to look for him because I hear Chris R is on the loose.");
chat(29, "That guy is dangerous!");
} else if (day == 9) {
if (!diary9) {
diary9 = true;
diary9new = true;
}
chat(29, "Wednesday, April 23rd, 2003");
chat(29, "I tried to meet up with Johnny again but he worked real late last night!");
chat(29, "Oh well, I'll see him tonight at his surprise party.");
chat(29, "Maybe I can sneak some champagne or something!");
textComplete = f_GetBookworm;
}
talk.books.gotoAndStop(2);
}
function f_GetBookworm() {
if ((((((((diary1 and diary2) and diary3) and diary4) and diary5) and diary6) and diary7) and diary8) and diary9) {
f_Medal("Bookworm");
}
}
function f_DescribeSpoon(s) {
if (smashmode) {
var _local1 = 9;
} else {
var _local1 = 1;
}
if (s == 1) {
chat(_local1, "The Sinister Spoon draws power from fear and negativity.");
} else if (s == 2) {
chat(_local1, "The Rock Spoon has great smashing power but is quite brittle.");
} else if (s == 3) {
chat(_local1, "The Shank Spoon can be snuck on planes and through metal detectors.");
} else if (s == 4) {
chat(_local1, "The Cholorphyll Spoon can generate it's own power directly from sunlight.");
} else if (s == 5) {
chat(_local1, "The Kitchen Spoon is helpful for eating from bowls and pudding cups.");
} else if (s == 6) {
chat(_local1, "The Flower Spoon blooms only twice a year but is a beautiful sight to behold.");
} else if (s == 7) {
chat(_local1, "The AI Spoon is self aware and has the power to control all forms of machinery.");
} else if (s == 8) {
chat(_local1, "The Time Spoon can travel back to the time at which it is first activated.");
} else if (s == 9) {
chat(_local1, "The holder of a Tree Spoon can not be knocked over by winds less than 120mph.");
} else if (s == 10) {
chat(_local1, "The Fire Spoon is a perfect weapon against ice-based enemies and magic.");
}
}
function f_CopsPlea() {
chat(101, "Now stop right there Johnny.");
chat(101, "We don't wanna shoot you but the next move is yours.");
}
function f_ChrisJoke() {
chat(9, "Looks like my bite is worse than his bark.");
}
function f_DogLick() {
f_SetXY(p1, game.killspot._x, game.killspot._y);
p1.gotoAndStop("doglick");
f_Timer(180, f_GoTitle);
talk.gotoAndStop("wait");
}
function f_GoTitle() {
gotoAndStop ("restart");
}
function f_FindRoom() {
f_Medal("The Room");
f_Timer(120, f_VideoTalk1);
}
function f_VideoTalk1() {
game.chair.gotoAndPlay("go");
}
function f_VideoTalk2() {
chat(9, "Oh hai Denny!");
chat(20, "Uh... Hi, Johnny!");
chat(9, "My time on this earth is short, Denny.");
chat(9, "I'm gonna need you to take care of Lisa when I'm gone.");
chat(20, "Oh... I'll take care of Lisa alright!", undefined, undefined, 3);
chat(9, "Thank you Denny. You are more than like a son, you are like a friend.");
chat(20, "Thanks Johnny, seeya!");
textComplete = f_VideoTalk3;
}
function f_VideoTalk3() {
game.chair.gotoAndStop("end");
}
function f_FadeInit(pixelSize, depth) {
if (fadeBitmap) {
fadeBitmap.dispose();
}
if (fadeMc) {
fadeMc.removeMovieClip();
}
pixelSize = int(pixelSize);
if (pixelSize < 1) {
pixelSize = 1;
}
if ((!depth) || (isNaN(depth))) {
depth = 16000;
}
fadeBitmap = new flash.display.BitmapData(Math.ceil(Stage.width / pixelSize), Math.ceil(Stage.height / pixelSize), true, 0);
fadeMc = createEmptyMovieClip("fadeMc", depth);
fadeMc.attachBitmap(fadeBitmap, 0);
fadeMc._xscale = (fadeMc._yscale = 100 * pixelSize);
}
function f_FadeDissolve(time, color, completeCallback) {
dissolvePixelsPerTick = Math.ceil((fadeBitmap.width * fadeBitmap.height) / (time * 30));
dissolveSeed = int(Math.random() * 10000);
fadeCurTime = 0;
fadeWait = false;
fadeTotalTime = Math.ceil(time * 30);
fadeCallback = completeCallback;
fadeColor = color;
fadeMc.onEnterFrame = dissolveTick;
}
function f_FadeDither(time, color, completeCallback) {
fadeCurTime = 0;
fadeWait = false;
fadeTotalTime = Math.ceil(time * 30);
fadeCallback = completeCallback;
fadeColor = color;
fadeMc.onEnterFrame = ditherTick;
ditherStep = 0;
}
function f_FadeDitherGradient(time, color, completeCallback, align) {
fadeCurTime = 0;
fadeWait = false;
fadeTotalTime = Math.ceil(time * 30);
fadeCallback = completeCallback;
fadeColor = color;
fadeMc.onEnterFrame = ditherGradientTick;
var _local1 = 0;
while (_local1 < 16) {
ditherGradientSteps[_local1] = 0;
_local1++;
}
switch (align.toLowerCase()) {
case "middle" :
ditherGradientAlign = 1;
break;
case "bottom" :
ditherGradientAlign = 2;
break;
case "top" :
default :
ditherGradientAlign = 0;
}
}
function f_FadeClear(color) {
if ((color == undefined) || (isNaN(color))) {
color = 0;
}
fadeBitmap.fillRect(fadeBitmap.rectangle, color);
fadeMc.onEnterFrame = null;
}
function dissolveTick() {
dissolveSeed = fadeBitmap.pixelDissolve(fadeBitmap, fadeBitmap.rectangle, null, dissolveSeed, dissolvePixelsPerTick, fadeColor);
fadeCurTime++;
if (fadeCurTime >= fadeTotalTime) {
if (fadeWait) {
fadeMc.onEnterFrame = null;
fadeCallback();
} else {
fadeWait = true;
}
}
}
function ditherTick() {
fadeCurTime++;
var _local3 = fadeCurTime / fadeTotalTime;
while (((_local3 - (ditherStep / 17)) >= 0.0588235294117647) && (ditherStep < 16)) {
var _local2;
var _local1;
_local2 = ditherSequence[ditherStep][0];
while (_local2 < fadeBitmap.width) {
_local1 = ditherSequence[ditherStep][1];
while (_local1 < fadeBitmap.height) {
fadeBitmap.setPixel32(_local2, _local1, fadeColor);
_local1 = _local1 + 4;
}
_local2 = _local2 + 4;
}
ditherStep++;
}
if (ditherStep >= 16) {
if (fadeWait) {
fadeMc.onEnterFrame = null;
fadeCallback();
} else {
fadeWait = true;
}
}
}
function ditherGradientTick() {
fadeCurTime++;
var _local3;
var _local2;
var _local1;
var _local7 = true;
_local1 = 0;
while (_local1 < 16) {
var _local5;
if (ditherGradientAlign == 0) {
_local5 = (fadeCurTime - ((_local1 * (fadeTotalTime * 0.5)) / 16)) / (fadeTotalTime * 0.5);
} else if (ditherGradientAlign == 1) {
_local5 = (fadeCurTime - ((Math.abs(8 - _local1) * (fadeTotalTime * 0.5)) / 8)) / (fadeTotalTime * 0.5);
} else {
_local5 = (fadeCurTime - (((15 - _local1) * (fadeTotalTime * 0.5)) / 16)) / (fadeTotalTime * 0.5);
}
while (((_local5 >= 0) && ((_local5 - (ditherGradientSteps[_local1] / 17)) >= 0.0588235294117647)) && (ditherGradientSteps[_local1] < 16)) {
var _local6 = _local1 * Math.ceil(fadeBitmap.height / 16);
var _local4 = (_local1 + 1) * Math.ceil(fadeBitmap.height / 16);
if (_local4 > fadeBitmap.height) {
_local4 = fadeBitmap.height;
}
_local3 = ditherSequence[ditherGradientSteps[_local1]][0];
while (_local3 < fadeBitmap.width) {
_local2 = _local6 + ditherSequence[ditherGradientSteps[_local1]][1];
while (_local2 < _local4) {
fadeBitmap.setPixel32(_local3, _local2, fadeColor);
_local2 = _local2 + 4;
}
_local3 = _local3 + 4;
}
ditherGradientSteps[_local1]++;
}
if (ditherGradientSteps[_local1] < 16) {
_local7 = false;
}
_local1++;
}
if (_local7) {
if (fadeWait) {
fadeMc.onEnterFrame = null;
fadeCallback();
} else {
fadeWait = true;
}
}
}
PI = (Math.PI/180);
s_char = new Sound();
s_char.attachSound("sound_char");
s_pickup = new Sound();
s_pickup.attachSound("sound_pickup");
s_hangup = new Sound();
s_hangup.attachSound("sound_hangup");
s_jump = new Sound();
s_jump.attachSound("sound_jump00");
s_jump2 = new Sound();
s_jump2.attachSound("sound_jump02");
s_beastjump = new Sound();
s_beastjump.attachSound("orc_hit");
s_footballtoss = new Sound();
s_footballtoss.attachSound("sound_football_toss");
s_footballcatch = new Sound();
s_footballcatch.attachSound("sound_football_catch");
s_dresson = new Sound();
s_dresson.attachSound("sound_power19");
s_hit = new Sound();
s_hit.attachSound("sound_hit");
s_johnnylaugh1 = new Sound();
s_johnnylaugh1.attachSound("sound_johnnylaugh1");
s_johnnylaugh2 = new Sound();
s_johnnylaugh2.attachSound("sound_johnnylaugh2");
s_chicken = new Sound();
s_chicken.attachSound("sound_chicken_compress");
s_gun = new Sound();
s_gun.attachSound("sound_gun19");
s_boing = new Sound();
s_boing.attachSound("sound_boing");
song1.m_theme = new Sound(song1);
song1.m_theme.attachSound("music_daroom");
song2.m_battle = new Sound(song2);
song2.m_battle.attachSound("music_battle");
song3.m_playful = new Sound(song3);
song3.m_playful.attachSound("music_playful");
song4.m_crickets = new Sound(song4);
song4.m_crickets.attachSound("sound_crickets");
song5.m_sexytime = new Sound(song5);
song5.m_sexytime.attachSound("music_sexytime");
song6.m_rage = new Sound(song6);
song6.m_rage.attachSound("music_rage");
song7.m_sad = new Sound(song7);
song7.m_sad.attachSound("music_sad");
song8.m_ufo = new Sound(song8);
song8.m_ufo.attachSound("sound_ufo1");
song9.m_party = new Sound(song9);
song9.m_party.attachSound("music_party");
song10.m_store = new Sound(song10);
song10.m_store.attachSound("music_store");
song11.m_mark = new Sound(song11);
song11.m_mark.attachSound("music_mark");
song12.m_flyaway = new Sound(song12);
song12.m_flyaway.attachSound("music_flyaway");
f_NewGame();
var fadeBitmap;
var fadeMc;
var fadeCurTime;
var fadeTotalTime;
var fadeColor;
var fadeCallback;
var fadeWait;
var dissolveSeed;
var dissolvePixelsPerTick;
var ditherStep;
var ditherGradientSteps = new Array(16);
var ditherGradientAlign;
var ditherSequence = [[0, 0], [2, 2], [2, 0], [0, 2], [1, 1], [3, 3], [3, 1], [1, 3], [1, 0], [3, 2], [3, 0], [1, 2], [0, 1], [2, 3], [2, 1], [0, 3]];
door = 1;
f_FadeInit(4);
f_GoTime();
Frame 5
f_ChangeSong(song1.m_theme);
f_LevelSetup();
f_FadeClear(4278190080);
f_FadeIn(2);
stop();
Frame 6
f_LevelSetup();
screen = "theroom";
if (testflowers) {
f_GetItem("flowers");
}
if (mission == "Go home.") {
f_MissionClear();
}
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
} else if (door == 2) {
if ((_root.stairlisten == 1) and (!_root.needshower)) {
f_SetXY(p1, game.door2._x + 50, game.door2._y - 30);
f_StairListen();
} else {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x - 50, game.door2._y);
}
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x + 50, game.door3._y);
}
if ((!cp_theroom) or (cp_theroom == 1)) {
cp_theroom = 1;
lisa = game.p2;
lisa.num = 10;
f_SetXY(lisa, game.spot3._x, game.spot3._y);
lisa.f_Click = f_Lisa1;
lisa.clicker.gotoAndStop("on");
denny = game.p3;
denny.num = 28;
denny.speed_x = 2;
denny.speed_y = 2;
} else if (cp_theroom == 4) {
lisa = game.p2;
lisa.num = 15;
f_SetXY(lisa, game.spot3._x, game.spot3._y);
lisa.f_Click = f_LisaFlowerWait;
lisa.clicker.gotoAndStop("on");
} else if (cp_theroom == 6) {
f_Flower8();
} else if (cp_theroom == 8) {
f_HomeFromDrugs();
} else if (cp_theroom == 9) {
f_LisaEndCall();
} else if (cp_theroom == 20) {
f_Fight1();
} else if (cp_theroom == 40) {
f_Peter1();
} else if (cp_theroom == 43) {
f_MarkPeterLeft();
} else if (tuxhome == 1) {
f_Mission("Answer phone.");
game.phonering.gotoAndStop(2);
ringing = true;
} else if (cp_theroom == 80) {
f_GetCookie();
} else if (cp_theroom == 81) {
f_PMExit1();
} else if (cp_theroom == 100) {
f_Party1();
} else if (cp_theroom == 102) {
f_PartyLisaSteve();
} else if (cp_theroom == 104) {
f_PartyFight1();
} else if (cp_theroom == 110) {
f_PartyFight20();
} else if (cp_theroom == 113) {
f_PartyFight30();
} else if (cp_theroom == 115) {
f_PartyFight40();
} else if (cp_theroom == 120) {
f_TheRoomTape();
} else if (cp_theroom == 130) {
f_RoomAngry1();
} else if (cp_theroom == 140) {
f_SmashModeTheRoom();
}
stop();
Frame 7
f_LevelSetup();
screen = "bedroom";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
}
if (cp_theroom == 2) {
f_FadeSong(song5.m_sexytime);
game.wall1.skip = true;
game.wall2.skip = true;
game.wall3.skip = true;
lisa = game.p2;
lisa.num = 11;
f_SetXY(lisa, game.spot1._x, game.spot1._y);
lisa.f_Click = f_LisaBed;
lisa.clicker.gotoAndStop("on");
denny = game.p3;
denny.num = 28;
} else if (cp_bedroom == 3) {
f_StartDay2();
} else if (cp_bedroom == 4) {
game.lisabed.gotoAndStop("morning");
} else if (cp_bedroom == 6) {
f_StartDay3();
} else if (cp_bedroom == 9) {
f_StartDay4();
} else if (cp_bedroom == 10) {
game.lisabed.gotoAndStop("morning");
} else if (cp_bedroom == 22) {
f_StartDay5();
} else if (cp_bedroom == 23) {
game.lisabed.gotoAndStop("morning");
} else if (cp_bedroom == 44) {
f_Day5BedTime();
} else if (cp_bedroom == 45) {
f_StartDay6();
} else if (cp_bedroom == 46) {
game.lisabed.gotoAndStop("morning");
} else if (cp_bedroom == 47) {
f_Day6BedTime();
} else if (cp_bedroom == 50) {
f_StartDay7();
} else if (cp_bedroom == 51) {
game.lisabed.gotoAndStop("morning");
} else if (cp_bedroom == 55) {
f_Day7BedTime();
} else if (cp_bedroom == 60) {
f_StartDay8();
} else if (cp_bedroom == 61) {
game.lisabed.gotoAndStop("morning");
} else if (cp_bedroom == 70) {
if (worked) {
f_Day8BedTime();
}
} else if (cp_bedroom == 80) {
f_StartDay9();
} else if (cp_bedroom == 120) {
f_BedroomSad1();
} else if (cp_bedroom == 130) {
f_BedroomTape();
} else if (cp_bedroom == 140) {
f_SmashModeBedroom();
} else if (cp_bedroom == 150) {
f_JohnnyStillDead();
} else if (cp_bedroom == 160) {
f_DogLick();
}
Frame 8
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 60);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
} else if (door == 4) {
f_SetXY(p1, game.door4._x, game.door4._y);
f_WalktoXY(p1, game.door4._x, game.door4._y + 80);
}
if (drugfight == 1) {
game.help.gotoAndStop("on");
} else {
game.help.gotoAndStop("off");
}
if (confront == 1) {
claudette = game.p2;
claudette.num = 44;
claudette.speed_x = 2;
claudette.speed_y = 2;
f_SetXY(claudette, game.spot1._x, game.spot1._y);
claudette.f_Click = f_Confront;
claudette.clicker.gotoAndStop("on");
} else if ((drugfight == 1) and (a_Party[0] != 33)) {
f_MarkHearsDenny();
} else if (mikealley == 1) {
mike = game.p2;
mike.num = 67;
f_SetXY(mike, game.door4._x, game.door4._y);
mike.f_Click = f_Alley0;
mike.clicker.gotoAndStop("on");
} else if (tuxhome == 3) {
f_TuxPeterLeave();
}
Frame 9
screen = "foyer";
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 50);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
} else if (door == 4) {
f_SetXY(p1, game.door4._x, game.door4._y);
f_WalktoXY(p1, game.door4._x, game.door4._y - 50);
}
if (drugfight == 1) {
game.help.gotoAndStop("on");
} else {
game.help.gotoAndStop("off");
}
if ((stairlisten == 1) and (a_Party[0] == 23)) {
f_AlleyDennyHome();
} else if (tuxhome == 4) {
f_TuxDennyLeave();
}
Frame 10
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 60);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x - 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x, game.door3._y + 60);
} else if (door == 4) {
f_SetXY(p1, game.door4._x, game.door4._y);
f_WalktoXY(p1, game.door4._x, game.door4._y + 60);
}
if (drugfight == 1) {
game.help.gotoAndStop("on");
} else {
game.help.gotoAndStop("off");
}
if (drugfight == 3) {
game.mother.gotoAndStop("on");
} else {
game.mother.gotoAndStop("off");
}
if (markhall) {
f_MarkHall();
}
Frame 11
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x + 50, game.door1._y);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x, game.door2._y + 60);
}
Frame 12
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
}
if (cp_theroom > 100) {
game.gotoAndStop(2);
}
if (drugfight == 1) {
f_Drug1();
} else if (drugfight == 2) {
f_DrugGirls();
} else if (drugfight == 3) {
f_DrugTalk();
} else if (confront == 2) {
f_Roof0();
} else if (cp_theroom == 101) {
f_RoofParty0();
} else if (cp_theroom == 103) {
f_RoofParty1();
}
Frame 13
f_LevelSetup();
screen = "dressexterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 60);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
Frame 14
if (newgame) {
blockfader = true;
f_LevelSetup();
p1.gotoAndStop("blank");
f_FadeClear(4278190080);
f_FadeIn(2);
} else {
f_LevelSetup();
game.gotoAndStop("end");
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 80);
if (smashed.bankdoor) {
game.bank.door.gotoAndStop("dead");
} else {
game.bank.door.gotoAndPlay("open");
}
if (((day == 7) and worked) and (!coffeeshop)) {
f_Mission("Coffee with Mark.");
} else if (smashed.boss) {
p1.f_Destin = f_BankQuote;
talk.gotoAndStop("wait");
} else if (flowertalk == 1) {
f_FlowerTalk();
} else if (skipintro) {
skipintro = false;
f_Mission("Buy a dress for Lisa.");
} else {
f_Mission("Go home.");
}
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
}
Frame 15
f_LevelSetup();
screen = "flowerexterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 60);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
} else if (door == 4) {
f_SetXY(p1, game.door4._x, game.door4._y);
f_WalktoXY(p1, game.door4._x, game.door4._y + 70);
}
Frame 16
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 70);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x - 50, game.door2._y);
}
Frame 17
f_LevelSetup();
screen = "electronicexterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 60);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
if (tuxhome == 2) {
f_TuxFootball();
}
Frame 18
f_LevelSetup();
screen = "coffeeexterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 40);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
if (((day == 7) and worked) and (!coffeeshop)) {
f_CoffeeMark();
}
Frame 19
f_LevelSetup();
screen = "police";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
if (_root.drugfight == 3) {
f_SetXY(p1, game.door1._x - 25, game.door1._y);
mark = game.f1;
f_SetXY(mark, p1._x + 50, p1._y);
chat(1, "We should go check on Denny.");
textComplete = f_MissionDennyRoof;
}
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
if (smashmode) {
if (smashed.cops) {
game.gotoAndStop(3);
} else {
game.gotoAndStop(2);
p1.f_Destin = f_CopsPlea;
talk.gotoAndStop("wait");
}
}
Frame 20
f_LevelSetup();
screen = "park1";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y + 160);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
if (jog == 1) {
f_ParkMark();
} else if (jog == 3) {
f_PostRace();
} else if (chrisjoke) {
chrisjoke = false;
p1.f_Destin = f_ChrisJoke;
talk.gotoAndStop("wait");
}
Frame 21
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 60);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x + 50, game.door2._y);
} else if (door == 3) {
f_SetXY(p1, game.door3._x, game.door3._y);
f_WalktoXY(p1, game.door3._x - 50, game.door3._y);
}
if (jog == 2) {
f_Park10();
} else if (smashmode) {
if (!chasechris) {
chasechris = true;
talk.gotoAndStop("wait");
game.gotoAndStop(2);
} else {
game.gotoAndStop(3);
}
}
Frame 22
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x + 50, game.door1._y);
}
if (mikealley == 1) {
f_Alley1();
}
Frame 23
f_LevelSetup();
screen = "dressinterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
}
if (smashmode and (!smashed.dressclerk)) {
f_SetXY(p1, game.door1._x, game.door1._y - 80);
f_LookUp(p1);
chat(50, "Johnny you know I've always been good to you, right?");
}
Frame 24
f_LevelSetup();
screen = "flowerinterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
}
if (smashmode and (!smashed.flowerclerk)) {
f_SetXY(p1, game.door1._x, game.door1._y - 80);
f_LookUp(p1);
chat(51, "Uh hi Johnny... You didn't like the flowers?");
}
Frame 25
f_LevelSetup();
screen = "electronicinterior";
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
}
if (smashmode and (!smashed.electronicsclerk)) {
f_SetXY(p1, game.door1._x, game.door1._y - 80);
f_LookUp(p1);
chat(52, "I don't want any trouble, Johnny! You can still walk out that door.");
}
Frame 26
f_LevelSetup();
susan = game.p2;
susan.num = 80;
susan.ghost = true;
f_SetXY(susan, game.spot3._x, game.spot3._y);
susan.stand = "stand_right";
susan.body.body.gotoAndStop(susan.stand);
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
}
if (((day == 7) and worked) and (!coffeeshop)) {
coffeeshop = true;
}
Frame 27
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y - 50);
p1.stand = "stand_up";
p1.body.body.gotoAndStop(p1.stand);
}
f_MissionClear();
if (day == 2) {
f_BankDay2();
} else if (day == 3) {
f_BankDay3();
} else if (day == 4) {
f_BankDay4();
} else if (day == 7) {
f_BankDay7();
} else if (day == 8) {
f_BankDay8();
} else if (day == 9) {
f_BankDay9();
}
Frame 28
f_LevelSetup();
Frame 29
f_LevelSetup();
screen = "policeinterior";
if (smashmode) {
f_SetXY(p1, game.door1._x, game.door1._y - 30);
p1.stand = "stand_up";
p1.body.body.gotoAndStop(p1.stand);
} else {
cop1 = game.p2;
cop1.num = 101;
cop2 = game.p3;
cop2.num = 102;
f_SetXY(cop1, game.spot2._x, game.spot2._y);
f_SetXY(cop2, game.spot3._x, game.spot3._y);
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y - 30);
p1.stand = "stand_up";
p1.body.body.gotoAndStop(p1.stand);
}
if (_root.a_Party[0] == 55) {
chris = game.f1;
mark = game.f2;
f_SetXY(chris, p1._x + 90, p1._y);
f_SetXY(mark, p1._x + 45, p1._y);
game.jailwall.skip = true;
f_DropOffChris();
} else if (cp_theroom >= 50) {
cop1.f_Click = f_Cop1Talk3;
cop1.clicker.gotoAndStop("on");
cop2.f_Click = f_Cop2Talk3;
cop2.clicker.gotoAndStop("on");
} else if (chrisjail) {
chris = game.p4;
chris.num = 55;
f_SetXY(chris, game.spot1._x, game.spot1._y);
chris.f_Click = f_ChrisTaunt;
chris.clicker.gotoAndStop("on");
cop1.f_Click = f_Cop1Talk;
cop1.clicker.gotoAndStop("on");
cop2.f_Click = f_Cop2Talk;
cop2.clicker.gotoAndStop("on");
} else {
cop1.f_Click = f_Cop1Talk2;
cop1.clicker.gotoAndStop("on");
cop2.f_Click = f_Cop2Talk2;
cop2.clicker.gotoAndStop("on");
}
}
Frame 30
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
} else if (door == 2) {
f_SetXY(p1, game.door2._x, game.door2._y);
f_WalktoXY(p1, game.door2._x - 100, game.door2._y);
}
if (cp_dennyroom == 1) {
game.dennypoo.gotoAndPlay("go");
}
Frame 31
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
}
if (!foundroom) {
foundroom = true;
p1.f_Destin = f_FindRoom;
talk.gotoAndStop("wait");
}
Frame 32
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x, game.door1._y - 80);
}
if (_root.tuxhome >= 2) {
game.gotoAndStop(2);
}
Frame 33
f_LevelSetup();
screen = "kitchen";
f_SandwichLoad(sandwich1);
f_SandwichLoad(sandwich2);
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x - 50, game.door1._y);
}
if (makefood == 1) {
f_SetXY(p1, game.door1._x - 50, game.door1._y);
f_SandwichesDone();
} else if (cp_theroom == 80) {
f_EraseSandwich(sandwich1);
f_EraseSandwich(sandwich2);
game.sandwich2._y = game.sandwich2._y + 200;
game.table.gotoAndStop("cookie");
} else if (hothead) {
f_SetXY(p1, game.door1._x - 50, game.door1._y);
chat(1, "I need to cool off before I go back out there.");
textComplete = f_MissionHotHead;
}
Frame 34
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x - 50, game.door1._y);
}
Frame 35
f_LevelSetup();
if (door == 1) {
f_SetXY(p1, game.door1._x, game.door1._y);
f_WalktoXY(p1, game.door1._x + 50, game.door1._y);
}
Frame 36
f_LevelSetup();
f_TryAgain();
Frame 37
f_LevelSetup();
f_SetupRPG();
Frame 38
talk.gotoAndStop(1);
f_FadeIn();
Frame 39
onMouseDown = function () {
clicked = true;
};
onMouseUp = function () {
clicked = false;
};
f_LevelSetup();
f_WrestleStart();
Frame 40
onMouseDown = function () {
clicked = true;
};
onMouseUp = function () {
clicked = false;
};
f_LevelSetup();
f_RaceSetup();
Frame 42
f_FadeIn();
Frame 43
f_Clear();
screen = undefined;
textbox = undefined;
textComplete = undefined;
talk.gotoAndStop("off");
cursor.gotoAndStop(1);
f_FadeIn(2);
f_FadeSong(song8.m_ufo);
f_Timer(180, f_Alien1);
Symbol 9 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 11 MovieClip Frame 10
stop();
Symbol 13 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 25 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 31 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2309 % 511) * true);
return(\x03);
}
var \x01 = (253 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 31 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 31 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 34 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 34 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 34 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 55 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 59 Button
on (release) {
!!!ERROR
Symbol 65 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 67 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 68 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 72 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 73 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 22
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 73 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 103 Button
on (release) {
com.newgrounds.API.loadCustomLink("TomFulp");
}
Symbol 108 Button
on (release) {
com.newgrounds.API.loadCustomLink("JohnnyUtah");
}
Symbol 113 Button
on (release) {
com.newgrounds.API.loadCustomLink("Oney");
}
Symbol 118 Button
on (release) {
com.newgrounds.API.loadCustomLink("IMDB");
}
Symbol 123 Button
on (release) {
_root.gotoAndStop("reset");
}
Symbol 128 Button
on (release) {
com.newgrounds.API.loadCustomLink("DVD");
}
Symbol 133 Button
on (release) {
com.newgrounds.API.loadCustomLink("TheRoomSite");
}
Symbol 147 Button
on (release) {
com.newgrounds.API.loadNewgrounds();
}
Symbol 150 Button
on (release) {
f_FullScreen();
}
Symbol 158 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (load) {
_parent.bar._xscale = 1;
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
_parent.gotoAndStop("loaded");
}
}
onClipEvent (enterFrame) {
var loaded = (_root.getBytesLoaded() / _root.getBytesTotal());
_parent.bar._xscale = 100 * loaded;
if (loaded == 1) {
_parent.gotoAndStop("loaded");
}
}
Symbol 158 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 1
if (_parent._parent.bottle) {
gotoAndStop (2);
} else {
stop();
}
Symbol 201 Button
on (release) {
_root.f_UseDress();
}
Symbol 206 Button
on (release) {
_root.f_UseFlowers();
}
Symbol 210 Button
on (release) {
_root.f_UseRecorder();
}
Symbol 214 Button
on (release) {
_root.f_UseTape();
}
Symbol 218 Button
on (release) {
_root.f_UseTux();
}
Symbol 222 Button
on (release) {
_root.f_UseLettuce();
}
Symbol 226 Button
on (release) {
_root.f_UseTomatoes();
}
Symbol 229 Button
on (release) {
_root.cursor.gotoAndStop("knife");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 231 Button
on (release) {
_root.f_UseKnife();
}
Symbol 235 Button
on (release) {
_root.f_UseLoaf();
}
Symbol 239 Button
on (release) {
_root.f_UseBananas();
}
Symbol 243 Button
on (release) {
_root.f_UseSponge();
}
Symbol 247 Button
on (release) {
_root.f_UseMouse();
}
Symbol 251 Button
on (release) {
_root.f_UseJelly();
}
Symbol 255 Button
on (release) {
_root.f_UsePB();
}
Symbol 259 Button
on (release) {
_root.f_UseDrano();
}
Symbol 263 Button
on (release) {
_root.f_UseHam();
}
Symbol 267 Button
on (release) {
_root.f_UseCheese();
}
Symbol 291 MovieClip Frame 1
stop();
Symbol 292 Button
on (release) {
_root.f_UseTopping();
}
Symbol 295 Button
on (release) {
_root.f_UseGun();
}
Symbol 296 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 296 MovieClip Frame 35
onClipEvent (enterFrame) {
Mouse.hide();
}
Symbol 76 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 74 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 75 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 77 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 78 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 81 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 83 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 82 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 92 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 80 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 1 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 79 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 84 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 85 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 86 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 87 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 88 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 89 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 90 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 91 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 93 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 325 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 326 MovieClip Frame 2
onClipEvent (load) {
trace("HELLO.");
timer = 100;
vol = _root.song.getVolume();
if (!vol) {
vol = 0;
}
newvol = 0;
newsong = _parent.newsong;
newsong.start(0, 1000);
newsong.setVolume(newvol);
}
onClipEvent (enterFrame) {
if (_parent.newsong != newsong) {
_parent.oldsong = newsong;
_root.song.stop();
_root.song = newsong;
_root.song.setVolime(newvol);
timer = 100;
vol = newvol;
newvol = 0;
newsong = _parent.newsong;
newsong.start(0, 1000);
newsong.setVolume(newvol);
}
newvol++;
vol--;
if (vol < 0) {
vol = 0;
}
newsong.setVolume(newvol);
_root.song.setVolume(vol);
timer--;
if (timer <= 0) {
done = true;
_root.song.stop();
_root.song = newsong;
_root.song.setVolume(100);
_parent.gotoAndStop(1);
}
}
Symbol 326 MovieClip Frame 3
gotoAndStop ("fade");
Symbol 329 Button
on (release) {
f_Erase();
gotoAndPlay ("intro");
}
Symbol 332 Button
on (release) {
f_Load();
}
Symbol 335 Button
on (keyPress "s") {
_root.newgame = false;
_root.skipintro = true;
_root.gotoAndStop("bankexterior");
}
Symbol 372 MovieClip Frame 120
_root.f_JustFadeOut(2);
Symbol 372 MovieClip Frame 182
_root.f_FadeIn(2);
Symbol 372 MovieClip Frame 891
_root.f_JustFadeOut(0.5);
Symbol 372 MovieClip Frame 941
_root.f_FadeIn(0.5);
Symbol 372 MovieClip Frame 1262
_root.f_JustFadeOut(0.5);
Symbol 372 MovieClip Frame 1305
_root.gotoAndStop("bankexterior");
stop();
Symbol 374 MovieClip Frame 1
gotoAndStop (2);
Symbol 377 Button
on (release) {
_root.f_InvItem(this, "dress");
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 381 MovieClip Frame 60
if (_root.screen == "theroom") {
gotoAndStop ("blink");
} else {
gotoAndPlay (1);
}
Symbol 382 Button
on (release) {
_root.f_InvItem(this, "flowers");
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 383 Button
on (release) {
_root.f_InvItem(this, "recorder");
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 384 Button
on (release) {
_root.f_InvItem(this, "tux");
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 385 Button
on (release) {
_root.f_InvItem(this, "tape");
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 390 Button
on (release) {
if (((_root.screen == "police") and _root.smashmode) and (!_root.smashed.cops)) {
_root.chat(9, "I can't pull a gun on this many cops!");
} else {
_root.f_InvItem(this, "crosshair");
}
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 2
play();
Symbol 402 MovieClip Frame 15
_x = (random(20) + 5);
_y = (random(20) + 5);
Symbol 402 MovieClip Frame 39
_xscale = (_xscale + 50);
_yscale = (_yscale + 50);
gotoAndPlay (2);
Symbol 430 MovieClip Frame 1
stop();
Symbol 435 Button
on (release) {
play();
}
Symbol 436 Button
on (rollOver) {
if (_root.a_spoons[s]) {
gotoAndStop(s + 1);
}
}
on (rollOut) {
gotoAndStop (1);
}
on (release) {
if (_root.a_spoons[s]) {
_root.f_DescribeSpoon(s);
}
}
Symbol 457 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 2
if (!init) {
init = true;
_root.f_SpoonInv();
}
stop();
Symbol 458 MovieClip Frame 31
stop();
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 1;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 2;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 3;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 4;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 5;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 7;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 6;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 9;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 8;
}
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 31
onClipEvent (load) {
s = 10;
}
Symbol 458 MovieClip Frame 61
gotoAndStop (2);
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 3
play();
Symbol 467 MovieClip Frame 33
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 2
if (_root.phone1) {
if (_root.phone1new) {
_root.phone1new = false;
s1.gotoAndPlay("go");
} else {
s1.gotoAndStop(2);
}
}
if (_root.phone2) {
if (_root.phone2new) {
_root.phone2new = false;
s2.gotoAndPlay("go");
} else {
s2.gotoAndStop(2);
}
}
if (_root.phone3) {
if (_root.phone3new) {
_root.phone3new = false;
s3.gotoAndPlay("go");
} else {
s3.gotoAndStop(2);
}
}
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 3
play();
Symbol 474 MovieClip Frame 30
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
_root.f_DiaryHud(this);
Symbol 540 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 548 Button
on (release) {
_root.f_TextClick();
}
on (keyPress "s") {
_root.f_TextClear();
}
on (keyPress "f") {
_root.f_FullScreen();
}
Symbol 554 Button
on (release) {
_root.f_UpdateMoney(-3);
gotoAndStop ("off");
_root.f_CoffeeOrder();
}
Symbol 555 Button
on (release) {
_root.chat(81, "What size is that?");
_root.f_NextText();
gotoAndStop ("size");
}
Symbol 556 Button
on (release) {
_root.last_order = 3;
_root.chat(81, "What size is that?");
_root.f_NextText();
gotoAndStop ("size");
}
Symbol 557 Button
on (release) {
_root.f_UpdateMoney(-2);
gotoAndStop ("off");
_root.f_CoffeeOrder();
}
Symbol 558 Button
on (release) {
gotoAndStop ("size");
_root.chat(81, "What size is that?");
_root.f_NextText();
}
Symbol 559 Button
on (release) {
_root.f_UpdateMoney(-5);
gotoAndStop ("off");
_root.f_CoffeeOrder();
}
Symbol 560 Button
on (release) {
gotoAndStop ("off");
_root.chat(80, "Let me know if you change your mind!");
_root.f_NextText();
}
Symbol 563 Button
on (release) {
_root.f_UpdateMoney(-2);
_root.last_size = 1;
gotoAndStop ("off");
_root.f_CoffeeOrder();
}
Symbol 564 Button
on (release) {
if (_root.last_order == 3) {
_root.f_Medal("The Johnny");
}
_root.f_UpdateMoney(-3);
_root.last_size = 2;
gotoAndStop ("off");
_root.f_CoffeeOrder();
}
Symbol 565 Button
on (release) {
_root.f_UpdateMoney(-4);
_root.last_size = 3;
gotoAndStop ("off");
_root.f_CoffeeOrder();
}
Symbol 566 Button
on (release) {
gotoAndStop ("on");
_root.chat(80, "Interested in something else?");
_root.f_NextText();
}
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 2
_root.last_size = 0;
_root.last_order = undefined;
Symbol 605 MovieClip Frame 1
stop();
Symbol 610 Button
on (release) {
_root.f_EraseSandwich(sandwich);
gotoAndStop (1);
}
Symbol 615 MovieClip Frame 1
_root.f_AddNeutral(this);
_root.f_Depth(this, 500 - _root.game._y);
gotoAndStop (2);
Symbol 615 MovieClip Frame 3
play();
Symbol 615 MovieClip Frame 85
f_Action();
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 1
if (!_root.textbox) {
gotoAndStop ("off");
}
stop();
Instance of Symbol 157 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_TextBox();
}
Symbol 620 MovieClip Frame 2
coffeemenu.gotoAndStop("off");
tapes.gotoAndStop(1);
books.gotoAndStop(1);
Symbol 620 MovieClip Frame 3
tapes.gotoAndStop(1);
books.gotoAndStop(1);
Symbol 625 Button
on (press) {
_root.f_MusicOff();
}
on (keyPress "f") {
_root.f_FullScreen();
}
Symbol 629 Button
on (press) {
_root.f_MusicOn();
}
on (keyPress "f") {
_root.f_FullScreen();
}
Symbol 630 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
good = false;
Symbol 648 MovieClip Frame 15
good = true;
Symbol 648 MovieClip Frame 21
good = false;
Symbol 648 MovieClip Frame 45
good = true;
Symbol 648 MovieClip Frame 51
good = false;
Symbol 650 Button
on (press) {
thrown = true;
if (meter.good) {
meter.gotoAndStop("good");
} else {
meter.stop();
}
gotoAndPlay ("go");
}
Symbol 657 MovieClip Frame 1
if (_parent._parent.bottle) {
gotoAndStop (2);
} else {
stop();
}
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 2
play();
Symbol 659 MovieClip Frame 20
stop();
Symbol 675 MovieClip Frame 14
thrown = false;
stop();
Symbol 675 MovieClip Frame 15
if (meter.good) {
football.gotoAndStop("good");
} else {
football.gotoAndPlay("bad");
}
play();
Symbol 675 MovieClip Frame 84
if (meter.good) {
_root.f_ThrowPoint();
}
var u = _root.f_TossFootball(_root.p1, _parent.goal, meter.good);
u.f_Destin = _parent.f_Destin;
Symbol 675 MovieClip Frame 105
_parent.gotoAndStop(1);
Symbol 696 MovieClip Frame 25
_root.f_CatchPoint();
Symbol 696 MovieClip Frame 115
_parent.gotoAndStop("throw");
Symbol 706 MovieClip Frame 138
_root.talk.gotoAndStop(1);
stop();
Symbol 770 MovieClip Frame 29
_root.f_ChangeSong(undefined);
Symbol 770 MovieClip Frame 172
_root.f_ChangeSong(_root.song1.m_theme);
Symbol 770 MovieClip Frame 263
_root.f_Fight18();
stop();
Symbol 780 MovieClip Frame 99
_parent.f_Destin();
stop();
Symbol 797 MovieClip Frame 75
_root.f_PartyFight3();
stop();
Symbol 811 MovieClip Frame 1
_root.p1.gotoAndStop("johnnycry");
Symbol 811 MovieClip Frame 60
_root.p1.gotoAndStop("johnnymad");
_root.f_Rage(2);
Symbol 811 MovieClip Frame 234
_root.p1.gotoAndStop("johnnycry");
Symbol 811 MovieClip Frame 301
_root.p1.gotoAndStop("johnnymad");
_root.f_Rage(3);
Symbol 811 MovieClip Frame 422
_root.p1.gotoAndStop("johnnycry");
Symbol 811 MovieClip Frame 550
_root.p1.gotoAndStop("johnnymad");
_root.f_Rage(4);
Symbol 811 MovieClip Frame 749
_root.f_Rage(5);
_root.p1.gotoAndStop("johnnymonster");
stop();
Symbol 821 MovieClip Frame 20
gotoAndPlay (1);
Symbol 846 MovieClip Frame 304
_root.f_DrugRPGIntro2();
stop();
Symbol 858 MovieClip Frame 279
_root.f_RPGFinalFight2();
stop();
Symbol 874 MovieClip Frame 325
_root.f_BankRPGIntro2();
stop();
Symbol 876 MovieClip Frame 1
x = _root.game._x;
y = _root.game._y;
Instance of Symbol 157 MovieClip in Symbol 876 MovieClip Frame 2
onClipEvent (load) {
timer = 1;
}
onClipEvent (enterFrame) {
timer++;
if ((timer % 2) == 0) {
if (!down) {
down = true;
_root.game._x = _root.game._x + 2;
_root.game._y = _root.game._y - 2;
} else {
down = false;
_root.game._x = _root.game._x - 2;
_root.game._y = _root.game._y + 2;
}
}
}
Symbol 876 MovieClip Frame 80
_root.game._x = x;
_root.game._y = y;
Symbol 876 MovieClip Frame 140
_root.f_Earthquake2();
stop();
Symbol 897 MovieClip Frame 362
_root.f_SmashMedal();
_root.talk.gotoAndStop(1);
stop();
Symbol 898 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 2
_root.f_FadeIn();
play();
Symbol 899 MovieClip Frame 3
stop();
Symbol 899 MovieClip Frame 4
_root.f_FadeOut();
play();
Symbol 899 MovieClip Frame 5
stop();
Symbol 899 MovieClip Frame 35
_root.f_FadeOut(2);
play();
Symbol 899 MovieClip Frame 36
stop();
Symbol 899 MovieClip Frame 37
_root.f_FadeIn(2);
play();
Symbol 899 MovieClip Frame 38
stop();
Symbol 900 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 2
play();
Symbol 900 MovieClip Frame 3
total--;
if (total <= 0) {
f_TimeDone();
gotoAndStop (1);
} else {
gotoAndPlay ("go");
}
Symbol 907 Button
on (release) {
_root.f_ShowMission();
}
Instance of Symbol 157 MovieClip in Symbol 908 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_MissionTimer();
}
Symbol 919 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 2
play();
Symbol 926 MovieClip Frame 9
stop();
Instance of Symbol 157 MovieClip in Symbol 926 MovieClip Frame 9
onClipEvent (enterFrame) {
_root.f_MoneyAdjust(_parent);
}
Symbol 926 MovieClip Frame 10
play();
Symbol 926 MovieClip Frame 71
stop();
Symbol 979 MovieClip Frame 1
stop();
Symbol 979 MovieClip Frame 2
play();
Symbol 979 MovieClip Frame 182
stop();
Symbol 988 MovieClip Frame 1
if (_root.cp_theroom < 100) {
gotoAndStop (2);
} else {
stop();
}
Symbol 991 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1001 MovieClip Frame 121
stop();
Instance of Symbol 157 MovieClip in Symbol 1004 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x - 0.2;
}
Symbol 1004 MovieClip Frame 40
_parent._visible = false;
Symbol 1004 MovieClip Frame 42
_parent._visible = true;
Symbol 1004 MovieClip Frame 46
_parent._visible = false;
Symbol 1004 MovieClip Frame 48
_parent._visible = true;
Symbol 1004 MovieClip Frame 52
_parent._visible = false;
Symbol 1004 MovieClip Frame 54
_parent._visible = true;
Symbol 1004 MovieClip Frame 58
_parent._visible = false;
Symbol 1004 MovieClip Frame 60
_parent._visible = true;
Symbol 1004 MovieClip Frame 63
_parent._visible = false;
Symbol 1004 MovieClip Frame 65
_parent._visible = true;
Symbol 1004 MovieClip Frame 68
_parent._visible = false;
Symbol 1004 MovieClip Frame 70
_parent._visible = true;
Symbol 1004 MovieClip Frame 73
_parent._visible = false;
Symbol 1004 MovieClip Frame 75
_parent._visible = true;
Symbol 1004 MovieClip Frame 77
_parent._visible = false;
Symbol 1004 MovieClip Frame 79
_parent._visible = true;
Symbol 1004 MovieClip Frame 81
_parent._visible = false;
Symbol 1004 MovieClip Frame 83
_parent._visible = true;
Symbol 1004 MovieClip Frame 85
_parent._visible = false;
Symbol 1004 MovieClip Frame 86
_parent._visible = true;
Symbol 1004 MovieClip Frame 87
_parent._visible = false;
Symbol 1004 MovieClip Frame 88
_parent._visible = true;
Symbol 1004 MovieClip Frame 89
_parent._visible = false;
Symbol 1004 MovieClip Frame 94
stop();
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 2
if (_root.smashed.cdshelf) {
gotoAndStop ("off");
}
Symbol 1005 MovieClip Frame 3
_root.smashed.cdshelf = true;
_root.f_SmashMedal();
Symbol 1011 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1015 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 2
if (_root.smashed.candle1) {
gotoAndStop ("off");
}
Symbol 1015 MovieClip Frame 3
_root.smashed.candle1 = true;
_root.f_SmashMedal();
Symbol 1018 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1022 MovieClip Frame 1
stop();
Symbol 1022 MovieClip Frame 2
if (_root.smashed.crates) {
gotoAndStop ("off");
}
Symbol 1022 MovieClip Frame 3
_root.smashed.crates = true;
_root.f_SmashMedal();
Symbol 1032 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 1053 MovieClip Frame 109
if (!_root.unsee_couch) {
_root.unsee_couch = true;
_root.f_Unsee();
}
Symbol 1054 MovieClip Frame 1
if (_root.cp_theroom == 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1055 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 1058 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 1061 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 1065 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 1068 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1079 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Symbol 1079 MovieClip Frame 3
if (_root.smashed.fruit) {
gotoAndStop ("off");
}
Symbol 1079 MovieClip Frame 6
_root.smashed.fruit = true;
_root.f_SmashMedal();
Symbol 1083 MovieClip Frame 1
stop();
Symbol 1085 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1086 Button
on (release) {
if (_root.needshower) {
_root.chat(1, "I should take a shower first.");
} else if (_root.havetape) {
_root.chat(1, "I should continue to record everything before I go.");
} else if (_root.ringing) {
_root.chat(1, "I should answer the phone first.");
} else if (_root.makefood == 1) {
_root.chat(1, "I should go to the kitchen and make a snack!");
} else if (_root.bedtime) {
_root.chat(1, "I should get to bed.");
} else if (_root.cp_theroom == 80) {
_root.chat(10, "You can't leave without your birthday cookie!");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1087 Button
on (release) {
if (_root.ringing) {
_root.chat(1, "I should answer the phone first.");
} else if (_root.tuxhome == 2) {
_root.chat(1, "I don't think these guys wanna see my bedroom.");
} else if (_root.makefood == 1) {
_root.chat(1, "I should go to the kitchen and make a snack!");
} else if ((_root.cp_theroom >= 100) and (_root.cp_theroom <= 110)) {
_root.chat(1, "This is party time, I can't go hide in my room!");
} else {
_root.f_WalktoXY(_root.p1, event2._x, event2._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_stairsup");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1088 Button
on (release) {
_root.chat(1, "SPOOOOOOOON!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1091 Button
on (release) {
_root.chat(1, "Hai Painting! You're my favorite.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1092 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1096 MovieClip Frame 1
stop();
Symbol 1096 MovieClip Frame 2
if (_root.smashed.painting1) {
gotoAndStop ("off");
}
Symbol 1096 MovieClip Frame 3
_root.smashed.painting1 = true;
_root.f_SmashMedal();
Symbol 1097 Button
on (release) {
_root.f_Phone();
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1098 Button
on (release) {
if (_root.needshower) {
_root.chat(1, "I should take a shower first.");
} else if (_root.ringing) {
_root.chat(1, "I should answer the phone first.");
} else {
_root.f_WalktoXY(_root.p1, event3._x, event3._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_left");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1099 Button
on (release) {
_root.chat(1, "That is my least favorite painting.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1100 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1101 MovieClip Frame 2
if (_root.smashed.painting3) {
gotoAndStop ("off");
}
Symbol 1101 MovieClip Frame 3
_root.smashed.painting3 = true;
_root.f_SmashMedal();
Symbol 1104 Button
on (release) {
_root.chat(1, "Hai Painting!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1105 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1108 MovieClip Frame 1
stop();
Symbol 1108 MovieClip Frame 2
if (_root.smashed.painting2) {
gotoAndStop ("off");
}
Symbol 1108 MovieClip Frame 3
_root.smashed.painting2 = true;
_root.f_SmashMedal();
Symbol 1112 Button
on (release) {
_root.chat(1, "HAI TV!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1113 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 1114 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 2
if (_root.smashed.tv) {
gotoAndStop ("off");
}
Symbol 1114 MovieClip Frame 3
_root.smashed.tv = true;
_root.fmv.gotoAndStop("tvsmash");
Symbol 1115 MovieClip Frame 1
_root.f_AddEvent(this);
stop();
Symbol 1115 MovieClip Frame 2
stop();
Symbol 1137 MovieClip Frame 1
stop();
Symbol 1159 MovieClip Frame 1
stop();
Symbol 1181 MovieClip Frame 1
stop();
Symbol 1203 MovieClip Frame 1
stop();
Symbol 1225 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1269 MovieClip Frame 1
stop();
Symbol 1308 MovieClip Frame 529
stop();
Symbol 1309 MovieClip Frame 1
stop();
Symbol 1351 MovieClip Frame 441
_parent._parent._parent.stand = "stand_left";
_parent.gotoAndStop("stand_left");
stop();
Symbol 1352 MovieClip Frame 1
stop();
Symbol 1374 MovieClip Frame 1
stop();
Symbol 1394 MovieClip Frame 1
stop();
Symbol 1416 MovieClip Frame 1
stop();
Symbol 1438 MovieClip Frame 1
stop();
Symbol 1460 MovieClip Frame 1
stop();
Symbol 1482 MovieClip Frame 1
stop();
Symbol 1504 MovieClip Frame 1
stop();
Symbol 1526 MovieClip Frame 1
stop();
Symbol 1548 MovieClip Frame 1
stop();
Symbol 1568 MovieClip Frame 1
stop();
Symbol 1590 MovieClip Frame 1
stop();
Symbol 1612 MovieClip Frame 1
stop();
Symbol 1634 MovieClip Frame 1
stop();
Symbol 1656 MovieClip Frame 1
stop();
Symbol 1678 MovieClip Frame 1
stop();
Symbol 1700 MovieClip Frame 1
stop();
Symbol 1722 MovieClip Frame 1
stop();
Symbol 1744 MovieClip Frame 1
stop();
Symbol 1766 MovieClip Frame 1
stop();
Symbol 1788 MovieClip Frame 1
stop();
Symbol 1810 MovieClip Frame 1
stop();
Symbol 1832 MovieClip Frame 1
stop();
Symbol 1854 MovieClip Frame 1
stop();
Symbol 1876 MovieClip Frame 1
stop();
Symbol 1898 MovieClip Frame 1
stop();
Symbol 1920 MovieClip Frame 1
stop();
Symbol 1942 MovieClip Frame 1
stop();
Symbol 1964 MovieClip Frame 1
stop();
Symbol 1986 MovieClip Frame 1
stop();
Symbol 2008 MovieClip Frame 1
stop();
Symbol 2030 MovieClip Frame 1
stop();
Symbol 2052 MovieClip Frame 1
stop();
Symbol 2074 MovieClip Frame 1
stop();
Symbol 2096 MovieClip Frame 1
stop();
Symbol 2118 MovieClip Frame 1
stop();
Symbol 2140 MovieClip Frame 1
stop();
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2184 MovieClip Frame 1
stop();
Symbol 2206 MovieClip Frame 1
stop();
Symbol 2228 MovieClip Frame 1
stop();
Symbol 2250 MovieClip Frame 1
stop();
Symbol 2272 MovieClip Frame 1
stop();
Symbol 2294 MovieClip Frame 1
stop();
Symbol 2316 MovieClip Frame 1
stop();
Symbol 2338 MovieClip Frame 1
stop();
Symbol 2360 MovieClip Frame 1
stop();
Symbol 2382 MovieClip Frame 1
stop();
Symbol 2397 MovieClip Frame 1
stop();
Symbol 2412 MovieClip Frame 1
stop();
Symbol 2434 MovieClip Frame 1
stop();
Symbol 2435 MovieClip Frame 1
if (_parent.num) {
gotoAndStop(_parent.num);
if (_parent.stand) {
body.gotoAndStop(_parent.stand);
}
} else {
stop();
}
Symbol 2436 MovieClip Frame 1
gotoAndStop (2);
Symbol 2437 Button
on (release) {
_parent.f_Click(_parent);
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2438 MovieClip Frame 1
stop();
Symbol 2451 MovieClip Frame 120
_root.f_TuxFootball16();
stop();
Symbol 2483 MovieClip Frame 1
x = _root.game._x;
y = _root.game._y;
_root.f_FadeSong(undefined);
Instance of Symbol 157 MovieClip in Symbol 2483 MovieClip Frame 2
onClipEvent (load) {
timer = 1;
}
onClipEvent (enterFrame) {
timer++;
if ((timer % 2) == 0) {
if (!down) {
down = true;
_root.game._x = _root.game._x + 2;
_root.game._y = _root.game._y - 2;
} else {
down = false;
_root.game._x = _root.game._x - 2;
_root.game._y = _root.game._y + 2;
}
}
}
Symbol 2483 MovieClip Frame 229
_root.game._x = x;
_root.game._y = y;
Symbol 2483 MovieClip Frame 260
_root.f_ChangeSong(_root.song6.m_rage);
_root.ragemeter.gotoAndStop(1);
_root.talk.gotoAndStop(1);
_root.game._y = game_y;
_root.smashmode = true;
_root.f_SmashModeTheRoom();
_root.f_ChangeJohnny(8);
_root.p1.gotoAndStop("on");
stop();
Symbol 2561 MovieClip Frame 42
_root.f_Suicide3();
stop();
Symbol 2561 MovieClip Frame 43
play();
Symbol 2561 MovieClip Frame 194
_root.f_ChangeSong(undefined);
Symbol 2561 MovieClip Frame 508
_root.f_JohnnyDead();
stop();
Symbol 2591 MovieClip Frame 557
_root.f_Ending13();
stop();
Symbol 2611 MovieClip Frame 122
_parent.stand = "stand_down";
_parent.gotoAndStop(1);
stop();
Symbol 2618 MovieClip Frame 90
_parent.f_Destin();
_parent.stand = "stand_left";
_parent.gotoAndStop(1);
Symbol 2623 MovieClip Frame 35
_root.f_Sound(_root.s_hit);
Symbol 2623 MovieClip Frame 105
_root.f_SetXY(_parent, _parent._x - 30, _parent._y);
_parent.stand = "stand_right";
_parent.gotoAndStop(1);
Symbol 2630 MovieClip Frame 1
_root.f_InitChar(this);
stop();
Instance of Symbol 157 MovieClip in Symbol 2630 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_Controls(_parent);
}
Symbol 2630 MovieClip Frame 9
_root.f_ChangeSong(_root.song12.m_flyaway, true);
Symbol 2648 MovieClip Frame 1
if (_root.cp_theroom == 82) {
_root.f_AddNeutral(this);
gotoAndStop (2);
} else {
stop();
}
Symbol 2651 MovieClip Frame 1
if (_root.cp_theroom == 82) {
gotoAndStop (2);
} else {
stop();
}
Symbol 2666 MovieClip Frame 284
if (!_root.unsee_balloon) {
_root.unsee_balloon = true;
_root.f_Unsee();
}
Symbol 2667 MovieClip Frame 1
if (_root.cp_theroom == 82) {
_root.f_AddNeutral(this);
gotoAndStop (2);
} else {
stop();
}
Symbol 2679 MovieClip Frame 61
stop();
Symbol 2709 MovieClip Frame 1
_root.f_InitFX(this);
stop();
Symbol 2709 MovieClip Frame 3
body._y = -random(50);
Instance of Symbol 157 MovieClip in Symbol 2709 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.f_FootballFly(_parent);
}
Symbol 2713 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 2716 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 2717 MovieClip Frame 1
_root.f_AddWall(this, wall);
stop();
Symbol 2717 MovieClip Frame 2
stop();
Symbol 2728 MovieClip Frame 1
stop();
Symbol 2728 MovieClip Frame 2
_root.f_AddNeutral(this);
Symbol 2730 MovieClip Frame 1
stop();
Symbol 2730 MovieClip Frame 2
play();
Symbol 2730 MovieClip Frame 60
f_Destin();
stop();
Instance of Symbol 1115 MovieClip "event1" in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y + 100);
_root.door = 1;
_root.fader.destin = "foyer1";
_root.f_FadeOut();
}
}
Instance of Symbol 1115 MovieClip "event2" in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "bedroom";
if (_root.cp_bedroom == 120) {
_root.f_FadeOut(3);
} else {
_root.f_FadeOut();
}
}
}
Instance of Symbol 1115 MovieClip "event3" in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 100, _y);
_root.door = 1;
_root.fader.destin = "kitchen";
_root.f_FadeOut();
}
}
Instance of Symbol 2717 MovieClip "wall3" in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip "wall4" in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip "wall1" in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip in Symbol 2731 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Symbol 2755 MovieClip Frame 1
stop();
Symbol 2755 MovieClip Frame 2
active = true;
play();
Symbol 2755 MovieClip Frame 45
spoon.gotoAndStop(spoon_type);
Symbol 2755 MovieClip Frame 72
if (!_root.musicoff) {
_root.song.setVolume(50);
}
Symbol 2755 MovieClip Frame 193
if (!_root.musicoff) {
_root.song.setVolume(100);
}
active = false;
Symbol 2755 MovieClip Frame 244
stop();
Symbol 2769 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2773 MovieClip Frame 1
stop();
Symbol 2773 MovieClip Frame 2
if (_root.smashed.candle3) {
gotoAndStop ("off");
}
Symbol 2773 MovieClip Frame 3
_root.smashed.candle3 = true;
_root.f_SmashMedal();
Symbol 2779 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndPlay ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2786 MovieClip Frame 1
stop();
Symbol 2786 MovieClip Frame 2
if (_root.smashed.dress) {
gotoAndStop ("off");
}
Symbol 2786 MovieClip Frame 3
_root.smashed.dress = true;
_root.f_SmashMedal();
play();
Symbol 2786 MovieClip Frame 35
stop();
Symbol 2789 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2792 MovieClip Frame 1
stop();
Symbol 2792 MovieClip Frame 2
if (_root.smashed.candle3) {
gotoAndStop ("off");
}
Symbol 2792 MovieClip Frame 3
_root.smashed.candle2 = true;
_root.f_SmashMedal();
Symbol 2795 Button
on (release) {
_root.chat(1, "Looking good, Johnny.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2796 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2797 MovieClip Frame 1
stop();
Symbol 2797 MovieClip Frame 2
if (_root.smashed.mirror) {
gotoAndStop ("off");
}
Symbol 2797 MovieClip Frame 3
_root.smashed.mirror = true;
Symbol 2798 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2808 MovieClip Frame 22
stop();
Symbol 2809 MovieClip Frame 1
stop();
Symbol 2809 MovieClip Frame 2
if (_root.smashed.mirror) {
gotoAndStop ("off");
}
Symbol 2809 MovieClip Frame 3
_root.smashed.mirror = true;
_root.f_SmashMedal();
Symbol 2812 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 2815 Button
on (release) {
_root.chat(1, "What a great metaphor!", undefined, undefined, 1);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2816 Button
on (release) {
_root.chat(1, "There is no one to call.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2817 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2821 Button
on (release) {
_root.havegun = true;
_root.f_GetItem("gun");
gotoAndStop ("blank");
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2822 MovieClip Frame 30
stop();
Symbol 2826 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Symbol 2826 MovieClip Frame 2
if (_root.smashed.dresser) {
gotoAndStop ("off");
} else {
_root.f_AddNeutral(this);
}
Symbol 2826 MovieClip Frame 3
_root.smashed.dresser = true;
_root.f_SmashMedal();
Symbol 2826 MovieClip Frame 4
if (!_root.havegun) {
gun.gotoAndStop("end");
} else {
gun.gotoAndStop("blank");
}
Symbol 2829 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2832 MovieClip Frame 1
stop();
Symbol 2832 MovieClip Frame 2
if (_root.smashed.sheet2) {
gotoAndStop ("off");
}
Symbol 2832 MovieClip Frame 3
_root.smashed.sheet2 = true;
_root.f_SmashMedal();
Symbol 2835 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2838 MovieClip Frame 1
stop();
Symbol 2838 MovieClip Frame 2
if (_root.smashed.sheet1) {
gotoAndStop ("off");
}
Symbol 2838 MovieClip Frame 3
_root.smashed.sheet1 = true;
_root.f_SmashMedal();
Symbol 2841 MovieClip Frame 1
if (_root.cp_theroom < 6) {
gotoAndStop (2);
} else {
stop();
}
Symbol 2845 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2846 MovieClip Frame 1
stop();
Symbol 2846 MovieClip Frame 2
if (_root.smashed.candle4) {
gotoAndStop ("off");
}
Symbol 2846 MovieClip Frame 3
_root.smashed.candle4 = true;
_root.f_SmashMedal();
Symbol 2853 MovieClip Frame 1
stop();
Symbol 2854 Button
on (release) {
_root.f_WalktoXY(p1, event2._x, event2._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2866 MovieClip Frame 450
gotoAndPlay (1);
Symbol 2868 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Symbol 2868 MovieClip Frame 2
play();
Symbol 2868 MovieClip Frame 160
_root.talk.gotoAndStop(1);
Symbol 2868 MovieClip Frame 522
stop();
Symbol 2877 MovieClip Frame 1
stop();
Symbol 2877 MovieClip Frame 2
play();
Symbol 2878 Button
on (rollOver) {
_root.cursor.gotoAndStop(1);
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2888 Button
on (release) {
_root.f_PickOutfit(1, this);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2891 Button
on (release) {
_root.f_PickOutfit(6, this);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2892 MovieClip Frame 1
if ((((_root.outfit == 1) or (_root.outfit == 6)) or (_root.outfit == 7)) or (_root.outfit == 8)) {
gotoAndStop ("off");
} else if (_root.day == 9) {
gotoAndStop ("bluesuit");
} else {
stop();
}
Symbol 2896 Button
on (release) {
_root.f_PickOutfit(2, this);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2897 MovieClip Frame 1
if (_root.outfit == 2) {
gotoAndStop ("off");
} else {
stop();
}
Symbol 2901 Button
on (release) {
_root.f_PickOutfit(3, this);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2902 MovieClip Frame 1
if (_root.outfit == 3) {
gotoAndStop ("off");
} else {
stop();
}
Symbol 2904 MovieClip Frame 1
_root.f_AddNeutral(this);
Instance of Symbol 157 MovieClip in Symbol 2904 MovieClip Frame 1
onClipEvent (load) {
x = _x + _parent._x;
y = _y + _parent._y;
p1 = _root.p1;
}
onClipEvent (enterFrame) {
if (p1.x < x) {
if (p1.y < y) {
_parent.gotoAndPlay("off");
}
}
}
Symbol 2904 MovieClip Frame 2
stop();
Symbol 2904 MovieClip Frame 3
play();
Symbol 2904 MovieClip Frame 32
stop();
Instance of Symbol 157 MovieClip in Symbol 2904 MovieClip Frame 32
onClipEvent (load) {
x = _x + _parent._x;
y = _y + _parent._y;
p1 = _root.p1;
}
onClipEvent (enterFrame) {
if ((p1.x > x) or (p1.y > y)) {
_parent.gotoAndPlay("on");
}
}
Symbol 2904 MovieClip Frame 33
play();
Symbol 2904 MovieClip Frame 61
gotoAndStop (2);
Symbol 2908 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 2912 MovieClip Frame 1
stop();
Symbol 2916 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 2918 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2919 Button
on (release) {
if (_root.needshower) {
_root.chat(1, "I should take a shower first!");
} else if (_root.bedtime) {
_root.f_ComeToBed();
} else if (_root.outfit == 9) {
_root.chat(1, "I better put on clothes!");
} else {
_root.f_WalktoMouse();
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_stairsdown");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2920 Button
on (release) {
bidet.gotoAndPlay("go");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2921 Button
on (release) {
_root.f_ComeToBed();
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2922 MovieClip Frame 1
stop();
Symbol 2923 Button
on (release) {
if (_root.havetape) {
_root.chat(1, "I should put my tape in here!");
} else {
_root.chat(1, "If I had a tape I could listen to it here.");
}
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2924 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2925 MovieClip Frame 1
stop();
Symbol 2925 MovieClip Frame 2
if (_root.smashed.fatcandle) {
gotoAndStop ("off");
}
Symbol 2925 MovieClip Frame 3
_root.smashed.fatcandle = true;
Symbol 2926 Button
on (release) {
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2927 MovieClip Frame 1
stop();
Symbol 2927 MovieClip Frame 2
if (_root.smashed.candleabra2) {
gotoAndStop ("off");
}
Symbol 2927 MovieClip Frame 3
_root.smashed.candleabra2 = true;
Instance of Symbol 1115 MovieClip "event1" in Symbol 2928 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 2;
_root.fader.destin = "theroom";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event2" in Symbol 2928 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_TakeShower();
}
}
Instance of Symbol 2717 MovieClip in Symbol 2928 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Instance of Symbol 2717 MovieClip in Symbol 2928 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip in Symbol 2928 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 2;
}
Instance of Symbol 2717 MovieClip in Symbol 2928 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 2;
}
Symbol 2933 MovieClip Frame 1
if (_root.cp_theroom >= 100) {
gotoAndStop (2);
} else {
stop();
}
Symbol 2938 MovieClip Frame 1
stop();
Symbol 2942 MovieClip Frame 1
if (_root.cp_theroom > 1) {
gotoAndStop ("blank");
}
Symbol 2944 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2945 Button
on (release) {
if (((_root.day == 2) and (!_root.gotflowers)) and _root.worked) {
_root.chat(1, "I should give Lisa flowers before I break the news about my promotion.");
} else if (_root.confront == 1) {
_root.chat(1, "I better see what that bitch Claudette wants first.");
} else if (((_root.day == 7) and _root.worked) and (!_root.coffeeshop)) {
_root.chat(1, "I don't wanna be late for my coffee date with Mark!");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2946 Button
on (release) {
if (!_root.worked) {
_root.chat(1, "I better get to work!");
} else if (_root.drugfight == 1) {
_root.chat(1, "I better go see what Denny is screaming about!");
} else {
_root.f_WalktoMouse();
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_right");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2947 Button
on (release) {
if (_root.drugfight == 1) {
_root.chat(1, "I better go see what Denny is screaming about!");
} else if (_root.starving) {
_root.chat(20, "The coffee shop is the other way, Johnny.");
} else {
_root.f_WalktoMouse();
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_left");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2948 Button
on (release) {
if (!_root.worked) {
_root.chat(1, "I better get to work!");
} else if (_root.drugfight == 1) {
_root.chat(1, "I better go see what Denny is screaming about!");
} else {
_root.f_WalktoXY(_root.p1, event2._x, event2._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2949 MovieClip Frame 1
if (_root.cp_theroom < 100) {
_root.f_AddWall(this, wall);
stop();
} else {
gotoAndStop (2);
}
Symbol 2949 MovieClip Frame 2
stop();
Instance of Symbol 1115 MovieClip "event1" in Symbol 2950 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 4;
_root.fader.destin = "foyer1";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 2950 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "dressexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 2950 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "flowerexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event2" in Symbol 2950 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "alley";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 2958 MovieClip Frame 1
stop();
Symbol 2961 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 2962 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2963 Button
on (release) {
if ((_root.rage > 0) and (_root.rage < 4)) {
_root.chat(1, "I better go to the roof and cool off first.");
} else if (_root.starving) {
_root.chat(20, "I'm starving! We should hit the coffee shop.");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2964 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_right");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2965 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_left");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2966 Button
on (release) {
_root.f_WalktoXY(_root.p1, event2._x, event2._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2967 Button
on (release) {
_root.chat(1, "What a great place to blow off steam.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2968 Button
on (release) {
_root.chat(1, "You are my favorite movie!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2969 Button
on (release) {
_root.chat(1, "My Lisa likes flowers!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 2970 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "theroom";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 2970 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 2;
_root.fader.destin = "foyer2";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 2970 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 1;
_root.fader.destin = "foyer3";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event2" in Symbol 2970 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "aptexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 2976 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2979 Button
on (release) {
_root.f_WalktoXY(_root.p1, _parent.event4._x, _parent.event4._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2980 MovieClip Frame 1
_root.game._y = _root.game._y - 4;
Symbol 2980 MovieClip Frame 2
_root.game._y = _root.game._y + 4;
Symbol 2980 MovieClip Frame 3
_root.game._y = _root.game._y - 3;
Symbol 2980 MovieClip Frame 4
_root.game._y = _root.game._y + 3;
Symbol 2980 MovieClip Frame 5
_root.game._y = _root.game._y - 2;
Symbol 2980 MovieClip Frame 6
_root.game._y = _root.game._y + 2;
Symbol 2980 MovieClip Frame 7
stop();
Symbol 2981 MovieClip Frame 1
if (_root.smashed.crack) {
gotoAndStop ("off");
} else if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 2981 MovieClip Frame 3
_root.smashed.crack = true;
Symbol 2986 MovieClip Frame 150
stop();
Symbol 2987 MovieClip Frame 1
stop();
Symbol 2988 Button
on (release) {
if (_root.a_Party[0] == 55) {
_root.chat(1, "We gotta take Chris R to the police!");
} else if (_root.cp_theroom == 102) {
_root.chat(60, "We're gonna check on Lisa, remember?");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_stairsup");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2989 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_right");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 2990 Button
on (release) {
if ((_root.a_Party[0] == 20) and (_root.drugfight == 4)) {
dennysearch.found = true;
_root.f_DennyHome();
} else if (_root.a_Party[0] == 55) {
_root.chat(1, "We gotta take Chris R to the police!");
} else if (_root.starving) {
_root.chat(20, "You said we were going to eat! The coffee shop is still open.");
} else {
_root.f_WalktoXY(_root.p1, event2._x, event2._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 2991 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "roof";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 2991 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "foyer1";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event2" in Symbol 2991 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "dennyroom";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event4" in Symbol 2991 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
if (_root.smashed.crack) {
_root.door = 1;
_root.fader.destin = "secretroom";
_root.fader.gotoAndPlay("fadeout");
}
}
}
Instance of Symbol 297 MovieClip "dennysearch" in Symbol 2991 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_DennySearch(this);
}
Symbol 3011 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3013 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3014 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_left");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3015 Button
on (release) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip in Symbol 3016 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "foyer1";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3016 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_EnterMark();
_root.door = 1;
_root.fader.destin = "markroom";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 3016 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 2;
}
Symbol 3031 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 3031 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.f_RoofDoor(_parent)) {
_parent.gotoAndPlay("open");
}
}
Symbol 3031 MovieClip Frame 2
play();
Symbol 3031 MovieClip Frame 30
if (_root.f_RoofDoor(this)) {
gotoAndPlay ("opened");
}
Symbol 3031 MovieClip Frame 31
play();
Symbol 3031 MovieClip Frame 33
gotoAndStop (1);
Symbol 3036 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Symbol 3039 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3040 Button
on (release) {
if (_root.drugfight == 1) {
_root.chat(1, "We can't just leave Denny behind, he's like a son to me!");
} else if (_root.cp_theroom == 101) {
_root.chat(1, "I can't just walk out on my party!");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_stairsdown");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3045 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3048 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3051 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3103 MovieClip Frame 153
stop();
Symbol 3104 MovieClip Frame 1
stop();
Symbol 3104 MovieClip Frame 2
play();
Symbol 3104 MovieClip Frame 453
_root.game._y = _root.game._y + 4;
Symbol 3104 MovieClip Frame 455
_root.game._y = _root.game._y - 4;
Symbol 3104 MovieClip Frame 457
_root.game._y = _root.game._y + 3;
Symbol 3104 MovieClip Frame 459
_root.game._y = _root.game._y - 3;
Symbol 3104 MovieClip Frame 531
_root.f_FadeSong(_root.song9.m_party);
stop();
Instance of Symbol 157 MovieClip in Symbol 3104 MovieClip Frame 531
onClipEvent (enterFrame) {
if (_root.game._y < _root.game_default_y) {
_root.game._y = _root.game._y + 4;
_root.sky._y = _root.sky._y + 2;
} else {
_root.game._y = _root.game_default_y;
_root.f_RoofDepths();
_root.talk.gotoAndStop(1);
_parent.gotoAndStop("end");
}
}
Symbol 3104 MovieClip Frame 738
stop();
Symbol 3111 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 3111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.f_RoofDoor(_parent)) {
_parent.gotoAndPlay("open");
}
}
Symbol 3111 MovieClip Frame 2
play();
Symbol 3111 MovieClip Frame 30
if (_root.f_RoofDoor(this)) {
gotoAndPlay ("opened");
}
Symbol 3111 MovieClip Frame 31
play();
Symbol 3111 MovieClip Frame 33
gotoAndStop (1);
Symbol 3112 MovieClip Frame 1
stop();
Instance of Symbol 1115 MovieClip "event1" in Symbol 3112 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "foyer2";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3112 MovieClip Frame 2
wallover.gotoAndStop(2);
Instance of Symbol 2717 MovieClip in Symbol 3112 MovieClip Frame 2
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip in Symbol 3112 MovieClip Frame 2
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip in Symbol 3112 MovieClip Frame 2
onClipEvent (load) {
wall.walltype = 3;
}
Symbol 3116 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3117 Button
on (release) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3118 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_right");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3119 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_EnterShop();
_root.door = 1;
_root.fader.destin = "dressinterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3119 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "bankexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3119 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "aptexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3135 MovieClip Frame 340
stop();
Symbol 3147 MovieClip Frame 1
stop();
Symbol 3147 MovieClip Frame 3
play();
Symbol 3147 MovieClip Frame 14
play();
Symbol 3147 MovieClip Frame 16
gotoAndStop (1);
Symbol 3147 MovieClip Frame 17
_root.smashed.bankdoor = true;
Symbol 3159 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
if (!_root.newgame) {
_root.cursor.gotoAndStop("walk");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3176 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Symbol 3176 MovieClip Frame 2
play();
Symbol 3176 MovieClip Frame 174
_root.f_Earthquake4();
stop();
Symbol 3176 MovieClip Frame 175
play();
Symbol 3176 MovieClip Frame 239
_root.f_Earthquake6();
stop();
Symbol 3176 MovieClip Frame 240
play();
Symbol 3176 MovieClip Frame 290
_root.f_LookDown(_root.p1);
Symbol 3176 MovieClip Frame 557
_root.f_Earthquake12();
Symbol 3176 MovieClip Frame 640
stop();
Symbol 3177 Button
on (release) {
if (!_root.newgame) {
if (_root.smashmode) {
if (_root.smashed.boss) {
_root.chat(9, "The bank is closed. Forever.");
} else if (_root.smashed.bankdoor) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
} else {
bank.door.gotoAndStop("die");
_root.cursor.gotoAndStop("exit_door");
}
} else if (!_root.worked) {
if ((_root.outfit == 1) or (_root.outfit == 6)) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
} else {
_root.chat(1, "I can't show up for work in this outfit!");
}
} else {
_root.chat(1, "The bank is closed.");
}
}
}
on (rollOver) {
if (_root.smashmode and (!_root.smashed.bankdoor)) {
_root.cursor.gotoAndStop("smash");
} else {
_root.cursor.gotoAndStop("exit_door");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3178 Button
on (release) {
if (!_root.newgame) {
if (_root.flowertalk == 1) {
_root.chat(1, "I better see what Claudette wants today.");
} else {
_root.f_WalktoMouse();
}
}
}
on (rollOver) {
if (!_root.newgame) {
_root.cursor.gotoAndStop("exit_right");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3179 Button
on (release) {
if (!_root.newgame) {
if (_root.flowertalk == 1) {
_root.chat(1, "I better see what Claudette wants today.");
} else {
_root.f_WalktoMouse();
}
}
}
on (rollOver) {
if (!_root.newgame) {
_root.cursor.gotoAndStop("exit_left");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3180 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
if (_root.smashmode) {
_root.f_FadeSong(undefined);
_root.fader.destin = "bankfight";
_root.fader.gotoAndPlay("fadeout");
} else if (!_root.worked) {
_root.door = 1;
_root.fader.destin = "bankinterior";
_root.fader.gotoAndPlay("fadeout");
}
}
}
Instance of Symbol 1115 MovieClip in Symbol 3180 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "dressexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3180 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 1;
_root.fader.destin = "bridge1";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3180 MovieClip Frame 480
bank.door.gotoAndPlay("open");
Symbol 3180 MovieClip Frame 482
if (_root.newgame) {
_root.newgame = false;
_root.p1.gotoAndStop(1);
_root.p1.speed_y = 1;
_root.f_SetXY(_root.p1, door1._x, door1._y);
_root.f_WalktoXY(_root.p1, door1._x, door1._y + 60);
_root.p1.f_Destin = _root.f_IntroTalk;
_root.talk.gotoAndStop("wait");
}
stop();
Symbol 3187 MovieClip Frame 6571
gotoAndPlay (1);
Symbol 3191 Button
on (release) {
_root.f_GetSpoon(this);
gotoAndPlay ("go");
}
Symbol 3208 MovieClip Frame 1
stop();
Symbol 3208 MovieClip Frame 2
play();
Symbol 3208 MovieClip Frame 71
stop();
Symbol 3217 MovieClip Frame 1
if (_root.day == 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3221 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3226 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3227 Button
on (release) {
if (_root.day == 1) {
_root.chat(1, "The flower shop is closed!");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3228 Button
on (release) {
_root.f_WalktoXY(_root.p1, event4._x, event4._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_up");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 3208 MovieClip in Symbol 3229 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 6);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3229 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_EnterShop();
_root.door = 1;
_root.fader.destin = "flowerinterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3229 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "aptexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3229 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "coffeeexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event4" in Symbol 3229 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "sidestreet";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3233 MovieClip Frame 616
gotoAndPlay (1);
Symbol 3239 MovieClip Frame 2328
gotoAndPlay (1);
Symbol 3246 MovieClip Frame 1059
gotoAndPlay (1);
Symbol 3250 MovieClip Frame 900
gotoAndPlay (1);
Symbol 3256 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3264 Button
on (release) {
if ((_root.tuxhome == 2) or (_root.tuxhome == 3)) {
_root.chat(103, "Hey now, I should arrest you boys for being dressed to kill!");
} else {
_root.chat(103, "Our plot department has been totally destroyed by the earthquake.");
}
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3265 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3291 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3292 Button
on (release) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_down");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3293 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 4;
_root.fader.destin = "flowerexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3293 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "electronicexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3298 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3299 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
if (_root.tuxhome != 2) {
_root.f_EnterShop();
_root.door = 1;
_root.fader.destin = "electronicinterior";
_root.fader.gotoAndPlay("fadeout");
}
}
}
Instance of Symbol 1115 MovieClip in Symbol 3299 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
if (_root.tuxhome != 2) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 2;
_root.fader.destin = "sidestreet";
_root.fader.gotoAndPlay("fadeout");
}
}
}
Symbol 3315 MovieClip Frame 1
if ((_root.day % 3) == 0) {
gotoAndStop (3);
} else if ((_root.day % 2) == 0) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3316 Button
on (release) {
if (((_root.day == 7) and _root.worked) and (!_root.coffeeshop)) {
_root.f_CoffeeMark2();
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3317 Button
on (release) {
_root.f_FutureTalk();
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3320 Button
on (release) {
_root.chat(9, "I never liked cheesecake anyway.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3321 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 3208 MovieClip in Symbol 3321 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 8);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3321 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_EnterShop();
_root.door = 1;
_root.fader.destin = "coffeeinterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3321 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "flowerexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3321 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "police";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3321 MovieClip Frame 2
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "flowerexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3321 MovieClip Frame 2
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "police";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3326 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3328 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3329 Button
on (release) {
if (_root.smashmode and (!_root.smashed.cops)) {
_root.chat(9, "I can't get there without clearing the way first!");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3330 Button
on (release) {
if (_root.smashmode and (!_root.smashed.cops)) {
_root.chat(9, "I can't get there without clearing the way first!");
} else {
_root.f_WalktoMouse();
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_right");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3402 MovieClip Frame 1
stop();
Symbol 3402 MovieClip Frame 2
play();
Symbol 3402 MovieClip Frame 530
_root.smashed.cops = true;
_root.talk.gotoAndStop(1);
_parent.gotoAndStop(3);
stop();
Symbol 3403 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3404 Button
on (release) {
_root.p1.stand = "cops";
_root.p1.body.body.gotoAndStop(_root.p1.stand);
cops.gotoAndPlay(2);
_root.talk.gotoAndStop("wait");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3405 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3407 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3408 MovieClip Frame 1
stop();
Instance of Symbol 1115 MovieClip "event1" in Symbol 3408 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "policeinterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3408 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "coffeeexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3408 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "park1";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 3408 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Instance of Symbol 2717 MovieClip in Symbol 3408 MovieClip Frame 3
onClipEvent (load) {
wall.walltype = 3;
}
Symbol 3421 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3423 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3424 Button
on (release) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_up");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 3208 MovieClip in Symbol 3425 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 9);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3425 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y - 100);
_root.door = 1;
_root.fader.destin = "park2";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3425 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "police";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip in Symbol 3425 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 1;
_root.fader.destin = "bridge2";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3429 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3430 Button
on (release) {
_root.f_WalktoXY(_root.p1, _root.p1._x, event1._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_down");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3452 MovieClip Frame 234
_root.f_WalktoXY(_root.p1, _parent.door3._x + 100, _parent.door3._y);
Symbol 3452 MovieClip Frame 264
_root.fader.destin = "race";
_root.f_FadeOut();
stop();
Symbol 3454 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3457 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3458 MovieClip Frame 1
stop();
Instance of Symbol 3208 MovieClip in Symbol 3458 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 4);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3458 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.door = 1;
_root.fader.destin = "park1";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 3458 MovieClip Frame 2
onClipEvent (load) {
wall.walltype = 3;
}
Symbol 3464 MovieClip Frame 1
_root.f_AddNeutral(this);
if (_root.smashed.tv) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 3208 MovieClip in Symbol 3464 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 1);
}
Symbol 3467 MovieClip Frame 1
stop();
Symbol 3471 MovieClip Frame 9
gotoAndPlay (1);
Symbol 3480 MovieClip Frame 1
stop();
Symbol 3480 MovieClip Frame 2
play();
Symbol 3480 MovieClip Frame 104
_root.f_Alley34();
stop();
Symbol 3480 MovieClip Frame 105
play();
Symbol 3480 MovieClip Frame 160
_root.f_Alley37();
stop();
Symbol 3483 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3485 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3486 Button
on (release) {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_left");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3487 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 100, _y);
_root.door = 4;
_root.fader.destin = "aptexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3500 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3504 Button
on (release) {
_root.f_UpdateMoney(-90);
_root.gotdress = true;
_root.f_GetItem("dress");
_root.chat(1, "My Lisa will love this dress.");
_root.chat(51, "Thanks Johnny, you're my favorite customer!");
_root.cursor.gotoAndStop(1);
_root.textComplete = _root.f_MissionGiveDress;
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3507 MovieClip Frame 1
_root.f_AddNeutral(this);
if (_root.gotdress) {
gotoAndStop (2);
}
stop();
Symbol 3514 Button
on (release) {
_root.f_DressClerk();
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3515 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("hit");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3530 MovieClip Frame 61
stop();
Symbol 3531 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3543 MovieClip Frame 117
stop();
Symbol 3544 MovieClip Frame 1
if (_root.smashed.dressclerk2) {
gotoAndStop ("off");
} else if (_root.smashed.dressclerk) {
gotoAndStop ("hurt");
} else if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3544 MovieClip Frame 3
_root.smashed.dressclerk = true;
Symbol 3544 MovieClip Frame 5
_root.smashed.dressclerk2 = true;
_root.smashed.dressclerk = true;
_root.f_SmashMedal2();
Symbol 3548 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3550 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3551 Button
on (release) {
if (_root.newtux and (_root.p1.num != 5)) {
_root.chat(51, "You need to try your tux on before you leave, Johnny!");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3552 Button
on (release) {
if (_root.smashmode) {
_root.chat(9, "Oh doggy, I can't be mad at you.");
} else if (!dogtalk) {
_root.chat(1, "Hai Doggy!");
dogtalk = 1;
} else if (dogtalk == 1) {
_root.chat(1, "How are you Doggy?");
_root.chat(54, "Bar rar rar!");
dogtalk = 2;
} else if (dogtalk == 2) {
_root.chat(54, "BARK BARK BARK!");
}
}
on (rollOver) {
if (_root.smashmode) {
_root.cursor.gotoAndStop("pet");
} else {
_root.cursor.gotoAndStop("talk");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3553 Button
on (release) {
_root.chat(1, "My Lisa would not be caught dead in that dress.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3554 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_ExitShop();
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "dressexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 3554 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 2717 MovieClip in Symbol 3554 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 3561 Button
on (release) {
_root.chat(1, "Hai!");
_root.chat(50, "Excuse me, who are you?");
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3562 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("hit");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3563 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3564 MovieClip Frame 1
if (_root.smashed.flowerclerk2) {
gotoAndStop ("off");
} else if (_root.smashed.flowerclerk) {
gotoAndStop ("hurt");
} else if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3564 MovieClip Frame 3
_root.smashed.flowerclerk = true;
Symbol 3564 MovieClip Frame 5
_root.smashed.flowerclerk2 = true;
_root.smashed.flowerclerk = true;
_root.f_SmashMedal2();
Symbol 3568 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3569 Button
on (release) {
_root.f_Flower2();
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3570 Button
on (release) {
_root.f_Flower2();
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3571 MovieClip Frame 1
if (_root.gotflowers or _root.smashmode) {
gotoAndStop (2);
}
stop();
Symbol 3572 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3573 Button
on (release) {
if (_root.smashmode) {
_root.chat(9, "Oh doggy, I can't be mad at you.");
} else if (!dogtalk) {
_root.chat(1, "Hai Doggy!");
dogtalk = 1;
} else if (dogtalk == 1) {
_root.chat(54, "Bow wow wow.");
dogtalk = 2;
} else if (dogtalk == 2) {
_root.chat(54, "Arf.");
dogtalk = 1;
}
}
on (rollOver) {
if (_root.smashmode) {
_root.cursor.gotoAndStop("pet");
} else {
_root.cursor.gotoAndStop("talk");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3574 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_ExitShop();
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "flowerexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3587 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3594 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3595 Button
on (release) {
if (!_root.gotrecorder) {
_root.chat(52, "Hey Johnny! Recorders are on sale this week.");
_root.chat(52, "They let you record everything!");
} else {
_root.chat(52, "Hi Johnny, you're my favorite customer!");
}
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3596 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("hit");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3597 Button
on (release) {
_root.cursor.gotoAndStop(1);
gotoAndStop ("die");
}
on (rollOver) {
_root.cursor.gotoAndStop("smash");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3598 MovieClip Frame 1
if (_root.smashed.electronicsclerk2) {
gotoAndStop ("off");
} else if (_root.smashed.electronicsclerk) {
gotoAndStop ("hurt");
} else if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3598 MovieClip Frame 3
_root.smashed.electronicsclerk = true;
Symbol 3598 MovieClip Frame 5
_root.smashed.electronicsclerk2 = true;
_root.smashed.electronicsclerk = true;
_root.f_SmashMedal2();
Symbol 3602 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3606 Button
on (release) {
_root.f_UpdateMoney(45);
_root.gotrecorder = true;
_root.usedrecorder = false;
_root.f_GetItem("recorder");
_root.chat(1, "I never know when I may need to record things.");
_root.chat(51, "Thanks Johnny, you're my favorite customer!");
_root.cursor.gotoAndStop(1);
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3607 MovieClip Frame 1
if (_root.gotrecorder) {
gotoAndStop (2);
}
stop();
Symbol 3609 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3610 Button
on (release) {
if (_root.smashmode) {
_root.chat(9, "Oh doggy, I can't be mad at you.");
} else if (!dogtalk) {
_root.chat(1, "Hai Doggy!");
dogtalk = 1;
} else if (dogtalk == 1) {
_root.chat(54, "Meow!");
dogtalk = 2;
} else if (dogtalk == 2) {
_root.chat(54, "Woof! Woof!");
}
}
on (rollOver) {
if (_root.smashmode) {
_root.cursor.gotoAndStop("pet");
} else {
_root.cursor.gotoAndStop("talk");
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3611 Button
on (release) {
_root.chat(1, "Vroom vrooooom!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 3208 MovieClip in Symbol 3612 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 7);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3612 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_ExitShop();
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "electronicexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 3612 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Instance of Symbol 2717 MovieClip in Symbol 3612 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Symbol 3625 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3632 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3639 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Symbol 3643 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3647 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3649 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3650 Button
on (release) {
_root.f_CoffeeMenu();
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3651 Button
on (release) {
_root.chat(1, "I wee wee out my pee pee! That room is for my Lisa.");
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3652 Button
on (release) {
_root.chat(1, "I don't need to pee pee or poo poo right now.");
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3653 Button
on (release) {
_root.chat(1, "Oh my, I'm customer of the year AGAIN!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3654 Button
on (release) {
_root.chat(1, "My beautiful picture has been ruined!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3658 Button
on (release) {
_root.chat(1, "Oh my god Mark you are such a prankster!", undefined, undefined, 1);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3659 MovieClip Frame 1
if (_root.cp_theroom > 55) {
gotoAndStop (2);
} else if (_root.cp_theroom == 55) {
if (!_root.unsee_vandal) {
_root.talk.gotoAndStop("wait");
_parent.vandal.gotoAndPlay(2);
} else {
_parent.vandal.gotoAndStop("again");
}
gotoAndStop (3);
} else {
stop();
}
Symbol 3665 MovieClip Frame 1
stop();
Symbol 3665 MovieClip Frame 2
play();
Symbol 3665 MovieClip Frame 150
_root.unsee_vandal = true;
_root.f_Unsee();
_root.chat(30, "Oh, hi Johnny! I didn't expect to see you back so soon!");
stop();
Symbol 3665 MovieClip Frame 151
_root.chat(30, "Ok now this is getting weird.");
stop();
Instance of Symbol 1115 MovieClip "event1" in Symbol 3666 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_ExitShop();
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "coffeeexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3683 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3684 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "bankexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3702 MovieClip Frame 108
_root.chat(99, "Poor Johnny. Works so hard but never gets a raise.");
_root.chat(99, "'Boo hoo, everybody hates me but i don't do anything wrong!'");
_root.textComplete = _root.f_BankPlay;
stop();
Symbol 3702 MovieClip Frame 200
_root.chat(99, "Oh look, it's all that money we never paid you!");
_root.chat(9, "RAWWWWR!");
_root.chat(99, "You're gonna die here Johnny. Then I'm gonna fire your dead body.");
_root.chat(99, "...And you can take that to the bank.");
_root.textComplete = _root.f_BankPlay;
stop();
Symbol 3702 MovieClip Frame 263
_root.chat(9, "I'm gonna take you to the bank Mr. Manager... The Blood Bank.");
_root.chat(100, "AH HAHAHA! Finally you have a spine!");
_root.chat(100, "Maybe I'll give you that promotion, if you live.");
_root.chat(100, "But enough talk... have at you!");
_root.textComplete = _root.f_BankPlay;
stop();
Symbol 3702 MovieClip Frame 265
_root.f_BankRPGIntro();
stop();
Symbol 3709 Button
on (release) {
_root.chat(103, "Sorry Johnny, there's no help for you.");
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3710 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3714 Button
on (release) {
_root.chat(102, "See any crimes this week?");
}
on (rollOver) {
_root.cursor.gotoAndStop("talk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3715 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3722 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3729 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3737 MovieClip Frame 1
_root.f_AddNeutral(this);
if (_root.chrisjail) {
gotoAndStop ("closed");
} else {
stop();
}
Symbol 3737 MovieClip Frame 2
play();
Symbol 3737 MovieClip Frame 72
stop();
Symbol 3741 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3743 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 3208 MovieClip in Symbol 3744 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 3);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3744 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 1;
_root.fader.destin = "police";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3759 MovieClip Frame 1
stop();
Symbol 3759 MovieClip Frame 2
play();
Symbol 3759 MovieClip Frame 214
if (!_root.unsee_crap) {
_root.unsee_crap = true;
_root.f_Unsee();
}
stop();
Symbol 3762 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3764 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3765 Button
on (release) {
_root.f_Diary();
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3766 Button
on (release) {
_root.chat(1, "Lisa is like a mother to Denny!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3767 Button
on (release) {
_root.chat(1, "My Lisa is so beautiful.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3768 Button
on (release) {
_root.chat(1, "Oh look it's Claudette.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3769 Button
on (release) {
_root.chat(1, "Ha ha ha! Oh Denny.", undefined, undefined, 1);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3770 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 3;
_root.fader.destin = "foyer2";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3812 MovieClip Frame 1
stop();
Symbol 3812 MovieClip Frame 6
play();
Symbol 3812 MovieClip Frame 40
_root.f_VideoTalk2();
stop();
Symbol 3812 MovieClip Frame 41
play();
Symbol 3812 MovieClip Frame 46
stop();
Symbol 3816 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3818 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3819 Button
on (release) {
_root.f_WalktoXY(_root.p1, event2._x, event2._y);
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_left");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3820 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 4;
_root.fader.destin = "foyer2";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 1115 MovieClip "event2" in Symbol 3820 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 100, _y);
_root.door = 2;
_root.fader.destin = "dennyroom";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 3862 MovieClip Frame 120
if (!_root.unsee_hottub) {
_root.unsee_hottub = true;
_root.f_Unsee();
}
Symbol 3862 MovieClip Frame 152
stop();
Symbol 3863 MovieClip Frame 1
if (_root.cp_theroom < 3) {
_root.f_AddNeutral(this);
gotoAndStop (2);
} else {
stop();
}
Symbol 3872 MovieClip Frame 84
if (!_root.unsee_worship) {
_root.unsee_worship = true;
_root.f_Unsee();
}
Symbol 3873 MovieClip Frame 1
if (_root.cp_theroom == 47) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3877 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 3879 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3880 Button
on (release) {
_root.chat(1, "Mark is handsome and he knows it!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3881 Button
on (release) {
_root.chat(1, "Good times!", undefined, undefined, 1);
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3882 Button
on (release) {
_root.chat(1, "I don't drink.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3883 Button
on (release) {
_root.chat(1, "Sexxy!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3885 Button
on (release) {
_root.chat(1, "Hai Hot Tub!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3886 Button
on (release) {
_root.chat(1, "Hai, Mark's TV!");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3900 Button
on (release) {
_root.chat(1, "That was quite a beard.");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3901 MovieClip Frame 1
stop();
Instance of Symbol 3208 MovieClip in Symbol 3901 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 10);
}
Instance of Symbol 1115 MovieClip "event1" in Symbol 3901 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_ExitMark();
_root.f_WalktoXY(zone, _x, _y + 50);
_root.door = 2;
_root.fader.destin = "foyer3";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 3901 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Instance of Symbol 2717 MovieClip in Symbol 3901 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Instance of Symbol 2717 MovieClip in Symbol 3901 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Instance of Symbol 2717 MovieClip in Symbol 3901 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 1;
}
Symbol 3906 Button
on (press) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3907 Button
on (release) {
_root.cursor.gotoAndStop("bananas");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3908 MovieClip Frame 1
stop();
Symbol 3909 Button
on (release) {
_root.cursor.gotoAndStop("loaf");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3910 MovieClip Frame 1
stop();
Symbol 3911 Button
on (release) {
_root.cursor.gotoAndStop("mouse");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3912 MovieClip Frame 1
stop();
Symbol 3913 Button
on (release) {
_root.cursor.gotoAndStop("lettuce");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3914 MovieClip Frame 1
stop();
Symbol 3915 Button
on (release) {
_root.cursor.gotoAndStop("tomatoes");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3916 MovieClip Frame 1
stop();
Symbol 3917 Button
on (release) {
_root.cursor.gotoAndStop("pbjar");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3918 MovieClip Frame 1
stop();
Symbol 3919 Button
on (release) {
_root.cursor.gotoAndStop("drano");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3920 MovieClip Frame 1
stop();
Symbol 3921 Button
on (release) {
_root.cursor.gotoAndStop("jellyjar");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3922 MovieClip Frame 1
stop();
Symbol 3923 Button
on (release) {
_root.cursor.gotoAndStop("sponge");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3924 MovieClip Frame 1
stop();
Symbol 3925 Button
on (release) {
_root.cursor.gotoAndStop("ham");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3926 MovieClip Frame 1
stop();
Symbol 3927 Button
on (release) {
_root.cursor.gotoAndStop("cheese");
gotoAndStop (2);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3928 MovieClip Frame 1
stop();
Symbol 3934 MovieClip Frame 1
stop();
Symbol 3938 Button
on (release) {
if (_root.sandwich2.s1) {
_root.f_ShowSandwich(_root.sandwich2);
} else {
_root.chat(1, "It's an empty plate!");
}
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3939 Button
on (release) {
if (_root.sandwich1.s1) {
_root.f_ShowSandwich(_root.sandwich1);
} else {
_root.chat(1, "It's an empty plate!");
}
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3942 Button
on (release) {
_root.f_EatCookie();
gotoAndStop (1);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3943 MovieClip Frame 1
_root.f_AddNeutral(this);
stop();
Instance of Symbol 3208 MovieClip in Symbol 3943 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 5);
}
Symbol 3946 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3949 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3950 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3950 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 3950 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.f_Freezer();
}
Symbol 3953 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3956 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3957 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3957 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 3960 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3963 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3964 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3964 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 3967 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3970 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3971 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3971 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 3974 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3977 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3978 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3978 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 3981 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3984 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3985 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3985 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 3988 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3991 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3992 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3992 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 3995 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3996 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 3997 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 3997 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 4000 Button
on (release) {
gotoAndStop ("open");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4001 Button
on (release) {
gotoAndStop ("close");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4002 MovieClip Frame 1
if (!init) {
init = true;
} else {
_root.cursor.gotoAndStop(1);
}
stop();
Symbol 4002 MovieClip Frame 2
_root.cursor.gotoAndStop(1);
Symbol 4009 MovieClip Frame 1
_root.f_AddNeutral(this);
Symbol 4010 Button
on (release) {
if (_root.makefood == 1) {
if (_root.sandwich1.s5 and _root.sandwich2.s5) {
_root.makefood = 2;
_root.cp_theroom = 43;
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
} else {
_root.chat(1, "I can't leave until the sandwhiches are ready!");
}
} else if (_root.hothead) {
_root.chat(1, "I need to cool off before I go back out there.");
} else {
_root.f_WalktoXY(_root.p1, event1._x, event1._y);
}
}
on (rollOver) {
_root.cursor.gotoAndStop("exit_door");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4011 Button
on (release) {
_root.cursor.gotoAndStop("toppings");
_root.cursor.body.num = num;
_root.f_SetIngredient(_root.cursor.body);
gotoAndStop (1);
}
on (rollOver) {
_root.cursor.gotoAndStop("grab");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4012 MovieClip Frame 1
num = "blank";
stop();
Instance of Symbol 1115 MovieClip "event1" in Symbol 4013 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_SandwichClose();
_root.f_WalktoXY(zone, _x + 100, _y);
_root.door = 3;
_root.fader.destin = "theroom";
_root.fader.gotoAndPlay("fadeout");
}
}
Instance of Symbol 2717 MovieClip in Symbol 4013 MovieClip Frame 1
onClipEvent (load) {
wall.walltype = 3;
}
Symbol 4024 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4025 Button
on (release) {
_root.chat(1, "Where is Spiderman when you need him?");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 3208 MovieClip in Symbol 4026 MovieClip Frame 1
onClipEvent (load) {
_root.f_SetSpoon(this, 2);
}
Instance of Symbol 1115 MovieClip in Symbol 4026 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x + 150, zone.y);
_root.door = 2;
_root.fader.destin = "bankexterior";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 4042 Button
on (release) {
_root.f_WalktoMouse();
}
on (rollOver) {
_root.cursor.gotoAndStop("walk");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 1115 MovieClip in Symbol 4043 MovieClip Frame 1
onClipEvent (load) {
function f_Action(zone) {
_root.f_WalktoXY(zone, _x - 150, zone.y);
_root.door = 3;
_root.fader.destin = "park1";
_root.fader.gotoAndPlay("fadeout");
}
}
Symbol 4107 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4115 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4122 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4128 MovieClip Frame 13
stop();
Symbol 4134 MovieClip Frame 1
_root.f_FadeSong(undefined);
Symbol 4134 MovieClip Frame 120
_root.fader.destin = "tryagain";
_root.f_FadeOut();
stop();
Symbol 4139 MovieClip Frame 120
_root.f_InteruptFight();
stop();
Symbol 4140 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4141 MovieClip Frame 1
stop();
Symbol 4153 MovieClip Frame 27
stop();
Symbol 4160 MovieClip Frame 1
stop();
Symbol 4160 MovieClip Frame 2
play();
Symbol 4160 MovieClip Frame 5
if (_root.cp_theroom < 100) {
if (_root.rpg.perfectHit or _root.rpg.chrisStun) {
if (_root.rpg.perfectHit and _root.rpg.chrisStun) {
health_mod = 3;
} else {
health_mod = 1;
}
_root.rpg.chrisStun = false;
_parent.body.gotoAndStop("hit");
} else {
health_mod = 0;
_parent.body.gotoAndStop("block");
}
} else if (_root.rpg.perfectHit or _root.rpg.chrisStun) {
if (_root.rpg.perfectHit and _root.rpg.chrisStun) {
health_mod = 3;
} else {
health_mod = 1;
}
_root.rpg.chrisStun = false;
_parent.body.gotoAndStop("hit");
} else {
noshake = true;
health_mod = 0;
_parent.body.gotoAndStop("block");
gotoAndStop ("end");
}
Instance of Symbol 157 MovieClip in Symbol 4160 MovieClip Frame 14
onClipEvent (load) {
timer = 1;
_parent.x = _parent._parent.body._x;
}
onClipEvent (enterFrame) {
if (!noshake) {
timer++;
if ((timer % 8) == 0) {
_parent._parent.body._x = _parent._parent.body._x + 5;
} else if ((timer % 4) == 0) {
_parent._parent.body._x = _parent._parent.body._x - 5;
}
}
}
Symbol 4160 MovieClip Frame 64
_root.f_RPGDamage(_parent, health_mod);
if (health_mod > 0) {
_parent.healthnum.gotoAndPlay("go");
_parent.healthnum.body.gotoAndStop(health_mod);
}
if (_parent.health <= 0) {
_root.rpg.stopfight = true;
_parent.body.gotoAndStop("die");
} else {
if (noshake) {
noshake = false;
} else {
_parent.body.gotoAndStop("idle");
_parent.body._x = x;
}
f_Destin();
}
stop();
Symbol 4160 MovieClip Frame 65
_parent.body.gotoAndStop("hit");
play();
Instance of Symbol 157 MovieClip in Symbol 4160 MovieClip Frame 65
onClipEvent (load) {
timer = 1;
_parent.x = _parent._parent.body._x;
}
onClipEvent (enterFrame) {
timer++;
if ((timer % 8) == 0) {
_parent._parent.body._x = _parent._parent.body._x + 5;
} else if ((timer % 4) == 0) {
_parent._parent.body._x = _parent._parent.body._x - 5;
}
}
Instance of Symbol 157 MovieClip in Symbol 4160 MovieClip Frame 77
onClipEvent (load) {
timer = 1;
_parent.x = _parent._parent.body._x;
}
onClipEvent (enterFrame) {
timer++;
if ((timer % 8) == 0) {
_parent._parent.body._x = _parent._parent.body._x + 5;
} else if ((timer % 4) == 0) {
_parent._parent.body._x = _parent._parent.body._x - 5;
}
}
Instance of Symbol 157 MovieClip in Symbol 4160 MovieClip Frame 89
onClipEvent (load) {
timer = 1;
_parent.x = _parent._parent.body._x;
}
onClipEvent (enterFrame) {
timer++;
if ((timer % 8) == 0) {
_parent._parent.body._x = _parent._parent.body._x + 5;
} else if ((timer % 4) == 0) {
_parent._parent.body._x = _parent._parent.body._x - 5;
}
}
Symbol 4160 MovieClip Frame 98
_root.f_RPGDamage(_parent, 1);
_parent.healthnum.gotoAndPlay("go");
_parent.healthnum.body.gotoAndStop(health_mod);
if (_parent.health <= 0) {
_root.rpg.stopfight = true;
_parent.body.gotoAndStop("die");
} else {
_parent.body.gotoAndStop("idle");
_parent.body._x = x;
}
stop();
Symbol 4165 MovieClip Frame 1
stop();
Symbol 4166 MovieClip Frame 1
stop();
Symbol 4166 MovieClip Frame 2
play();
Symbol 4166 MovieClip Frame 61
stop();
Symbol 4173 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4180 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4214 MovieClip Frame 57
stop();
Symbol 4245 MovieClip Frame 193
Symbol 4245 MovieClip Frame 237
stop();
Symbol 4258 MovieClip Frame 1
_root.f_FadeSong(undefined);
Symbol 4258 MovieClip Frame 120
_root.fader.destin = "tryagain";
_root.f_FadeOut();
stop();
Symbol 4262 MovieClip Frame 120
_root.f_InteruptFight();
stop();
Symbol 4263 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4263 MovieClip Frame 2
_root.f_Medal("Best Friend");
Symbol 4264 MovieClip Frame 1
stop();
Symbol 4273 MovieClip Frame 165
_root.f_RPGNextTurn();
_parent.gotoAndStop("idle");
stop();
Symbol 4285 MovieClip Frame 13
stop();
Symbol 4306 MovieClip Frame 141
stop();
Symbol 4325 MovieClip Frame 150
_root.f_KOChris();
stop();
Symbol 4326 MovieClip Frame 1
if (!_parent._parent.chrisintro) {
_parent._parent.chrisintro = true;
stop();
} else {
gotoAndStop ("idle");
}
Symbol 4326 MovieClip Frame 7
if (_root.rpg.rounds <= 5) {
_root.f_Medal("Perfect Drug");
}
Symbol 4327 MovieClip Frame 1
stop();
Symbol 4334 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4345 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4346 MovieClip Frame 60
_root.f_RPGTaunt(_parent._parent, "mad");
Symbol 4346 MovieClip Frame 120
_parent._parent.f_Destin();
stop();
Symbol 4359 MovieClip Frame 66
_parent._parent._parent.victim.slash.gotoAndPlay("go");
Symbol 4359 MovieClip Frame 155
_parent._parent._parent.f_Destin();
stop();
Symbol 4369 MovieClip Frame 66
_parent._parent._parent.victim.slash.gotoAndPlay("go");
Symbol 4369 MovieClip Frame 155
_parent._parent._parent.f_Destin();
stop();
Symbol 4370 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4381 MovieClip Frame 211
_root.f_RPGJohnnyTurn();
stop();
Symbol 4382 MovieClip Frame 1
if (_root.jacket and (_root.cp_theroom >= 100)) {
_root.jacket = false;
gotoAndStop ("jacket");
}
stop();
Symbol 4382 MovieClip Frame 4
_root.outfit = 7;
Symbol 4389 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4409 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4412 MovieClip Frame 60
_parent._parent.victim.body.gotoAndStop("glamoured");
Symbol 4412 MovieClip Frame 120
_parent._parent.f_Destin();
stop();
Symbol 4422 MovieClip Frame 66
_parent._parent._parent.victim.slash.gotoAndPlay("go");
Symbol 4422 MovieClip Frame 155
_parent._parent._parent.f_Destin();
stop();
Symbol 4432 MovieClip Frame 66
_parent._parent._parent.victim.slash.gotoAndPlay("go");
Symbol 4432 MovieClip Frame 155
_parent._parent._parent.f_Destin();
stop();
Symbol 4433 MovieClip Frame 1
_root.f_RPGOutfit(this);
stop();
Symbol 4434 MovieClip Frame 1
stop();
Symbol 4449 MovieClip Frame 9
_parent._parent.victim.slash.gotoAndPlay("bullets");
Symbol 4449 MovieClip Frame 105
_parent._parent.f_Destin();
stop();
Symbol 4450 MovieClip Frame 1
stop();
Symbol 4451 MovieClip Frame 1
stop();
Symbol 4459 Button
on (release) {
gotoAndStop ("tossbottle");
}
Symbol 4460 Button
on (release) {
_root.f_RPGJohnnyTaunt();
gotoAndStop ("blank");
}
Symbol 4461 Button
on (release) {
if (_root.cp_theroom >= 100) {
_root.chat(10, "Lisa will never love you if you quit!");
_root.textComplete = _root.f_RPGSwitch;
} else {
_root.chat(55, "Chris R blocks your path!");
_root.textComplete = _root.f_RPGNextTurn;
}
gotoAndStop ("blank");
}
Symbol 4465 Button
on (release) {
gotoAndStop ("tossfootball");
}
Symbol 4466 Button
on (release) {
_root.rpg.chrisStun = true;
_root.f_RPGMarkGlamour();
}
Symbol 4467 Button
on (release) {
_root.chat(55, "Chris R blocks your path!");
_root.textComplete = _root.f_RPGNextTurn;
gotoAndStop ("blank");
}
Symbol 4468 Button
on (press) {
thrown = true;
if (meter.good) {
_root.rpg.perfectHit = true;
meter.gotoAndStop("good");
} else {
_root.rpg.perfectHit = false;
meter.stop();
}
if (_parent.item == 1) {
_root.f_RPGJohnnyAttack();
} else {
_root.f_RPGMarkAttack();
}
gotoAndPlay ("go");
}
Symbol 4469 MovieClip Frame 1
stop();
Symbol 4469 MovieClip Frame 2
if (meter.good) {
football.gotoAndStop("good");
} else {
football.gotoAndPlay("bad");
}
play();
Symbol 4469 MovieClip Frame 60
stop();
Symbol 4470 MovieClip Frame 1
stop();
Symbol 4470 MovieClip Frame 4
item = 2;
Symbol 4470 MovieClip Frame 5
item = 1;
Instance of Symbol 4469 MovieClip in Symbol 4470 MovieClip Frame 5
onClipEvent (load) {
bottle = true;
}
Symbol 4482 MovieClip Frame 1
stop();
Symbol 4490 MovieClip Frame 1
if (_root.cp_theroom >= 100) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4501 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 4501 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.clicked) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
Symbol 4523 MovieClip Frame 59
stop();
Instance of Symbol 157 MovieClip in Symbol 4523 MovieClip Frame 59
onClipEvent (enterFrame) {
_root.f_Wrestle(_parent);
}
Symbol 4523 MovieClip Frame 62
play();
Symbol 4523 MovieClip Frame 119
_root.f_EndWrestle();
stop();
Symbol 4523 MovieClip Frame 120
play();
Symbol 4523 MovieClip Frame 180
_root.f_EndWrestle();
stop();
Symbol 4524 MovieClip Frame 90
stop();
Symbol 4524 MovieClip Frame 91
if (second) {
second = false;
gotoAndPlay ("switch2");
} else {
second = true;
}
Symbol 4524 MovieClip Frame 124
_root.f_RPGSwap();
Symbol 4524 MovieClip Frame 179
rounds++;
if ((rounds % 2) == 0) {
if (_root.cp_theroom >= 100) {
_root.f_RPGMarkTurn();
} else {
_root.f_RPGChrisTurn();
}
} else if (_root.cp_theroom >= 100) {
_root.f_RPGJohnnyTurn();
} else {
_root.f_RPGNextTurn();
}
stop();
Symbol 4524 MovieClip Frame 215
_root.f_RPGSwap();
Symbol 4524 MovieClip Frame 260
rounds++;
if ((rounds % 2) == 0) {
if (_root.cp_theroom >= 100) {
_root.f_RPGMarkTurn();
} else {
_root.f_RPGChrisTurn();
}
} else if (_root.cp_theroom >= 100) {
_root.f_RPGJohnnyTurn();
} else {
_root.f_RPGNextTurn();
}
stop();
Symbol 4524 MovieClip Frame 261
_root.f_WrestleStart();
Symbol 4542 MovieClip Frame 1
stop();
Symbol 4542 MovieClip Frame 2
play();
Symbol 4542 MovieClip Frame 6
stop();
Symbol 4545 Button
on (release) {
gotoAndStop ("die");
}
Symbol 4582 MovieClip Frame 12
_parent.health.gotoAndPlay("die");
Symbol 4582 MovieClip Frame 88
_root.f_Medal("Payback");
Symbol 4582 MovieClip Frame 310
_root.f_BankRPGEnd();
stop();
Symbol 4582 MovieClip Frame 389
stop();
Symbol 4583 MovieClip Frame 139
stop();
Symbol 4583 MovieClip Frame 140
_root.f_ChangeSong(undefined);
Symbol 4589 MovieClip Frame 1
stop();
Symbol 4589 MovieClip Frame 200
gotoAndPlay (1);
Symbol 4594 MovieClip Frame 1
stop();
Symbol 4594 MovieClip Frame 140
gotoAndPlay (1);
Symbol 4595 MovieClip Frame 1
stop();
Symbol 4595 MovieClip Frame 120
gotoAndPlay (1);
Symbol 4600 MovieClip Frame 1
stop();
Symbol 4600 MovieClip Frame 100
gotoAndPlay (1);
Symbol 4610 MovieClip Frame 1
_parent.h = 40;
stop();
Symbol 4610 MovieClip Frame 2
_parent.h = 40;
Symbol 4628 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4629 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4644 MovieClip Frame 1
stop();
Symbol 4651 MovieClip Frame 120
_root.f_EndRace();
stop();
Symbol 4658 MovieClip Frame 120
_root.f_EndRace();
stop();
Symbol 4659 MovieClip Frame 1
stop();
Symbol 4660 MovieClip Frame 1
stop();
Symbol 4682 MovieClip Frame 1
stop();
Symbol 4683 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4691 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4706 MovieClip Frame 120
_root.f_EndRace();
stop();
Symbol 4713 MovieClip Frame 120
_root.f_EndSmashRace();
stop();
Symbol 4714 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4771 MovieClip Frame 263
_root.f_SmashChrisR();
_parent._parent.rain.gotoAndPlay("go");
Symbol 4771 MovieClip Frame 424
_root.f_EndSmashRace();
stop();
Symbol 4773 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip in Symbol 4773 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.f_RaceControls(_parent);
}
Symbol 4796 MovieClip Frame 1
stop();
Symbol 4796 MovieClip Frame 2
play();
Symbol 4796 MovieClip Frame 68
stop();
Symbol 4804 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4809 MovieClip Frame 1
if (_root.smashmode) {
gotoAndStop (2);
} else {
stop();
}
Symbol 4810 MovieClip Frame 1
stop();
Symbol 4811 MovieClip Frame 30
stop();
Symbol 4812 MovieClip Frame 76
stop();
Symbol 4813 MovieClip Frame 1
stop();
Symbol 4820 Button
on (keyPress "s") {
_root.music.gotoAndStop(1);
stopAllSounds();
gotoAndStop ("end");
}
Symbol 4837 MovieClip Frame 1
_root.f_FadeIn();
_root.f_FadeSong(_root.song4.m_crickets);
Symbol 4837 MovieClip Frame 50
_root.f_Save();
Symbol 4837 MovieClip Frame 146
_root.f_FadeSong(undefined);
Symbol 4837 MovieClip Frame 428
_root.f_FadeSong(_root.song1.m_theme);
_root.fader.destin = "bedroom";
_root.f_FadeOut();
stop();
Symbol 4880 MovieClip Frame 30
stop();
Symbol 4881 MovieClip Frame 146
stop();
Symbol 4882 MovieClip Frame 757
_root.fader.destin = "ending2";
_root.f_FadeOut(2);
stop();
Symbol 4938 MovieClip Frame 1
_root.f_FadeSong(undefined);
Symbol 4938 MovieClip Frame 21
p1.stop();
p2.stop();
p3.stop();
Symbol 4938 MovieClip Frame 95
_root.f_ChangeSong(_root.song9.m_party);
p1.gotoAndPlay(21);
p2.gotoAndPlay(21);
p3.gotoAndPlay(21);
Symbol 4938 MovieClip Frame 325
_root.gotoAndStop("credits");
Symbol 4939 MovieClip Frame 1
stop();
Symbol 4939 MovieClip Frame 2
play();
Symbol 4939 MovieClip Frame 140
_root.f_Alien3();
stop();
Symbol 4939 MovieClip Frame 151
play();
Symbol 4939 MovieClip Frame 163
_root.f_FadeSong(undefined);
Symbol 4939 MovieClip Frame 262
_root.fmv.gotoAndStop("earth");
gotoAndStop ("normal");
Symbol 4940 MovieClip Frame 201
gotoAndPlay (1);
Symbol 4941 MovieClip Frame 1
var i = 1;
while (i <= 10) {
zone = this["s" + i];
zone.gotoAndPlay(i * 20);
i++;
}
Symbol 4944 MovieClip Frame 1
stop();
Symbol 4944 MovieClip Frame 5
var i = 1;
while (i <= 10) {
zone = this["s" + i];
if (_root.a_spoons[i]) {
zone.gotoAndStop(i);
} else {
zone.gotoAndStop("blank");
}
i++;
}
play();
Instance of Symbol 157 MovieClip in Symbol 4944 MovieClip Frame 5
onClipEvent (load) {
_root.f_SpoonSpin(_parent);
}
onClipEvent (enterFrame) {
_root.f_SpoonSpin(_parent);
}
Symbol 4944 MovieClip Frame 150
_root.f_AlienSpoonCount();
stop();
Symbol 4944 MovieClip Frame 160
play();
Symbol 4944 MovieClip Frame 265
_root.f_AlienDance();
stop();
Symbol 4944 MovieClip Frame 275
play();
Symbol 4944 MovieClip Frame 335
var i = 1;
while (i <= 10) {
if (_root.a_spoons[i]) {
zone = this["s" + i];
zone.sparkle.gotoAndPlay(random(36) + 3);
}
i++;
}
bg.gotoAndPlay("attack");
Symbol 4944 MovieClip Frame 500
stop();
Symbol 4987 MovieClip Frame 523
_root.f_EarthSpooned();
stop();
Symbol 4988 MovieClip Frame 1
stop();
Symbol 4992 Button
on (press) {
getURL ("http://www.amazon.com/gp/product/B000CFYAMC/qid=1134249213/sr=8-2/ref=sr_8_xs_ap_i2_xgl74/103-9224759-7815824?n=507846&s=dvd&v=glance", "_blank");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4995 Button
on (press) {
getURL ("http://tomfulp.newgrounds.com", "_blank");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 4999 Button
on (press) {
getURL ("http://johnnyutah.newgrounds.com", "_blank");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 5002 Button
on (press) {
getURL ("http://oney.newgrounds.com", "_blank");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 5006 Button
on (press) {
getURL ("http://mike.newgrounds.com", "_blank");
}
on (rollOver) {
_root.cursor.gotoAndStop("examine");
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Symbol 5012 MovieClip Frame 159
timer = 200;
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 160
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Symbol 5012 MovieClip Frame 161
_root.cursor.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 190
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Symbol 5012 MovieClip Frame 191
_root.cursor.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 220
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Symbol 5012 MovieClip Frame 221
_root.cursor.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 250
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Symbol 5012 MovieClip Frame 251
_root.cursor.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 280
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 309
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Symbol 5012 MovieClip Frame 310
_root.cursor.gotoAndStop(1);
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 339
onClipEvent (load) {
timer = _parent.timer + 120;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 369
onClipEvent (load) {
timer = _parent.timer;
_parent.stop();
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.play();
}
}
Symbol 5012 MovieClip Frame 438
stopAllSounds();
x = _root.game._x;
y = _root.game._y;
Instance of Symbol 157 MovieClip in Symbol 5012 MovieClip Frame 439
onClipEvent (load) {
timer = 1;
}
onClipEvent (enterFrame) {
timer++;
if ((timer % 2) == 0) {
if (!down) {
down = true;
_root.game._x = _root.game._x + 2;
_root.game._y = _root.game._y - 2;
} else {
down = false;
_root.game._x = _root.game._x - 2;
_root.game._y = _root.game._y + 2;
}
}
}
Symbol 5012 MovieClip Frame 517
_root.game._x = x;
_root.game._y = y;
Symbol 5012 MovieClip Frame 635
_root.blockfader = true;
_root.smashmode = false;
_root.cp_bedroom = 160;
_root.gotoAndStop("bedroom");
Symbol 5013 MovieClip Frame 60
_root.gotoAndStop(1);
Symbol 5015 MovieClip Frame 305
_root.gotoAndStop(1);
stop();