Rework and add some comments

This commit is contained in:
Frater 2021-04-11 17:30:53 +02:00
commit 9736b2e612
125 changed files with 4695 additions and 20100 deletions

Binary file not shown.

BIN
src/Inflatable_doll.agv Normal file

Binary file not shown.

BIN
src/Larry_OnToillet.agv Normal file

Binary file not shown.

BIN
src/Larry_StandAndWalk.agv Normal file

Binary file not shown.

BIN
src/Larry_UseSpray.agv Normal file

Binary file not shown.

BIN
src/Larry_running.agv Normal file

Binary file not shown.

BIN
src/Leftys_Door.agv Normal file

Binary file not shown.

Binary file not shown.

BIN
src/Leftys_Halley.agp Normal file

Binary file not shown.

BIN
src/Leftys_HockerRoom.agp Normal file

Binary file not shown.

BIN
src/Leftys_Main.agp Normal file

Binary file not shown.

BIN
src/Leftys_PimpsDoor.agv Normal file

Binary file not shown.

BIN
src/Leftys_Pimpslocker.agv Normal file

Binary file not shown.

BIN
src/Leftys_TVRoom.agp Normal file

Binary file not shown.

BIN
src/Leftys_bathroom.agp Normal file

Binary file not shown.

BIN
src/Leftys_doorhall.agp Normal file

Binary file not shown.

BIN
src/Leftys_front.agp Normal file

Binary file not shown.

85
src/Logic10.lgc Normal file
View file

@ -0,0 +1,85 @@
if (isset(newRoom))
{ load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View83); load.view(View82); load.view(View81); animate.obj(ObjFlyingDoll); set.view(ObjFlyingDoll, View83); set.loop(ObjFlyingDoll, 0); set.priority(ObjFlyingDoll, 4); position(ObjFlyingDoll, 57, 77); draw(ObjFlyingDoll); v52 = 6; cycle.time(ObjFlyingDoll, v52); set(f203); animate.obj(ObjTitleText); set.view(ObjTitleText, View82); set.cel(ObjTitleText, 0); set.priority(ObjTitleText, 14); position(ObjTitleText, 75, 82); draw(ObjTitleText); cycle.time(ObjTitleText, varEgoSize); stop.cycling(ObjTitleText); animate.obj(o3); ignore.objs(o3); set.view(o3, View81); set.priority(o3, 15); position(o3, 56, 83); if (!has("Bottle of Wine"))
{ set.loop(o3, 1); set.cel(o3, 0); cycle.time(o3, varEgoSize); stop.cycling(o3); } else
{ set.loop(o3, 0); } draw(o3); show.pic(); if (!has("Bottle of Wine"))
{ print("The cabbie snarls a \"Where to, buddy?\" as he swings the meter flag " "down."); accept.input(); v203 = 20; random(0, 10, v200); v200 += v97; if (v97 < 40)
{ ++v97; } if (v99 > 4)
{ --v99; } varTimingDelay = 2; } else
{ print("The driver looks at you and says, \"Hey! What's that you got? " "Wine?\" He grabs your bottle of wine, and guzzles it down!"); prevent.input(); set(f85); set(f206); v207 = 0; varTitlePageStep = 100; varTimingDelay = 5; } set(f48); set(f85); reset(f70); return(); } if (isset(f44) && v63 > 5)
{ set(f69); } if (!isset(haveInput))
{ goto(Label1); } if ((said("ask", "rol") || said("catch", "i'm", "action") || said("catch", "i'm", "find", "action") || said("find", "action", "city") || said("find", "action")))
{ print("\"Lookin' for action, eh? Dis town is full of it. We gotta disco " "that's usually full of foxes this time of night. Den dere's the " "casino, next to the all-night weddin' chapel. And we gotta lovely bar, " "but you've been dere. Me, I like da convenience store next to da " "disco, but of course, that's just personal preference.\""); } if ((said("disco") || said("board", "disco") || said("catch", "i'm", "disco")))
{ ++v202; if (v202 > 2)
{ print("\"Nope. Next time, make up your mind before ya gets in da cab!\""); } else
{ set(boolTimingDelayOut); v206 = 23; if (varTitlePageStep > 2)
{ varTitlePageStep = 200; } } } if ((said("casino") || said("casino", "casino") || said("board", "casino") || said("board", "casino", "casino") || said("catch", "i'm", "casino") || said("catch", "i'm", "casino", "casino")))
{ ++v202; if (v202 > 2)
{ print("\"Nope. Next time, make up your mind before ya gets in da cab!\""); } else
{ set(boolTimingDelayOut); v206 = 32; if (varTitlePageStep > 2)
{ varTitlePageStep = 200; } } } if ((said("bar") || said("board", "bar") || said("catch", "i'm", "bar")))
{ ++v202; if (v202 > 2)
{ print("\"Nope. Next time, make up your mind before ya gets in da cab!\""); } else
{ set(boolTimingDelayOut); v206 = 11; if (varTitlePageStep > 2)
{ varTitlePageStep = 200; } } } if ((said("chapel") || said("board", "chapel") || said("catch", "i'm", "chapel")))
{ ++v202; if (v202 > 2)
{ print("\"Nope. Next time, make up your mind before ya gets in da cab!\""); } else
{ set(boolTimingDelayOut); v206 = 33; if (varTitlePageStep > 2)
{ varTitlePageStep = 200; } } } if ((said("building") || said("board", "building") || said("catch", "i'm", "building")))
{ ++v202; if (v202 > 2)
{ print("\"Nope. Next time, make up your mind before ya gets in da cab!\""); } else
{ set(boolTimingDelayOut); v206 = 22; if (varTitlePageStep > 2)
{ varTitlePageStep = 200; } } } if ((said("board", "rol") || said("done", "rol") || said("increase", "door", "rol") || said("board")))
{ if (varTitlePageStep < 5)
{ print("\"Sorry, but the meter's runnin'. Where ja wanna go?\""); } if (varTitlePageStep == 5)
{ print("\"Waddaya tryin' to do, peahead! You're not gonna stiff me, and get " "away with it!\""); set(f200); v30 = 20; } if (varTitlePageStep == 6)
{ set(f67); set(f200); } } if ((said("catch", "i'm", "home") || said("board", "home") || said("home")))
{ print("\"Ok, buddy,\" says the cabbie. \"But why would cha wanna go there?\""); new.room(Logic8); [ ##LE001## } if (said("examine", "counter"))
{ print("It seems to be running a little fast, but then, this is an expensive " "town!"); } if ((said("examine", "cab") || said("look in", "cab") || said("examine", "area") || said("examine", "bench") || said("examine", "curb") || said("examine")))
{ print("You wonder if cab companies have full-time employees to make these " "floors sticky."); } if (said("examine", "ceiling"))
{ print("Even the ceiling's grungy."); } if ((said("examine", "out", "glass") || said("examine", "glass")))
{ print("He sure drives fast, doesn't he?"); } if (said("examine", "bouncer"))
{ if (!isset(f60))
{ set(f60); print("You wish you hadn't. Mr. America, he ain't. His strongest feature " "seems to be his odor!"); } else
{ print("He wonders why you keep looking at him, and flashes a coy little " "smile back at you in the mirror. Your stomach turns, and not from " "the ride!"); } } if ((said("add", "bucks", "bouncer") || said("add", "bouncer", "bucks") || said("add", "bucks") || said("buy", "bouncer", "bucks") || said("buy") || said("buy", "bucks", "bouncer") || said("buy", "bucks") || said("buy", "bouncer")))
{ if (varTitlePageStep < 5)
{ print("\"Why don'cha wait'll we git there, buddy?\""); } if (varTitlePageStep == 5)
{ if (varInGameMoney < v200)
{ print("Sheepishly, you apologize to the cabbie for not carrying enough " "money to pay for the ride."); print("\"Waddaya mean, 'no money!!'\" snarls the driver. \"Step outside " "my office, chump!\""); set(f200); v30 = 20; } else
{ varInGameMoney -= v200; set(boolTimingDelayOut); v203 = 30; } } if (varTitlePageStep == 6)
{ print("\"I'm sorry, but it's against my personal philosophy to accept a " "gratuity!\""); } } if ((said("add", "tip", "rol") || said("add", "bouncer", "tip", "rol") || said("tip", "rol")))
{ print("\"I'm sorry, but it's against my personal philosophy to accept a " "gratuity!\""); } Label1: if (isset(f44))
{ --v203; if (v203 == 1)
{ v203 = 30; if (varTitlePageStep < 3)
{ print("\"So, wadda we gonna do, buddy? Ya just gonna sit here all night? " "I gotta earn a livin' too, ya know!\""); } if (varTitlePageStep == 5)
{ print("\"So? Are ya gonna pay up, or do I have ta get rough with cha??\""); } if (varTitlePageStep == 6)
{ print("\"So? Are ya gonna get outta my cab, or not?? Thanks for da " "business, but I didn't want ta make no career outta this!\""); } } } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ end.of.loop(ObjTitleText, f206); end.of.loop(o3, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ set.loop(o3, 2); v207 = 2; reset(f207); cycle.time(o3, v85); } if (varTitlePageStep == 3)
{ set(f205); v203 = 0; v204 = 11; v205 = 4; cycle.time(ObjFlyingDoll, v205); if (v206 != previousRoom)
{ varTimingDelay = v99; if (!isset(f204))
{ print("\"Ok. You got it, Mac!\""); } } else
{ varTimingDelay = 6; if (varTimingDelay > v99)
{ varTimingDelay = v99; } if (!isset(f204))
{ print("\"It won't take us long to get back dere, but I'll have to " "circle 'round da block.\""); } } set(f204); } if (varTitlePageStep == 4)
{ reset(f205); } if (varTitlePageStep == 5)
{ reset(f203); stop.update(ObjFlyingDoll); start.update(ObjTitleText); reverse.loop(ObjTitleText, f206); v207 = 0; start.cycling(o3); set.loop(o3, 1); last.cel(o3, v52); set.cel.v(o3, v52); reverse.loop(o3, f201); print("\"Well, here we are, buddy. That'll be $%v200.00.\""); v203 = 30; } if (varTitlePageStep == 6)
{ print("\"Thanks, buddy. Maybe I'll see ya again sometime!\""); } if (varTitlePageStep == 101)
{ v203 = 0; set.loop(o3, 2); v207 = 2; reset(f207); cycle.time(o3, v84); v204 = 0; v205 = 3; cycle.time(ObjFlyingDoll, v205); set.loop(ObjFlyingDoll, 1); start.cycling(ObjFlyingDoll); print("Hang on, Larry. He's swerving all over the road!"); varTimingDelay = 9; } if (varTitlePageStep == 102)
{ erase(o3); erase(ObjTitleText); set.loop(ObjFlyingDoll, 2); cycle.time(ObjFlyingDoll, v84); varTimingDelay = 5; } if (varTitlePageStep == 103)
{ print("It seems a bridge abutment has brought your game to a sudden stop! " "Remember, Larry: \"Friends don't let cabbies drive drunk!\""); erase(ObjFlyingDoll); set(f50); } if (varTitlePageStep == 201)
{ random(5, 15, v52); v200 += v52; print("\"Ok, but it'll cost ja extra!\""); last.cel(ObjTitleText, v52); set.cel.v(ObjTitleText, v52); force.update(ObjTitleText); start.update(o3); start.cycling(o3); set.loop(o3, 2); v207 = 2; reset(f207); cycle.time(o3, v85); start.update(ObjFlyingDoll); start.cycling(ObjFlyingDoll); set(f203); set(boolTimingDelayOut); varTitlePageStep = 2; } } --v204; if (isset(f203) && v204 == 1)
{ v204 = 11; if (!isset(f205))
{ ++v205; } else
{ if (v205 > 1)
{ --v205; } } if (v205 == v99)
{ set(boolTimingDelayOut); } else
{ cycle.time(ObjFlyingDoll, v205); } } if (isset(f206))
{ reset(f206); stop.update(ObjTitleText); } if (isset(f201))
{ reset(f201); set.loop(o3, 0); start.cycling(o3); v201 = 22; } --v201; if (v201 == 1)
{ stop.cycling(o3); } --v207; if (v207 == 1)
{ toggle(f207); if (isset(f207))
{ start.cycling(o3); random(5, 22, v207); } else
{ stop.cycling(o3); random(22, 44, v207); } } if (isset(f200))
{ reset(f85); reset(f48); v76 = v206; if (!isset(f100))
{ set(f100); reset(f67); currentScore += 1; print("Whew! You're glad to get out of here."); } } return(); [ Messages #message 1 "The cabbie snarls a \"Where to, buddy?\" as he swings the meter flag down." #message 2 "\"Lookin' for action, eh? Dis town is full of it. We gotta disco that's usually full of foxes this time of night. Den dere's the casino, next to the all-night weddin' chapel. And we gotta lovely bar, but you've been dere. Me, I like da convenience store next to da disco, but of course, that's just personal preference.\"" #message 3 "\"It won't take us long to get back dere, but I'll have to circle 'round da block.\"" #message 4 "\"Well, here we are, buddy. That'll be $%v200.00.\"" #message 5 "\"So, wadda we gonna do, buddy? Ya just gonna sit here all night? I gotta earn a livin' too, ya know!\"" #message 6 "\"Why don'cha wait'll we git there, buddy?\"" #message 7 "\"Sorry, but the meter's runnin'. Where ja wanna go?\"" #message 8 "\"Thanks, buddy. Maybe I'll see ya again sometime!\"" #message 9 "\"Waddaya tryin' to do, peahead! You're not gonna stiff me, and get away with it!\"" #message 10 "You wish you hadn't. Mr. America, he ain't. His strongest feature seems to be his odor!" #message 11 "He wonders why you keep looking at him, and flashes a coy little smile back at you in the mirror. Your stomach turns, and not from the ride!" #message 12 "The driver looks at you and says, \"Hey! What's that you got? Wine?\" He grabs your bottle of wine, and guzzles it down!" #message 13 "\"Ok, but it'll cost ja extra!\"" #message 14 "\"Waddaya mean, 'no money!!'\" snarls the driver. \"Step outside my office, chump!\"" #message 15 "\"Ok. You got it, Mac!\"" #message 16 "Hang on, Larry. He's swerving all over the road!" #message 17 "Whew! You're glad to get out of here." #message 18 "It seems a bridge abutment has brought your game to a sudden stop! Remember, Larry: \"Friends don't let cabbies drive drunk!\"" #message 19 "\"I'm sorry, but it's against my personal philosophy to accept a gratuity!\"" #message 20 "Sheepishly, you apologize to the cabbie for not carrying enough money to pay for the ride." #message 21 "\"So? Are ya gonna get outta my cab, or not?? Thanks for da business, but I didn't want ta make no career outta this!\"" #message 22 "\"So? Are ya gonna pay up, or do I have ta get rough with cha??\"" #message 23 "It seems to be running a little fast, but then, this is an expensive town!" #message 24 "You wonder if cab companies have full-time employees to make these floors sticky." #message 25 "Even the ceiling's grungy." #message 26 "\"Ok, buddy,\" says the cabbie. \"But why would cha wanna go there?\"" #message 27 "He sure drives fast, doesn't he?" #message 28 "\"Nope. Next time, make up your mind before ya gets in da cab!\""

159
src/Logic12.lgc Normal file
View file

@ -0,0 +1,159 @@
if (isset(newRoom))
{ load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View72); load.view(View28); load.view(View20); load.view(View27); load.view(View10); load.view(View4); load.view(View6); load.sound(Sound1); animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View72); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 18, 73); draw(ObjFlyingDoll); v52 = 8; cycle.time(ObjFlyingDoll, v52); animate.obj(ObjTitleText); ignore.horizon(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.view(ObjTitleText, View28); set.cel(ObjTitleText, 0); cycle.time(ObjTitleText, varEgoSize); position(ObjTitleText, 51, 101); draw(ObjTitleText); stop.update(ObjTitleText); if (!obj.in.room("Bottle of Pills", currentRoom) && isset(f65))
{ add.to.pic(View72, 3, 0, 112, 51, 4, 4); } else
{ animate.obj(o3); ignore.horizon(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View72); set.loop(o3, 2); if (isset(f65))
{ last.cel(o3, v52); set.cel.v(o3, v52); } else
{ set.cel(o3, 0); } position(o3, 112, 51); draw(o3); stop.update(o3); } if (isset(f64))
{ add.to.pic(View72, 1, 0, 65, 51, 4, 4); } v30 = 0; if (previousRoom == 11)
{ v38 = 0; v39 = 148; reset(f200); start.motion(ego); set.loop(ego, 0); } else
{ if (previousRoom == 15)
{ v38 = 58; v39 = 148; v30 = 14; } else
{ v38 = 70; v39 = 64; set.loop(ego, 2); set(f200); reset(f34); start.motion(ego); reset(f85); release.priority(ego); } } position.v(ego, v38, v39); if (previousRoom != 15)
{ draw(ego); } show.pic(); if (v30 == 14)
{ prevent.input(); set(f85); set(f54); } else
{ reset(f85); accept.input(); } return(); } reset(f200); if (posn(ego, 53, 60, 94, 64))
{ set(f200); } reset(f202); if (obj.in.room("Bottle of Pills", currentRoom) && isset(f200) && posn(ego, 82, 60, 99, 64))
{ set(f202); } if (v30 == 13 && obj.in.room("Bottle of Pills", currentRoom))
{ set(f202); } reset(f201); if (isset(f200))
{ if (posn(ego, 61, 60, 79, 64))
{ set(f201); } } reset(f205); if (!isset(f200) && posn(ego, 42, 148, 58, 152))
{ set(f205); } if (isset(f200) && v30 == 0 && isset(f208) && isset(f209))
{ stop.motion(ego); } if (v30 == 0 && posn(ego, 53, 60, 54, 64))
{ reset(f200); varTitlePageStep = 0; set(boolTimingDelayOut); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area") || said("examine", "alley")))
{ if (!obj.in.room("Bottle of Pills", currentRoom))
{ print("%m7 and a fence."); } else
{ print("%m7, a fence, and something sitting in the east window."); } } if ((said("examine", "ladder") || said("examine", "balcony")))
{ print("A rickety fire escape, complete with safety ladder, is loosely " "attached to the building. A mild, reddish glow comes from the window " "behind it."); } if (v30 != 14)
{ if ((said("find", "bin") || said("examine", "bin") || said("look in", "bin")))
{ if (!isset(f205))
{ print("Move to the front of the trash bin."); } else
{ print("Unfortunately, you can't see much from out here."); } } if ((said("brush", "off", "bra") || said("brush", "bra") || said("brush", "i'm", "off")))
{ set(f67); } if ((said("board", "bin") || said("jump", "bin") || said("jump", "about", "bin") || said("climb", "bin") || said("climb", "about", "bin")))
{ if (isset(f200))
{ print("You reconsider after noticing the trash bin is behind where you " "would fall!"); } else
{ if (!isset(f205))
{ print("Move to the front of the trash bin."); } else
{ varTitlePageStep = 100; set(boolTimingDelayOut); } } } } else
{ if ((said("climb", "out", "bin") || said("jump", "out", "bin") || said("climb", "out") || said("catch", "out") || said("board", "out") || said("board") || said("board", "bin")))
{ varTitlePageStep = 200; set(boolTimingDelayOut); } if ((said("find", "bin") || said("look in", "bin") || said("examine", "bin")))
{ if (obj.in.room("Hammer", currentRoom))
{ print("Amidst assorted, odoriferous refuse from Lefty's clientel, you " "discover Lefty's old, left-handed hammer."); } else
{ print("There's nothing else here worth describing, let alone taking."); } } if (said("catch", "hammer"))
{ if (!obj.in.room("Hammer", currentRoom))
{ set(f55); } else
{ set(f67); get("Hammer"); currentScore += 3; } } } if (said("examine", "brick"))
{ print("There is an old neon sign hanging on the wall that says \"Hotel\"..."); print("...approximately."); } if ((said("climb", "up") || said("climb", "balcony") || said("climb", "up", "balcony") || said("move", "down", "ladder", "balcony") || said("move", "ladder", "balcony") || said("move", "down", "ladder") || said("move", "ladder") || said("climb", "ladder") || said("get up", "on", "ladder") || said("catch", "ladder") || said("decrease", "ladder") || said("jump", "ladder") || said("jump", "up", "ladder") || said("jump", "on", "ladder") || said("jump") || said("jump", "up")))
{ if ((isset(f200) || v30 == 13 || isset(f201)))
{ print("Move closer to the ladder."); } else
{ if (isset(f205))
{ print("There's no way to reach the ladder from down here. It's only " "accessible from above."); } else
{ print("Whee!"); } } } if ((said("close", "glass") || said("decrease", "glass")))
{ if ((!isset(f200) || !isset(f201)))
{ set(f54); } else
{ print("Nah. That room needs the fresh air!"); } } if ((said("examine", "glass") || said("look in", "glass")))
{ if (!isset(f200))
{ print("There are two windows high above you. The west window by the fire " "escape has a dim, reddish glow; the east window is dark. There may " "be something on the sill of the east window, but you can't make it " "out from down here."); } else
{ if (isset(f201))
{ print("Looking inside the west window, you see the room you just left."); } else
{ if (obj.in.room("Bottle of Pills", currentRoom))
{ print("Looking at the east window, you notice a bottle of pills sitting " "on the window ledge."); } else
{ print("You broke it, didn't you?"); } } } } if ((said("examine", "west", "glass") || said("look in", "west", "glass")))
{ if (!isset(f200))
{ print("There are two windows high above you. The west window by the fire " "escape has a dim, reddish glow; the east window is dark. There may " "be something on the sill of the east window, but you can't make it " "out from down here."); } else
{ print("Looking inside the west window, you see the room you just left."); } } if ((said("examine", "east", "glass") || said("look in", "east", "glass")))
{ if (!isset(f200))
{ print("There are two windows high above you. The west window by the fire " "escape has a dim, reddish glow; the east window is dark. There may " "be something on the sill of the east window, but you can't make it " "out from down here."); } else
{ if (obj.in.room("Bottle of Pills", currentRoom))
{ print("Looking at the east window, you notice a bottle of pills sitting " "on the window ledge."); } else
{ print("You broke it, didn't you?"); } } } if (has("Rope") && v30 != 13)
{ if ((said("attach", "rope", "bureau") || said("attach", "rope", "i'm")))
{ if (!isset(f208))
{ set(f67); set(f208); } else
{ print("It already is."); } } if (said("attach", "rope", "balcony"))
{ if (!isset(f200))
{ print("It's not long enough to reach from here."); } else
{ if (!isset(f209))
{ set(f67); set(f209); } else
{ print("It already is."); } } } } if ((said("catch", "aphrodisiac") || said("catch", "bottle") || said("catch", "bottle", "aphrodisiac") || said("carry", "above", "glass") || said("carry", "above", "balcony", "catch", "aphrodisiac") || said("carry", "about", "aphrodisiac") || said("carry", "above", "balcony", "about", "aphrodisiac") || said("carry", "above", "balcony") || said("carry", "glass") || said("jump", "glass") || said("get up", "balcony") || said("get up", "on", "balcony") || said("carry", "above", "balcony") || said("carry", "above") || said("carry", "out") || said("climb", "on", "balcony") || said("climb", "above") || said("climb", "above", "balcony", "catch", "aphrodisiac") || said("climb", "balcony", "catch", "aphrodisiac") || said("climb", "above", "balcony", "aphrodisiac") || said("climb", "balcony", "aphrodisiac") || said("climb", "above", "balcony") || said("climb", "balcony")))
{ if (has("Bottle of Pills"))
{ set(f55); } else
{ if (obj.in.room("Bottle of Pills", currentRoom) && !isset(f202))
{ print("Try moving to the east end of the fire escape."); } else
{ if ((!isset(f208) || !isset(f209)))
{ varTitlePageStep = 250; set(boolTimingDelayOut); v58 = 16; } else
{ if (v30 != 13)
{ v30 = 13; set(f85); stop.motion(ego); set.view(ego, View6); set.loop(ego, 1); reposition.to(ego, 92, 61); set(f34); cycle.time(ego, varEgoSize); print("With the rope securely holding you to the railing, you can " "reach all the way over to the window. NOW, of all times, you " "notice the window's locked!"); } else
{ if (!obj.in.room("Bottle of Pills", currentRoom))
{ print("You already took them. Why do this again?"); } else
{ if (!isset(f65))
{ print("You consider sticking your hand through a solid glass " "window, but realize that if you did, you wouldn't be able " "to play the violin."); print("(Of course, you can't play the violin now, but you get the " "idea.)"); } else
{ set.loop(ego, 1); start.update(o3); erase(o3); add.to.pic(View72, 3, 0, 112, 51, 4, 4); get("Bottle of Pills"); currentScore += 8; print("You got 'em! But what are they?"); } } } } } } } if ((said("break", "glass", "hammer") || said("use", "hammer", "break", "glass") || said("break", "glass") || said("break", "glass", "use", "hammer") || said("beat", "glass", "hammer") || said("use", "hammer", "beat", "glass") || said("beat", "glass") || said("beat", "glass", "use", "hammer") || said("use", "hammer")))
{ if (!has("Hammer"))
{ set(f68); } else
{ if ((!isset(f202) || !isset(f208) || !isset(f209)))
{ set(f54); } else
{ if (v30 != 13)
{ print("You might try reaching over to the window first."); } else
{ set.loop(ego, 0); set.cel(ego, 0); end.of.loop(ego, f203); } } } } if (v30 == 13)
{ if (said("unbolt", "glass"))
{ print("Unlock it? From the outside?"); } if (said("increase", "glass"))
{ print("You can't. It's locked from the inside."); } if ((said("beat", "glass") || said("beat", "glass", "use", "fingers") || said("use", "fingers", "beat", "glass") || said("break", "glass")))
{ print("You consider sticking your hand through a solid glass window, but " "realize that if you did, you wouldn't be able to play the violin."); print("(Of course, you can't play the violin now, but you get the idea.)"); } if ((said("board", "balcony") || said("board", "back", "on", "balcony") || said("board", "on", "balcony") || said("board", "back") || said("board", "back", "balcony") || said("catch", "on", "balcony") || said("catch", "back", "balcony") || said("catch", "back", "on", "balcony") || said("move", "on", "rope") || said("move", "rope") || said("catch", "balcony") || said("climb", "back") || said("climb", "back", "balcony") || said("climb", "back", "on", "balcony") || said("climb", "on", "balcony") || said("climb", "balcony") || said("add", "balcony") || said("add", "balcony") || said("done", "hanging", "rope")))
{ set(f67); v30 = 0; set.view(ego, Larry_StandAndWalk); reposition.to(ego, 86, 64); accept.input(); start.motion(ego); reset(f85); reset(f34); cycle.time(ego, v84); } if (said("examine", "down"))
{ print("It's a long way to the ground!"); } } if ((said("cut", "rope", "rol") || said("use", "knife", "rol")))
{ if (v30 == 13)
{ print("Using the dull pocket knife, you cut the rope free."); varTitlePageStep = 250; set(boolTimingDelayOut); v58 = 23; } else
{ if (!isset(f208) && !isset(f209))
{ print("How can you do that?"); } else
{ print("Using the dull pocket knife, you cut the rope free."); reset(f208); reset(f209); start.motion(ego); reset(f85); if (has("Bottle of Pills"))
{ print("%g176"); } else
{ get("Rope"); print("A rickety fire escape, complete with safety ladder, is loosely " "attached to the building. A mild, reddish glow comes from the " "window behind it."); } } } } if ((said("catch", "rope", "rol") || said("let go", "rope", "rol")))
{ if (v30 == 13)
{ varTitlePageStep = 250; set(boolTimingDelayOut); v58 = 23; } else
{ if (!isset(f208) && !isset(f209))
{ print("How can you do that?"); } else
{ print("You untie the rope."); reset(f209); reset(f208); start.motion(ego); reset(f85); } } } if (isset(f200))
{ if (said("examine", "balcony"))
{ print("You are on a fire escape. A rusty ladder is at one end. East of the " "fire escape is another window, just out of your reach."); } if ((said("board", "glass") || said("climb", "glass") || said("board", "back") || said("board", "area") || said("board", "glass")))
{ if (!isset(f201))
{ print("Move closer to the window, if you want to go back in the hooker's " "room."); } else
{ set(f67); v76 = 17; } } if ((said("climb", "down") || said("decrease", "ladder") || said("board", "ladder") || said("board", "down", "ladder") || said("climb", "down", "ladder") || said("climb", "ladder")))
{ print("Try moving to the west end of the fire escape."); } if (said("examine", "down"))
{ print("It's a long way to the ground!"); } if ((said("jump") || said("jump", "off") || said("jump", "down") || said("jump", "bin") || said("get up", "on", "balcony") || said("jump", "off", "balcony") || said("climb", "down", "balcony")))
{ varTitlePageStep = 250; set(boolTimingDelayOut); v58 = 23; } } if (obj.in.room("Bottle of Pills", currentRoom) && said("examine", "aphrodisiac"))
{ if (isset(f202))
{ print("Looking at the east window, you notice a bottle of pills sitting on " "the window ledge."); } else
{ print("There may be something in the east window, but from here, you're not " "sure."); } } if ((said("catch", "ladder") || said("drain", "ladder")))
{ print("You can't. Even its rusty bolts are too tough for you!"); } if ((said("throw", "rope", "rol") || said("climb", "down", "rope", "rol") || said("climb", "rope", "rol")))
{ print("It's not long enough to reach anywhere, but you might want to use it " "for safety purposes."); } if ((said("attach", "rope") || said("use", "rope")))
{ print("Be more specific."); } if ((said("examine", "above", "fence") || said("examine", "fence")))
{ print("You see alleys stretching off to infinity."); } if ((said("climb", "fence") || said("jump", "fence") || said("jump", "above", "fence") || said("climb", "above", "fence")))
{ print("The fence is much too tall for you to climb over."); } if ((said("close", "cap", "rol") || said("climb", "on", "bin", "rol") || said("climb", "bin", "rol") || said("climb", "on", "top", "bin", "rol") || said("decrease", "cap", "rol") || said("decrease", "bin", "rol") || said("get up", "on", "bin") || said("move", "cap", "rol") || said("close", "bin", "rol")))
{ print("Unfortunately the lid on the trash bin just will not close."); } if ((said("examine", "back", "bin") || said("move", "bin", "rol")))
{ print("Try as you might, it is impossible to move the trash bin."); } if (said("attach", "rope", "anyword"))
{ print("The solution is closer to you than that."); } if ((said("cut", "glass", "use", "diamond ring") || said("use", "diamond ring", "cut", "glass") || said("carry", "rope", "rol") || said("carry", "ladder", "rol") || said("beat", "fence", "rol") || said("beat", "ladder", "rol") || said("beat", "brick", "rol")))
{ print("%g176"); } Label1: if (isset(f203))
{ reset(f203); print("Subtly, you smash the window with your hammer. Your future as a " "second-story man seems quite plausible!"); prevent.input(); start.update(o3); end.of.loop(o3, f207); } if (isset(f207))
{ reset(f207); reset(f34); stop.update(o3); set(f65); accept.input(); } if (isset(f44))
{ --v200; if (v200 == 16)
{ print("Hey! Where are you?"); } if (v200 == 11)
{ print("After a careful analysis of your surroundings, you conclude you are " "at the bottom of a pile of garbage!"); accept.input(); } if (v200 == 1 && v30 == 14)
{ print("\"YUCK!!\""); } } current.cel(ObjTitleText, v52); if (v52 == 4)
{ set(boolTimingDelayOut); } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ v30 = 5; start.update(ObjTitleText); set.cel(ObjTitleText, 1); set(f85); prevent.input(); erase(ego); end.of.loop(ObjTitleText, boolTimingDelayOut); sound(Sound1, f40); } if (varTitlePageStep == 2)
{ set.view(ego, View20); set.priority(ego, 11); position(ego, 53, 99); draw(ego); move.obj(ego, 53, 137, 3, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ set.cel(ObjTitleText, 0); stop.update(ObjTitleText); force.update(ObjTitleText); } if (varTitlePageStep == 4)
{ stop.motion(ego); set(f85); set.view(ego, View27); set.cel(ego, 1); set.priority(ego, 15); reposition.to(ego, 40, 126); cycle.time(ego, varEgoSize); set(f34); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 5)
{ reset(f34); stop.cycling(ego); last.cel(ego, v52); set.cel.v(ego, v52); accept.input(); v30 = 14; v200 = 5; varTitlePageStep = 0; } if (varTitlePageStep == 101)
{ set(f67); stop.motion(ego); set(f85); accept.input(); v30 = 14; set.view(ego, View10); last.cel(ego, v52); set.cel.v(ego, v52); set.priority(ego, 15); reposition.to(ego, 45, 145); cycle.time(ego, v85); set(f34); reverse.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 102)
{ reset(f34); stop.cycling(ego); set.view(ego, View27); reposition.to(ego, 40, 126); last.cel(ego, v52); set.cel.v(ego, v52); v200 = 5; varTitlePageStep = 0; } if (varTitlePageStep == 201)
{ set(f85); set(f67); set.view(ego, View10); set.cel(ego, 0); set.priority(ego, 15); position(ego, 49, 145); cycle.time(ego, varEgoSize); set(f34); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 202)
{ reset(f34); set.view(ego, Larry_StandAndWalk); reposition.to(ego, 52, 148); start.motion(ego); reset(f85); release.priority(ego); step.size(ego, v84); cycle.time(ego, v84); v30 = 0; varTitlePageStep = 0; } if (varTitlePageStep == 251)
{ set(f85); prevent.input(); v30 = 5; set.view(ego, View20); set.cel(ego, 3); set.priority(ego, 15); reposition.to(ego, 95, 68); force.update(ego); print.v(v58); v58 = 0; cycle.time(ego, v84); move.obj(ego, 95, 157, 4, boolTimingDelayOut); sound(Sound1, f40); } if (varTitlePageStep == 252)
{ reset(f34); stop.cycling(ego); set.view(ego, View4); set.cel(ego, 0); reposition.to(ego, 83, 157); varTimingDelay = 5; } if (varTitlePageStep == 253)
{ set(f34); cycle.time(ego, varEgoSize); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 254)
{ v76 = 8; } } if (posn(ego, 0, 135, 3, 136))
{ edgeEgoHit = LEFT_EDGE; } if (edgeEgoHit == LEFT_EDGE)
{ v76 = 11; } return(); [ Messages #message 1 "Try moving to the east end of the fire escape." #message 2 "Try moving to the west end of the fire escape." #message 3 "%m7 and a fence." #message 4 "Nah. That room needs the fresh air!" #message 5 "You are on a fire escape. A rusty ladder is at one end. East of the fire escape is another window, just out of your reach." #message 6 "%m7, a fence, and something sitting in the east window." #message 7 "It's a nice little alley, with a trash bin, two windows, a fire escape" #message 8 "Move closer to the ladder." #message 9 "(Of course, you can't play the violin now, but you get the idea.)" #message 10 "Unlock it? From the outside?" #message 11 "You can't. It's locked from the inside." #message 12 "Looking inside the west window, you see the room you just left." #message 13 "Looking at the east window, you notice a bottle of pills sitting on the window ledge." #message 14 "There are two windows high above you. The west window by the fire escape has a dim, reddish glow; the east window is dark. There may be something on the sill of the east window, but you can't make it out from down here." #message 15 "You broke it, didn't you?" #message 16 "You lean far out over the railing before remembering that agility is yet another of your short suits." #message 17 "With the rope securely holding you to the railing, you can reach all the way over to the window. NOW, of all times, you notice the window's locked!" #message 18 "Subtly, you smash the window with your hammer. Your future as a second-story man seems quite plausible!" #message 19 "You got 'em! But what are they?" #message 20 "You might try reaching over to the window first." #message 21 "You consider sticking your hand through a solid glass window, but realize that if you did, you wouldn't be able to play the violin." #message 22 "It already is." #message 23 "What is this; a death wish?" #message 24 "You already took them. Why do this again?" #message 25 "Amidst assorted, odoriferous refuse from Lefty's clientel, you discover Lefty's old, left-handed hammer." #message 26 "There's nothing else here worth describing, let alone taking." #message 27 "\"YUCK!!\"" #message 28 "Unfortunately, you can't see much from out here." #message 29 "Wow! Does your head hurt!!" #message 30 "Hey! Where are you?" #message 31 "After a careful analysis of your surroundings, you conclude you are at the bottom of a pile of garbage!" #message 32 "Move to the front of the trash bin." #message 33 "There's no way to reach the ladder from down here. It's only accessible from above." #message 34 "You see alleys stretching off to infinity." #message 35 "The fence is much too tall for you to climb over." #message 36 "It's not long enough to reach from here." #message 37 "It's not long enough to reach anywhere, but you might want to use it for safety purposes." #message 38 "Be more specific." #message 39 "You untie the rope." #message 40 "How can you do that?" #message 41 "Using the dull pocket knife, you cut the rope free." #message 42 "%g176" #message 43 "A rickety fire escape, complete with safety ladder, is loosely attached to the building. A mild, reddish glow comes from the window behind it." #message 44 "Unfortunately the lid on the trash bin just will not close." #message 45 "Try as you might, it is impossible to move the trash bin." #message 46 "The solution is closer to you than that." #message 47 "There is an old neon sign hanging on the wall that says \"Hotel\"..." #message 48 "...approximately." #message 49 "You can't. Even its rusty bolts are too tough for you!" #message 50 "Not now!" #message 51 "There may be something in the east window, but from here, you're not sure." #message 52 "It's a long way to the ground!" #message 53 "Whee!" #message 54 "Move closer to the window, if you want to go back in the hooker's room." #message 55 "You reconsider after noticing the trash bin is behind where you would fall!"

89
src/Logic13.lgc Normal file
View file

@ -0,0 +1,89 @@
if (isset(newRoom))
{ load.view(Larry_OnToillet); load.view(View59); load.view(View60); load.view(View58); load.view(View69); load.view(View3); load.sound(Sound12); load.sound(Sound14); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); position(ObjFlyingDoll, 52, 137); set.view(ObjFlyingDoll, View58); last.cel(ObjFlyingDoll, v52); set.cel.v(ObjFlyingDoll, v52); set.priority(ObjFlyingDoll, 10); v52 = 3; cycle.time(ObjFlyingDoll, v52); draw(ObjFlyingDoll); reverse.loop(ObjFlyingDoll, f207); animate.obj(ObjTitleText); ignore.horizon(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); position(ObjTitleText, 71, 123); set.view(ObjTitleText, View60); set.priority(ObjTitleText, 6); if (obj.in.room("Diamond Ring", currentRoom))
{ animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View69); set.priority(o3, 12); position(o3, 101, 116); draw(o3); stop.update(o3); } set(f85); stop.motion(ego); position(ego, 56, 136); draw(ego); show.pic(); return(); } reset(f208); if (posn(ego, 50, 132, 60, 140))
{ set(f208); } reset(f209); if (posn(ego, 89, 129, 110, 160))
{ set(f209); } reset(f200); if (posn(ego, 65, 125, 84, 131))
{ set(f200); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area")))
{ print("You are in Lefty's one and only restroom. The stench is overpowering, " "there is graffiti on the walls, and you doubt that the sink was clean " "even when it was installed. Even roaches can't survive in this place!"); } if (said("smell", "rol"))
{ print("Lefty must be running low on air freshener."); } if ((said("catch", "up") || said("board") || said("done", "crap") || said("catch", "newspaper") || said("use", "newspaper") || said("catch", "bathroom", "newspaper") || said("use", "bathroom", "newspaper") || said("dry") || said("dry", "ass") || said("get up", "up") || said("get up")))
{ if (v30 != 9)
{ print("NOW??"); } else
{ print("Carefully finishing your duties, you wipe and toss the newspaper " "behind the toilet for the next user."); set(f59); v30 = 0; set.view(ego, Larry_StandAndWalk); cycle.time(ego, v84); force.update(ego); start.motion(ego); reset(f85); reset(f34); v202 = 0; v205 = 0; return(); } } if (v30 == 9 && !isset(haveMatch))
{ set(haveMatch); print("NOW??"); } if ((said("catch", "newspaper") || said("examine", "newspaper")))
{ print("You only read while \"enthroned.\""); } if (has("\"Jugs\" Magazine") && said("examine", "centerfold", "rol"))
{ print("No wonder your eyesight is so bad!"); } if (said("dry", "fingers", "on", "bra"))
{ set(f67); } if ((said("catch", "crap") || said("rest", "bathroom") || said("rest", "bench") || said("rest", "on", "bathroom") || said("rest", "on", "bench") || said("board", "bathroom") || said("use", "bathroom") || said("rest") || said("crap")))
{ if (v30 != 0)
{ print("NOW??"); } else
{ if (!isset(f200))
{ set(f54); } else
{ v30 = 9; set.view(ego, Larry_OnToillet); reposition.to(ego, 72, 126); set(f85); set(f34); stop.motion(ego); force.update(ego); print("You grab an ancient copy of the \"Ball Street Journal,\" and " "settle in to \"sit and think!\""); v202 = 14; v205 = 3; if (!isset(f116))
{ set(f116); currentScore += 1; } return(); } } } if ((said("look in", "bathroom") || said("examine", "bathroom")))
{ if (!isset(f200))
{ set(f54); } else
{ print("It's not a pretty sight!"); } } if ((said("examine", "bathroom", "newspaper") || said("catch", "bathroom", "newspaper") || said("use", "bathroom", "newspaper")))
{ if (!isset(f200))
{ set(f54); } else
{ print("The toilet paper is only there for official purposes."); } } if ((said("bite", "liquid", "rol") || said("catch", "bite", "rol")))
{ print("No one would drink from ANY fixture in here!"); } if ((said("move", "on", "liquid") || said("move", "liquid", "on", "basin") || said("move", "on", "basin") || said("move", "on", "liquid", "basin") || said("brush", "fingers", "rol")))
{ if (!isset(f209))
{ set(f54); } else
{ print("Ok."); print("Say, there's no soap."); print("There's no towels."); print("Your hands are still dirty, but now they're wet!"); } } if (said("brush", "face", "rol"))
{ if (!isset(f209))
{ set(f54); } else
{ print("Ok."); print("Say, there's no soap."); print("There's no towels."); print("Your face is still dirty, but at least it's now dripping with water."); } } if ((said("leak", "rol") || said("board", "bathroom", "rol") || said("catch", "leak", "rol")))
{ if (v30 != 0)
{ print("NOW??"); } else
{ if (!isset(f200))
{ set(f54); } else
{ set(f67); v30 = 21; set.loop(ego, 3); reposition.to(ego, 74, 127); force.update(ego); set(f85); stop.motion(ego); v203 = 5; sound(Sound12, f40); } } } if (said("throw", "up"))
{ print("Been drinking Lefty's liquor again, eh?"); } if ((said("bang", "anyword", "door") || said("bang", "door", "anyword") || said("bang", "door") || said("bang")))
{ if (!isset(f208))
{ set(f54); } else
{ print("Funny. No one knocks back."); } } if (said("increase", "door"))
{ if (!isset(f208))
{ print("Move closer to the handle."); } else
{ stop.motion(ego); set(f85); start.update(ObjFlyingDoll); end.of.loop(ObjFlyingDoll, f204); } } if (said("examine", "brick"))
{ ++v204; if (v204 == 1)
{ print("%m8Scott me up, Beamie!\""); } if (v204 == 2)
{ print("%m8Attention arcade game players: please don't eat the urinal " "cakes!\""); } if (v204 == 3)
{ print("%m8It takes leather balls to play rugby!\""); } if (v204 > 3)
{ print("Say, here's an interesting one:\n\n\"The password is: 'Ken sent " "me.'\""); if (!isset(f57))
{ set(f57); currentScore += 2; } } } if ((said("look in", "basin") || said("examine", "basin")))
{ if (!isset(f209))
{ set(f54); } else
{ if (!obj.in.room("Diamond Ring", currentRoom))
{ print("A small, neatly lettered sign reminds you:\n\n\"Since we can't " "clean up after every customer, please rinse out this sink when you " "are finished.\""); print("Evidently, you are the first customer who can read."); } else
{ print("Why, look! Some woman removed her diamond ring to wash her hands, " "and forgot to take it with her."); } } } if ((said("brush", "basin") || said("brush", "out", "basin")))
{ print("It's nice of you to try, but this sink is too far gone to save!"); } if ((said("examine", "mirror") || said("look in", "mirror")))
{ if (!isset(f209))
{ set(f54); } else
{ print("You see a handsome, dashing, macho, sexy, young man. (Obviously, " "this mirror has quite a bit of distortion!)"); } } if ((said("examine", "back", "mirror") || said("increase", "mirror") || said("move", "mirror") || said("increase", "cabinet")))
{ if (!isset(f209))
{ set(f54); } else
{ print("Nice idea, but the mirror is firmly attached to the wall."); } } if ((said("increase", "bathroom", "rol") || said("look in", "bathroom", "tank")))
{ print("Yuck!"); } if ((said("catch", "diamond ring") || said("catch", "diamond ring", "from", "basin") || said("catch", "diamond ring", "basin")))
{ if (!isset(f209))
{ set(f54); } else
{ if (!obj.in.room("Diamond Ring", currentRoom))
{ set(f55); } else
{ start.update(o3); erase(o3); get("Diamond Ring"); currentScore += 3; print("Got it!\n\nYou briefly consider an attempt to find the ring's " "owner, but return to your normal self and pocket it instead."); } } } if ((said("flush", "bathroom") || said("flush")))
{ if (!isset(f200))
{ set(f54); } else
{ prevent.input(); set(f85); stop.motion(ego); set(f202); v200 = 148; draw(ObjTitleText); v201 = 8; print("Realizing your mistake, you quickly jiggle the handle, attempting to " "stem the onrushing tide of water."); print("It doesn't work."); } } if (said("anyword", "bathroom", "rol"))
{ print("My, my. Aren't we the little sick-o!"); } if ((said("dry", "rol") || said("aim", "rol") || said("dry", "face", "rol") || said("dry", "fingers", "rol") || said("dry", "about", "face", "rol") || said("dry", "about", "fingers", "rol")))
{ print("Ok. You're dry (but your keyboard is still damp)!"); } Label1: if (isset(f44))
{ --v202; if (v202 == 6)
{ print("You feel a great relief!"); } if (v202 == 1)
{ sound(Sound14, f40); print("What's that aroma?"); } --v203; if (v203 == 1)
{ print("Ahhhhhhh."); v30 = 0; start.motion(ego); reset(f85); } } --v205; if (v205 == 1)
{ toggle(f210); if (isset(f210))
{ set.loop(ego, 1); cycle.time(ego, v84); random(7, 12, v205); } else
{ set.loop(ego, 0); cycle.time(ego, v88); random(19, 33, v205); } } if (isset(f207))
{ reset(f207); stop.update(ObjFlyingDoll); reset(f85); start.motion(ego); } --v201; if (v201 == 1)
{ if (isset(f202) && v200 == 100)
{ print("Your life passes before your eyes."); print("You doze briefly."); set.view(ego, View3); set(f34); } if (isset(f202) && v200 == 40)
{ print("Bad idea, eh Larry?"); set(f50); } if (isset(f202) && v200 > 36)
{ v53 = 59; v54 = 0; v55 = 0; v32 = 47; v57 = 15; add.to.pic.v(v53, v54, v55, v32, v200, v57, v87); v200 -= 4; v201 = 8; } } if (isset(f204))
{ reset(f85); v76 = 14; } return(); [ Messages #message 1 "You are in Lefty's one and only restroom. The stench is overpowering, there is graffiti on the walls, and you doubt that the sink was clean even when it was installed. Even roaches can't survive in this place!" #message 2 "%m8Scott me up, Beamie!\"" #message 3 "Ahhhhhhh." #message 4 "%m8Attention arcade game players: please don't eat the urinal cakes!\"" #message 5 "%m8It takes leather balls to play rugby!\"" #message 6 "Funny. No one knocks back." #message 7 "NOW??" #message 8 "You see many messages. One is:\n\n\"" #message 9 "You see a handsome, dashing, macho, sexy, young man. (Obviously, this mirror has quite a bit of distortion!)" #message 10 "You grab an ancient copy of the \"Ball Street Journal,\" and settle in to \"sit and think!\"" #message 11 "You feel a great relief!" #message 12 "Why, look! Some woman removed her diamond ring to wash her hands, and forgot to take it with her." #message 13 "Got it!\n\nYou briefly consider an attempt to find the ring's owner, but return to your normal self and pocket it instead." #message 14 "A small, neatly lettered sign reminds you:\n\n\"Since we can't clean up after every customer, please rinse out this sink when you are finished.\"" #message 15 "Evidently, you are the first customer who can read." #message 16 "My, my. Aren't we the little sick-o!" #message 17 "Say, here's an interesting one:\n\n\"The password is: 'Ken sent me.'\"" #message 18 "Bad idea, eh Larry?" #message 19 "Your life passes before your eyes." #message 20 "You doze briefly." #message 21 "What's that aroma?" #message 22 "Ok." #message 23 "It's not a pretty sight!" #message 24 "Say, there's no soap." #message 25 "There's no towels." #message 26 "Move closer to the handle." #message 27 "Your hands are still dirty, but now they're wet!" #message 28 "The toilet paper is only there for official purposes." #message 29 "Carefully finishing your duties, you wipe and toss the newspaper behind the toilet for the next user." #message 30 "You only read while \"enthroned.\"" #message 31 "Your face is still dirty, but at least it's now dripping with water." #message 32 "Ok. You're dry (but your keyboard is still damp)!" #message 33 "Realizing your mistake, you quickly jiggle the handle, attempting to stem the onrushing tide of water." #message 34 "It doesn't work." #message 35 "It's nice of you to try, but this sink is too far gone to save!" #message 36 "No one would drink from ANY fixture in here!" #message 37 "Nice idea, but the mirror is firmly attached to the wall." #message 38 "Yuck!" #message 39 "Lefty must be running low on air freshener." #message 40 "No wonder your eyesight is so bad!" #message 41 "Been drinking Lefty's liquor again, eh?"

65
src/Logic14.lgc Normal file
View file

@ -0,0 +1,65 @@
if (isset(newRoom))
{ set.horizon(44); observe.blocks(ego); load.view(View57); load.view(View47); load.sound(Sound27); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View57); set.loop(o3, 1); set.cel(o3, 0); set.priority(o3, 9); v52 = 3; cycle.time(o3, v52); position(o3, 105, 123); draw(o3); stop.cycling(o3); animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View47); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 99, 132); draw(ObjFlyingDoll); stop.cycling(ObjFlyingDoll); cycle.time(ObjFlyingDoll, v85); add.to.pic(View47, 1, 0, 99, 141, 0, 4); if (obj.in.room("Rose", currentRoom))
{ animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); position(ObjTitleText, 48, 115); set.view(ObjTitleText, View57); set.loop(ObjTitleText, 0); set.cel(ObjTitleText, 0); set.priority(ObjTitleText, 12); draw(ObjTitleText); stop.update(ObjTitleText); } if (previousRoom == 13)
{ v38 = 100; v39 = 123; } else
{ v38 = 76; set.loop(ego, 3); } position.v(ego, v38, v39); draw(ego); show.pic(); sound(Sound27, f40); return(); } reset(f202); if (posn(ego, 95, 110, 104, 127))
{ set(f202); } reset(f200); if (posn(ego, 90, 125, 150, 150))
{ set(f200); } reset(f201); if (posn(ego, 40, 114, 58, 134))
{ set(f201); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area")))
{ print("You are in a dimly lit hallway. The paint peeling off the walls gives " "the cockroaches something to watch. An old table is pushed against the " "west wall. A filthy drunk sits on the filthy floor, leaning against " "the filthy wall."); } if ((said("examine", "brick", "rol") || said("caress", "brick") || said("catch", "brick")))
{ if (!isset(f202))
{ print("You spend hours carefully examining every brick. You find nothing."); } else
{ print("Caught ya! Now open the door, then get your nose out of that manual " "and start playing this game the right way!"); } } if (said("examine", "bouncer"))
{ print("He's a poor little lamb, who has lost his way..."); print("...and also his bladder control!"); } if ((said("buy", "bouncer", "bite") || said("buy", "bite", "about", "bouncer")))
{ if (!isset(f200))
{ set(f54); } else
{ print("There's no one selling anything here. Try the bartender out front."); } } if (said("increase", "door"))
{ if (!isset(f202))
{ set(f54); } else
{ set(f67); stop.motion(ego); set(f85); end.of.loop(o3, f203); } } if ((isset(f207) || said("ask", "bouncer") || said("ask", "bouncer", "rol")))
{ reset(f207); if (!isset(f200))
{ set(f54); } else
{ v201 = 5; v200 = 5; start.cycling(ObjFlyingDoll); } } if ((said("add", "bucks") || said("use", "bucks") || said("add", "bouncer", "bucks") || said("add", "bucks", "bouncer")))
{ if (!isset(f200))
{ set(f54); } else
{ --varInGameMoney; print("He responds, \"Ya know, whad I really need is a good, sshhtiff " "belt!\""); } } if ((said("add", "shot") || said("add", "bouncer", "bite") || said("add", "bite", "bouncer") || said("add", "bite") || said("use", "shot") || said("add", "bouncer", "shot") || said("add", "shot", "bouncer")))
{ if (!has("Glass of Whiskey"))
{ print("You have no drink to give him."); } else
{ if (!isset(f200))
{ set(f54); } else
{ drop("Glass of Whiskey"); v200 = 5; start.cycling(ObjFlyingDoll); if (!obj.in.room("Remote Control", currentRoom))
{ v201 = 15; } else
{ v201 = 6; } } } } if ((said("examine", "above", "desk") || said("examine", "desk")))
{ if (obj.in.room("Rose", currentRoom))
{ print("There is a single, lovely, long-stemmed, red rose lying " "incongruously on the table."); } else
{ print("You can remember when that table held a rose."); } } if (obj.in.room("Rose", currentRoom) && said("examine", "flower"))
{ print("There is a single, lovely, long-stemmed, red rose lying incongruously " "on the table."); } if (said("catch", "flower"))
{ if (!isset(f201))
{ set(f54); } else
{ if (!obj.in.room("Rose", currentRoom))
{ set(f55); } else
{ set(f67); currentScore += 1; erase(ObjTitleText); get("Rose"); } } } if ((said("add", "anyword", "bouncer") || said("add", "bouncer", "rol")))
{ if (!isset(f200))
{ set(f54); } else
{ print("He's too drunk to want anything."); } } if ((said("help", "anyword", "bouncer", "rol") || said("help", "bouncer", "rol")))
{ if (!isset(f200))
{ set(f54); } else
{ print("He's beyond help, but thirsty."); } } if ((said("aim", "bouncer", "rol") || said("wake", "bouncer", "rol") || said("beat", "bouncer", "rol")))
{ if (!isset(f200))
{ set(f54); } else
{ print("\"Hey! Wake up!\""); set(f207); } } if ((said("look in", "bouncer", "rol") || said("look in", "bra", "rol") || said("rob", "bouncer", "rol") || said("rob", "bucks", "rol") || said("catch", "billfold", "rol") || said("find", "bra", "rol") || said("find", "bouncer", "rol")))
{ if (!isset(f200))
{ set(f54); } else
{ print("You find nothing but odor."); } } Label1: if (isset(f44))
{ --v200; if (v200 == 1)
{ set.cel(ObjFlyingDoll, 0); stop.cycling(ObjFlyingDoll); print.v(v201); if (v201 == 6)
{ print("Slurp! \"Ahhhh! That did hit the ol' spot!\""); print("\"Ya know, ya mus' be ma only frien' in the whole world! Shhoooo, " "I'm gonna give ya my only posshhess... hhic!"); print("\"...my only posshhess... hhic!"); print("\"...my only posshhess... hhic!"); print("\"...my only posshhess... hhic!"); print("\"...all I got in the world.\n\nWhat'sha guy like me need witta TV " "remote control!?\""); currentScore += 2; get("Remote Control"); } } } if (!isset(f204) && v38 == 101 && v39 == 133)
{ set(f204); toggle(f205); if (isset(f205))
{ print("\"Geeze! Them pointy-toed shoes hurt!\""); } else
{ print("\"Wadda ya tryin' to do; make me a soprano??\""); } } if (isset(f59) && isset(f200) && previousRoom == 13 && !isset(f206))
{ set(f206); start.cycling(ObjFlyingDoll); v200 = 5; v201 = 2; } if (isset(f204))
{ distance(ego, ObjFlyingDoll, v52); if (v52 > 25)
{ reset(f204); } } if (edgeEgoHit == BOTTOM_EDGE)
{ v76 = 15; } if (isset(f203))
{ reset(f85); v76 = 13; } return(); [ Messages #message 1 "You are in a dimly lit hallway. The paint peeling off the walls gives the cockroaches something to watch. An old table is pushed against the west wall. A filthy drunk sits on the filthy floor, leaning against the filthy wall." #message 2 "\"Jeeezz! Somethin' die in there??\"" #message 3 "You can remember when that table held a rose." #message 4 "You find nothing but odor." #message 5 "\"Hiya shhhhonny. How's 'bout you 'n' me havin' a lil' drink?\"" #message 6 "Glug, glug, glug, glug, glug." #message 7 "Slurp! \"Ahhhh! That did hit the ol' spot!\"" #message 8 "\"Ya know, ya mus' be ma only frien' in the whole world! Shhoooo, I'm gonna give ya my only posshhess... hhic!" #message 9 "He's a poor little lamb, who has lost his way..." #message 10 "...and also his bladder control!" #message 11 "There is a single, lovely, long-stemmed, red rose lying incongruously on the table." #message 12 "\"Wadda ya tryin' to do; make me a soprano??\"" #message 13 "\"Geeze! Them pointy-toed shoes hurt!\"" #message 14 "You generously hand him a dollar." #message 15 "\"Shhaay, thanksh buddy! How 'bout sshhom'ore?\"" #message 16 "He responds, \"Ya know, whad I really need is a good, sshhtiff belt!\"" #message 17 "You spend hours carefully examining every brick. You find nothing." #message 18 "You have no drink to give him." #message 19 "There's no one selling anything here. Try the bartender out front." #message 20 "He's too drunk to want anything." #message 21 "He's beyond help, but thirsty." #message 22 "\"...my only posshhess... hhic!" #message 23 "\"...all I got in the world.\n\nWhat'sha guy like me need witta TV remote control!?\"" #message 24 "\"Hey! Wake up!\"" #message 25 "Caught ya! Now open the door, then get your nose out of that manual and start playing this game the right way!"

1
src/Logic15.lgc Normal file

File diff suppressed because one or more lines are too long

101
src/Logic16.lgc Normal file
View file

@ -0,0 +1,101 @@
if (isset(newRoom))
{ set.horizon(39); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View61); load.view(View62); load.view(View63); load.view(View64); animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); position(ObjTitleText, 24, 132); set.view(ObjTitleText, View61); set.priority(ObjTitleText, 10); v52 = 3; cycle.time(ObjTitleText, v52); animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); position(o3, 70, 136); set.view(o3, View64); animate.obj(ObjFlyingDoll); if (isset(f56))
{ set(f90); set.view(ObjFlyingDoll, View62); set.loop(ObjFlyingDoll, 2); position(ObjFlyingDoll, 70, 132); draw(o3); random(3, 9, v202); } else
{ if (previousRoom == 17)
{ set.view(ObjFlyingDoll, View63); position(ObjFlyingDoll, 100, 135); set(f210); } else
{ set.view(ObjFlyingDoll, View62); set.loop(ObjFlyingDoll, 0); position(ObjFlyingDoll, 42, 135); move.obj(ObjFlyingDoll, 116, 135, 1, f201); } } draw(ObjFlyingDoll); set.loop(ego, 0); if (previousRoom == 17)
{ set.cel(ObjTitleText, 0); draw(ObjTitleText); stop.update(ObjTitleText); v38 = 71; v39 = 55; } else
{ last.cel(ObjTitleText, v52); set.cel.v(ObjTitleText, v52); draw(ObjTitleText); reverse.loop(ObjTitleText, f204); v38 = 26; v39 = 136; stop.motion(ego); set(f85); } position.v(ego, v38, v39); draw(ego); show.pic(); return(); } reset(f209); distance(ego, ObjFlyingDoll, v52); if (v52 < 13)
{ set(f209); set(f69); } reset(f205); if (posn(ego, 22, 123, 33, 137))
{ set(f205); } reset(f202); if (posn(ego, 65, 137, 80, 143))
{ set(f202); } reset(f212); if (posn(ego, 65, 132, 76, 143))
{ set(f212); } reset(f207); if (posn(ego, 105, 131, 133, 139))
{ set(f207); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area")))
{ print("The bar's storage room is almost empty. Its most significant feature " "is a big, mean-looking dude."); } if ((said("examine", "box") || said("increase", "box") || said("look in", "box")))
{ print("They're boxes, all right."); } if ((said("catch", "box") || said("move", "box") || said("climb", "box") || said("climb", "on", "box") || said("use", "box")))
{ print("What does this look like, the ship's hold in \"King's Quest III?\""); } if (said("examine", "door"))
{ print("It's the door from the bar. Its far side looks better than this side."); } if ((said("examine", "stair", "rol") || said("examine", "up", "rol")))
{ print("You wonder what palace of earthly delights resides above you."); } if (said("examine", "bouncer"))
{ print("He's no rocket scientist!"); } if ((said("aim", "control", "bouncer") || said("use", "control", "on", "bouncer")))
{ print("He's unaffected by the remote control."); } if (said("examine", "television"))
{ if (!isset(f56))
{ print("Its screen is blank; much like the pimp's mind."); } else
{ if (!isset(f90))
{ print("%m56program."); } else
{ print("Get your mind back on the game, Larry!"); } } } if ((said("buy", "rol") || said("buy", "blond") || said("buy", "ass") || said("buy", "copulate") || said("buy", "clit") || said("add", "one", "bucks") || said("add", "one", "bucks", "bouncer") || said("add", "bouncer", "one", "bucks") || said("add", "bouncer", "bucks") || said("add", "bucks", "bouncer") || said("add", "bucks")))
{ if (isset(f90))
{ print("There is no need to pay; he's pleasantly distracted. Help yourself!"); } else
{ if (!isset(f209))
{ set(f54); } else
{ if (varInGameMoney < 100)
{ print("You don't have enough money."); } else
{ set(f208); reset(f206); varInGameMoney -= 100; print("\"Thanks,\" he growls. \"Remember, no refunds!\""); set.view(ObjFlyingDoll, View62); move.obj(ObjFlyingDoll, 100, 135, 1, f211); if (isset(f63))
{ print("\"You like that stuff, eh, boy?\""); } } } } } if ((said("bang", "anyword", "door") || said("bang", "door", "anyword") || said("bang", "door") || said("bang")))
{ if (!isset(f205))
{ set(f54); } else
{ print("Evidently no one in the bar wants to play \"Knock, knock\" with you."); } } if (said("increase", "door"))
{ if (!isset(f205))
{ set(f54); } else
{ set(f67); stop.motion(ego); set(f85); start.update(ObjTitleText); end.of.loop(ObjTitleText, f203); } } if ((said("move", "on", "television") || said("move", "television", "on") || said("television", "on")))
{ if (!isset(f202))
{ set(f54); } else
{ if (isset(f56))
{ print("It already is!"); } else
{ print("The knob is broken off. There's no way to turn it."); } } } if ((said("move", "off", "television") || said("move", "television", "off") || said("television", "off")))
{ if (!isset(f202))
{ set(f54); } else
{ if (!isset(f56))
{ print("It already is!"); } else
{ print("The knob is broken off. There's no way to turn it."); } } } if ((said("use", "control") || said("use", "control", "off") || said("use", "control", "on") || said("use", "control", "move", "television", "on") || said("use", "control", "move", "television", "off") || said("use", "control", "rol") || said("move", "button", "control", "rol") || said("move", "button", "on", "control", "rol") || said("move", "control", "rol") || said("move", "control", "on") || said("move", "control", "off") || said("move", "control", "television", "on") || said("move", "control", "television", "off") || said("move", "control", "move", "television", "on") || said("move", "control", "move", "television", "off") || said("move", "control", "move", "on", "television") || said("move", "control", "move", "off", "television") || said("move", "on", "television", "use", "control") || said("move", "off", "television", "use", "control") || said("move", "television", "on", "use", "control") || said("move", "television", "off", "use", "control")))
{ if (!has("Remote Control"))
{ set(f68); } else
{ if (v39 > 144)
{ print("The remote control seems ineffectual from this angle."); } else
{ if (isset(f56))
{ print("Evidently the remote control's off button is broken."); } else
{ currentScore += 3; draw(o3); print("You click the power switch on the remote control."); set(f56); v202 = 5; v82 = 14; random(33, 77, v200); } } } } if ((said("attach", "bouncer", "use", "rope") || said("attach", "up", "bouncer")))
{ if (!has("Rope"))
{ set(f68); } else
{ print("He's too strong for you, Larry."); } } if ((said("ask", "bouncer") || said("bargain", "rol") || said("ask", "hello")))
{ if (isset(f90))
{ print("He ignores you. It looks like he's \"engrossed\" in something right " "now."); } else
{ print("\"Ya wanna go upstairs?\" he says in a scholarly voice, \"ya gotta " "pays da price!\""); print("\"$100.00, cash up front, no refunds.\""); print("He certainly has a pleasing manner about him."); } } if ((said("beat", "up", "bouncer", "rol") || said("beat", "bouncer", "rol") || said("use", "hammer", "rol") || said("attach", "bouncer") || said("attach", "up", "bouncer") || said("attach", "up", "bouncer", "use", "rope") || said("use", "rope", "attach", "up", "bouncer") || said("use", "rope", "attach", "bouncer") || said("attach", "up", "bouncer", "rope") || said("attach", "bouncer", "rope") || said("fight", "bouncer", "rol")))
{ print("He's far too big, and you're far too wimpy."); } if ((said("move") || said("move", "out", "way") || said("move", "away") || said("catch", "away") || said("move", "bouncer")))
{ print("\"Ya wanna go upstairs?\" he says in a scholarly voice, \"ya gotta " "pays da price!\""); print("\"$100.00, cash up front, no refunds.\""); print("He certainly has a pleasing manner about him."); } if ((said("add", "bouncer", "control", "rol") || said("add", "control", "bouncer", "rol")))
{ print("Its operation is beyond his mental capacities."); } if ((said("move", "channel") || said("use", "control", "move", "channel") || said("move", "television", "channel") || said("move", "channel", "television") || said("move", "television", "channel", "use", "control") || said("move", "channel", "television", "use", "control") || said("move", "channel", "use", "control") || said("move", "television", "channel", "control") || said("move", "channel", "control") || said("use", "control", "move", "television", "channel") || said("alter", "channel") || said("use", "control", "alter", "channel") || said("alter", "television", "channel") || said("alter", "channel", "television") || said("alter", "television", "channel", "use", "control") || said("alter", "channel", "television", "use", "control") || said("alter", "channel", "use", "control") || said("alter", "television", "channel", "control") || said("alter", "channel", "control") || said("use", "control", "alter", "television", "channel")))
{ if (!has("Remote Control"))
{ print("The knob is broken off. There's no way to turn it."); } else
{ if (!isset(f56))
{ print("The TV is off."); } else
{ if (v39 > 144)
{ print("The remote control seems ineffectual from this angle."); } else
{ if (v82 == 21)
{ print("Nah. He's having a good time!"); } else
{ if (v200 > 0)
{ print("Slow down. You're gonna blow the punch line!"); } else
{ print("You click the channel selector on the remote control."); ++v82; random(23, 39, v200); } } } } } } if (said("examine", "brick"))
{ print("The walls do a good job of separating the floor from the ceiling."); } if (said("examine", "burn"))
{ print("It's just hanging around."); } if (said("examine", "clit"))
{ print("Wait 'til you get upstairs."); } Label1: if ((!isset(f212) || !isset(f90)))
{ v201 = 0; } else
{ if (v201 <= 0)
{ v201 = 2; } --v201; if (v201 == 1)
{ print("\"Hey! Outta da way!!\""); v201 = 22; } } --v200; if (v200 == 20)
{ print.v(v82); } if (v200 == 10)
{ if (v82 != 21)
{ v52 = v82; v52 += 20; print.v(v52); } else
{ reset(f206); set.view(ObjFlyingDoll, View62); move.obj(ObjFlyingDoll, 70, 135, 1, f200); } } if (v200 == 1)
{ if (v82 != 21)
{ print("The pimp seems vaguely interested, but not enough to leave his post " "by the stairs."); } } if (isset(f211))
{ reset(f211); set.view(ObjFlyingDoll, View63); print("\"Have a nice lay.\""); } if (isset(f200))
{ reset(f200); set(f90); set.loop(ObjFlyingDoll, 2); reposition.to(ObjFlyingDoll, 70, 132); force.update(ObjFlyingDoll); if (!isset(f98))
{ set(f98); currentScore += 8; } print("It appears you've finally reached the pimp's cultural level."); } if (isset(f210))
{ if (v38 < 90 && v39 > 110)
{ reset(f210); print("\"Pretty good stuff, eh, boy?\" laughs the pimp."); set.view(ObjFlyingDoll, View62); set.loop(ObjFlyingDoll, 0); move.obj(ObjFlyingDoll, 116, 135, 1, f201); } } if (isset(f201))
{ reset(f201); set(f206); set.view(ObjFlyingDoll, View63); } if (!isset(f208) && isset(f206) && isset(f207))
{ set(f208); print("The pimp growls, \"You got no business goin' up these stairs, little " "man!\""); } --v202; if (isset(f56) && v202 == 1)
{ random(4, 16, v202); random(1, 4, v52); cycle.time(o3, v52); } if (isset(f204))
{ reset(f204); stop.update(ObjTitleText); start.motion(ego); reset(f85); } if (isset(f203))
{ reset(f85); v76 = 15; } if ((v39 < 42 || edgeEgoHit == TOP_EDGE))
{ v76 = 17; } return(); [ Messages #message 1 "The bar's storage room is almost empty. Its most significant feature is a big, mean-looking dude." #message 2 "\"Ya wanna go upstairs?\" he says in a scholarly voice, \"ya gotta pays da price!\"" #message 3 "\"$100.00, cash up front, no refunds.\"" #message 4 "He certainly has a pleasing manner about him." #message 5 "\"Thanks,\" he growls. \"Remember, no refunds!\"" #message 6 "Evidently no one in the bar wants to play \"Knock, knock\" with you." #message 7 "It's the door from the bar. Its far side looks better than this side." #message 8 "You don't have enough money." #message 9 "\"You like that stuff, eh, boy?\"" #message 10 "The pimp seems vaguely interested, but not enough to leave his post by the stairs." #message 11 "The pimp growls, \"You got no business goin' up these stairs, little man!\"" #message 12 "It appears you've finally reached the pimp's cultural level." #message 13 "He ignores you. It looks like he's \"engrossed\" in something right now." #message 14 "\"Oh, John.\" \"Oh, Marsha.\"\n\"OH, John.\" \"OH, Marsha.\"\n\"Oh, JOHN!\" \"Oh, MARSHA!\"\n\"OH, JOHN!!\" \"OH, MARSHA!!\"" #message 15 "\"...I'm Al Fartles, and this is my partner, Fed Ames. We just want to tell you how much we appreciate your support...\"" #message 16 "\"...and now, ALoHa Productions is proud to present 'The Revenge of the Software Developers' in full color and stereo sound...\"" #message 17 "\"...while Jim is fighting for his life with the raging female rhinoceros in heat, I'll slip into my tent with the native girl and this pitcher of Mai Tais...\"" #message 18 "\"...it's a beautiful day in the neighbor...\"" #message 19 "\"...live from Malaga, California, it's the Cable Sports Network presentation of the Miniature Female Mud Wrestlers 500-kilometer Cross-Country Nude Bicycle Race...\"" #message 20 "\"...And next, Master Piece Theatre presents a special 3-D broadcast of 'Naugahyde Goddesses of Oakhurst!'\"" #message 21 "\"...oh, baby, yeah. Yeah, I love it when you do that! Ooooooooooh!! That hurts so good, pull it out a little deeper!!!\"" #message 22 "The knob is broken off. There's no way to turn it." #message 23 "It already is!" #message 24 "You click the power switch on the remote control." #message 25 "You click the channel selector on the remote control." #message 26 "Nah. He's having a good time!" #message 27 "They're boxes, all right." #message 28 "The remote control seems ineffectual from this angle." #message 29 "The TV is off." #message 30 "\"Pretty good stuff, eh, boy?\" laughs the pimp." #message 34 "%m56soap opera." #message 35 "%m56commercial." #message 36 "%m56musical comedy." #message 37 "%m56documentary." #message 38 "No, no!! Anything but that!" #message 39 "%m56cable sports show." #message 40 "%m56educational show." #message 41 "Well, now. What's this??" #message 42 "Slow down. You're gonna blow the punch line!" #message 43 "\"Have a nice lay.\"" #message 44 "He's no rocket scientist!" #message 45 "Its screen is blank; much like the pimp's mind." #message 46 "%m56program." #message 47 "Get your mind back on the game, Larry!" #message 48 "What does this look like, the ship's hold in \"King's Quest III?\"" #message 49 "The walls do a good job of separating the floor from the ceiling." #message 50 "It's just hanging around." #message 51 "Wait 'til you get upstairs." #message 52 "He's far too big, and you're far too wimpy." #message 53 "\"Hey! Outta da way!!\"" #message 54 "There is no need to pay; he's pleasantly distracted. Help yourself!" #message 55 "You wonder what palace of earthly delights resides above you." #message 56 "Another boring " #message 57 "Evidently the remote control's off button is broken." #message 58 "Its operation is beyond his mental capacities." #message 59 "He's unaffected by the remote control." #message 60 "He's too strong for you, Larry."

150
src/Logic17.lgc Normal file
View file

@ -0,0 +1,150 @@
if (isset(newRoom))
{ set.horizon(44); v81 = 18; load.pic(v81); load.pic(currentRoom); draw.pic(currentRoom); load.view(View67); load.view(View65); load.view(View66); load.view(View16); load.view(View2); load.view(View26); load.view(View68); if (obj.in.room("Box of Candy", currentRoom))
{ animate.obj(o5); set.view(o5, View68); position(o5, 135, 137); draw(o5); stop.update(o5); } animate.obj(o3); set.view(o3, View65); set.loop(o3, 0); set.cel(o3, 0); position(o3, 56, 86); animate.obj(ObjTitleText); ignore.horizon(ObjTitleText); set.view(ObjTitleText, View65); set.loop(ObjTitleText, 1); set.cel(ObjTitleText, 0); position(ObjTitleText, 50, 42); cycle.time(ObjTitleText, varEgoSize); stop.cycling(ObjTitleText); animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View67); if (!isset(f63))
{ position(ObjFlyingDoll, 23, 131); set.loop(ObjFlyingDoll, 1); } else
{ position(ObjFlyingDoll, 14, 131); set.loop(ObjFlyingDoll, 0); } set.cel(ObjFlyingDoll, 0); draw(ObjFlyingDoll); stop.cycling(ObjFlyingDoll); animate.obj(o4); ignore.blocks(o4); ignore.objs(o4); set.view(o4, View66); set.priority(o4, 5); if (isset(f64))
{ last.cel(o4, v52); set.cel.v(o4, v52); } else
{ set.cel(o4, 0); } position(o4, 129, 100); draw(o4); cycle.time(o4, varEgoSize); stop.update(o4); if (previousRoom == 12)
{ v38 = 123; v39 = 126; } else
{ set(f206); set.priority(ego, 9); set(f36); observe.blocks(ego); v38 = 54; v39 = 116; } set.loop(ego, 1); position.v(ego, v38, v39); draw(ego); show.pic(); random(44, 111, v202); return(); } if (isset(onWater))
{ if ((egoDir == DOWN || egoDir == DOWN_LEFT || egoDir == DOWN_RIGHT))
{ reset(f206); } else
{ set(f206); } } if (isset(f206))
{ set.priority(ego, 9); set(f36); observe.blocks(ego); } else
{ if (v30 == 0)
{ release.priority(ego); ignore.blocks(ego); reset(f36); } } if (isset(egoHitSpecial))
{ reset(egoHitSpecial); reposition.to.v(ego, v40, v41); start.motion(ego); } reset(f215); if (posn(ego, 11, 144, 48, 151))
{ set(f215); set(f69); } reset(f202); if (posn(ego, 11, 127, 48, 151))
{ set(f202); set(f69); } reset(f203); if (posn(ego, 116, 118, 137, 139))
{ set(f203); } reset(f205); if (posn(ego, 124, 138, 139, 155))
{ set(f205); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "brick") || said("examine", "area")))
{ print("This is the hooker's seedy bedroom. The bed's a mess, ditto the " "hooker!"); print("A sign near the bed says: \"Substantial penalty for early " "withdrawals.\""); print("There is a table near the window."); } if ((said("examine", "glass") || said("examine", "out", "glass")))
{ print("There is a fire escape outside the window."); } if (said("examine", "radiator", "rol"))
{ print("It's getting old and rusty -- not unlike you, Larry."); } if (said("move", "on", "radiator"))
{ print("It, too, is broken."); } if ((said("use", "hammer", "on", "radiator") || said("beat", "radiator", "use", "hammer") || said("beat", "radiator", "hammer") || said("hammer", "radiator")))
{ if (!has("Hammer"))
{ set(f68); } else
{ print("You slyly tap out a message in Morse code; unfortunately, only some " "rats hear it."); } } if ((said("ask", "blond") || said("ask", "clit")))
{ if (!isset(f63))
{ print("\"So,\" she snarls, \"you just gonna stand there, or what?\""); } else
{ print("\"Was it good for you, baby?\" you ask her."); print("\"Was what good?\" she replies."); } } if ((said("embrace", "blond") || said("anyword", "boob") || said("anyword", "ass") || said("anyword", "asshole") || said("asshole", "anyword") || said("cunnilingus", "rol")))
{ if (!isset(f202))
{ set(f54); } else
{ print("\"Hey, what kind of girl do you think I am?\""); } } if (said("examine", "burn"))
{ print("It just hangs there."); } if (said("examine", "below", "rol"))
{ print("There's nothing (and no one) there."); } if (said("examine", "desk"))
{ if (obj.in.room("Box of Candy", currentRoom))
{ print("It looks like the hooker has a box of candy on her table."); } else
{ print("It's a really ugly table."); } } if (said("move", "desk"))
{ if (!isset(f205))
{ set(f54); } else
{ print("You can't. She's nailed it to the floor."); } } if ((said("examine", "box of candy") || said("examine", "box", "box of candy") || said("examine", "box")))
{ if (!obj.in.room("Box of Candy", currentRoom))
{ reset(haveMatch); } else
{ if (!isset(f205))
{ set(f54); } else
{ print("It looks like the hooker has a box of candy on her table."); } } } if ((said("catch", "box of candy") || said("catch", "box", "box of candy") || said("catch", "box") || said("catch", "piece", "box of candy") || said("catch", "piece", "box of candy", "from", "box") || said("catch", "piece", "box of candy", "box") || said("catch", "box") || said("catch", "box of candy", "desk")))
{ if (!isset(f205))
{ set(f54); } else
{ if (!obj.in.room("Box of Candy", currentRoom))
{ set(f55); } else
{ v206 = 1; } } } if (!has("Box of Candy") && (said("use", "box of candy", "rol") || said("increase", "box", "rol") || said("increase", "box of candy", "rol") || said("use", "anyword", "box of candy", "rol") || said("bite", "anyword", "box of candy", "rol") || said("bite", "box of candy", "rol")))
{ set(f68); } if ((said("examine", "blond") || said("examine", "clit") || said("examine", "bed")))
{ if (isset(f63))
{ print("She seems more interested in that cigarette than she was in you."); } else
{ if (v30 == 26)
{ print("NOW!? You've come this far, Larry; now's the time to do more than " "just look!"); } else
{ set(f213); } } } if ((said("examine", "below", "pillow") || said("increase", "pillow")))
{ print("There's nothing there."); } if (said("catch", "pillow"))
{ print("You have no use for a stained pillow."); } if (said("attach", "rope", "rol"))
{ if (!has("Rope"))
{ set(f68); } else
{ print("Your rope is not long enough to reach outside."); } } if (said("smell", "rol"))
{ print("Sniffing the air, you're suddenly hungry for tuna."); } if ((said("bite", "clit") || said("bite", "blond")))
{ if (!isset(f202))
{ print("\"Come on over here, Larry!\""); } else
{ print("She says, \"Me first!\" as she%m25"); erase(ego); set(f50); } } if ((said("blow", "i'm") || said("add", "head")))
{ if (!isset(f202))
{ print("\"Come on over here, Larry!\""); } else
{ print("She%m25"); set(f48); erase(ego); set(f50); } } if ((said("increase", "glass") || said("increase", "glass")))
{ if (!isset(f203))
{ set(f54); } else
{ if (isset(f64))
{ print("It's already open."); } else
{ v206 = 2; } } } if ((said("close", "glass") || said("decrease", "glass")))
{ if (!isset(f203))
{ set(f54); } else
{ print("Nah. This room needs the fresh air!"); } } if ((said("board", "glass") || said("board", "back") || said("jump", "out", "glass") || said("jump", "out") || said("climb", "out", "glass") || said("board", "area") || said("climb", "glass") || said("climb", "out") || said("climb", "out", "on", "balcony") || said("climb", "out", "balcony") || said("climb", "on", "balcony") || said("climb", "balcony") || said("board", "out", "on", "balcony") || said("board", "out", "balcony") || said("board", "on", "balcony") || said("board", "balcony") || said("board", "out", "glass") || said("board", "glass")))
{ if (!isset(f203))
{ set(f54); } else
{ if (!isset(f64))
{ print("You repeatedly bang your head against the closed glass."); } else
{ v206 = 3; } } } if ((said("catch", "naked") || said("add", "bra") || said("catch", "bra", "off") || said("drain", "bra") || said("naked") || said("naked", "naked") || said("drain", "bra", "climb", "bed")))
{ if (!isset(f202))
{ set(f54); } else
{ if (!isset(f215))
{ print("You'd have a better view if you'd move to the front of the bed!"); } else
{ if (isset(f63))
{ print("Not again! A guy can only take so much!!"); } else
{ if (v30 == 26)
{ print("You are as naked as you're going to get!"); } else
{ v206 = 4; } } } } } if ((said("catch", "dress") || said("put on", "bra") || said("put on", "bra") || said("add", "bra", "on") || said("put on", "bra") || said("dress") || said("dress", "bra")))
{ if (v30 != 26)
{ reset(haveMatch); } else
{ v206 = 6; } } if ((said("catch", "bra") || said("put on", "bra") || said("put on", "bra", "from", "clothes line") || said("put on", "bra", "off", "clothes line") || said("catch", "bra", "from", "clothes line") || said("catch", "bra", "off", "clothes line")))
{ print("Although you might look precious in that little white lace number, " "you're just not that kind of guy!"); } if ((said("examine", "clothes line") || said("examine", "rope") || said("examine", "bra", "rol")))
{ print("The clothesline is barely strong enough to hold its present load. Poor " "girl, you'd think at these prices she could afford a laundromat."); } if ((said("catch", "clothes line") || said("cut", "clothes line", "rol") || said("move", "rope") || said("let go", "rope") || said("move", "clothes line") || said("let go", "clothes line") || said("cut", "rope", "rol") || said("catch", "rope")))
{ print("It's barely strong enough to hold up its present load. Besides, if you " "take it, her underwear would fall down."); } if ((said("copulate", "blond") || said("copulate", "clit") || said("sleep", "blond") || said("copulate") || said("board", "bed") || said("catch", "on", "bed") || said("catch", "bed") || said("lie", "on", "bed") || said("lie", "bed") || said("climb", "on")))
{ if (v30 != 26)
{ print("With all your clothes on?"); } else
{ v206 = 7; } } if ((said("use", "condom") || said("put on", "condom")))
{ if (!has("Prophylactic"))
{ set(f68); } else
{ if (isset(f62))
{ print("You already are wearing it."); } else
{ if (isset(f63))
{ print("Now's a great time to think of that!"); } else
{ if (v30 != 26)
{ print("With all your clothes on?"); } else
{ v206 = 5; } } } } } Label1: if (isset(f213))
{ reset(f213); prevent.input(); set(f207); set(f48); unanimate.all(); draw.pic(v81); animate.obj(o3); set.priority(o3, 4); if (isset(f66))
{ set.cel(o3, 1); v204 = 22; v203 = 11; } else
{ set.cel(o3, 2); } draw(o3); stop.cycling(o3); animate.obj(ObjTitleText); ignore.horizon(ObjTitleText); set.cel(ObjTitleText, 0); set.priority(ObjTitleText, 5); draw(ObjTitleText); cycle.time(ObjTitleText, v85); stop.cycling(ObjTitleText); show.pic(); v205 = 9; } if (isset(f214))
{ reset(f214); reset(f207); reset(f48); accept.input(); unanimate.all(); v204 = 0; v203 = 0; v205 = 0; draw.pic(currentRoom); animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); draw(ObjFlyingDoll); stop.cycling(ObjFlyingDoll); animate.obj(ego); draw(ego); if (obj.in.room("Box of Candy", currentRoom))
{ animate.obj(o5); draw(o5); stop.update(o5); } animate.obj(o4); ignore.blocks(o4); ignore.objs(o4); set.priority(o4, 5); draw(o4); cycle.time(o4, varEgoSize); stop.update(o4); show.pic(); } if (isset(f211))
{ reset(f211); v30 = 26; stop.motion(ego); reset(f34); set(f85); } if (isset(f216))
{ reset(f216); v30 = 0; start.motion(ego); set.view(ego, Larry_StandAndWalk); cycle.time(ego, v84); reset(f34); reset(f85); } --v201; if (v201 == 1 && v30 == 11)
{ random(5, 15, v201); random(0, 4, v52); cycle.time(ego, v52); } if (isset(f44))
{ --v205; if (v205 == 1 && isset(f207))
{ set(f214); if (isset(f66))
{ print("She certainly seems to enjoy that gum."); } else
{ print("\"Jeez, Mister! What've you been eating? Buffalo chips???\""); } } --v200; if (v200 == 1)
{ set.view(ego, View2); last.cel(ego, v52); set.cel.v(ego, v52); reposition.to(ego, 31, 146); release.priority(ego); set(f34); cycle.time(ego, varEgoSize); reverse.loop(ego, f212); position(ObjFlyingDoll, 14, 131); set.loop(ObjFlyingDoll, 0); draw(ObjFlyingDoll); } } if (isset(f212))
{ reset(f212); set.view(ego, Larry_StandAndWalk); reset(f34); start.motion(ego); reset(f85); cycle.time(ego, v84); set(f63); currentScore += 11; v30 = 0; animationInterval = v44; random(11, 22, v202); print("Although successful, you feel less than satisfied. Technically " "speaking, you're no longer a virgin, but for some reason, the thrill " "just wasn't there. You vow to continue your quest until you please " "your heart, not just your other organs!"); accept.input(); if (isset(f62))
{ print("It's a good thing you were wearing that rubber!"); } else
{ set(f89); } } --v204; if (v204 == 1)
{ toggle(f209); if (isset(f209))
{ start.cycling(ObjTitleText); random(6, 16, v204); } else
{ stop.cycling(ObjTitleText); set.cel(ObjTitleText, 0); force.update(ObjTitleText); random(22, 33, v204); } } --v203; if (v203 == 1)
{ toggle(f210); if (isset(f210))
{ start.cycling(o3); random(26, 56, v203); } else
{ stop.cycling(o3); set.cel(o3, 0); random(7, 17, v203); } } --v202; if (v202 == 1)
{ toggle(f200); if (isset(f200))
{ start.cycling(ObjFlyingDoll); } else
{ stop.cycling(ObjFlyingDoll); } if (isset(f63))
{ random(44, 66, v202); end.of.loop(ObjFlyingDoll, f201); } else
{ random(11, 22, v202); } } if (isset(f201))
{ reset(f201); reset(f200); stop.cycling(ObjFlyingDoll); set.cel(ObjFlyingDoll, 0); } if (isset(f208))
{ reset(f208); stop.cycling(o4); stop.update(o4); set(f64); } if (v206 > 0)
{ if (v206 == 1)
{ set(f67); get("Box of Candy"); currentScore += 2; start.update(o5); erase(o5); } if (v206 == 2)
{ set(f67); start.update(o4); end.of.loop(o4, f208); } if (v206 == 3)
{ v30 = 12; set.view(ego, View26); set.cel(ego, 0); set.priority(ego, 15); reposition.to(ego, 125, 125); cycle.time(ego, varEgoSize); stop.motion(ego); set(f85); set(f34); end.of.loop(ego, f204); } if (v206 == 4)
{ stop.motion(ego); set.view(ego, View2); set.cel(ego, 0); cycle.time(ego, varEgoSize); set(f34); end.of.loop(ego, f211); } if (v206 == 5)
{ print("Yep! This would be a perfect time! The Surgeon General would be " "proud."); set(f62); drop("Prophylactic"); get("Used Prophylactic"); if (!isset(f91))
{ set(f91); currentScore += 10; } } if (v206 == 6)
{ set.view(ego, View2); last.cel(ego, v52); set.cel.v(ego, v52); cycle.time(ego, varEgoSize); set(f34); reverse.loop(ego, f216); } if (v206 == 7)
{ v30 = 11; v200 = 20; random(25, 45, v201); v44 = animationInterval; animationInterval = 0; set.view(ego, View16); reposition.to(ego, 15, 130); set.priority(ego, 15); set(f34); prevent.input(); stop.motion(ego); set(f85); erase(ObjFlyingDoll); set(f201); } v206 = 0; } if (isset(f206) && posn(ego, 66, 132, 70, 133))
{ v76 = 16; } if (isset(f204))
{ v77 = 0; v76 = 12; } return(); [ Messages #message 1 "This is the hooker's seedy bedroom. The bed's a mess, ditto the hooker!" #message 2 "Yep! This would be a perfect time! The Surgeon General would be proud." #message 3 "You already are wearing it." #message 4 "It looks like the hooker has a box of candy on her table." #message 5 "Although successful, you feel less than satisfied. Technically speaking, you're no longer a virgin, but for some reason, the thrill just wasn't there. You vow to continue your quest until you please your heart, not just your other organs!" #message 6 "Sniffing the air, you're suddenly hungry for tuna." #message 7 "\"Come on over here, Larry!\"" #message 8 "She says, \"Me first!\" as she%m25" #message 9 "Not again! A guy can only take so much!!" #message 10 "She seems more interested in that cigarette than she was in you." #message 11 "It's a good thing you were wearing that rubber!" #message 12 "It's already open." #message 13 "Nah. This room needs the fresh air!" #message 14 "You repeatedly bang your head against the closed glass." #message 15 "" #message 16 "It's a really ugly table." #message 17 "\"Jeez, Mister! What've you been eating? Buffalo chips???\"" #message 18 "She certainly seems to enjoy that gum." #message 19 "A sign near the bed says: \"Substantial penalty for early withdrawals.\"" #message 20 "\"So,\" she snarls, \"you just gonna stand there, or what?\"" #message 21 "\"Was it good for you, baby?\" you ask her." #message 22 "\"Was what good?\" she replies." #message 23 "Although you might look precious in that little white lace number, you're just not that kind of guy!" #message 24 "She%m25" #message 25 " goes to work on you. Then she smiles as she bites it off! \"Sorry, Larry. No oral sex in this game. Suffer!\"" #message 26 "Now's a great time to think of that!" #message 27 "\"Is that a toothpick in your pocket, or are you just happy to get past my pimp?\"" #message 28 "You'd have a better view if you'd move to the front of the bed!" #message 29 "There is a fire escape outside the window." #message 30 "The clothesline is barely strong enough to hold its present load. Poor girl, you'd think at these prices she could afford a laundromat." #message 31 "\"Hey, what kind of girl do you think I am?\"" #message 32 "It's getting old and rusty -- not unlike you, Larry." #message 33 "It just hangs there." #message 34 "There's nothing (and no one) there." #message 35 "It, too, is broken." #message 36 "" #message 37 "It's barely strong enough to hold up its present load. Besides, if you take it, her underwear would fall down." #message 38 "There is a table near the window." #message 39 "There's nothing there." #message 40 "You have no use for a stained pillow." #message 41 "You are as naked as you're going to get!" #message 42 "With all your clothes on?" #message 43 "You slyly tap out a message in Morse code; unfortunately, only some rats hear it." #message 44 "You can't. She's nailed it to the floor." #message 45 "Your rope is not long enough to reach outside." #message 46 "NOW!? You've come this far, Larry; now's the time to do more than just look!"

7
src/Logic20.lgc Normal file
View file

@ -0,0 +1,7 @@
if (isset(newRoom))
{ prevent.input(); reset(enableMenu); random(1, 3, v52); if (v52 == 1)
{ v81 = 20; } if (v52 == 2)
{ v81 = 29; } if (v52 == 3)
{ v81 = 30; } load.pic(v81); draw.pic(v81); discard.pic(v81); reset(f42); status.line.off(); show.pic(); return(); } if (!isset(haveInput))
{ goto(Label1); } print("Sorry, but you'll have to restore your game; when you panic, I forget " "everything!"); restore.game(); Label1: reset(f42); status.line.off(); if (have.key())
{ print("Sorry, but you'll have to restore your game; when you panic, I forget " "everything!"); restore.game(); } return(); [ Messages #message 1 "Sorry, but you'll have to restore your game; when you panic, I forget everything!"

111
src/Logic21.lgc Normal file
View file

@ -0,0 +1,111 @@
if (isset(newRoom))
{ load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View133); load.view(View132); load.view(View4); load.view(View1); load.view(View135); load.view(View134); add.to.pic(View134, 0, 0, 107, 148, 13, 4); add.to.pic(View134, 0, 1, 102, 134, 12, 4); add.to.pic(View134, 0, 2, 97, 118, 11, 4); add.to.pic(View134, 0, 3, 62, 95, 11, 4); add.to.pic(View134, 0, 4, 61, 103, 12, 4); add.to.pic(View134, 1, 0, 16, 108, 4, 4); add.to.pic(View135, 0, 0, 63, 116, 13, 4); add.to.pic(View135, 0, 1, 71, 116, 13, 4); add.to.pic(View135, 0, 2, 63, 126, 13, 4); add.to.pic(View135, 0, 3, 69, 126, 13, 4); add.to.pic(View135, 0, 4, 79, 126, 13, 4); add.to.pic(View135, 0, 5, 79, 136, 13, 4); add.to.pic(View135, 0, 5, 71, 136, 13, 4); add.to.pic(View135, 0, 5, 64, 136, 13, 4); discard.view(View134); discard.view(View135); animate.obj(ObjFlyingDoll); set.view(ObjFlyingDoll, View132); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 25, 113); draw(ObjFlyingDoll); stop.update(ObjFlyingDoll); animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); set.view(ObjTitleText, View133); set.cel(ObjTitleText, 0); position(ObjTitleText, 52, 117); stop.cycling(ObjTitleText); animate.obj(o3); ignore.blocks(o3); set.view(o3, View133); set.cel(o3, 1); position(o3, 73, 96); stop.cycling(o3); animate.obj(o4); ignore.blocks(o4); set.view(o4, View133); set.cel(o4, 2); position(o4, 136, 130); stop.cycling(o4); animate.obj(o5); ignore.blocks(o5); set.view(o5, View133); set.cel(o5, 3); position(o5, 108, 95); stop.cycling(o5); animate.obj(o6); ignore.blocks(o6); set.view(o6, View133); set.cel(o6, 4); position(o6, 88, 124); stop.cycling(o6); animate.obj(o7); ignore.objs(o7); set.view(o7, View133); set.cel(o7, 5); position(o7, 87, 109); stop.cycling(o7); position(ego, 15, 156); draw(ego); show.pic(); return(); } reset(f202); if (isset(onWater))
{ set(f202); set(f69); } reset(f205); if (posn(ego, 50, 112, 81, 116))
{ set(f205); } reset(f203); if (posn(ego, 55, 150, 85, 157))
{ set(f203); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area") || said("examine", "building")))
{ print("You are in a 24-hour convenience store. There is a magazine rack near " "the front door, with a sign reading \"This no library -- no leeding.\" " "Except for the clerk standing behind the counter, the store appears to " "be deserted. A small sign graces the counter."); } if ((said("examine", "counter") || said("examine", "back", "counter")))
{ print("The wall behind the clerk is blank and the counter is completely bare, " "except for a small sign. (You wonder where he keeps the slim jims.)"); } if (said("examine", "brick"))
{ print("A small, discreetly hand-lettered sign says:\n\n\"Prophylactics For " "Sale\n Ask Clerk\""); } if (said("examine", "bouncer"))
{ print("\"Nice turban, Leroy.\""); print("He smiles back, pretending to understand."); } if (said("examine", "rack"))
{ if (isset(f203))
{ print("There are many magazines on the rack, but your eyes immediately go " "to the ones with the naked girls on the cover."); } else
{ if (isset(f205))
{ print("That extra large jug of wine looks like a bargain."); } else
{ if (isset(f202))
{ print("A small, discreetly hand-lettered sign says:\n\n\"Prophylactics " "For Sale\n Ask Clerk\""); } else
{ print("The shelves are filled with all the necessities of life: " "\"Dwinkies,\" \"Wallo-Wars,\" \"Loritos,\" various colas, cheap " "wine, and coffee. You don't see anything you really need in this " "part of the store."); } } } } if ((said("catch", "breath spray") || said("ask", "bouncer", "breath spray")))
{ if (!isset(f202))
{ print("That is located behind the counter. Ask the clerk."); } else
{ if (has("Breath Spray"))
{ print("You still have some."); } else
{ print("\"Here, Meester,\" he says. \"Thees smells like chur brand!\""); get("Breath Spray"); v200 += 3; } } } if ((said("catch", "champagne") || said("catch", "bottle", "champagne")))
{ if (!isset(f205))
{ print("The wine is on the left end of the back wall."); } else
{ if (has("Bottle of Wine"))
{ print("Whew. One of those bottles is about all a guy needs, Larry."); } else
{ if (obj.in.room("Bottle of Wine", currentRoom))
{ currentScore += 1; } get("Bottle of Wine"); v200 += 1; print("You grab a bottle of cheap wine, and wonder how they can make a " "profit selling this stuff for only a dollar a gallon!"); } } } if (said("catch", "centerfold"))
{ if (!isset(f203))
{ print("The magazines are on the rack nearest the door."); } else
{ if (!obj.in.room("\"Jugs\" Magazine", currentRoom))
{ print("Nah. That's enough reading material for one game."); } else
{ set(f67); get("\"Jugs\" Magazine"); currentScore += 1; v200 += 2; } } } if ((said("buy", "champagne") || said("buy", "breath spray") || said("buy", "centerfold")))
{ if (v200 > 0)
{ reset(haveMatch); } else
{ print("Shouldn't you TAKE your purchases before paying for them?"); } } if ((said("buy", "bouncer") || said("add", "bouncer", "bucks") || said("add", "bucks", "bouncer") || said("buy") || said("buy", "champagne") || said("buy", "breath spray") || said("buy", "centerfold")))
{ if (!isset(f202))
{ print("Move to the counter when you are ready to pay for your selections."); } else
{ if (v200 <= 0)
{ print("\"Ooooooh, Meester! Thank you for free money. What wonderful " "country thees is!!\""); --varInGameMoney; } else
{ if (varInGameMoney < v200)
{ print("Unfortunately, you only have $%v90.00. (Perhaps you can sneak " "out without paying.)"); } else
{ print("\"Oakie, doakie Meester! That'll be $%v200.00.\""); print("\"Have a nice day.\""); varInGameMoney -= v200; v200 = 0; } } } } if ((said("buy", "condom") || said("ask", "bouncer", "condom", "rol") || said("ask", "bouncer", "about", "condom", "rol") || said("catch", "condom", "rol") || said("anyword", "condom", "rol") || said("condom", "rol") || said("buy", "one", "condom")))
{ if (!isset(f202))
{ set(f54); } else
{ if (has("Prophylactic"))
{ print("\"You haven't used your old one yet!\""); } else
{ varTitlePageStep = 100; set(boolTimingDelayOut); } } } if ((said("increase", "cooler", "rol") || said("increase", "door", "rol")))
{ print("There's nothing of interest inside."); } if ((said("catch", "booze") || said("catch", "shot") || said("catch", "beer")))
{ print("Not here. This place is too expensive!"); } if ((said("catch", "card") || said("catch", "rope") || said("catch", "aphrodisiac") || said("catch", "shot") || said("catch", "apple") || said("catch", "hammer") || said("buy", "card") || said("buy", "rope") || said("buy", "aphrodisiac") || said("buy", "shot") || said("buy", "apple") || said("buy", "hammer")))
{ print("\"Sorry, no gottee!\""); } if ((said("catch", "rol") || said("buy", "rol")))
{ print("Nah. You'd just be wasting your money."); } if (!has("\"Jugs\" Magazine") && said("examine", "centerfold"))
{ if (!isset(f203))
{ print("The magazines are on the rack nearest the door."); } else
{ print("Hmm. That one looks particularly interesting."); } } if (said("examine", "centerfold", "rack"))
{ if (!isset(f203))
{ set(f54); } else
{ if (!has("\"Jugs\" Magazine"))
{ print("Hmm. That one looks particularly interesting."); } else
{ print("Nah. That's enough reading material for one game."); } } } if ((said("ask", "bouncer", "rol") || said("ask", "about", "rol")))
{ start.update(ObjFlyingDoll); v202 = 5; } Label1: if (isset(f44))
{ --v202; if (v202 == 1)
{ stop.update(ObjFlyingDoll); set.cel(ObjFlyingDoll, 0); force.update(ObjFlyingDoll); random(58, 64, v58); print.v(v58); print("Apparently the clerk is new to this country. He only knows a few " "English words."); } } if (isset(egoHitSpecial) && v200 > 0)
{ varTitlePageStep = 0; set(boolTimingDelayOut); } if (isset(f202) && varTitlePageStep == 109)
{ set(boolTimingDelayOut); } if (!isset(haveMatch) && varTitlePageStep > 100 && isset(haveInput))
{ set(boolTimingDelayOut); } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ set(f36); prevent.input(); stop.motion(ego); set(f85); start.update(ObjFlyingDoll); set.loop(ObjFlyingDoll, 1); set.cel(ObjFlyingDoll, 0); reposition.to(ObjFlyingDoll, 23, 113); cycle.time(ObjFlyingDoll, varEgoSize); start.cycling(ObjFlyingDoll); end.of.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ set(f34); set.view(ego, View1); set.cel(ego, 0); reposition.to(ego, 15, 159); cycle.time(ego, v85); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ reset(f34); set.view(ego, View4); set.cel(ego, 0); reposition.to(ego, 12, 166); if (v38 > 2)
{ v38 -= 3; } if (v39 < 160)
{ v39 += 7; } reposition.to.v(ego, v38, v39); print("The clerk does not take kindly to your shoplifting. His shotgun " "makes a permanent impression on you. (And, IN you!)"); varTimingDelay = 4; } if (varTitlePageStep == 4)
{ cycle.time(ego, v85); set(f34); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 5)
{ v76 = 8; } if (varTitlePageStep == 101)
{ print("After looking around to make certain you're alone, you quietly ask " "the clerk if he has any available behind the counter."); print("\"Sure, we got lubbers!\""); print("(Obviously you've hit his area of expertise!)"); print("\"What kind lubber you want? Smooth or libbed?\""); set.string(s1, " "); set.string(s2, " "); set.string(s3, " "); set.string(s4, " "); set.string(s5, " "); varTimingDelay = 9; } if (varTitlePageStep == 102)
{ if (said("smooth"))
{ set.string(s1, "smooth"); print("\"Colored or plain?\""); } if (said("libbed"))
{ set.string(s1, "libbed"); print("\"Colored or plain?\""); } if (!isset(haveMatch))
{ --varTitlePageStep; set(haveMatch); if (!isset(f108))
{ print("\"What kind lubber you want? Smooth or libbed?\""); } } varTimingDelay = 9; } if (varTitlePageStep == 103)
{ if (said("colored"))
{ set.string(s2, "colored"); print("\"Lubricated or rough-cut?\""); } if (said("plain"))
{ set.string(s2, "plain"); print("\"Lubricated or rough-cut?\""); } if (!isset(haveMatch))
{ --varTitlePageStep; set(haveMatch); if (!isset(f108))
{ print("\"Colored or plain?\""); } } varTimingDelay = 9; } if (varTitlePageStep == 104)
{ if (said("lubricated"))
{ set.string(s3, "lubricated"); print("\"Striped or plaid?\""); } if (said("rough"))
{ set.string(s3, "rough-cut"); print("\"Striped or plaid?\""); } if (!isset(haveMatch))
{ --varTitlePageStep; set(haveMatch); if (!isset(f108))
{ print("\"Lubricated or rough-cut?\""); } } varTimingDelay = 9; } if (varTitlePageStep == 105)
{ if (said("striped"))
{ set.string(s4, "striped"); print("\"Peppermint or spearmint flavor?\""); } if (said("plaid"))
{ set.string(s4, "plaid"); print("\"Peppermint or spearmint flavor?\""); } if (!isset(haveMatch))
{ --varTitlePageStep; set(haveMatch); if (!isset(f108))
{ print("\"Striped or plaid?\""); } } varTimingDelay = 9; } if (varTitlePageStep == 106)
{ if (said("peppermint"))
{ set.string(s5, "peppermint"); print("\"Oakie, doakie Meester!\""); } if (said("spearmint"))
{ set.string(s5, "spearmint"); print("\"Oakie, doakie Meester!\""); } varTimingDelay = 3; if (!isset(haveMatch))
{ set(haveMatch); --varTitlePageStep; set(haveMatch); if (!isset(f108))
{ print("\"Peppermint or spearmint flavor?\""); } varTimingDelay = 9; } } if (varTitlePageStep == 107)
{ set(f200); prevent.input(); print("\"Hey, everybody!! This weird-o just bought a %s5-flavored, %s4, " "%s3, %s2, %s1 lubber!!!\""); stop.update(ego); draw(ObjTitleText); draw(o3); draw(o4); draw(o5); draw(o6); draw(o7); varTimingDelay = 5; } if (varTitlePageStep == 108)
{ print.at("\n\"WHAT A PERVERT!!!\"\n", 5, 10, 25); erase(ObjTitleText); erase(o3); erase(o4); erase(o5); erase(o6); erase(o7); start.update(ego); varTimingDelay = 5; } if (varTitlePageStep == 109)
{ v200 += 5; if (!isset(f202))
{ print("\"Hey, meester! Come over here, and get your lubber!!\""); } else
{ varTitlePageStep = 110; } } if (varTitlePageStep == 110)
{ if (obj.in.room("Prophylactic", currentRoom))
{ currentScore += 4; } print("He hands you the package, saying \"All together, that will be " "$%v200.00, prease.\""); get("Prophylactic"); accept.input(); if (varInGameMoney < v200)
{ print("Unfortunately, you only have $%v90.00. (Perhaps you can sneak out " "without paying.)"); } else
{ print("You give him the money, with a pleasant \"Thanks a lot, big " "mouth!\""); varInGameMoney -= v200; v200 = 0; } } } if (edgeEgoHit == BOTTOM_EDGE)
{ if (isset(f200))
{ print("\"Hey, Meester!!\" yells the clerk. \"I hope you enjoy your " "%s5-flavored, %s4, %s3, %s2, %s1 lubber!!!\""); } v76 = 22; } return(); [ Messages #message 1 "You are in a 24-hour convenience store. There is a magazine rack near the front door, with a sign reading \"This no library -- no leeding.\" Except for the clerk standing behind the counter, the store appears to be deserted. A small sign graces the counter." #message 2 "There are many magazines on the rack, but your eyes immediately go to the ones with the naked girls on the cover." #message 3 "Move to the counter when you are ready to pay for your selections." #message 4 "Shouldn't you TAKE your purchases before paying for them?" #message 5 "\n\"WHAT A PERVERT!!!\"\n" #message 6 "The shelves are filled with all the necessities of life: \"Dwinkies,\" \"Wallo-Wars,\" \"Loritos,\" various colas, cheap wine, and coffee. You don't see anything you really need in this part of the store." #message 7 "Nah. You'd just be wasting your money." #message 8 "\"You haven't used your old one yet!\"" #message 9 "Apparently the clerk is new to this country. He only knows a few English words." #message 10 "\"Sure, we got lubbers!\"" #message 11 "(Obviously you've hit his area of expertise!)" #message 12 "\"What kind lubber you want? Smooth or libbed?\"" #message 13 "\"Colored or plain?\"" #message 14 "\"Lubricated or rough-cut?\"" #message 15 "\"Striped or plaid?\"" #message 16 "\"Peppermint or spearmint flavor?\"" #message 17 "\"Hey, everybody!! This weird-o just bought a %s5-flavored, %s4, %s3, %s2, %s1 lubber!!!\"" #message 18 "After looking around to make certain you're alone, you quietly ask the clerk if he has any available behind the counter." #message 19 "The clerk does not take kindly to your shoplifting. His shotgun makes a permanent impression on you. (And, IN you!)" #message 20 "\"Oakie, doakie Meester!\"" #message 21 "smooth" #message 22 "libbed" #message 23 "colored" #message 24 "plain" #message 25 "lubricated" #message 26 "rough-cut" #message 27 "striped" #message 28 "plaid" #message 29 "peppermint" #message 30 "spearmint" #message 31 "He hands you the package, saying \"All together, that will be $%v200.00, prease.\"" #message 32 "Unfortunately, you only have $%v90.00. (Perhaps you can sneak out without paying.)" #message 33 "You give him the money, with a pleasant \"Thanks a lot, big mouth!\"" #message 34 " " #message 35 "\"Hey, Meester!!\" yells the clerk. \"I hope you enjoy your %s5-flavored, %s4, %s3, %s2, %s1 lubber!!!\"" #message 36 "The magazines are on the rack nearest the door." #message 37 "" #message 38 "Nah. That's enough reading material for one game." #message 39 "\"Ooooooh, Meester! Thank you for free money. What wonderful country thees is!!\"" #message 40 "\"Oakie, doakie Meester! That'll be $%v200.00.\"" #message 41 "\"Have a nice day.\"" #message 42 "You grab a bottle of cheap wine, and wonder how they can make a profit selling this stuff for only a dollar a gallon!" #message 43 "Not here. This place is too expensive!" #message 44 "A small, discreetly hand-lettered sign says:\n\n\"Prophylactics For Sale\n Ask Clerk\"" #message 45 "\"Nice turban, Leroy.\"" #message 46 "\"Hey, meester! Come over here, and get your lubber!!\"" #message 47 "He smiles back, pretending to understand." #message 48 "The wine is on the left end of the back wall." #message 49 "That extra large jug of wine looks like a bargain." #message 50 "There's nothing of interest inside." #message 51 "That is located behind the counter. Ask the clerk." #message 52 "You still have some." #message 53 "\"Here, Meester,\" he says. \"Thees smells like chur brand!\"" #message 54 "Hmm. That one looks particularly interesting." #message 55 "Whew. One of those bottles is about all a guy needs, Larry." #message 56 "The wall behind the clerk is blank and the counter is completely bare, except for a small sign. (You wonder where he keeps the slim jims.)" #message 57 "\"Sorry, no gottee!\"" #message 58 "\"Fposwqa feinnzx. Ofewass gewyiu qfbva.\"" #message 59 "\"Poolskd asd woefpo lkjfq feps of foeps.\"" #message 60 "\"Owf wepa vpifk qpqwf? Qqwpp apifrp qp foiw!\"" #message 61 "\"Tqp nbq bqopni ba ajpqoi fqyq. HA HA HA!!\"" #message 62 "\"Pqwwo qfp qwfnbv qozdvie. Ppqow poqw fvzxc ioplhjk.\"" #message 63 "\"Qufe weax zxo zvp zvqiw vpozcvajpbnv wf, apoz. Wfipa?\"" #message 64 "\"Zxxz pofqsoo afpoistr zxcv.\""

143
src/Logic22.lgc Normal file

File diff suppressed because one or more lines are too long

52
src/Logic23.lgc Normal file
View file

@ -0,0 +1,52 @@
if (isset(newRoom))
{ if (varGameTimeHour > 4 && varGameTimeHour < 10)
{ new.room(Logic_BadEnding); [ ##LE001## } set.horizon(76); load.logics(Logic57); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View90); load.view(View91); if (isset(f118))
{ add.to.pic(View90, 0, 1, 64, 59, 15, 4); } else
{ animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); set.view(ObjFlyingDoll, View90); set.loop(ObjFlyingDoll, 0); position(ObjFlyingDoll, 64, 59); set.priority(ObjFlyingDoll, 15); draw(ObjFlyingDoll); } animate.obj(ObjTitleText); ignore.horizon(ObjTitleText); set.view(ObjTitleText, View90); set.loop(ObjTitleText, 1); set.cel(ObjTitleText, 0); position(ObjTitleText, 39, 66); cycle.time(ObjTitleText, v85); draw(ObjTitleText); animate.obj(o3); ignore.horizon(o3); set.view(o3, View90); set.loop(o3, 1); set.cel(o3, 1); position(o3, 103, 66); cycle.time(o3, v85); draw(o3); animate.obj(o4); ignore.blocks(o4); set.view(o4, View91); set.cel(o4, 0); if (previousRoom == 24)
{ ignore.blocks(ego); set(f202); position(o4, 73, 120); v38 = 77; v39 = 83; } else
{ position(o4, 76, 120); observe.blocks(ego); if (previousRoom != 22 && previousRoom != 9)
{ v38 = 77; v39 = 146; } } position.v(ego, v38, v39); draw(ego); draw(o4); stop.update(o4); call(Logic57); show.pic(); return(); } reset(f200); if (posn(ego, 65, 120, 91, 127))
{ set(f200); set(f69); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "building") || said("examine", "area") || said("examine", "disco")))
{ print("You are outside a flashy disco. The bouncer does not look happy."); } if (said("examine", "burn"))
{ print("Gaudy, aren't they?"); } if (said("examine", "fire hydrant"))
{ print("Why does the dog use you, and not it?"); } if (said("examine", "building"))
{ print("Gazing up at the storefronts before you, a feeling comes over you. " "Surely every one of those windows has a deep, wonderful story hidden " "behind it. There are millions of stories here in Lost Wages, but " "you'll never know any of them. Such is the fate of those who are " "morally-weak, but financially-strong."); print("(What the hell was that all about????)"); } if ((said("ask", "bouncer") || said("ask")))
{ if (!isset(f200))
{ set(f54); } else
{ if (isset(f202))
{ print("\"We hope you enjoyed your visit tonight, Sir!\""); } else
{ print("\"Either show your membership card, or get lost, Scum-Breath!\""); print("It seems he's uninterested in idle chit-chat, Larry."); } } } if ((said("examine", "bouncer") || said("examine")))
{ if (isset(f202))
{ print("He seems glad to see you leave."); } else
{ print("He's physically well-developed, but you bet he's not as wise in the " "ways of women as you are."); } } if ((said("move", "bouncer") || said("move", "bouncer")))
{ if (!isset(f200))
{ set(f54); } else
{ print("He's far too strong for you, Larry."); } } if ((said("beat", "bouncer") || said("fight", "bouncer")))
{ print("Larry! How could you!"); print("You know he'd beat you to a pulp!"); } if ((said("add", "bouncer", "bucks") || said("add", "bucks", "bouncer") || said("bribe", "bouncer")))
{ if (!isset(f200))
{ set(f54); } else
{ print("\"How's about a little green sliding across your palm?\" you ask the " "bouncer."); print("\"How's about your rear end sliding across the pavement?\" he " "replies."); } } if ((said("buy", "card", "from", "bouncer") || said("buy", "bouncer") || said("ask", "bouncer", "about", "card") || said("ask", "bouncer", "card")))
{ if (!isset(f200))
{ set(f54); } else
{ print("\"You can only get a card if you already have a card,\" he laughs, " "\"but then, of course, you wouldn't NEED a card.\""); print("\"So, beat it, Chump!\""); } } if ((said("examine", "card") || said("add", "card", "bouncer") || said("add", "bouncer", "card") || said("add", "card") || said("examine", "bouncer", "card") || said("examine", "card", "bouncer")))
{ if (!has("Disco Pass"))
{ print("You don't have a membership card!"); } else
{ if (!isset(f200))
{ set(f54); } else
{ if (isset(f202))
{ print("\"Oh, there's no need to do that, Sir!\" says the bouncer."); } else
{ print("You whip out your \"borrowed\" membership card, and lay it on " "him."); print("\"Good evening, Sir. I'm so sorry I didn't recognize you sooner. " "Please, come right in!!\""); set(f202); start.update(o4); set.cel(o4, 0); reposition.to(o4, 73, 120); stop.update(o4); force.update(o4); ignore.blocks(ego); if (!isset(f119))
{ set(f119); currentScore += 5; } } } } } if ((said("increase", "door") || said("bang") || said("bang", "on", "door") || said("bang", "door")))
{ if (isset(f61))
{ reset(haveMatch); } else
{ print("All the stores are locked. But, that disco sure looks inviting."); } } Label1: if (!isset(f202))
{ if (isset(f200) && !isset(f204))
{ set(f204); start.update(o4); end.of.loop(o4, f203); } else
{ if (!isset(f200) && isset(f204))
{ reset(f204); set.cel(o4, 0); force.update(o4); set(f203); } } if (isset(f203))
{ reset(f203); stop.update(o4); if (!isset(f201))
{ set(f201); print("\"HALT!!\n\nI'm sorry, Sir,\" says the bouncer, \"but this is a " "private club.\""); } } } call(Logic57); if (edgeEgoHit == LEFT_EDGE)
{ v76 = 22; } if (edgeEgoHit == TOP_EDGE)
{ v76 = 24; } if (edgeEgoHit == RIGHT_EDGE)
{ v76 = 9; } return(); [ Messages #message 1 "You are outside a flashy disco. The bouncer does not look happy." #message 2 "\"Either show your membership card, or get lost, Scum-Breath!\"" #message 3 "\"Good evening, Sir. I'm so sorry I didn't recognize you sooner. Please, come right in!!\"" #message 4 "You whip out your \"borrowed\" membership card, and lay it on him." #message 5 "It seems he's uninterested in idle chit-chat, Larry." #message 6 "You don't have a membership card!" #message 7 "\"We hope you enjoyed your visit tonight, Sir!\"" #message 8 "\"Oh, there's no need to do that, Sir!\" says the bouncer." #message 9 "\"HALT!!\n\nI'm sorry, Sir,\" says the bouncer, \"but this is a private club.\"" #message 10 "He seems glad to see you leave." #message 11 "He's physically well-developed, but you bet he's not as wise in the ways of women as you are." #message 12 "Larry! How could you!" #message 13 "You know he'd beat you to a pulp!" #message 14 "Gazing up at the storefronts before you, a feeling comes over you. Surely every one of those windows has a deep, wonderful story hidden behind it. There are millions of stories here in Lost Wages, but you'll never know any of them. Such is the fate of those who are morally-weak, but financially-strong." #message 15 "(What the hell was that all about????)" #message 16 "Gaudy, aren't they?" #message 17 "He's far too strong for you, Larry." #message 18 "" #message 19 "All the stores are locked. But, that disco sure looks inviting." #message 20 "\"You can only get a card if you already have a card,\" he laughs, \"but then, of course, you wouldn't NEED a card.\"" #message 21 "\"So, beat it, Chump!\"" #message 22 "\"How's about a little green sliding across your palm?\" you ask the bouncer." #message 23 "\"How's about your rear end sliding across the pavement?\" he replies." #message 24 "Why does the dog use you, and not it?"

1
src/Logic24.lgc Normal file

File diff suppressed because one or more lines are too long

80
src/Logic25.lgc Normal file
View file

@ -0,0 +1,80 @@
if (isset(newRoom))
{ set.horizon(1); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View89); set(f48); animate.obj(o3); set.view(o3, View89); set.loop(o3, 0); set.cel(o3, 0); set.priority(o3, 4); position(o3, 56, 93); stop.cycling(o3); animate.obj(o4); set.view(o4, View89); set.loop(o4, 1); set.cel(o4, 0); set.priority(o4, 5); position(o4, 62, 49); stop.cycling(o4); cycle.time(o4, varEgoSize); if (!isset(f66))
{ set.cel(o3, 2); v203 = 4; } else
{ set.cel(o3, 0); draw(o4); random(6, 19, v202); reset(f206); } draw(o3); v207 = 255; stop.update(o3); show.pic(); return(); } set(f202); set(f69); if (!isset(haveInput))
{ goto(Label1); } if ((said("buy", "bite") || said("buy", "shot") || said("buy", "champagne") || said("buy", "booze") || said("buy", "blond", "bite")))
{ print("Funny, this is a dry club."); } if ((said("ask", "bouncer") || said("ask", "bouncer")))
{ print("They seem to be staring at something they all want."); } if ((said("examine", "blond", "rol") || said("establish eye contact", "rol") || said("look in", "blond", "rol")))
{ ++v204; if (v204 == 1)
{ if (!isset(f95))
{ set(f95); currentScore += 1; } print("What a knock-out! She has bright blue eyes, and a dazzling smile. " "Your eyes roam her body, and what you see, you like. She's " "sensational!!"); print("Larry, this MUST be love!"); } if (v204 == 2)
{ print("Those beautiful eyes tell you this doll requires more than your " "usual smooth talk."); } if (v204 > 2)
{ print("\"Please,\" she says coyly, \"stop staring there.\""); v207 = 1; } } if ((said("get up") || said("get up", "from", "bench") || said("catch", "off", "bench") || said("done", "examine", "blond") || said("examine", "i'm") || said("examine", "away") || said("examine", "away", "from", "blond") || said("board", "bench", "rol") || said("board") || said("board", "desk", "rol") || said("get up", "up", "rol")))
{ set(f124); set(f200); set(f67); } if ((said("examine") || said("examine", "area") || said("examine", "desk") || said("examine", "disco")))
{ print("The disco is filled with remarkably similar guys, all looking for " "girls."); } if ((said("examine", "dance", "curb") || said("examine", "curb")))
{ print("The dance floor is lit from below with brightly colored lights. It is " "presently unused."); } if ((said("examine", "bouncer") || said("examine", "bouncer")))
{ if (isset(f70))
{ print("Perhaps they're waiting for Fawn to return."); } else
{ print("Evidently every guy here has been turned down by the only girl in " "the place. Her beauty has them frozen in their tracks."); } } if (said("examine", "disc jockey"))
{ print("There isn't one. This place is run by computer. (Besides, at this time " "of night DJ should be home with Chris.)"); } if (said("use", "breath spray"))
{ reset(haveMatch); v207 = 1; random(6, 19, v202); reset(f206); } if ((said("ask", "blond") || said("ask", "anyword", "blond")))
{ ++v100; if (v100 == 1)
{ if (!isset(f96))
{ set(f96); currentScore += 1; } print("\"Hi ya, Baby. What say you and me get it on?\""); print("\"Get lost, creep.\""); v207 = 2; } if (v100 == 2)
{ print("\"Hey, sweetheart. What's your sign?\" you ask her."); print("\"Octagonal,\" she replies. \"Like in 'STOP!'\""); v207 = 2; } if (v100 == 3)
{ print("\"My name is Larry,\" you offer. \"Larry Laffer.\""); print("\"Say, Larry,\" she chuckles, glancing downward, \"is that a pez " "dispenser in your pocket, or are you just lonely?\""); } if (v100 == 4)
{ print("\"What's your name, beautiful?\" you ask."); print("\"Fawn,\" she replies."); print("Somehow you knew that."); v207 = 1; } if (v100 > 4)
{ if (isset(f97))
{ print("\"So, how about it, Larry?\" Fawn says in her petite voice. \"May " "I have a measly hundred bucks, or not?\""); } else
{ print("\"I'd really like to get to know you better,\" you say. \"What " "kind of girl are you, anyway?\""); print("She smiles and says, \"I'm just a girl who can't say no..."); print("(All right, Larry; this is what you've been waiting for!)"); print("\"...to nice presents,\" she concludes."); print("(Oops.)"); v207 = 1; } } } if (said("come", "use", "i'm"))
{ print("\"Perhaps we shall,\" she replies, \"if you play your cards right!\""); v207 = 1; } if ((said("ask", "blond", "love") || said("love", "you") || said("catch", "blond", "fingers")))
{ print("\"How nice,\" she says, \"I love me, too.\""); v207 = 1; } if ((said("examine", "lips") || said("examine", "blond", "lips")))
{ print("Her lips are moist and inviting, but remember that you also thought " "that about old Mrs. Bradley, your homeroom teacher!"); } if ((said("ask", "name") || said("ask", "blond", "name") || said("ask", "name", "blond")))
{ print("\"Fawn,\" she replies."); print("Somehow you knew that."); v207 = 1; } if ((said("i'm") || said("leisure suit", "i'm")))
{ print("\"So what?\""); } if ((said("examine", "blond", "hair") || said("examine", "hair") || said("aim", "hair") || said("caress", "hair") || said("caress", "hair") || said("caress", "blond", "hair")))
{ print("Her hair is beautiful, not thinning like some people we know."); v207 = 1; } if ((said("lips") || said("lips", "blond") || said("carry", "fingers") || said("catch", "blond", "fingers") || said("aim", "blond") || said("aim", "blond") || said("ask", "dance")))
{ print("\"You seem like a sweet, old-fashioned kind of guy,\" she says with a " "beautiful smile."); v207 = 1; } if ((said("examine", "eyes") || said("look in", "eyes") || said("flirt", "use", "blond") || said("flirt", "blond") || said("add", "blond", "embrace") || said("embrace", "blond")))
{ v207 = 1; } if ((said("dance") || said("dance", "blond") || said("dance", "i'm") || said("dance", "use", "i'm") || said("dance", "use", "blond") || said("you", "dance", "blond") || said("you", "dance", "i'm") || said("you", "enjoy", "dance", "rol") || said("you", "dance", "use", "i'm") || said("you", "dance", "use", "blond") || said("enjoy", "dance") || said("enjoy", "dance", "use", "i'm") || said("you", "enjoy", "dance") || said("you", "enjoy", "dance", "use", "i'm") || said("you", "enjoy", "dance", "use", "blond") || said("ask", "dance", "blond") || said("ask", "blond", "dance") || said("ask", "blond", "dance", "use", "i'm") || said("ask", "blond", "dance", "i'm") || said("begin", "dance")))
{ if (isset(f74))
{ print("\"Not again. That trip through the ceiling gave me a headache!\""); } else
{ if (v83 > 0)
{ print("\"What! At a time like this?!\""); v83 = 17; } else
{ set(f122); set(boolTimingDelayOut); varTitlePageStep = 0; } } } if ((said("add", "blond", "flower") || said("add", "flower") || said("add", "flower", "blond")))
{ if (!has("Rose"))
{ set(f68); } else
{ currentScore += 5; print("%m52roses.\""); set(f71); drop("Rose"); v207 = 1; } } if ((said("add", "blond", "box of candy") || said("add", "box of candy") || said("add", "box of candy", "blond")))
{ if (!has("Box of Candy"))
{ set(f68); } else
{ currentScore += 5; print("%m52candy.\""); set(f72); drop("Box of Candy"); v207 = 1; } } if ((said("add", "blond", "diamond ring") || said("add", "diamond ring") || said("add", "diamond ring", "blond")))
{ if (!has("Diamond Ring"))
{ set(f68); } else
{ currentScore += 5; print("%m52diamonds.\""); set(f73); drop("Diamond Ring"); v207 = 1; } } if ((said("add", "blond", "bucks") || said("add", "bucks") || said("buy", "blond", "bucks") || said("buy", "bucks") || said("buy", "blond", "one", "bucks") || said("buy", "blond") || said("add", "one", "bucks", "blond") || said("add", "blond", "one", "bucks") || said("add", "bucks", "blond")))
{ if (!isset(f97))
{ print("\"Well, really. I'm not that kind of girl!!\""); v207 = 2; } else
{ if (varInGameMoney < 100)
{ print("\"Uh, gosh, Fawn,\" you mumble. \"I've only got %v90 bucks on " "me!\""); print("\"I'm sorry, but I'll need at least a hundred dollars,\" she says " "with a coy smile."); print("It appears Fawn has caught you a \"little short,\" Larry. Better " "try the casino, and hope for a run of good luck!"); print("You fervently hope she'll wait for your return."); print("Conveniently, she offers, \"I'll wait right here until you " "return.\""); print("Gee, Larry, this is working out swell."); v83 = 0; } else
{ currentScore += 7; print("%m52money.\""); print("\"Thanks, Larry. You won't regret this. Meet me at the Marriage " "Chapel near the Casino in a few minutes. I'll get us a room. " "Hurry, Larry, I can hardly wait!\""); v207 = 1; v83 = 0; varInGameMoney -= 100; set(f125); set(f79); set(f200); } } } if ((said("blond", "married", "i'm") || said("married", "i'm") || said("married", "blond") || said("ask", "blond", "catch", "married") || said("ask", "blond", "married", "i'm") || said("ask", "about", "about") || said("married", "blond")))
{ print("I AM the marrying type, but you must convince me."); v207 = 1; } if ((said("aim", "blond", "rol") || said("bite", "blond", "rol") || said("copulate", "blond", "rol") || said("embrace", "blond", "rol") || said("catch", "blond") || said("caress", "blond") || said("bite", "blond") || said("aim", "blond", "below", "desk") || said("caress", "below", "desk") || said("catch", "ankle") || said("aim", "ankle") || said("caress", "blond", "ankle") || said("caress", "blond", "ankle", "below", "desk") || said("catch", "blond", "ankle") || said("aim", "boob", "rol")))
{ print("SLAP!"); v207 = 2; } if ((said("naked", "blond") || said("ask", "blond", "about", "copulate") || said("about", "copulate", "use", "i'm") || said("copulate", "rol") || said("make", "blond") || said("anyword", "clit", "rol") || said("bite", "blond", "blond", "holler") || said("anyword", "boob", "rol") || said("play", "use", "blond", "boob") || said("catch", "boob") || said("caress", "boob")))
{ print("SLAP!"); print("SLAP!\n\nSLAP!!"); v207 = 2; } if ((said("examine", "blond", "boob") || said("examine", "boob", "rol") || said("examine", "body") || said("examine") || said("examine", "boob")))
{ print("\"Please,\" she says coyly, \"stop staring there.\""); v207 = 1; } Label1: --v202; if (v202 == 1)
{ toggle(f206); if (isset(f206))
{ start.cycling(o4); random(6, 18, v202); } else
{ stop.cycling(o4); set.cel(o4, 0); random(11, 33, v202); } } if (isset(f44))
{ --v203; if (v203 == 1)
{ print("\"Bad breath's one thing, Larry, but you could knock a buzzard off a " "manure truck!!\""); } --v206; if (v206 == 1)
{ v207 = 0; } if (v207 != 255)
{ if (v207 == 0)
{ v202 = 2; } if (v207 == 1)
{ v206 = 5; set(f206); v202 = 22; start.cycling(o4); } if (v207 == 2)
{ v206 = 7; reset(f206); v202 = 0; stop.cycling(o4); set.cel(o4, 0); } set.cel.v(o3, v207); force.update(o3); v207 = 255; } } if (isset(f71) && isset(f72) && isset(f73) && isset(f74))
{ if (!isset(f97))
{ set(f97); print("\"Oooh, you're so sweet. I just LOVE you! Larry, I want you to make " "wild, passionate love to me!\""); print("(All right, Larry. At last, you're gonna get lucky!!)"); print("She continues, \"But first, we must get married. I could never make " "love to a man not my husband. If you would loan me a hundred " "dollars, I'd rent the Honeymoon Suite at the Casino Hotel for us. " "Then, after we're married, we'll celebrate there.\""); v83 = 30; } } if (isset(f44))
{ --v83; if (v83 == 15)
{ print("\"Either give me some money, or I'll leave without you.\""); } if (v83 == 1)
{ print("\"That's it! See ya later, chump!\""); set(f200); set(f125); } } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ v207 = 1; print("%m52dancing. I thought you'd never ask! Come on!!\""); varTimingDelay = 6; } if (varTitlePageStep == 2)
{ set(f200); } } if (edgeEgoHit == BOTTOM_EDGE)
{ v76 = 23; } if (isset(f200))
{ reset(f48); v76 = 24; } return(); [ Messages #message 1 "The disco is filled with remarkably similar guys, all looking for girls." #message 2 "What a knock-out! She has bright blue eyes, and a dazzling smile. Your eyes roam her body, and what you see, you like. She's sensational!!" #message 3 "Larry, this MUST be love!" #message 4 "\"Please,\" she says coyly, \"stop staring there.\"" #message 5 "Perhaps they're waiting for Fawn to return." #message 6 "Not now, you're busy." #message 7 "%m52dancing. I thought you'd never ask! Come on!!\"" #message 8 "" #message 9 "%m52roses.\"" #message 10 "%m52candy.\"" #message 11 "%m52diamonds.\"" #message 12 "It appears Fawn has caught you a \"little short,\" Larry. Better try the casino, and hope for a run of good luck!" #message 13 "\"Well, really. I'm not that kind of girl!!\"" #message 14 "%m52money.\"" #message 15 "\"Thanks, Larry. You won't regret this. Meet me at the Marriage Chapel near the Casino in a few minutes. I'll get us a room. Hurry, Larry, I can hardly wait!\"" #message 16 "\"Oooh, you're so sweet. I just LOVE you! Larry, I want you to make wild, passionate love to me!\"" #message 17 "(All right, Larry. At last, you're gonna get lucky!!)" #message 18 "She continues, \"But first, we must get married. I could never make love to a man not my husband. If you would loan me a hundred dollars, I'd rent the Honeymoon Suite at the Casino Hotel for us. Then, after we're married, we'll celebrate there.\"" #message 19 "\"You seem like a sweet, old-fashioned kind of guy,\" she says with a beautiful smile." #message 20 "\"What! At a time like this?!\"" #message 21 "\"Either give me some money, or I'll leave without you.\"" #message 22 "\"That's it! See ya later, chump!\"" #message 23 "\"Hi ya, Baby. What say you and me get it on?\"" #message 24 "Those beautiful eyes tell you this doll requires more than your usual smooth talk." #message 25 "\"Bad breath's one thing, Larry, but you could knock a buzzard off a manure truck!!\"" #message 26 "She smiles and says, \"I'm just a girl who can't say no..." #message 27 "(All right, Larry; this is what you've been waiting for!)" #message 28 "\"...to nice presents,\" she concludes." #message 29 "Her hair is beautiful, not thinning like some people we know." #message 30 "\"So what?\"" #message 31 "Her lips are moist and inviting, but remember that you also thought that about old Mrs. Bradley, your homeroom teacher!" #message 32 "\"What's your name, beautiful?\" you ask." #message 33 "\"Fawn,\" she replies." #message 34 "Somehow you knew that." #message 35 "\"I'm sorry, but I'll need at least a hundred dollars,\" she says with a coy smile." #message 36 "You fervently hope she'll wait for your return." #message 37 "Conveniently, she offers, \"I'll wait right here until you return.\"" #message 38 "I AM the marrying type, but you must convince me." #message 39 "\"How nice,\" she says, \"I love me, too.\"" #message 40 "The dance floor is lit from below with brightly colored lights. It is presently unused." #message 41 "Evidently every guy here has been turned down by the only girl in the place. Her beauty has them frozen in their tracks." #message 42 "There isn't one. This place is run by computer. (Besides, at this time of night DJ should be home with Chris.)" #message 43 "\"Say, Larry,\" she chuckles, glancing downward, \"is that a pez dispenser in your pocket, or are you just lonely?\"" #message 44 "\"Perhaps we shall,\" she replies, \"if you play your cards right!\"" #message 46 "\"Get lost, creep.\"" #message 47 "\"Hey, sweetheart. What's your sign?\" you ask her." #message 48 "\"Octagonal,\" she replies. \"Like in 'STOP!'\"" #message 49 "\"My name is Larry,\" you offer. \"Larry Laffer.\"" #message 50 "\"I'd really like to get to know you better,\" you say. \"What kind of girl are you, anyway?\"" #message 51 "(Oops.)" #message 52 "\"Oooh, you're so sweet. I just love " #message 57 "Funny, this is a dry club." #message 58 "\"So, how about it, Larry?\" Fawn says in her petite voice. \"May I have a measly hundred bucks, or not?\"" #message 59 "\"Not again. That trip through the ceiling gave me a headache!\"" #message 60 "SLAP!" #message 61 "SLAP!\n\nSLAP!!" #message 63 "They seem to be staring at something they all want." #message 64 "\"Uh, gosh, Fawn,\" you mumble. \"I've only got %v90 bucks on me!\"" #message 65 "Gee, Larry, this is working out swell."

36
src/Logic31.lgc Normal file
View file

@ -0,0 +1,36 @@
if (isset(newRoom))
{ set.horizon(91); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View141); animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View141); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); set.priority(ObjFlyingDoll, 12); position(ObjFlyingDoll, 39, 121); draw(ObjFlyingDoll); stop.update(ObjFlyingDoll); v200 = 21; animate.obj(ObjTitleText); set.view(ObjTitleText, View141); set.loop(ObjTitleText, 3); set.cel(ObjTitleText, 0); position(ObjTitleText, 113, 128); draw(ObjTitleText); stop.update(ObjTitleText); v201 = 0; load.view(View139); add.to.pic(View139, 0, 0, 92, 116, 11, 4); add.to.pic(View139, 0, 0, 111, 140, 13, 4); discard.view(View139); add.to.pic(View141, 2, 0, 101, 128, 11, 0); add.to.pic(View141, 2, 1, 138, 153, 13, 0); add.to.pic(View141, 2, 2, 125, 153, 13, 0); add.to.pic(View141, 2, 3, 107, 104, 11, 4); add.to.pic(View141, 2, 4, 123, 126, 13, 4); add.to.pic(View141, 2, 5, 114, 105, 11, 4); add.to.pic(View141, 1, 0, 35, 127, 13, 4); if (previousRoom == 35)
{ v38 = 75; v39 = 93; } else
{ if ((previousRoom == 37 || previousRoom == 38))
{ v38 = v34; v39 = v35; } else
{ v38 = 77; v39 = 167; } } position.v(ego, v38, v39); draw(ego); show.pic(); return(); } reset(f202); if ((posn(ego, 106, 137, 140, 143) || posn(ego, 108, 153, 120, 157) || posn(ego, 89, 128, 98, 133) || posn(ego, 88, 116, 98, 119)))
{ set(f202); set(f69); } reset(f201); if (posn(ego, 18, 133, 47, 154))
{ set(f201); set(f69); } reset(f200); if (posn(ego, 31, 121, 60, 136))
{ set(f200); set(f69); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area") || said("examine", "casino") || said("examine", "hall")))
{ print("You are in the casino. There are slot machines to the right, and " "blackjack tables to the left. This place is a gambler's paradise!"); } if ((said("ask", "bouncer") || said("ask", "blond") || said("ask", "customers")))
{ if (isset(f201))
{ print("Casino dealers are notoriously silent."); } else
{ print("Don't interrupt them; they're trying to win."); } } if ((said("examine", "bouncer") || said("examine", "blond") || said("examine", "customers")))
{ print("They appear to be having a great time. Perhaps you'd like to join " "them?"); } if ((said("ask", "black jack", "bouncer") || said("ask", "black jack", "blond") || said("ask", "black jack", "customers") || said("examine", "black jack", "desk") || said("examine", "black jack", "bouncer") || said("examine", "black jack", "blond") || said("examine", "black jack", "customers")))
{ print("You could, if you'd sit down first."); } if ((said("examine", "desk") || said("examine", "black jack") || said("examine", "black jack", "desk")))
{ if (isset(f200))
{ print("The rear blackjack table is rather busy now. Try the front table."); } else
{ print("The front blackjack table is presently unoccupied."); } } if (said("examine", "slot"))
{ print("At least one person appears to be winning at the slot machines. " "Perhaps you could too."); } if ((said("bet", "bucks") || said("play") || said("bet", "rol")))
{ print("Move to a slot machine and put in some money. Or, find an empty " "blackjack table and sit down."); } if ((said("play", "black jack") || said("rest") || said("rest", "bench") || said("rest", "down")))
{ if (isset(f200))
{ print("The rear blackjack table is rather busy now. Try the front table."); } else
{ if (!isset(f201))
{ set(f54); } else
{ set(f67); v34 = v38; v35 = v39; v76 = 38; } } } if ((said("use", "slot") || said("move", "handle") || said("add", "bucks", "slot") || said("add", "bucks", "machine") || said("play", "slot")))
{ if (!isset(f202))
{ set(f54); } else
{ set(f67); v34 = v38; v35 = v39; v76 = 37; } } Label1: --v201; if (v201 == 1)
{ set.cel(ObjTitleText, 0); stop.update(ObjTitleText); force.update(ObjTitleText); random(33, 77, v200); } if (v201 == 21)
{ start.update(ObjTitleText); } --v200; if (v200 == 1)
{ toggle(f203); if (!isset(f203))
{ set.cel(ObjFlyingDoll, 0); stop.update(ObjFlyingDoll); force.update(ObjFlyingDoll); random(55, 222, v201); } else
{ start.update(ObjFlyingDoll); random(11, 33, v200); } } if (edgeEgoHit == BOTTOM_EDGE)
{ v76 = 32; } if (edgeEgoHit == TOP_EDGE)
{ v76 = 35; } return(); [ Messages #message 1 "You are in the casino. There are slot machines to the right, and blackjack tables to the left. This place is a gambler's paradise!" #message 2 "The front blackjack table is presently unoccupied." #message 3 "The rear blackjack table is rather busy now. Try the front table." #message 4 "Move to an unoccupied slot machine first." #message 5 "At least one person appears to be winning at the slot machines. Perhaps you could too." #message 6 "They appear to be having a great time. Perhaps you'd like to join them?" #message 7 "Move to a slot machine and put in some money. Or, find an empty blackjack table and sit down." #message 8 "You could, if you'd sit down first." #message 9 "Don't interrupt them; they're trying to win." #message 10 "Casino dealers are notoriously silent."

69
src/Logic32.lgc Normal file
View file

@ -0,0 +1,69 @@
if (isset(newRoom))
{ if (varGameTimeHour > 4 && varGameTimeHour < 10)
{ new.room(Logic_BadEnding); [ ##LE001## } set.horizon(107); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.logics(Logic57); load.view(View136); random(1, 3, v52); if (isset(f30))
{ v52 = 1; } if (v30 == 0 && v52 == 1 && obj.in.room("Apple", currentRoom))
{ load.view(View138); animate.obj(o3); set.view(o3, View138); position(o3, 120, 131); random(4, 7, v201); object.on.land(o3); } animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View136); set.loop(ObjFlyingDoll, 1); fix.loop(ObjFlyingDoll); set.cel(ObjFlyingDoll, 0); stop.cycling(ObjFlyingDoll); animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.view(ObjTitleText, View136); set.loop(ObjTitleText, 1); fix.loop(ObjTitleText); set.cel(ObjTitleText, 1); stop.cycling(ObjTitleText); if (isset(f118))
{ add.to.pic(View136, 0, 1, 51, 61, 4, 4); } else
{ animate.obj(o4); ignore.horizon(o4); ignore.blocks(o4); ignore.objs(o4); set.view(o4, View136); set.loop(o4, 0); position(o4, 51, 61); draw(o4); } if (previousRoom == 31)
{ v38 = 75; v39 = 109; set.loop(ego, 2); position(ObjFlyingDoll, 57, 108); position(ObjTitleText, 88, 108); draw(ObjFlyingDoll); draw(ObjTitleText); set(f201); } else
{ position(ObjFlyingDoll, 67, 108); draw(ObjFlyingDoll); position(ObjTitleText, 78, 108); draw(ObjTitleText); if (previousRoom == 9)
{ v38 = 0; v39 = 141; } else
{ if (previousRoom != 33)
{ v38 = 77; v39 = 155; } } } position.v(ego, v38, v39); draw(ego); object.on.anything(ego); call(Logic57); show.pic(); return(); } reset(f204); distance(o3, ego, v52); if (isset(f205) && v52 < 25)
{ set(f204); } reset(f200); if (posn(ego, 63, 100, 86, 113))
{ set(f200); } if (v200 == 3)
{ distance(o3, ego, v52); if (v52 < 255 && v52 > 20)
{ print("\"Hey, come back!\" says the man. \"Are you sure you don't want to " "buy an apple?\""); set(f202); v200 = 1; v201 = 0; } } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "building") || said("examine", "area") || said("examine", "casino") || said("examine", "casino")))
{ print("It's a casino!"); } if ((said("examine", "bush") || said("look in", "bush") || said("look in", "pot") || said("examine", "pot")))
{ print("They are nicely manicured, but of no help to you."); } if (said("increase", "door"))
{ if (isset(f61))
{ reset(haveMatch); } else
{ print("They're automatic. Get closer."); } } if (said("examine", "brick"))
{ print("Isn't it wonderful what can be done with a few light bulbs?"); } if ((said("examine", "glass") || said("examine", "glass") || said("examine", "door") || said("examine", "glass", "door") || said("look in", "glass")))
{ print("Pretty flashy, eh?"); } if (isset(f205))
{ if (said("examine", "bouncer"))
{ print("He's yet another poor soul who donated his everything so the shrine " "of Lost Wages could continue to flourish."); } if (said("ask", "bouncer"))
{ if (!isset(f204))
{ set(f54); } else
{ if (has("Apple"))
{ print("\"Thanks a lot. See you later, pal.\""); } else
{ if (v200 < 3)
{ print("\"Apples. Apples! APPLES for sale!!\""); } else
{ print("\"My pleasure was always the slot machines,\" he says. \"Say, " "are we going to stand here and chitchat all night, or am I " "going to make a sale?\""); } } } } if ((said("ask", "name") || said("ask", "bouncer", "about", "name") || said("catch", "name") || said("ask", "about", "name") || said("ask", "bouncer", "name") || said("name") || said("name", "bouncer") || said("bouncer", "name")))
{ if (!isset(f204))
{ set(f54); } else
{ print("\"Why, Steve. Nice of you to ask,\" he responds."); } } if ((v200 == 2 || v200 == 3))
{ if ((said("n") || said("catch", "lost", "rol") || said("board", "away", "rol") || said("copulate", "off", "rol") || said("n", "thank you")))
{ print("\"Ok, be that way!\" he says, and disappears into the night."); set(f202); v200 = 3; v201 = 0; } } if ((said("ask", "last", "name") || said("last", "name") || said("last", "name", "bouncer") || said("bouncer", "last", "name")))
{ if (!isset(f204))
{ set(f54); } else
{ print("\"Well, my friends call me 'Woz,' but I don't consider you a " "friend.\""); } } if (said("catch", "barrel"))
{ if (!isset(f204))
{ set(f54); } else
{ print("\"Oh no, you don't!\" exclaims the man."); } } if (said("look in", "barrel"))
{ if (!isset(f204))
{ set(f54); } else
{ print("\"Say, you really did lose everything,\" you tell the man."); } } if ((said("buy", "rol") || said("add", "bucks", "bouncer") || said("buy", "rol")))
{ if (!isset(f204))
{ set(f54); } else
{ if (!obj.in.room("Apple", currentRoom))
{ print("\"You know,\" says the man, peering deep into his barrel, \"I'm " "all out! But thank you for your continued interest.\""); } else
{ currentScore += 3; print("\"Thank you very much, sir. Please call again, whenever you are " "in the neighborhood,\" says the man. And with that, he walks " "away into the night."); get("Apple"); --varInGameMoney; set(f202); v201 = 0; v200 = 3; } } } } Label1: if (isset(f44))
{ --v201; if (v201 == 1)
{ set(f202); } } if (v200 == 3 && edgeEgoHit > NOT_HIT)
{ print("\"I take that as a 'No,'\" he says pleasantly. \"Very well then, " "perhaps some other time.\""); } if (v200 == 4 && objHitEdge == 3)
{ set(f202); } if (isset(f202))
{ reset(f202); ++v200; if (v200 == 1)
{ draw(o3); set(f205); v200 = 2; } if (v200 == 2)
{ start.cycling(o3); follow.ego(o3, 8, f202); } if (v200 == 3)
{ v201 = 11; stop.cycling(o3); print("\"Hello, sir. Would you help out a poor unfortunate by purchasing an " "apple?\""); print("\"The price is reasonable: only $1.00.\""); set(f69); } if (v200 == 4)
{ start.cycling(o3); wander(o3); } if (v200 == 5)
{ erase(o3); reset(f205); v200 = 0; } } if (isset(f200))
{ ignore.blocks(ego); observe.objs(ObjFlyingDoll); observe.objs(ObjTitleText); observe.objs(ego); if (!isset(f201))
{ set(f201); move.obj(ObjFlyingDoll, 57, 108, 1, f40); move.obj(ObjTitleText, 88, 108, 1, f40); } } else
{ observe.blocks(ego); if (isset(f201))
{ reset(f201); ignore.objs(ObjFlyingDoll); ignore.objs(ObjTitleText); move.obj(ObjFlyingDoll, 67, 108, 1, f40); move.obj(ObjTitleText, 78, 108, 1, f40); } } call(Logic57); if (edgeEgoHit == TOP_EDGE)
{ v76 = 31; } if (edgeEgoHit == RIGHT_EDGE)
{ v76 = 33; } if (edgeEgoHit == LEFT_EDGE)
{ v76 = 9; } return(); [ Messages #message 1 "It's a casino!" #message 2 "\"Hello, sir. Would you help out a poor unfortunate by purchasing an apple?\"" #message 3 "\"The price is reasonable: only $1.00.\"" #message 4 "\"I take that as a 'No,'\" he says pleasantly. \"Very well then, perhaps some other time.\"" #message 5 "He's yet another poor soul who donated his everything so the shrine of Lost Wages could continue to flourish." #message 6 "\"My pleasure was always the slot machines,\" he says. \"Say, are we going to stand here and chitchat all night, or am I going to make a sale?\"" #message 7 "\"Why, Steve. Nice of you to ask,\" he responds." #message 8 "\"Well, my friends call me 'Woz,' but I don't consider you a friend.\"" #message 9 "\"Thank you very much, sir. Please call again, whenever you are in the neighborhood,\" says the man. And with that, he walks away into the night." #message 10 "\"Hey, come back!\" says the man. \"Are you sure you don't want to buy an apple?\"" #message 11 "\"You know,\" says the man, peering deep into his barrel, \"I'm all out! But thank you for your continued interest.\"" #message 12 "\"Ok, be that way!\" he says, and disappears into the night." #message 13 "\"Oh no, you don't!\" exclaims the man." #message 14 "\"Say, you really did lose everything,\" you tell the man." #message 15 "They are nicely manicured, but of no help to you." #message 16 "They're automatic. Get closer." #message 17 "Pretty flashy, eh?" #message 18 "\"Apples. Apples! APPLES for sale!!\"" #message 19 "\"Thanks a lot. See you later, pal.\"" #message 20 "Isn't it wonderful what can be done with a few light bulbs?"

35
src/Logic33.lgc Normal file
View file

@ -0,0 +1,35 @@
if (isset(newRoom))
{ if (varGameTimeHour > 4 && varGameTimeHour < 10)
{ new.room(Logic_BadEnding); [ ##LE001## } load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.logics(Logic57); load.view(View170); load.view(View78); animate.obj(o3); set.view(o3, View78); set.cel(o3, 0); position(o3, 129, 145); draw(o3); stop.cycling(o3); animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View170); set.loop(ObjFlyingDoll, 2); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 83, 114); draw(ObjFlyingDoll); v52 = 3; cycle.time(ObjFlyingDoll, v52); stop.update(ObjFlyingDoll); add.to.pic(View170, 1, 0, 63, 60, 4, 4); animate.obj(ObjTitleText); ignore.horizon(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.view(ObjTitleText, View170); set.loop(ObjTitleText, 0); position(ObjTitleText, 86, 42); cycle.time(ObjTitleText, v85); draw(ObjTitleText); if (previousRoom == 34)
{ v38 = 93; v39 = 116; set.loop(ego, 2); reset(f85); } else
{ if (previousRoom == 9)
{ v38 = 153; v39 = 138; } } position.v(ego, v38, v39); draw(ego); call(Logic57); show.pic(); return(); } reset(f200); if (posn(ego, 80, 115, 105, 120))
{ set(f200); } reset(f202); if (posn(ego, 120, 129, 142, 144))
{ set(f202); set(f69); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area") || said("examine", "building") || said("examine", "chapel")))
{ print("You are outside a romantic, quickie marriage parlor."); } if (said("examine", "bouncer"))
{ if (!isset(f203))
{ print("It's a guy wearing a trench coat."); } else
{ print("It's obvious he doesn't have much to hide!"); } } if (said("ask", "bouncer", "anyword", "rol"))
{ print("He doesn't reply."); } if (said("ask", "bouncer"))
{ if (!isset(f203))
{ print("You greet the stranger in the trench coat."); print("\"Hey, sonny! Come over here!!\" he replies."); } else
{ print("\"Say,\" you ask him. \"By any chance, is your name Shorty?\""); if (!isset(f103))
{ set(f103); currentScore += 1; } } } if ((said("catch", "bra", "rol") || said("anyword", "bouncer", "rol")))
{ print("You have better things to do than mess around with this pervert."); } if (said("examine", "door"))
{ if (isset(f61))
{ reset(haveMatch); } else
{ print("It's a door. Try opening it."); } } if (said("increase", "door"))
{ if (isset(f61))
{ reset(haveMatch); } else
{ if (!isset(f200))
{ set(f54); } else
{ set(f67); stop.motion(ego); set(f85); start.update(ObjFlyingDoll); end.of.loop(ObjFlyingDoll, f201); } } } if ((said("examine", "fence") || said("climb", "fence") || said("climb", "above", "fence") || said("examine", "above", "fence")))
{ print("It's there to keep you from going that way!"); } Label1: if (isset(f202))
{ if (!isset(f203))
{ set(f203); end.of.loop(o3, f40); } } else
{ if (isset(f203))
{ reset(f203); reverse.loop(o3, f40); } } call(Logic57); if (isset(f201))
{ reset(f85); v76 = 34; } if (edgeEgoHit == LEFT_EDGE)
{ v76 = 32; } if (edgeEgoHit == RIGHT_EDGE)
{ v76 = 9; } return(); [ Messages #message 1 "You are outside a romantic, quickie marriage parlor." #message 2 "It's a door. Try opening it." #message 3 "Funny. No one knocks back." #message 4 "It's a guy wearing a trench coat." #message 5 "It's obvious he doesn't have much to hide!" #message 6 "You greet the stranger in the trench coat." #message 7 "\"Hey, sonny! Come over here!!\" he replies." #message 8 "\"Say,\" you ask him. \"By any chance, is your name Shorty?\"" #message 9 "You have better things to do than mess around with this pervert." #message 10 "It's there to keep you from going that way!" #message 11 "Strange, you think." #message 12 "He doesn't reply."

51
src/Logic34.lgc Normal file
View file

@ -0,0 +1,51 @@
if (isset(newRoom))
{ load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View171); add.to.pic(View171, 0, 0, 62, 120, 0, 0); add.to.pic(View171, 0, 0, 93, 120, 0, 0); animate.obj(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View171); set.loop(ObjFlyingDoll, 1); set.cel(ObjFlyingDoll, 0); set.priority(ObjFlyingDoll, 11); position(ObjFlyingDoll, 62, 93); draw(ObjFlyingDoll); animate.obj(ObjTitleText); ignore.objs(ObjTitleText); position(ObjTitleText, 93, 93); set.view(ObjTitleText, View171); set.loop(ObjTitleText, 1); set.cel(ObjTitleText, 1); set.priority(ObjTitleText, 11); draw(ObjTitleText); if (!isset(f82) && !isset(f110) && isset(f79))
{ set(f202); set(f203); set(boolMusicEnded); load.view(View98); load.view(View172); load.sound(Sound23); animate.obj(o3); set.view(o3, View98); position(o3, 70, 120); set.loop(o3, 2); draw(o3); stop.cycling(o3); animate.obj(o4); set.view(o4, View172); set.loop(o4, 0); position(o4, 76, 113); draw(o4); stop.cycling(o4); } position(ego, 76, 167); draw(ego); show.pic(); if (isset(f83))
{ reset(f83); print("\"So... shall we try again?\""); } return(); } reset(f200); if (isset(f202) && posn(ego, 61, 114, 94, 130))
{ set(f200); set(f69); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "area") || said("examine", "chapel")))
{ if (!isset(f202))
{ print("You are in a quickie marriage parlor. A flashing neon sign on the " "rear wall asks: \"Why wait? Marry the girl of your dreams, today! " "You provide the girl, we'll do the rest for only $100!!\""); } else
{ print("Fawn is waiting for you at the altar. Go for it, Larry!"); } } if ((said("examine", "glass") || said("examine", "heart") || said("examine", "art") || said("examine", "brick") || said("examine", "out", "glass")))
{ print("You can't see through the \"stained glass\" windows. They're fake, " "like everything else about this place."); } if ((said("examine", "altar") || said("examine", "bench")))
{ print("Seems like everything here is covered in plastic."); } if (said("examine", "ceiling"))
{ print("You wonder why Michelangelo didn't use dropped fluorescents on his big " "ceiling job."); } if ((said("rest", "bench") || said("rest") || said("rest", "down") || said("rest", "about", "bench") || said("rest", "on", "bench")))
{ print("The plastic covers are so slick, you'd probably slide right off."); } if (said("examine", "burn"))
{ print("You can barely tell they're made from pressed sawdust."); } if (said("catch", "burn"))
{ print("Who'd want them?"); } if ((said("blow", "out", "burn") || said("blow", "burn", "out") || said("add", "burn", "out") || said("add", "out", "burn")))
{ print("It's not your birthday!"); } if (isset(f203) && said("examine", "bouncer"))
{ print("He looks a lot like his brother, the bad comedian in the Lizard " "Lounge."); } if (isset(f203) && said("ask", "bouncer"))
{ print("\"Make up your mind, son. Time is money!\""); print("What an old romantic!"); } if (isset(f202) && said("ask", "blond"))
{ print("\"Don't stand around talking, Larry,\" says Fawn. \"Let's get " "married!!\""); } if (isset(f202) && said("examine", "blond"))
{ print("Fawn is waiting for you at the altar. Go for it, Larry!"); } if (varTitlePageStep <= 0 && said("embrace", "blond"))
{ print("\"Not now; that can wait,\" Fawn says with a smile. \"I'll meet you at " "the Casino Hotel's honeymoon suite, and give you a lot more than " "kisses, my big, strong, handsome sweetheart!!\""); } if (varTitlePageStep <= 0 && (said("married", "blond") || said("married") || said("ask", "vows") || said("add", "bucks", "bouncer") || said("ask", "bouncer", "married", "about") || said("married", "about") || said("add", "bouncer") || said("buy", "rol") || said("catch", "married") || said("catch", "married", "blond") || said("ask", "bouncer")))
{ if (!isset(f202))
{ print("Perhaps you should find a mate, mate!"); } else
{ if (!isset(f200))
{ print("It's customary to position yourself to the bride's right."); } else
{ set(boolTimingDelayOut); } } } Label1: if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; v56 = 1; if (varTitlePageStep == 1)
{ ignore.objs(ego); set(f85); prevent.input(); if (v38 == 80)
{ varTitlePageStep = 2; } else
{ v32 = 80; move.obj.v(ego, v32, v39, v56, boolTimingDelayOut); } } if (varTitlePageStep == 2)
{ prevent.input(); move.obj(ego, 80, 120, 1, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ prevent.input(); set.loop(o3, 3); stop.update(ego); set.loop(ego, 3); force.update(ego); print("The minister intones in his basso voice..."); print("\"Dearly beloved, we are gathered together today in the sight of, " "er, ah, um... each other, to enter these two people into the eternal " "bonds of marriage.\""); start.cycling(o4); varTimingDelay = 3; } if (varTitlePageStep == 4)
{ print("\"But before we really get rollin', I'd like to say a few " "words.\n\nMany's the marriage that I've performed here, in this " "little chapel, wearing this cheap suit, before those shiny " "plastic-covered pews, with these electric candles, looking at those " "genuine plexiglas stained-glass windows, for these measly few " "bucks...\""); varTimingDelay = 3; } if (varTitlePageStep == 5)
{ print("(He pauses for another nip from his pocket flask.)"); varTimingDelay = 3; } if (varTitlePageStep == 6)
{ print("\"Where was I?\" he hiccups."); print("\"Digressing,\" you answer."); varTimingDelay = 3; } if (varTitlePageStep == 7)
{ print("\"Oh, well, have you got a ring?\" he asks."); varTimingDelay = 3; } if (varTitlePageStep == 8)
{ print("\"Yep,\" you reply. \"She's wearing it.\""); print("\"Good enough for me! Have you got a hundred bucks?\""); if (varInGameMoney < 100)
{ varTitlePageStep = 9; } else
{ varTitlePageStep = 101; } } if (varTitlePageStep == 9)
{ print("\"Not me,\" you reply. \"I thought this was a temple of love!\""); print("\"Sorry, buddy, you two are SOL until you can come back here with " "100 cold, hard ones!\" he says indignantly, as he pushes between you " "and heads for the door."); ignore.objs(o4); reposition.to(o4, 76, 121); set.loop(o4, 1); move.obj(o4, 76, 167, 2, boolTimingDelayOut); v66 = 12; } if (varTitlePageStep == 10)
{ print("Well, Larry, it looks like you're going to have to leave your new " "bride waiting at the altar, while you generate a little positive " "cash flow!"); set.loop(o3, 2); start.update(ego); move.obj(ego, 76, 167, 1, boolTimingDelayOut); v66 = 12; } if (varTitlePageStep == 11)
{ erase(o4); reset(f203); print("As you leave, she says, \"Hurry back, Larry, I don't know how long I " "can wait before I have you!\""); print("\"By the way, Larry,\" she asks. \"What does SOL stand for?\""); print("\"Why, Sierra On-Line, I presume!\" you respond."); print("(Drum fill)"); } if (varTitlePageStep == 12)
{ print("\"Wait here, Fawn baby! I'll be back in a flash!!\""); erase(ego); set(f83); reset(f85); accept.input(); v76 = 33; } if (varTitlePageStep == 101)
{ print("\"Of course,\" you reply, forking over your dough."); print("\"Ok, close enough. I now pronounce you man and wife, till death do " "you part, or until you get tired of each other, per the currently " "acceptable social standards!\""); varInGameMoney -= 100; set(f110); ignore.objs(o4); set.loop(o4, 1); reposition.to(o4, 76, 121); start.cycling(o4); move.obj(o4, 76, 167, 2, boolTimingDelayOut); v66 = 12; } if (varTitlePageStep == 102)
{ print("\"You may kiss the bride,\" he says, scurrying out the door to " "refill his flask."); } if (varTitlePageStep == 103)
{ erase(o4); print("\"Not now; that can wait,\" Fawn says with a smile. \"I'll meet you " "at the Casino Hotel's honeymoon suite, and give you a lot more than " "kisses, my big, strong, handsome sweetheart!!\""); start.update(o3); start.cycling(o3); move.obj(o3, 76, 167, 2, boolTimingDelayOut); v66 = 12; } if (varTitlePageStep == 104)
{ print("\"Hey!\" you shout, \"Wait for me!!\""); start.update(ego); start.motion(ego); reset(f85); observe.objs(ego); } if (varTitlePageStep == 105)
{ erase(o3); set(f201); currentScore += 12; reset(f202); stop.sound(); set(f82); varTitlePageStep = 0; accept.input(); } } if (isset(f202) && isset(boolMusicEnded))
{ sound(Sound23, boolMusicEnded); } if (edgeEgoHit == BOTTOM_EDGE)
{ v76 = 33; if (isset(f201))
{ print("Somehow this entire ceremony was less than you expected. The sacred " "bonds of marriage certainly get tied loosely in this joint!"); } } return(); [ Messages #message 1 "You are in a quickie marriage parlor. A flashing neon sign on the rear wall asks: \"Why wait? Marry the girl of your dreams, today! You provide the girl, we'll do the rest for only $100!!\"" #message 2 "Fawn is waiting for you at the altar. Go for it, Larry!" #message 3 "The minister intones in his basso voice..." #message 4 "\"Dearly beloved, we are gathered together today in the sight of, er, ah, um... each other, to enter these two people into the eternal bonds of marriage.\"" #message 5 "\"But before we really get rollin', I'd like to say a few words.\n\nMany's the marriage that I've performed here, in this little chapel, wearing this cheap suit, before those shiny plastic-covered pews, with these electric candles, looking at those genuine plexiglas stained-glass windows, for these measly few bucks...\"" #message 6 "(He pauses for another nip from his pocket flask.)" #message 7 "\"Where was I?\" he hiccups." #message 8 "\"Digressing,\" you answer." #message 9 "\"Oh, well, have you got a ring?\" he asks." #message 10 "\"Yep,\" you reply. \"She's wearing it.\"" #message 11 "\"Good enough for me! Have you got a hundred bucks?\"" #message 12 "\"Of course,\" you reply, forking over your dough." #message 13 "\"Not me,\" you reply. \"I thought this was a temple of love!\"" #message 14 "\"Sorry, buddy, you two are SOL until you can come back here with 100 cold, hard ones!\" he says indignantly, as he pushes between you and heads for the door." #message 15 "Well, Larry, it looks like you're going to have to leave your new bride waiting at the altar, while you generate a little positive cash flow!" #message 16 "As you leave, she says, \"Hurry back, Larry, I don't know how long I can wait before I have you!\"" #message 17 "\"By the way, Larry,\" she asks. \"What does SOL stand for?\"" #message 18 "\"Why, Sierra On-Line, I presume!\" you respond." #message 19 "(Drum fill)" #message 20 "\"Wait here, Fawn baby! I'll be back in a flash!!\"" #message 21 "\"Ok, close enough. I now pronounce you man and wife, till death do you part, or until you get tired of each other, per the currently acceptable social standards!\"" #message 22 "\"You may kiss the bride,\" he says, scurrying out the door to refill his flask." #message 23 "\"Not now; that can wait,\" Fawn says with a smile. \"I'll meet you at the Casino Hotel's honeymoon suite, and give you a lot more than kisses, my big, strong, handsome sweetheart!!\"" #message 24 "\"Hey!\" you shout, \"Wait for me!!\"" #message 25 "Somehow this entire ceremony was less than you expected. The sacred bonds of marriage certainly get tied loosely in this joint!" #message 26 "It's customary to position yourself to the bride's right." #message 27 "\"So... shall we try again?\"" #message 28 "You can't see through the \"stained glass\" windows. They're fake, like everything else about this place." #message 29 "Seems like everything here is covered in plastic." #message 30 "The plastic covers are so slick, you'd probably slide right off." #message 31 "Perhaps you should find a mate, mate!" #message 32 "You can barely tell they're made from pressed sawdust." #message 33 "Who'd want them?" #message 34 "He looks a lot like his brother, the bad comedian in the Lizard Lounge." #message 35 "\"Make up your mind, son. Time is money!\"" #message 36 "\"Don't stand around talking, Larry,\" says Fawn. \"Let's get married!!\"" #message 37 "What an old romantic!" #message 38 "You wonder why Michelangelo didn't use dropped fluorescents on his big ceiling job." #message 39 "It's not your birthday!"

79
src/Logic35.lgc Normal file
View file

@ -0,0 +1,79 @@
if (isset(newRoom))
{ set.horizon(1); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View165); load.view(View174); load.view(View17); load.view(Larry_StandAndWalk); load.view(View164); animate.obj(o5); ignore.blocks(o5); set.view(o5, View164); if (obj.in.room("Disco Pass", currentRoom))
{ set.cel(o5, 0); } else
{ set.cel(o5, 1); } position(o5, 77, 159); stop.cycling(o5); draw(o5); stop.update(o5); animate.obj(o4); ignore.blocks(o4); ignore.objs(o4); set.view(o4, View174); set.priority(o4, 5); position(o4, 73, 91); set.cel(o4, 1); stop.cycling(o4); animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.view(ObjTitleText, View165); set.loop(ObjTitleText, 2); fix.loop(ObjTitleText); set.priority(ObjTitleText, 4); position(ObjTitleText, 73, 108); v52 = 3; cycle.time(ObjTitleText, v52); animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View165); set.loop(o3, 1); fix.loop(o3); position(o3, 73, 118); set.priority(o3, 5); animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View165); set.priority(ObjFlyingDoll, 11); fix.loop(ObjFlyingDoll); step.size(ObjFlyingDoll, v85); if (v30 == 18)
{ set(f204); v30 = 18; set.loop(ObjFlyingDoll, 3); last.cel(ObjFlyingDoll, v52); set.cel.v(ObjFlyingDoll, v52); stop.cycling(ObjFlyingDoll); position(ObjFlyingDoll, 73, 36); draw(ObjFlyingDoll); move.obj(ObjFlyingDoll, 73, 118, 2, boolTimingDelayOut); varTitlePageStep = 100; draw(ObjTitleText); stop.update(ObjTitleText); draw(o4); set.view(ego, Larry_StandAndWalk); set.loop(ego, 2); set.priority(ego, 12); v38 = 75; v39 = 119; } else
{ draw(o3); stop.update(o3); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 73, 118); draw(ObjFlyingDoll); stop.update(ObjFlyingDoll); if (previousRoom == 36)
{ v38 = 128; v39 = 104; set.loop(ego, 1); position.v(ego, v38, v39); draw(ego); start.motion(ego); } else
{ if (previousRoom <= 0)
{ v38 = 75; v39 = 115; } position.v(ego, v38, v39); draw(ego); } } ignore.objs(ego); show.pic(); return(); } reset(f200); if (posn(ego, 70, 110, 83, 120))
{ set(f200); } reset(f205); if (posn(ego, 96, 101, 111, 106))
{ set(f205); } reset(f201); if (posn(ego, 62, 155, 87, 163))
{ set(f201); } if (v39 > 119 && v39 < 133)
{ set.priority(ego, 12); } else
{ release.priority(ego); } if (!isset(haveInput))
{ goto(Label1); } if (isset(f204) && !isset(haveMatch))
{ if ((said("hear") || said("sing") || said("sing", "along")))
{ print("\"strangers in the night, da da da dee da...\""); } else
{ set(haveMatch); print("Whee!"); } } if ((said("up") || said("down")))
{ print("Type a word, like \"one\" or \"two.\""); } if ((said("examine") || said("examine", "area") || said("examine", "brick") || said("examine", "elevator")))
{ if (isset(f200))
{ print("You are inside the glass elevator. Your favorite kind of music is " "playing. You hum along, insipidly."); print("There are buttons labeled \"one\" through \"eight.\""); } else
{ print("The entrance to the Cabaret Lounge is to the right, by the " "telephone. A glass elevator awaits you. An ashtray is in front of " "the planter."); } } if (said("look in", "bush"))
{ if (isset(f200))
{ set(f54); } else
{ print("They're of your favorite species: polyvinyl chloride. There is an " "ashtray in front of the planter."); } } if (said("examine", "bush"))
{ if (isset(f200))
{ print("You know, the people on those plants look like ants from up here."); print("Those ARE ants, you fool; we haven't left the ground yet!"); } else
{ print("They're of your favorite species: polyvinyl chloride. There is an " "ashtray in front of the planter."); } } if (said("close", "door"))
{ if (isset(f200))
{ print("The doors close whenever you choose a floor."); } else
{ print("Go inside and push a button."); } } if ((said("examine", "ash tray") || said("look in", "ash tray")))
{ if (v39 < 150)
{ print("Where?"); } else
{ if (obj.in.room("Disco Pass", currentRoom))
{ print("There's some kind of card in the ashtray."); } else
{ print("Yuck!"); } } } if (said("anyword", "ash tray"))
{ if (v39 < 150)
{ print("Where?"); } else
{ if (obj.in.room("Disco Pass", currentRoom))
{ print("There's some kind of card in the ashtray."); } else
{ print("The ashtray is of no further interest since you have the card."); } } } if ((said("catch", "card") || said("catch", "card")))
{ if (!isset(f201))
{ set(f54); } else
{ if (!obj.in.room("Disco Pass", currentRoom))
{ set(f55); } else
{ set.cel(o5, 1); force.update(o5); get("Disco Pass"); currentScore += 1; set(f67); } } } if ((said("examine", "phone") || said("use", "phone") || said("make", "phone", "ask") || said("dial", "phone")))
{ if (!isset(f205))
{ set(f54); } else
{ print("Somebody filled the coin slot with chewing gum."); } } if ((said("catch", "food") || said("drain", "food")))
{ if (!isset(f205))
{ set(f54); } else
{ print("You can't. It's so firmly embedded, nothing will get it out. You'll " "just have to find another telephone."); } } if ((said("examine", "phone", "book") || said("examine", "book")))
{ if (!isset(f205))
{ set(f54); } else
{ print("All the pages are torn out."); } } if ((said("answer", "phone") || said("catch", "phone") || said("answer")))
{ if (!isset(f205))
{ set(f54); } else
{ print("It's not ringing."); } } if (varTitlePageStep <= 0 && isset(f200))
{ if ((said("move", "one") || said("move", "button", "one") || said("one")))
{ v79 = 1; set(boolTimingDelayOut); } if ((said("move", "two") || said("move", "button", "two") || said("two")))
{ v79 = 2; set(boolTimingDelayOut); } if ((said("move", "three") || said("move", "button", "three") || said("three")))
{ v79 = 3; set(boolTimingDelayOut); } if ((said("move", "four") || said("move", "button", "four") || said("four")))
{ v79 = 4; set(boolTimingDelayOut); } if ((said("move", "five") || said("move", "button", "five") || said("five")))
{ v79 = 5; set(boolTimingDelayOut); } if ((said("move", "six") || said("move", "button", "six") || said("six")))
{ v79 = 6; set(boolTimingDelayOut); } if ((said("move", "seven") || said("move", "button", "seven") || said("seven")))
{ v79 = 7; set(boolTimingDelayOut); } if ((said("move", "eight") || said("move", "button", "eight") || said("eight")))
{ v79 = 8; set(boolTimingDelayOut); } if ((said("move", "rol") || said("move", "button", "rol")))
{ print("Type a word, like \"one\" or \"two.\""); } } Label1: if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ set(f204); v30 = 18; stop.motion(ego); set(f85); set.view(ego, View17); set.cel(ego, 0); reposition.to(ego, 76, 117); cycle.time(ego, varEgoSize); set(f34); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ erase(ego); set.view(ego, Larry_StandAndWalk); set.loop(ObjFlyingDoll, 3); set.cel(ObjFlyingDoll, 0); cycle.time(ObjFlyingDoll, varEgoSize); end.of.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ erase(o3); draw(ObjTitleText); draw(o4); stop.cycling(ObjFlyingDoll); if (v79 == 1)
{ print("Wasn't that a fast ride!"); varTitlePageStep = 101; } else
{ move.obj(ObjFlyingDoll, 73, 36, 2, boolTimingDelayOut); } } if (varTitlePageStep == 4)
{ v76 = 40; } if (varTitlePageStep == 101)
{ erase(ObjTitleText); erase(o4); cycle.time(ObjFlyingDoll, v85); start.cycling(ObjFlyingDoll); reverse.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 102)
{ reset(f204); v30 = 0; v79 = 0; varTitlePageStep = 0; set.loop(ObjFlyingDoll, 0); draw(o3); set.view(ego, Larry_StandAndWalk); set.loop(ego, 2); set.cel(ego, 0); position(ego, 76, 116); draw(ego); start.motion(ego); reset(f85); cycle.time(ego, v84); reset(f34); } } if (edgeEgoHit == BOTTOM_EDGE)
{ v76 = 31; } if (posn(ego, 131, 101, 132, 106))
{ v76 = 36; } return(); [ Messages #message 1 "The entrance to the Cabaret Lounge is to the right, by the telephone. A glass elevator awaits you. An ashtray is in front of the planter." #message 2 "You are inside the glass elevator. Your favorite kind of music is playing. You hum along, insipidly." #message 3 "There are buttons labeled \"one\" through \"eight.\"" #message 4 "Type a word, like \"one\" or \"two.\"" #message 5 "Whee!" #message 6 "You know, the people on those plants look like ants from up here." #message 7 "\"strangers in the night, da da da dee da...\"" #message 8 "Those ARE ants, you fool; we haven't left the ground yet!" #message 9 "Wasn't that a fast ride!" #message 10 "They're of your favorite species: polyvinyl chloride. There is an ashtray in front of the planter." #message 11 "You carefully remove the card from the cancerous remains in the ashtray. It's a valid pass to the disco!" #message 12 "There's some kind of card in the ashtray." #message 13 "Yuck!" #message 14 "Where?" #message 15 "The doors close whenever you choose a floor." #message 16 "Go inside and push a button." #message 17 "It's of no interest." #message 18 "The ashtray is of no further interest since you have the card." #message 19 "It's not ringing." #message 20 "All the pages are torn out." #message 21 "Somebody filled the coin slot with chewing gum." #message 22 "You can't. It's so firmly embedded, nothing will get it out. You'll just have to find another telephone."

109
src/Logic36.lgc Normal file

File diff suppressed because one or more lines are too long

47
src/Logic37.lgc Normal file
View file

@ -0,0 +1,47 @@
if (isset(newRoom))
{ reset(f33); load.view(View147); load.view(View150); load.logics(Logic58); load.sound(Sound3); load.sound(Sound4); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); animate.obj(o13); set.priority(o13, 15); set.view(o13, View147); set.loop(o13, 2); position(o13, 56, 106); animate.obj(ObjTitleText); set.view(ObjTitleText, View147); set.loop(ObjTitleText, 0); set.cel(ObjTitleText, 3); position(ObjTitleText, 46, 87); draw(ObjTitleText); stop.cycling(ObjTitleText); animate.obj(o3); set.view(o3, View147); set.loop(o3, 0); set.cel(o3, 3); position(o3, 69, 87); draw(o3); stop.cycling(o3); animate.obj(o4); set.view(o4, View147); set.loop(o4, 0); set.cel(o4, 3); position(o4, 93, 87); draw(o4); stop.cycling(o4); animate.obj(ObjFlyingDoll); ignore.horizon(ObjFlyingDoll); set.view(ObjFlyingDoll, View147); set.loop(ObjFlyingDoll, 1); position(ObjFlyingDoll, 50, 10); show.pic(); v200 = 1; set(f201); set(f48); v207 = 2; call(Logic58); print.at("\n RESULTS " "PAYS\n|--------------------------------|\n| Cherry | | " " | 1 |\n| Cherry | Cherry | | 2 |\n| Cherry | Cherry | " "Cherry | 4 |\n|--------|--------|--------|-----|\n| Orange | " "Orange | | 2 |\n| Orange | Orange | Orange | 4 " "|\n|--------|--------|--------|-----|\n| Seven | Seven | | " " 3 |\n| Seven | Seven | Seven | 5 " "|\n|--------|--------|--------|-----|\n| Bar | Bar | Bar | " " 7 |\n|--------------------------------|\n", 2, 2, 36); print("\nPress F4 to decrease bet.\n\nPress F6 to increase bet.\n\nPress F8 " "to pull handle.\n"); set(noScript); return(); } set(f69); if (isset(f201) && controller(c4))
{ --v200; v207 = 2; call(Logic58); } if (isset(f201) && controller(c6))
{ if (v200 < 20)
{ ++v200; } else
{ print("This machine has a $20.00 limit."); } v207 = 2; call(Logic58); } if (isset(f201) && controller(c8))
{ set(f202); } if (!isset(haveInput))
{ goto(Label1); } if ((said("play") || said("move", "handle") || said("play", "slot")))
{ set(f202); } if (said("odds"))
{ v207 = 2; call(Logic58); print.at("\n RESULTS " "PAYS\n|--------------------------------|\n| Cherry | | " " | 1 |\n| Cherry | Cherry | | 2 |\n| Cherry | Cherry | " "Cherry | 4 |\n|--------|--------|--------|-----|\n| Orange | " "Orange | | 2 |\n| Orange | Orange | Orange | 4 " "|\n|--------|--------|--------|-----|\n| Seven | Seven | | " " 3 |\n| Seven | Seven | Seven | 5 " "|\n|--------|--------|--------|-----|\n| Bar | Bar | Bar | " " 7 |\n|--------------------------------|\n", 2, 2, 36); } if ((said("examine") || said("examine", "slot")))
{ print("It's an electronic slot machine. When you tire of playing, just type " "\"stop.\""); } if ((said("board") || said("examine", "area") || said("board", "slot") || said("get up") || said("board", "away") || said("board") || said("done", "play") || said("done", "game") || said("done") || said("done", "play", "slot") || said("board", "casino") || said("examine", "casino")))
{ set(f67); set(f200); } Label1: if (isset(f202))
{ reset(f202); if (!isset(f201))
{ random(11, 13, v52); print.v(v52); } else
{ if (v200 <= 0)
{ print("You insert zero dollars, and pretend to pull the handle."); print("You win zero dollars!"); print("Is this your idea of a good time?"); } else
{ if (v200 > varInGameMoney)
{ print("You can't bet more than you have."); } else
{ varTitlePageStep = 0; set(boolTimingDelayOut); } } } } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ reset(f201); set(f87); set(f93); stop.sound(); reset(f53); sound(Sound3, f40); varInGameMoney -= v200; v207 = 2; call(Logic58); start.cycling(ObjTitleText); start.cycling(o3); start.cycling(o4); random(8, 11, v66); } if (varTitlePageStep == 2)
{ stop.cycling(ObjTitleText); current.cel(ObjTitleText, v201); random(8, 11, v66); } if (varTitlePageStep == 3)
{ stop.cycling(o3); current.cel(o3, v202); random(8, 11, v66); } if (varTitlePageStep == 4)
{ stop.cycling(o4); current.cel(o4, v203); v204 = 0; if (v201 == 0)
{ v204 = 1; if (v202 == v201)
{ v204 = 2; if (v203 == v201)
{ v204 = 4; } } } if (v201 == 1 && v202 == v201)
{ v204 = 2; if (v203 == v201)
{ v204 = 4; } } if (v201 == 2 && v202 == v201)
{ v204 = 3; if (v203 == v201)
{ v204 = 5; } } if (v201 == 3 && v202 == v201 && v203 == v201)
{ v204 = 7; } if (v204 <= 0)
{ set(f201); } else
{ v207 = 1; call(Logic58); if (v204 == 1)
{ set(f201); } else
{ draw(o13); set(f53); if (v204 > 1 && v204 < 4)
{ v66 = 22; } else
{ draw(ObjFlyingDoll); if (v204 < 7)
{ v66 = 22; } else
{ v66 = 44; } } } } } if (varTitlePageStep == 5)
{ erase(ObjFlyingDoll); erase(o13); set(f201); } if (isset(f201))
{ varTitlePageStep = 0; reset(f87); reset(f93); if (varInGameMoney <= 0)
{ reset(f201); } } } if (isset(f53) && !isset(f201))
{ sound(Sound4, f53); } if ((controller(CtrlHelp) || isset(f203)))
{ reset(f203); v207 = 2; call(Logic58); print.at("\n RESULTS " "PAYS\n|--------------------------------|\n| Cherry | | " " | 1 |\n| Cherry | Cherry | | 2 |\n| Cherry | Cherry | " "Cherry | 4 |\n|--------|--------|--------|-----|\n| Orange | " "Orange | | 2 |\n| Orange | Orange | Orange | 4 " "|\n|--------|--------|--------|-----|\n| Seven | Seven | | " " 3 |\n| Seven | Seven | Seven | 5 " "|\n|--------|--------|--------|-----|\n| Bar | Bar | Bar | " " 7 |\n|--------------------------------|\n", 2, 2, 36); print("\nPress F4 to decrease bet.\n\nPress F6 to increase bet.\n\nPress F8 " "to pull handle.\n"); } if (isset(gameRestored))
{ v207 = 2; call(Logic58); } if (isset(f200))
{ reset(f48); reset(noScript); reset(f87); reset(f93); v76 = 31; } return(); [ Messages #message 1 "\nPress F4 to decrease bet.\n\nPress F6 to increase bet.\n\nPress F8 to pull handle.\n" #message 2 "\n RESULTS PAYS\n|--------------------------------|\n| Cherry | | | 1 |\n| Cherry | Cherry | | 2 |\n| Cherry | Cherry | Cherry | 4 |\n|--------|--------|--------|-----|\n| Orange | Orange | | 2 |\n| Orange | Orange | Orange | 4 |\n|--------|--------|--------|-----|\n| Seven | Seven | | 3 |\n| Seven | Seven | Seven | 5 |\n|--------|--------|--------|-----|\n| Bar | Bar | Bar | 7 |\n|--------------------------------|\n" #message 3 "You insert zero dollars, and pretend to pull the handle." #message 4 "You win zero dollars!" #message 5 "Is this your idea of a good time?" #message 6 "This machine has a $20.00 limit." #message 7 "You can't bet more than you have." #message 8 "It's an electronic slot machine. When you tire of playing, just type \"stop.\"" #message 9 "" #message 10 "" #message 11 "Don't be in such a hurry!" #message 12 "Slow down!" #message 13 "What are you? A \"Type-A\" personality?"

209
src/Logic38.lgc Normal file
View file

@ -0,0 +1,209 @@
if (isset(newRoom))
{ set.horizon(1); reset(f33); load.logics(Logic56); load.view(View150); load.view(View152); load.view(View153); load.view(View154); load.view(View155); load.view(View156); load.view(View157); load.sound(Sound6); load.sound(Sound7); load.sound(Sound5); if (monitorType != MONO)
{ load.view(View151); } else
{ load.view(View146); } load.pic(currentRoom); draw.pic(currentRoom); animate.obj(o15); ignore.objs(o15); position(o15, 61, 55); if (monitorType != MONO)
{ set.view(o15, View151); } else
{ set.view(o15, View146); } animate.obj(o13); ignore.objs(o13); set.view(o13, View150); position(o13, 54, 82); v255 = 2; v227 = 1; v219 = 45; show.pic(); v229 = 6; call(Logic56); print("\nPress F4 when ready to play.\n\nPress F6 for another card.\n\nPress " "F8 to stand.\n\nTo change the amount of your bet, type \"change " "bet.\"\n"); set(f48); set(noScript); return(); } set(f69); if ((controller(CtrlHelp) || said("help")))
{ set(f245); } if ((said("tip", "blond") || said("add", "blond", "bucks") || said("add", "bucks", "blond")))
{ print("\"I'm sorry, Sir. We're not permitted to accept gratuities!\""); } if ((controller(c4) || said("bargain", "fingers") || said("bargain", "card") || said("bargain")))
{ v219 = 45; if (v236 > 0)
{ print("Don't be in such a hurry. Finish this hand first!"); } else
{ if (v255 <= 0)
{ print("You bet zero dollars, receive zero cards, and win zero dollars and " "zero cents."); print("You can play all night like this!"); } else
{ if (v255 > varInGameMoney)
{ varTitlePageStep = 0; print("You can't bet more than you have."); } else
{ set(boolTimingDelayOut); varTitlePageStep = 0; } } } } if ((controller(c8) || said("get up")))
{ v219 = 45; if (!isset(f253))
{ print("Please wait until it's your turn."); } else
{ if (v236 == 1)
{ varTitlePageStep = 100; set(boolTimingDelayOut); } else
{ if (v236 == 2)
{ varTitlePageStep = 200; set(boolTimingDelayOut); } else
{ print("Please wait until it's your turn."); } } } } if ((controller(c6) || said("beat") || said("beat", "i'm") || said("card") || said("add", "i'm", "card")))
{ v219 = 45; if (!isset(f253))
{ print("Please wait until it's your turn."); } else
{ if (v236 == 1)
{ ++v233; v235 = 243; v235 += v233; --v235; v229 = 1; call(Logic56); v223 += v231; } else
{ if (v236 == 2)
{ ++v233; v235 = 249; v235 += v233; --v235; v229 = 1; call(Logic56); v224 += v231; } else
{ print("Please wait until it's your turn."); } } } } if (!isset(haveInput))
{ goto(Label4); } if ((said("double") || said("double", "up") || said("double", "down")))
{ v219 = 45; if (!isset(f253))
{ print("Please wait until it's your turn."); } else
{ if (v236 == 1)
{ if ((v223 < 10 || v223 > 11))
{ print("%m19double when you have 10 or 11 points."); } else
{ if (varInGameMoney < v226)
{ print("You don't have enough money!"); } else
{ set(boolTimingDelayOut); varTitlePageStep = 20; } } } else
{ if (v236 != 2)
{ print("Please wait until it's your turn."); } else
{ if ((v224 < 10 || v224 > 11))
{ print("%m19double when you have 10 or 11 points."); } else
{ if (varInGameMoney < v225)
{ print("You don't have enough money!"); } else
{ set(boolTimingDelayOut); varTitlePageStep = 120; } } } } } } if ((said("split") || said("split", "card") || said("split", "fingers")))
{ v219 = 45; if (!isset(f253))
{ print("Please wait until it's your turn."); } else
{ if (v236 != 1)
{ print("Please wait until it's your turn."); } else
{ if (v233 != 2)
{ print("%m19split%m20"); } else
{ v235 = 243; v232 = *v235; v229 = 4; call(Logic56); v52 = v55; ++v235; v232 = *v235; v229 = 4; call(Logic56); if (v55 != v52)
{ print("That's not a pair."); } else
{ if (v226 > varInGameMoney)
{ print("You don't have enough money!"); } else
{ set(boolTimingDelayOut); varTitlePageStep = 10; } } } } } } if ((said("surrender") || said("surrender", "card") || said("surrender", "fingers")))
{ v219 = 45; if (!isset(f253))
{ print("Please wait until it's your turn."); } else
{ if (v236 != 1)
{ print("Please wait until it's your turn."); } else
{ if (v233 != 2)
{ print("%m19surrender%m20"); } else
{ print("Surrendering your cards, you are refunded half of your bet."); v228 = v227; v229 = 5; call(Logic56); v236 = 255; } } } } if ((said("alter", "bet", "rol") || said("new", "bet", "rol") || said("increase", "bet", "rol") || said("decrease", "bet", "rol") || said("bet", "rol")))
{ v219 = 45; if (v236 > 0)
{ print("It's too late now. This hand is already being played."); } else
{ Label1: get.num("Amount in dollars: $", v255); v52 = v255; v227 = 0; if (v52 > 20)
{ print("$20.00 is the maximum bet at this table."); goto(Label1); } Label2: if (v52 > 1)
{ v52 -= 2; ++v227; goto(Label2); } if (v52 == 1)
{ print("Please bet an even number of dollars (2, 4, 6, etc.). The house " "does not keep half-dollars."); goto(Label1); } if (v255 > varInGameMoney)
{ print("You don't have enough money!"); goto(Label1); } v229 = 6; call(Logic56); } } if (isset(boolCallDebugger) && said("examine", "all"))
{ v235 = 237; Label3: v229 = 1; call(Logic56); ++v235; if (v235 <= 254)
{ goto(Label3); } } if ((said("board", "rol") || said("done", "rol") || said("board", "casino") || said("examine", "area") || said("examine", "casino") || said("get up", "up")))
{ print("\"Thanks for playing,\" says the dealer, finally cracking a smile. " "\"Come back anytime.\""); set(f255); } if ((said("house rules") || said("examine", "desk") || said("examine", "brick") || said("examine", "house rules")))
{ set(f245); } if ((said("examine") || said("examine", "desk")))
{ v219 = 45; print("You are sitting at a blackjack table in the casino. There is a sign on " "the table titled \"House Rules.\""); } if ((said("examine", "blond") || said("examine", "blond")))
{ print("She's a beautiful young lady, but you vow to keep your thoughts on the " "game."); } if ((said("ask", "blond") || said("ask", "blond")))
{ print("\"Please, no talking at the tables.\""); } Label4: if (isset(f44))
{ --v219; if (v219 == 1)
{ set(f245); } } if (isset(f245))
{ reset(f245); print("\n HOUSE RULES\n\nThis table has a $20.00 limit. Bets must be a " "multiple of $2.00.\n\nDealer must hit 16, and must stand on " "17.\n\nBlackjack pays 1-1/2 to 1 odds.\n\nAny six cards under 22 " "wins.\n"); print("\nInsurance bets are offered whenever the dealer shows an ace. They " "are half your bet, and pay 2 to 1 odds.\n\nYou may split a pair or " "surrender whenever you have only two cards.\n\nYou may double down if " "your cards total 10 or 11 points.\n"); print("\nPress F4 when ready to play.\n\nPress F6 for another card.\n\nPress " "F8 to stand.\n\nTo change the amount of your bet, type \"change " "bet.\"\n"); v219 = 45; } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; v219 = 45; if (varTitlePageStep == 1)
{ reset(f246); reset(f247); reset(f248); reset(f249); reset(f250); reset(f251); reset(f252); reset(f254); v222 = 0; v223 = 0; v224 = 0; v225 = 0; v226 = 0; v233 = 0; v226 = v255; varInGameMoney -= v226; v236 = 1; set(f87); v235 = 237; Label5: random(0, 51, v52); if (v235 != 237)
{ v234 = 237; Label6: v232 = *v234; if (v232 == v52)
{ goto(Label5); } ++v234; if (v234 < v235)
{ goto(Label6); } } if (v235 == 249)
{ v232 = v52; v229 = 4; call(Logic56); varQuestionnaireID = v231; v221 = 243; v232 = *v221; v229 = 4; call(Logic56); if (varQuestionnaireID == v231)
{ goto(Label5); } } *v235 = v52; ++v235; if (v235 <= 254)
{ goto(Label5); } draw.pic(currentRoom); show.pic(); v229 = 6; call(Logic56); set.cel(o15, 0); draw(o15); v66 = 28; sound(Sound5, f53); } if (varTitlePageStep == 2)
{ erase(o15); v66 = 9; } if (varTitlePageStep == 3)
{ v235 = 243; v229 = 1; call(Logic56); v223 = v231; v66 = 9; } if (varTitlePageStep == 4)
{ v235 = 237; v229 = 1; call(Logic56); v66 = 9; v222 = v231; } if (varTitlePageStep == 5)
{ v235 = 243; ++v235; v229 = 1; call(Logic56); v223 += v231; v66 = 9; } if (varTitlePageStep == 6)
{ v235 = 237; ++v235; v229 = 3; call(Logic56); v222 += v231; v233 = 2; v235 = 243; v232 = *v235; v229 = 4; call(Logic56); if ((v231 == 1 || v231 == 10))
{ v52 = v231; ++v235; v232 = *v235; v229 = 4; call(Logic56); if (v52 == 1 && v231 == 10)
{ set(f246); } if (v52 == 10 && v231 == 1)
{ set(f246); } } v235 = 237; v232 = *v235; v229 = 4; call(Logic56); if (v231 == 1)
{ cancel.line(); prevent.input(); if (monitorType == MONO)
{ clear.lines(24, 24, BLACK); display(24, 0, "Do you want insurance? "); } else
{ clear.lines(23, 23, BLACK); display(23, 0, "Do you want insurance? "); } lastChar = 0; set.scan.start(); if (lastChar <= 0)
{ return(); } if ((lastChar == 89 || lastChar == 121))
{ if (v227 > varInGameMoney)
{ print("You don't have enough money!"); } else
{ set(f254); varInGameMoney -= v227; v229 = 6; call(Logic56); } } else
{ if (lastChar != 78 && lastChar != 110)
{ print("Please answer \"y\" or \"n\"."); lastChar = 0; return(); } } reset.scan.start(); lastChar = 0; if (monitorType == MONO)
{ clear.lines(24, 24, BLACK); } else
{ clear.lines(23, 23, BLACK); } accept.input(); } v235 = 237; v232 = *v235; v229 = 4; call(Logic56); if ((v231 == 1 || v231 == 10))
{ v52 = v231; ++v235; v232 = *v235; v229 = 4; call(Logic56); if (v52 == 1 && v231 == 10)
{ set(f247); } if (v52 == 10 && v231 == 1)
{ set(f247); } } if (isset(f246))
{ print("You have blackjack."); if (isset(f247))
{ v236 = 255; v235 = 237; ++v235; v229 = 1; call(Logic56); print("The dealer has blackjack!"); print("It's a push!"); v228 = v226; v229 = 5; call(Logic56); if (isset(f254))
{ print("Your insurance bet pays 2 to 1."); v228 = v227; v228 += v227; v229 = 5; call(Logic56); } } else
{ v228 = v226; v228 += v226; v228 += v227; v229 = 5; call(Logic56); v66 = 55; draw(o13); set(f53); } } else
{ if (!isset(f247))
{ set(f253); varTitlePageStep = 8; } else
{ v236 = 255; v235 = 237; ++v235; v229 = 1; call(Logic56); v229 = 6; call(Logic56); print("The dealer has blackjack!"); if (isset(f254))
{ print("Your insurance bet pays 2 to 1."); v228 = v227; v228 += v227; v229 = 5; call(Logic56); } } } } if (varTitlePageStep == 7)
{ erase(o13); v236 = 255; } if (varTitlePageStep == 11)
{ reset(f253); v225 = v255; varInGameMoney -= v225; v229 = 6; call(Logic56); v235 = 249; v52 = *v235; varQuestionnaireID = 243; ++varQuestionnaireID; v221 = *varQuestionnaireID; *v235 = v221; *varQuestionnaireID = v52; v235 = 243; ++v235; v229 = 2; call(Logic56); v66 = 9; } if (varTitlePageStep == 12)
{ v235 = 249; v229 = 1; call(Logic56); v223 -= v231; v66 = 9; } if (varTitlePageStep == 13)
{ set(f253); v235 = 243; ++v235; v229 = 1; call(Logic56); v223 += v231; } if (varTitlePageStep == 21)
{ reset(f253); varInGameMoney -= v226; v226 += v226; v229 = 6; call(Logic56); v66 = 9; } if (varTitlePageStep == 22)
{ set(f253); set(f248); ++v233; v235 = 243; v235 += v233; --v235; v229 = 1; call(Logic56); v223 += v231; varTitlePageStep = 101; } if (varTitlePageStep == 31)
{ print("Six cards make a winner."); varTitlePageStep = 101; set(f250); } if (varTitlePageStep == 101)
{ v236 = 2; reset(f253); if (isset(f252) && v223 < 12)
{ reset(f252); v223 += 10; } if (v223 > 21)
{ if (v225 <= 0)
{ print("You are busted."); } else
{ print("%m34busted!"); } } if (v225 <= 0)
{ varTitlePageStep = 201; } else
{ set(f253); reset(f252); v233 = 2; v235 = 249; v232 = *v235; v229 = 4; call(Logic56); v224 = v231; v235 = 249; ++v235; v229 = 1; call(Logic56); v224 += v231; } } if (varTitlePageStep == 121)
{ reset(f253); varInGameMoney -= v225; v225 += v225; v229 = 6; call(Logic56); v66 = 9; } if (varTitlePageStep == 122)
{ set(f253); set(f249); ++v233; v235 = 249; v235 += v233; --v235; v229 = 3; call(Logic56); v224 += v231; varTitlePageStep = 201; } if (varTitlePageStep == 131)
{ print("Six cards make a winner."); varTitlePageStep = 201; set(f251); } if (varTitlePageStep == 201)
{ reset(f253); v236 = 3; v66 = 9; if (v225 > 0 && isset(f252) && v224 < 12)
{ reset(f252); v224 += 10; } if (v224 > 21)
{ print("%m43busted!"); } if (v223 < 22)
{ if (isset(f250))
{ varTitlePageStep = 230; } } else
{ if (v225 <= 0)
{ varTitlePageStep = 220; } else
{ if (v224 > 21)
{ varTitlePageStep = 220; } else
{ if (isset(f251))
{ varTitlePageStep = 230; } } } } } if (varTitlePageStep == 202)
{ reset(f252); v66 = 9; v233 = 2; v235 = 237; ++v235; v229 = 1; call(Logic56); } if (varTitlePageStep == 203)
{ v66 = 9; if (isset(f252) && v222 > 6 && v222 < 12)
{ reset(f252); v222 += 10; } if (v222 < 17)
{ ++v233; v235 = 237; v235 += v233; --v235; v229 = 1; call(Logic56); v222 += v231; if (v233 < 6)
{ varTitlePageStep -= 1; } } } if (varTitlePageStep == 204)
{ if (isset(f248))
{ v235 = 243; ++v235; ++v235; v229 = 1; call(Logic56); } if (v222 > 21)
{ print("The dealer busted."); if (v223 > 21)
{ ++varTitlePageStep; } else
{ v228 = v226; v228 += v226; v229 = 5; call(Logic56); v66 = 22; draw(o13); set(f53); } } else
{ if (v223 > 21)
{ ++varTitlePageStep; } else
{ if (v223 > v222)
{ if (v225 > 0)
{ print("%m34wins!"); } v228 = v226; v228 += v226; v229 = 5; call(Logic56); v66 = 33; draw(o13); set(f53); } if (v223 == v222)
{ if (v225 > 0)
{ print("%m34is a push!"); } else
{ print("It's a push!"); } v228 = v226; v229 = 5; call(Logic56); ++varTitlePageStep; } if (v223 < v222)
{ ++varTitlePageStep; if (v225 > 0)
{ print("%m34loses!"); } else
{ print("You lose!"); } } } } } if (varTitlePageStep == 205)
{ if (v225 <= 0)
{ ++varTitlePageStep; } else
{ if (isset(f249))
{ v235 = 249; ++v235; ++v235; v229 = 1; call(Logic56); } if (v222 > 21)
{ if (v223 > 21)
{ print("The dealer busted."); } if (v224 > 21)
{ ++varTitlePageStep; } else
{ v228 = v225; v228 += v225; v229 = 5; call(Logic56); v66 = 22; if (v223 > 21)
{ draw(o13); } set(f53); } } else
{ if (v224 > 21)
{ ++varTitlePageStep; } else
{ if (v224 > v222)
{ print("%m43wins!"); v228 = v225; v228 += v225; v229 = 5; call(Logic56); v66 = 33; if (v223 > 21)
{ draw(o13); } set(f53); } if (v224 == v222)
{ print("%m43is a push!"); v228 = v225; v229 = 5; call(Logic56); ++varTitlePageStep; } if (v224 < v222)
{ print("%m43loses!"); ++varTitlePageStep; } } } } } if (varTitlePageStep == 206)
{ erase(o13); v236 = 255; } if (varTitlePageStep == 221)
{ v235 = 237; ++v235; v229 = 1; call(Logic56); v236 = 255; } if (varTitlePageStep == 231)
{ if (!isset(f250))
{ ++varTitlePageStep; } else
{ v228 = v226; v228 += v226; v229 = 5; call(Logic56); v66 = 44; draw(o13); set(f53); } } if (varTitlePageStep == 232)
{ if (!isset(f251))
{ ++varTitlePageStep; } else
{ v228 = v225; v228 += v225; v229 = 5; call(Logic56); v66 = 44; draw(o13); set(f53); } } if (varTitlePageStep == 233)
{ erase(o13); v236 = 255; } } if (v236 == 255)
{ v236 = 0; reset(f253); reset(f87); varTitlePageStep = 0; v66 = 0; v219 = 45; if (varInGameMoney <= 0)
{ varTitlePageStep = 0; v229 = 6; call(Logic56); } } if (v236 == 1)
{ if (v223 > 21)
{ set(boolTimingDelayOut); varTitlePageStep = 100; } else
{ if (v233 > 5)
{ set(boolTimingDelayOut); varTitlePageStep = 30; } } } if (v236 == 2)
{ if (v224 > 21)
{ set(boolTimingDelayOut); varTitlePageStep = 200; } else
{ if (v233 > 5)
{ set(boolTimingDelayOut); varTitlePageStep = 130; } } } if (isset(f53))
{ reset(f53); if (varTitlePageStep == 1)
{ sound(Sound5, f53); } if ((varTitlePageStep == 6 || varTitlePageStep == 204 || varTitlePageStep == 205 || varTitlePageStep == 231 || varTitlePageStep == 232))
{ sound(Sound7, f53); } } if (isset(gameRestored))
{ v229 = 6; call(Logic56); } if (isset(f255))
{ reset(f48); reset(noScript); reset(f87); v76 = 31; } if (isset(boolCallDebugger) && isset(f30))
{ if ((v223 != v217 || v224 != v218 || v222 != v216))
{ v229 = 7; call(Logic56); } } return(); [ Messages #message 1 "You are sitting at a blackjack table in the casino. There is a sign on the table titled \"House Rules.\"" #message 2 "Do you want insurance? " #message 3 "Amount in dollars: $" #message 4 "Please bet an even number of dollars (2, 4, 6, etc.). The house does not keep half-dollars." #message 5 "The dealer has blackjack!" #message 6 "Surrendering your cards, you are refunded half of your bet." #message 7 "You bet zero dollars, receive zero cards, and win zero dollars and zero cents." #message 8 "You can play all night like this!" #message 9 "Your insurance bet pays 2 to 1." #message 10 "Please answer \"y\" or \"n\"." #message 11 "You are busted." #message 12 "The dealer busted." #message 13 "She's a beautiful young lady, but you vow to keep your thoughts on the game." #message 14 "It's a push!" #message 15 "\"Thanks for playing,\" says the dealer, finally cracking a smile. \"Come back anytime.\"" #message 16 "You lose!" #message 17 "You have blackjack." #message 18 "Six cards make a winner." #message 19 "You can only " #message 20 " when you have two cards." #message 21 "\"Please, no talking at the tables.\"" #message 22 "That's not a pair." #message 23 "\"I'm sorry, Sir. We're not permitted to accept gratuities!\"" #message 24 "%m19double when you have 10 or 11 points." #message 25 "%m19split%m20" #message 26 "%m19surrender%m20" #message 27 "You don't have enough money!" #message 28 "Don't be in such a hurry. Finish this hand first!" #message 29 "It's too late now. This hand is already being played." #message 30 "You can't bet more than you have." #message 31 "$20.00 is the maximum bet at this table." #message 32 "" #message 33 "" #message 34 "Your first hand " #message 35 "%m34is a push!" #message 36 "%m34wins!" #message 37 "%m34loses!" #message 38 "%m34busted!" #message 39 "%m43is a push!" #message 40 "%m43wins!" #message 41 "%m43loses!" #message 42 "%m43busted!" #message 43 "Your split hand " #message 44 "Please wait until it's your turn." #message 45 "\n HOUSE RULES\n\nThis table has a $20.00 limit. Bets must be a multiple of $2.00.\n\nDealer must hit 16, and must stand on 17.\n\nBlackjack pays 1-1/2 to 1 odds.\n\nAny six cards under 22 wins.\n" #message 46 "\nInsurance bets are offered whenever the dealer shows an ace. They are half your bet, and pay 2 to 1 odds.\n\nYou may split a pair or surrender whenever you have only two cards.\n\nYou may double down if your cards total 10 or 11 points.\n" #message 47 "\nPress F4 when ready to play.\n\nPress F6 for another card.\n\nPress F8 to stand.\n\nTo change the amount of your bet, type \"change bet.\"\n"

82
src/Logic40.lgc Normal file
View file

@ -0,0 +1,82 @@
if (isset(newRoom))
{ set.horizon(1); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View165); load.view(View174); load.view(View175); load.view(View17); load.view(Larry_StandAndWalk); ignore.objs(ego); animate.obj(o4); ignore.blocks(o4); ignore.objs(o4); set.view(o4, View175); set.cel(o4, 0); set.priority(o4, 10); position(o4, 6, 134); v52 = 3; cycle.time(o4, v52); animate.obj(o6); ignore.blocks(o6); ignore.objs(o6); set.view(o6, View174); set.priority(o6, 5); position(o6, 73, 100); stop.cycling(o6); animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.view(ObjTitleText, View165); set.loop(ObjTitleText, 2); fix.loop(ObjTitleText); set.priority(ObjTitleText, 4); position(ObjTitleText, 73, 120); v52 = 3; cycle.time(ObjTitleText, v52); animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View165); set.loop(o3, 1); fix.loop(o3); position(o3, 73, 128); set.priority(o3, 5); animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View165); set.priority(ObjFlyingDoll, 12); fix.loop(ObjFlyingDoll); step.size(ObjFlyingDoll, v85); if (v30 == 18)
{ if (previousRoom == 42)
{ set(f206); v200 = 7; position(ObjFlyingDoll, 73, 36); } else
{ v200 = 2; position(ObjFlyingDoll, 73, 167); } set(f204); v30 = 18; set.loop(ObjFlyingDoll, 3); last.cel(ObjFlyingDoll, v52); set.cel.v(ObjFlyingDoll, v52); stop.cycling(ObjFlyingDoll); if (v79 > v200)
{ move.obj(ObjFlyingDoll, 73, 36, 2, boolTimingDelayOut); varTitlePageStep = 200; } else
{ if (v79 < v200)
{ move.obj(ObjFlyingDoll, 73, 167, 2, boolTimingDelayOut); varTitlePageStep = 200; } else
{ move.obj(ObjFlyingDoll, 73, 128, 2, boolTimingDelayOut); varTitlePageStep = 100; } } draw(ObjFlyingDoll); draw(ObjTitleText); stop.update(ObjTitleText); set.cel.v(o6, v200); draw(o6); set.view(ego, Larry_StandAndWalk); set.loop(ego, 2); set.priority(ego, 12); v38 = 76; v39 = 126; position.v(ego, v38, v39); } else
{ draw(o3); stop.update(o3); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 73, 128); draw(ObjFlyingDoll); stop.update(ObjFlyingDoll); v200 = 4; draw(o4); stop.update(o4); set.loop(ego, 0); v38 = 9; v39 = 132; position.v(ego, v38, v39); draw(ego); start.motion(ego); } show.pic(); if (previousRoom == 41)
{ print("You close the door behind you, and jiggle the knob to confirm it is " "locked."); } return(); } reset(f205); if (posn(ego, 73, 119, 83, 127))
{ set(f205); } if (isset(f205))
{ set.priority(ego, 11); } else
{ release.priority(ego); } reset(f200); if (v200 == 4 && posn(ego, 6, 126, 15, 135))
{ set(f200); } if (!isset(haveInput))
{ goto(Label1); } if (isset(f204) && !isset(haveMatch))
{ if ((said("hear") || said("hear", "elevator") || said("hear", "music") || said("sing", "music") || said("sing") || said("sing", "along")))
{ print("\"strangers in the night, da da da dee da...\""); } else
{ set(haveMatch); print("Whee!"); } } if ((said("examine") || said("examine", "area") || said("examine", "curb") || said("examine", "casino")))
{ print("You are in the Casino's hotel. Doors line each side, many with \"Do " "Not Disturb\" signs on their doorknobs."); if (v200 == 4)
{ print("There's a door with a heart on it to the west."); } if (isset(f205))
{ print("There are buttons labeled \"one\" through \"eight.\""); } } if (said("examine", "elevator"))
{ if (isset(f205))
{ print("There are buttons labeled \"one\" through \"eight.\""); } else
{ print("Isn't it funny how the elevator is always waiting for you?"); } } if (said("examine", "bush"))
{ print("They almost look real, don't they?"); } if (said("examine", "door"))
{ if (isset(f200))
{ print("It's a door not unlike all the others, except this one has a cute, " "trite, cracked, little, plastic heart stuck to it with a thumbtack."); } else
{ print("It's a door just like all the others."); } } if (said("anyword", "heart", "rol"))
{ if (isset(f200))
{ print("The cheap, plastic heart is not worth the bother."); } else
{ print("Where?"); } } if ((said("bang") || said("bang", "on", "door") || said("bang", "door")))
{ if (!isset(f200))
{ print("You rap your knuckles on the nearest door."); random(34, 50, v58); print.v(v58); print("This must not be the right door, Larry."); } else
{ if (!isset(f82))
{ print("You rap your knuckles on the door. There is no response, but now " "your knuckles hurt."); } else
{ if (isset(f80) && !isset(f111))
{ print("Fawn's sexy voice oozes through the door, \"Oh, baby, it's you! " "You're back!!\""); print("There's a click as she unlocks the door. \"Come on in, you " "wonderful hunk!\""); } else
{ print("Fawn's delicate voice booms out across the hotel:\n\n\"Just a " "minute, Larry!\""); print("There's a click as she unlocks the door, then a piercing \"Come " "on in. The door's open.\""); } print("Subtly, you shout, \"Here I come, baby!\""); start.update(o4); end.of.loop(o4, f202); stop.motion(ego); set(f85); } } } if (said("increase", "door"))
{ if (!isset(f200))
{ print("You seem surprised that the door is locked."); } else
{ print("You can't. This door is locked."); } } if ((said("increase", "door", "use", "rol") || said("break", "door", "rol")))
{ print("It's no good. The door resists all of your efforts."); } if ((said("unbolt", "door", "rol") || said("use", "key", "rol")))
{ if (!isset(f200))
{ set(f54); } else
{ print("You can't. There's no key in this game!"); } } if (said("jump", "rol"))
{ print("Suicide is illegal here."); } if ((said("examine", "down") || said("expectorate")))
{ print("You contemplate expec- toration, but remember that discretion is the " "better part of valium."); print("...or helium,"); print("...or something."); } if (varTitlePageStep <= 0 && isset(f205))
{ if ((said("move", "one") || said("move", "button", "one") || said("one")))
{ v79 = 1; set(boolTimingDelayOut); } if ((said("move", "two") || said("move", "button", "two") || said("two")))
{ v79 = 2; set(boolTimingDelayOut); } if ((said("move", "three") || said("move", "button", "three") || said("three")))
{ v79 = 3; set(boolTimingDelayOut); } if ((said("move", "four") || said("move", "button", "four") || said("four")))
{ v79 = 4; set(boolTimingDelayOut); } if ((said("move", "five") || said("move", "button", "five") || said("five")))
{ v79 = 5; set(boolTimingDelayOut); } if ((said("move", "six") || said("move", "button", "six") || said("six")))
{ v79 = 6; set(boolTimingDelayOut); } if ((said("move", "seven") || said("move", "button", "seven") || said("seven")))
{ v79 = 7; set(boolTimingDelayOut); } if ((said("move", "eight") || said("move", "button", "eight") || said("eight")))
{ v79 = 8; set(boolTimingDelayOut); } if ((said("move", "rol") || said("move", "button", "rol")))
{ print("Type a word, like \"one\" or \"two.\""); } } Label1: if (isset(f202))
{ reset(f85); v76 = 41; } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ set(f204); v30 = 18; stop.motion(ego); set(f85); set.view(ego, View17); set.cel(ego, 0); reposition.to(ego, 76, 126); cycle.time(ego, varEgoSize); set(f34); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ erase(ego); set.view(ego, Larry_StandAndWalk); set.loop(ObjFlyingDoll, 3); set.cel(ObjFlyingDoll, 0); cycle.time(ObjFlyingDoll, varEgoSize); end.of.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ erase(o3); draw(ObjTitleText); set.cel.v(o6, v200); draw(o6); varTitlePageStep = 200; stop.cycling(ObjFlyingDoll); if (v79 > v200)
{ reset(f206); move.obj(ObjFlyingDoll, 73, 36, 2, boolTimingDelayOut); varTitlePageStep = 200; } else
{ if (v79 < v200)
{ set(f206); move.obj(ObjFlyingDoll, 73, 167, 2, boolTimingDelayOut); varTitlePageStep = 200; } else
{ print("Not one for those long elevator rides, eh, Larry?"); varTitlePageStep = 101; } } } if (varTitlePageStep == 101)
{ erase(ObjTitleText); erase(o6); cycle.time(ObjFlyingDoll, v85); start.cycling(ObjFlyingDoll); reverse.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 102)
{ reset(f204); v30 = 0; v79 = 0; varTitlePageStep = 0; set.loop(ObjFlyingDoll, 0); draw(o3); set.view(ego, Larry_StandAndWalk); set.loop(ego, 2); set.cel(ego, 0); position(ego, 76, 126); draw(ego); start.motion(ego); cycle.time(ego, v84); reset(f34); reset(f85); } if (varTitlePageStep == 201)
{ if (isset(f206))
{ --v200; if (v200 == 1)
{ v76 = 35; return(); } } else
{ ++v200; if (v200 == 8)
{ v76 = 42; return(); } } if (isset(f206))
{ reposition.to(ObjFlyingDoll, 73, 36); } else
{ reposition.to(ObjFlyingDoll, 73, 167); } if (v200 != 4)
{ erase(o4); } else
{ draw(o4); stop.update(o4); } set.cel.v(o6, v200); if (v79 > v200)
{ move.obj(ObjFlyingDoll, 73, 36, 2, boolTimingDelayOut); varTitlePageStep = 200; } else
{ if (v79 < v200)
{ move.obj(ObjFlyingDoll, 73, 167, 2, boolTimingDelayOut); varTitlePageStep = 200; } else
{ move.obj(ObjFlyingDoll, 73, 128, 2, boolTimingDelayOut); varTitlePageStep = 100; } } } } return(); [ Messages #message 1 "You are in the Casino's hotel. Doors line each side, many with \"Do Not Disturb\" signs on their doorknobs." #message 2 "There's a door with a heart on it to the west." #message 3 "Not one for those long elevator rides, eh, Larry?" #message 4 "You rap your knuckles on the door. There is no response, but now your knuckles hurt." #message 5 "Whee!" #message 6 "Fawn's delicate voice booms out across the hotel:\n\n\"Just a minute, Larry!\"" #message 7 "\"strangers in the night, da da da dee da...\"" #message 8 "There's a click as she unlocks the door, then a piercing \"Come on in. The door's open.\"" #message 9 "You can't. This door is locked." #message 10 "Subtly, you shout, \"Here I come, baby!\"" #message 11 "It's a door not unlike all the others, except this one has a cute, trite, cracked, little, plastic heart stuck to it with a thumbtack." #message 12 "It's a door just like all the others." #message 13 "" #message 14 "" #message 15 "" #message 16 "They almost look real, don't they?" #message 17 "You seem surprised that the door is locked." #message 18 "You close the door behind you, and jiggle the knob to confirm it is locked." #message 19 "Type a word, like \"one\" or \"two.\"" #message 20 "There are buttons labeled \"one\" through \"eight.\"" #message 21 "You can't. There's no key in this game!" #message 22 "Isn't it funny how the elevator is always waiting for you?" #message 23 "The cheap, plastic heart is not worth the bother." #message 24 "Where?" #message 25 "Fawn's sexy voice oozes through the door, \"Oh, baby, it's you! You're back!!\"" #message 26 "There's a click as she unlocks the door. \"Come on in, you wonderful hunk!\"" #message 27 "It's no good. The door resists all of your efforts." #message 28 "You contemplate expec- toration, but remember that discretion is the better part of valium." #message 29 "...or helium," #message 30 "...or something." #message 31 "Suicide is illegal here." #message 32 "You rap your knuckles on the nearest door." #message 33 "This must not be the right door, Larry." #message 34 "\"Hey, Scott, the girls are here!!\"" #message 35 "\"It says 'Do NOT Disturb!' Can't you read?\"" #message 36 "You hear some extremely heavy breathing." #message 37 "\"Go away! I gave at the office!\"" #message 38 "\"Oh, Russ, there's someone at the door!\"\n\n\"They're gonna have to wait, Kim Baby! It's too late for me to stop now!!\"" #message 39 "\"Baaaaah. Baaaaah!\"\n\nDon't even ask, Larry!" #message 40 "\"Oh, Bruce!\nOh, Howard!\n\nOh, Terri!\nOh, Carrie!\"" #message 41 "\"Ken! Get off me, Ken!!\"" #message 42 "\"Oh, gawd, Ed!! Get in the closet. It's my husband!!\"" #message 43 "\"Bobbit, is that you?\"" #message 44 "\"Not now; I've got wessonality!\"" #message 45 "\"Is that Room Service? I didn't order anchovies.\"" #message 46 "An eye appears at the peephole. \"Hey, Mary! Isn't it a little early for Trick or Treaters?\"" #message 47 "\"Oh, gawd, Ed!! Get in the closet. It's my wife!!\"" #message 48 "Hmmm. Is that the smell of burning rubber?" #message 49 "\"Oh, Jeff. You really know how to hurt a guy!\"" #message 50 "\"Get away from him, you big bully! He's mine.\""

107
src/Logic41.lgc Normal file

File diff suppressed because one or more lines are too long

185
src/Logic42.lgc Normal file

File diff suppressed because one or more lines are too long

158
src/Logic43.lgc Normal file
View file

@ -0,0 +1,158 @@
if (isset(newRoom))
{ load.view(View183); if (!isset(f84))
{ set(f203); set(f208); load.view(View182); load.view(View180); load.view(View181); load.view(View177); load.view(View7); load.view(View8); load.view(View2); v81 = 27; load.pic(v81); } load.pic(currentRoom); draw.pic(currentRoom); if (isset(f203))
{ animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.view(ObjTitleText, View181); set.priority(ObjTitleText, 9); position(ObjTitleText, 72, 89); draw(ObjTitleText); stop.update(ObjTitleText); animate.obj(o4); set.view(o4, View7); set.loop(o4, 2); position(o4, 58, 92); draw(o4); animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View7); set.loop(o3, 2); set.priority(o3, 15); position(o3, 95, 105); } animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); position(ObjFlyingDoll, 59, 106); set.view(ObjFlyingDoll, View183); set.priority(ObjFlyingDoll, 9); draw(ObjFlyingDoll); if (v30 == 22)
{ prevent.input(); set(f48); load.view(View184); load.sound(Sound15); animate.obj(o7); ignore.horizon(o7); ignore.blocks(o7); ignore.objs(o7); set.view(o7, View184); set.priority(o7, 15); position(o7, 77, 118); draw(o7); move.obj(o7, 0, 118, 4, f207); set(f209); set(f210); } v38 = 150; if (v39 < 97)
{ v39 = 97; } if (v39 > 156)
{ v39 = 156; } position.v(ego, v38, v39); draw(ego); show.pic(); return(); } reset(f205); if ((posn(ego, 47, 90, 111, 123) || isset(f200)))
{ set(f205); } if (isset(f203))
{ if ((posn(ego, 59, 90, 86, 92) || isset(f200)))
{ set(f69); } } if (!isset(haveInput))
{ goto(Label1); } if (isset(f203))
{ if (isset(f204))
{ if ((said("move", "on", "bubbles") || said("move", "bubbles", "on") || said("move", "hot tub", "on") || said("move", "on", "hot tub")))
{ if (isset(f208))
{ print("They ARE on."); } else
{ set(f208); draw(o11); draw(ObjPoliceMan); draw(o13); draw(o14); } } if ((said("move", "off", "bubbles") || said("move", "bubbles", "off") || said("move", "hot tub", "off") || said("move", "off", "hot tub")))
{ if (!isset(f208))
{ print("They ARE off."); } else
{ reset(f208); erase(o11); erase(ObjPoliceMan); erase(o13); erase(o14); } } if (said("use", "breath spray", "rol"))
{ reset(haveMatch); v207 = 1; random(6, 19, v200); reset(f206); } if (said("examine", "bracelet"))
{ print("Her gold bracelet is engraved with the word \"Eve.\""); } if ((said("done", "examine", "blond") || said("examine", "away") || said("examine", "area") || said("examine", "garden") || said("get up", "rol") || said("examine", "city") || said("examine", "away", "from", "blond")))
{ set(f211); set(f67); } } if ((said("examine", "face", "rol") || said("establish eye contact", "rol") || said("examine", "blond", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ set(f212); } else
{ ++v204; if (v204 == 1)
{ print("Wow! Just the way you like your women: nearby and naked! She " "has a beautiful tan, and a gorgeous body. You've waited a " "lifetime for this moment."); v207 = 1; } if (v204 == 2)
{ print("What a beautiful face! She's leaning back, relaxing in the spa " "with the water bubbling up around her. It's even possible you " "could become sexually aroused by this!"); v207 = 1; } if (v204 > 2)
{ print("Her hand is resting near a fluffy, white, expensive bath " "towel, embroidered in florid script with the name: \"Eve.\""); v207 = 0; } } } } if ((said("ask", "rol") || said("ask", "anyword", "blond", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ ++v205; if (v205 == 1)
{ print("\"Who loves ya, baby?\""); print("She says nothing, but that smile tells you a lot."); v207 = 1; } if (v205 == 2)
{ print("\"Have you ever tried it underwater?\" you coyly ask."); print("She doesn't say."); v207 = 2; } if (v205 == 3)
{ print("\"What's your name, gorgeous?\" you ask."); print("She says nothing, but that smile tells you a lot."); v207 = 1; } if (v205 == 4)
{ print("\"What's your sign, dollface?\" you ask."); print("At last she speaks. \"Yield,\" she says simply."); v207 = 1; } if (v205 > 4)
{ print("Although she smiles, it appears she's a woman of few words. " "She's waiting for you to determine what it is she wants!"); v207 = 1; } } } } if ((said("add", "blond", "apple", "rol") || said("add", "apple", "rol")))
{ if (!has("Apple"))
{ print("You have no apple."); } else
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so " "we can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ varTitlePageStep = 200; set(boolTimingDelayOut); } } } } if ((said("add", "blond", "bucks", "rol") || said("add", "bucks", "blond", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ v207 = 2; } } } if ((said("examine", "eyes", "rol") || said("examine", "eyes") || said("look in", "eyes") || said("flirt", "use", "blond") || said("flirt", "blond") || said("examine", "lips", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ print("What a beautiful face! She's leaning back, relaxing in the spa " "with the water bubbling up around her. It's even possible you " "could become sexually aroused by this!"); } } } if ((said("bite", "champagne", "rol") || said("drain", "champagne", "rol") || said("drain", "champagne", "rol") || said("drain", "blond", "champagne", "rol") || said("ask", "blond", "bite", "champagne", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ print("\"Share your wine with me?\" you ask."); print("She hands you the glass, and you take an uncustomarily small " "sip. She replenishes it from the bottle, so it appears no " "different than before."); v207 = 1; } } } if ((said("catch", "champagne", "rol") || said("catch", "bottle", "champagne", "rol") || said("catch", "glass", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ print("Why take it, when you can drink it?"); } } } if ((said("examine", "champagne", "rol") || said("examine", "bottle", "champagne", "rol") || said("examine", "glass", "rol")))
{ if (!isset(f200))
{ print("\"Hey, handsome, why don't you slip into the water with me, so we " "can REALLY get to know each other!\""); } else
{ if (!isset(f204))
{ print("Perhaps if you establish eye contact first..."); } else
{ print("It looks like a bottle of fine champagne, suitable for two."); } } } if (said("use", "bikini", "rol"))
{ if (!isset(f205))
{ set(f54); } else
{ print("It appears she doesn't like that!"); v207 = 1; } } } if ((said("catch", "bikini") || said("catch", "bra")))
{ print("She wouldn't like that."); } if ((said("examine", "bikini") || said("examine", "bra")))
{ print("Her hand is resting near a fluffy, white, expensive bath towel, " "embroidered in florid script with the name: \"Eve.\""); } if (isset(f204))
{ if ((said("examine", "blond", "hair") || said("examine", "hair") || said("aim", "hair") || said("caress", "hair") || said("caress", "hair") || said("caress", "blond", "hair")))
{ v207 = 1; } if ((said("lips") || said("lips", "blond") || said("carry", "fingers") || said("catch", "blond", "fingers") || said("aim", "blond") || said("aim", "blond") || said("ask", "dance")))
{ v207 = 1; } if ((said("ask", "name") || said("blond", "married", "i'm") || said("married", "i'm") || said("married", "blond") || said("ask", "blond", "catch", "married") || said("ask", "blond", "married", "i'm") || said("ask", "about", "about") || said("add", "diamond ring", "on", "blond", "finger") || said("married", "blond") || said("ask", "blond", "love") || said("love", "you") || said("catch", "blond", "fingers") || said("examine", "lips") || said("examine", "blond", "lips") || said("ask", "blond", "name") || said("ask", "name", "blond")))
{ v207 = 1; } if ((said("bite", "blond", "rol") || said("catch", "blond") || said("caress", "blond") || said("bite", "blond") || said("aim", "blond", "below", "desk") || said("caress", "below", "desk") || said("catch", "ankle") || said("aim", "ankle") || said("caress", "blond", "ankle") || said("caress", "blond", "ankle", "below", "desk") || said("catch", "blond", "ankle") || said("examine", "blond", "boob") || said("examine", "boob", "rol") || said("examine", "body") || said("examine") || said("examine", "boob") || said("bite", "blond", "clit", "rol") || said("drain", "hot tub", "rol") || said("board", "under water", "rol") || said("examine", "under water", "rol") || said("caress", "under water", "rol") || said("aim", "boob", "rol")))
{ print("SLAP!"); v207 = 2; } if ((said("naked", "blond") || said("ask", "blond", "about", "copulate") || said("about", "copulate", "use", "i'm") || said("copulate", "rol") || said("make", "blond") || said("anyword", "clit", "rol") || said("bite", "blond", "blond", "holler") || said("anyword", "boob", "rol") || said("play", "use", "blond", "boob") || said("catch", "boob") || said("caress", "boob")))
{ print("SLAP!"); print("SLAP!\n\nSLAP!!"); v207 = 2; } if ((said("aim", "blond", "rol") || said("dive", "rol") || said("add", "blond", "embrace") || said("embrace", "blond") || said("embrace", "blond", "rol")))
{ print("Something tells you that's the wrong approach with this one, Larry."); v207 = 2; } if ((said("i'm") || said("leisure suit", "i'm")))
{ print("\"Oooh, I like that name!\""); v207 = 1; } } if ((said("board", "hot tub", "rol") || said("catch", "hot tub", "rol") || said("catch", "about", "rol") || said("catch", "out", "rol") || said("board", "rol") || said("climb", "about", "hot tub", "rol") || said("climb", "out", "hot tub", "rol") || said("jump", "about", "hot tub", "rol") || said("jump", "hot tub", "rol") || said("catch", "naked", "rol") || said("catch", "dress", "rol") || said("naked", "rol") || said("drain", "bra", "rol") || said("put on", "bra", "rol") || said("dress", "rol")))
{ if (!isset(f203))
{ print("Nah. Who wants to go hot-tubbing alone?"); } else
{ if (isset(f200))
{ print("\"So long, baby!\" you shout!"); set(boolTimingDelayOut); varTitlePageStep = 100; } else
{ set(f67); set(boolTimingDelayOut); if (posn(ego, 47, 108, 59, 113))
{ varTitlePageStep = 0; } else
{ if ((posn(ego, 59, 90, 93, 100) || posn(ego, 77, 101, 93, 113) || posn(ego, 30, 114, 93, 167)))
{ varTitlePageStep = 1; } else
{ varTitlePageStep = 2; } } } } } if (said("examine", "hot tub"))
{ print("The moon lights an expansive rooftop garden with a spa in one corner. " "You've found the source of the gurgling noise!"); if (isset(f203))
{ print("In the hot tub is the most beautiful girl you've ever seen! Beside " "her is her towel, and swim suit. You can't believe she doesn't mind " "your presence here."); } } if ((said("examine") || said("examine", "area") || said("examine", "garden")))
{ print("The moon lights an expansive rooftop garden with a spa in one corner. " "You've found the source of the gurgling noise!"); if (isset(f203))
{ print("In the hot tub is the most beautiful girl you've ever seen! Beside " "her is her towel, and swim suit. You can't believe she doesn't mind " "your presence here."); } } if ((said("examine", "city") || said("examine", "building") || said("examine", "casino")))
{ if (isset(f200))
{ print("It's difficult to take your eyes off the beautiful woman with whom " "you share the hot tub."); } else
{ print("Looking over at the next hotel, you notice an ugly girl getting " "undressed."); print("She's not really that pretty."); print("Well, she's looking better."); print("You know, she's not that bad."); print("You could ignore some of her faults."); print("Perhaps you're in love!"); print("Pant, pant, pant, pant, pant."); } } Label1: if (isset(f212))
{ reset(f212); set(f204); set(f48); unanimate.all(); draw.pic(v81); animate.obj(o11); set.view(o11, View177); set.loop(o11, 0); set.cel(o11, 1); position(o11, 0, 167); animate.obj(ObjPoliceMan); set.view(ObjPoliceMan, View177); set.loop(ObjPoliceMan, 1); set.cel(ObjPoliceMan, 2); position(ObjPoliceMan, 40, 167); animate.obj(o13); set.view(o13, View177); set.loop(o13, 0); set.cel(o13, 3); position(o13, 80, 167); animate.obj(o14); set.view(o14, View177); set.loop(o14, 1); set.cel(o14, 0); position(o14, 120, 167); if (isset(f208))
{ draw(o11); draw(ObjPoliceMan); draw(o13); draw(o14); } animate.obj(o5); set.view(o5, View180); set.loop(o5, 0); set.cel(o5, 0); position(o5, 64, 79); animate.obj(o6); ignore.horizon(o6); set.view(o6, View180); set.loop(o6, 1); set.cel(o6, 0); position(o6, 64, 44); cycle.time(o6, varEgoSize); if (!isset(f66))
{ set.cel(o5, 2); v201 = 6; } else
{ set.cel(o5, 0); draw(o6); random(6, 19, v200); reset(f206); } draw(o5); v207 = 255; stop.update(o5); show.pic(); } if (isset(f211))
{ reset(f211); reset(f204); reset(f48); v200 = 0; v201 = 0; unanimate.all(); draw.pic(currentRoom); animate.obj(ObjTitleText); ignore.blocks(ObjTitleText); ignore.objs(ObjTitleText); set.priority(ObjTitleText, 9); draw(ObjTitleText); stop.update(ObjTitleText); animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.priority(ObjFlyingDoll, 9); if (isset(f208))
{ draw(ObjFlyingDoll); } animate.obj(o4); draw(o4); animate.obj(o3); ignore.blocks(o3); ignore.objs(o3); set.priority(o3, 15); draw(o3); animate.obj(ego); ignore.blocks(ego); set.priority(ego, 15); set.view(ego, View7); set.loop(ego, 1); last.cel(ego, v52); set.cel.v(ego, v52); stop.cycling(ego); draw(ego); show.pic(); } if (isset(f204))
{ --v200; if (v200 == 1)
{ toggle(f206); if (isset(f206))
{ start.cycling(o6); random(6, 16, v200); } else
{ stop.cycling(o6); set.cel(o6, 0); force.update(o6); random(22, 33, v200); } } if (isset(f44))
{ --v201; if (v201 == 1)
{ if (isset(f66))
{ print("\"This water feels SO good!\""); } else
{ print("\"Bad breath's one thing, Mister; but you could knock a buzzard " "off a manure truck!\""); } } --v206; if (v206 == 1)
{ v207 = 0; } if (v207 != 255)
{ if (v207 == 0)
{ v200 = 2; } if (v207 == 1)
{ v206 = 5; set(f206); v200 = 22; start.cycling(o6); } if (v207 == 2)
{ v206 = 7; reset(f206); v200 = 0; stop.cycling(o6); set.cel(o6, 0); } set.cel.v(o5, v207); force.update(o5); v207 = 255; } } } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; set(f85); set(f48); prevent.input(); if (varTitlePageStep == 1)
{ v56 = 1; v33 = 114; move.obj.v(ego, v38, v33, v56, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ v56 = 1; v32 = 94; move.obj.v(ego, v32, v39, v56, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ move.obj(ego, 94, 102, 1, boolTimingDelayOut); } if (varTitlePageStep == 4)
{ set.view(ego, View2); set.loop(ego, 1); set.cel(ego, 0); set.priority(ego, 15); v52 = 4; cycle.time(ego, v52); set(f34); end.of.loop(ego, boolTimingDelayOut); v66 = 3; v66 *= 4; ++v66; } if (varTitlePageStep == 5)
{ draw(o3); } if (varTitlePageStep == 6)
{ set.view(ego, View7); set.loop(ego, 1); set.cel(ego, 0); cycle.time(ego, v85); move.obj(ego, 85, 102, 3, boolTimingDelayOut); } if (varTitlePageStep == 7)
{ last.cel(ego, v52); set.cel.v(ego, v52); stop.cycling(ego); reset(f34); set(f35); stop.motion(ego); reposition.to(ego, 86, 102); varTimingDelay = 4; } if (varTitlePageStep == 8)
{ set(f200); accept.input(); print("Wasting no time, you hop into the water. Oooh, does it feel good! " "The warm water swirls about you, the bubbles stimulating you nearly " "as much as the beautiful woman across from you. With the warmth of " "the water soaking into your body, you become quite relaxed."); varTitlePageStep = 0; } if (varTitlePageStep == 101)
{ varTimingDelay = 0; if (isset(f204))
{ set(f211); --varTitlePageStep; set(boolTimingDelayOut); } else
{ varTitlePageStep = 102; } } if (varTitlePageStep == 102)
{ set.loop(ego, 0); set.cel(ego, 0); v66 = 4; cycle.time(ego, v66); v66 *= 9; set(f34); reset(f35); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 103)
{ set.view(ego, View2); set.loop(ego, 0); last.cel(ego, v52); set.cel.v(ego, v52); reposition.to(ego, 90, 103); set(f34); reverse.loop(ego, boolTimingDelayOut); v66 = 4; cycle.time(ego, v66); v66 *= 9; } if (varTitlePageStep == 104)
{ erase(o3); } if (varTitlePageStep == 105)
{ reset(f85); reset(f34); reset(f200); reset(f48); varTitlePageStep = 0; accept.input(); release.priority(ego); observe.blocks(ego); set.view(ego, Larry_StandAndWalk); cycle.time(ego, v84); step.size(ego, v84); start.motion(ego); } if (varTitlePageStep == 201)
{ set(f88); set(f84); drop("Apple"); currentScore += 15; set.cel(o5, 1); force.update(o5); v206 = 0; varTimingDelay = 3; } if (varTitlePageStep == 202)
{ print("Eve takes your apple, and with a sweet, innocent look, raises it to " "her mouth. She takes a small bite out of it, while a sexy smile " "comes across her face. She winks, and lies back in the water, " "chewing delicately."); varTimingDelay = 5; } if (varTitlePageStep == 203)
{ print("Eve gently moves her sensuous tongue around the apple, tiny drops of " "the apple's juice glistening on her lips."); varTimingDelay = 5; } if (varTitlePageStep == 204)
{ print("She's really turning you on! You had no idea fruit could be so " "exciting."); varTimingDelay = 5; } if (varTitlePageStep == 205)
{ print("After finishing the apple, Eve slowly slides out of the hot tub, her " "steamy, naked body glistening in the moonlight. Barely covering her " "tremendous assets with the towel, she smiles and motions for you to " "follow her."); varTimingDelay = 3; } if (varTitlePageStep == 206)
{ if (isset(f204))
{ set(f211); --varTitlePageStep; set(boolTimingDelayOut); } else
{ varTitlePageStep = 207; } } if (varTitlePageStep == 207)
{ start.update(ObjTitleText); v52 = 4; cycle.time(ObjTitleText, v52); end.of.loop(ObjTitleText, boolTimingDelayOut); v66 = 3; v66 *= 4; ++v66; } if (varTitlePageStep == 208)
{ start.update(o4); erase(o4); } if (varTitlePageStep == 209)
{ set.view(ObjTitleText, View182); set.loop(ObjTitleText, 0); release.priority(ObjTitleText); reposition.to(ObjTitleText, 78, 90); cycle.time(ObjTitleText, v84); start.cycling(ObjTitleText); move.obj(ObjTitleText, 90, 90, 1, boolTimingDelayOut); print("You can take a hint. \"Let's go, baby!\" you whisper!"); set.loop(ego, 0); set.cel(ego, 0); fix.loop(ego); v52 = 4; cycle.time(ego, v52); set(f34); reset(f35); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 210)
{ move.obj(ObjTitleText, 105, 105, 1, boolTimingDelayOut); } if (varTitlePageStep == 211)
{ print("As you leave the hot tub, Eve speaks at last, \"Say, Larry. You " "really ARE glad to see ME!!\""); stop.cycling(ObjTitleText); } if (varTitlePageStep == 212)
{ get.posn(ObjTitleText, v34, v35); set.view(ObjTitleText, View8); stop.cycling(ObjTitleText); normal.motion(ObjTitleText); v30 = 23; reset(f35); reset(f34); set.view(ego, View182); set.loop(ego, 0); release.priority(ego); fix.loop(ego); reposition.to(ObjTitleText, 96, 104); reposition.to.v(ego, v34, v35); cycle.time(ego, v84); step.size(ego, v84); move.obj(ego, 151, 122, 1, boolTimingDelayOut); } if (varTitlePageStep == 213)
{ erase(ego); v30 = 255; cycle.time(ObjTitleText, v84); step.size(ObjTitleText, v84); move.obj(ObjTitleText, 152, 122, 1, boolTimingDelayOut); } if (varTitlePageStep == 214)
{ reset(f48); v30 = 23; v76 = 44; } } if (v30 == 23)
{ distance(ego, ObjTitleText, v52); if (v52 > 10)
{ start.cycling(ObjTitleText); follow.ego(ObjTitleText, 2, f40); } } if (isset(f207))
{ reset(f207); reset(f48); reset(f85); reset(f209); start.motion(ego); v30 = 0; erase(o7); accept.input(); print("\"So long, baby!\" you shout!"); v63 = 3; } if (!isset(f209) && !isset(f77) && v63 > 4)
{ set(f77); print("Say; what's this? A beautiful woman all alone in a hot tub! And, she's " "smiling at you? And, and..."); print("...and, she speaks, \"Hi, handsome. Where have you been all my life?\""); print("(Larry, this one seems to LIKE you!)"); } if (isset(f210) && isset(f209))
{ sound(Sound15, f210); } if (edgeEgoHit == RIGHT_EDGE)
{ v76 = 44; } return(); [ Messages #message 1 "The moon lights an expansive rooftop garden with a spa in one corner. You've found the source of the gurgling noise!" #message 2 "Wasting no time, you hop into the water. Oooh, does it feel good! The warm water swirls about you, the bubbles stimulating you nearly as much as the beautiful woman across from you. With the warmth of the water soaking into your body, you become quite relaxed." #message 3 "Wow! Just the way you like your women: nearby and naked! She has a beautiful tan, and a gorgeous body. You've waited a lifetime for this moment." #message 4 "What a beautiful face! She's leaning back, relaxing in the spa with the water bubbling up around her. It's even possible you could become sexually aroused by this!" #message 5 "Eve takes your apple, and with a sweet, innocent look, raises it to her mouth. She takes a small bite out of it, while a sexy smile comes across her face. She winks, and lies back in the water, chewing delicately." #message 6 "Eve gently moves her sensuous tongue around the apple, tiny drops of the apple's juice glistening on her lips." #message 7 "In the hot tub is the most beautiful girl you've ever seen! Beside her is her towel, and swim suit. You can't believe she doesn't mind your presence here." #message 8 "You have no apple." #message 9 "Looking over at the next hotel, you notice an ugly girl getting undressed." #message 10 "She's not really that pretty." #message 11 "Well, she's looking better." #message 12 "You know, she's not that bad." #message 13 "You could ignore some of her faults." #message 14 "Perhaps you're in love!" #message 15 "Pant, pant, pant, pant, pant." #message 16 "Something tells you that's the wrong approach with this one, Larry." #message 17 "She's really turning you on! You had no idea fruit could be so exciting." #message 18 "\"Bad breath's one thing, Mister; but you could knock a buzzard off a manure truck!\"" #message 19 "Nah. Who wants to go hot-tubbing alone?" #message 20 "\"Hey, handsome, why don't you slip into the water with me, so we can REALLY get to know each other!\"" #message 21 "Her hand is resting near a fluffy, white, expensive bath towel, embroidered in florid script with the name: \"Eve.\"" #message 22 "You can take a hint. \"Let's go, baby!\" you whisper!" #message 23 "\"This water feels SO good!\"" #message 24 "After finishing the apple, Eve slowly slides out of the hot tub, her steamy, naked body glistening in the moonlight. Barely covering her tremendous assets with the towel, she smiles and motions for you to follow her." #message 25 "\"Who loves ya, baby?\"" #message 26 "\"So long, baby!\" you shout!" #message 27 "As you leave the hot tub, Eve speaks at last, \"Say, Larry. You really ARE glad to see ME!!\"" #message 28 "" #message 29 "It's difficult to take your eyes off the beautiful woman with whom you share the hot tub." #message 30 "She says nothing, but that smile tells you a lot." #message 31 "Perhaps if you establish eye contact first..." #message 32 "\"What's your name, gorgeous?\" you ask." #message 33 "\"Have you ever tried it underwater?\" you coyly ask." #message 34 "She doesn't say." #message 35 "\"What's your sign, dollface?\" you ask." #message 36 "At last she speaks. \"Yield,\" she says simply." #message 37 "Although she smiles, it appears she's a woman of few words. She's waiting for you to determine what it is she wants!" #message 38 "\"Share your wine with me?\" you ask." #message 39 "She hands you the glass, and you take an uncustomarily small sip. She replenishes it from the bottle, so it appears no different than before." #message 40 "It appears she doesn't like that!" #message 41 "She wouldn't like that." #message 42 "Say; what's this? A beautiful woman all alone in a hot tub! And, she's smiling at you? And, and..." #message 43 "Why take it, when you can drink it?" #message 44 "It looks like a bottle of fine champagne, suitable for two." #message 45 "They ARE off." #message 46 "They ARE on." #message 47 "Her gold bracelet is engraved with the word \"Eve.\"" #message 48 "...and, she speaks, \"Hi, handsome. Where have you been all my life?\"" #message 49 "(Larry, this one seems to LIKE you!)" #message 50 "SLAP!" #message 51 "\"Oooh, I like that name!\"" #message 52 "SLAP!\n\nSLAP!!"

59
src/Logic44.lgc Normal file
View file

@ -0,0 +1,59 @@
if (isset(newRoom))
{ load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); load.view(View179); animate.obj(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View179); set.cel(ObjFlyingDoll, 0); set.priority(ObjFlyingDoll, 10); position(ObjFlyingDoll, 130, 129); v52 = 3; cycle.time(ObjFlyingDoll, v52); draw(ObjFlyingDoll); stop.update(ObjFlyingDoll); if (v30 == 22)
{ prevent.input(); set(f48); set(f85); load.view(View184); load.sound(Sound15); animate.obj(o3); ignore.horizon(o3); ignore.blocks(o3); ignore.objs(o3); set.view(o3, View184); position(o3, 55, 95); draw(o3); move.obj(o3, 27, 123, 2, f204); set(f209); set(f206); } if (v30 == 23)
{ set(f85); varTitlePageStep = 250; set(boolTimingDelayOut); load.view(View182); load.view(View8); animate.obj(ObjTitleText); set.view(ObjTitleText, View8); position(ObjTitleText, 0, 125); draw(ObjTitleText); } if (previousRoom == 43)
{ v38 = 8; v39 = 125; } else
{ if (previousRoom == 45)
{ v38 = 98; v39 = 100; } else
{ v38 = 138; v39 = 127; set.loop(ego, 1); stop.update(ego); start.motion(ego); varTitlePageStep = 0; set(boolTimingDelayOut); } } position.v(ego, v38, v39); draw(ego); show.pic(); if (v30 == 22)
{ varTitlePageStep = 150; move.obj(ego, 60, 100, 1, boolTimingDelayOut); } return(); } if (isset(f203))
{ ignore.blocks(ego); } else
{ observe.blocks(ego); } reset(f200); if (posn(ego, 120, 113, 135, 143))
{ set(f200); } reset(f202); if (posn(ego, 123, 119, 138, 131))
{ set(f202); } reset(f201); if (posn(ego, 139, 119, 155, 131))
{ set(f201); } if (isset(f203) && !isset(f201) && !isset(f202))
{ set(boolTimingDelayOut); } if (isset(f203) && isset(f201))
{ varTitlePageStep = 100; set(boolTimingDelayOut); } if (!isset(haveInput))
{ goto(Label1); } if ((said("examine") || said("examine", "penthouse") || said("examine", "area")))
{ print("C'est le living room du penthouse de l'Hotel, Visiblement, l'hotel " "n'apas regarder a la depense ici. il y a un feu ouvert sur le mur sud. " "Iln'y a personne, mais tu entends un bouillonement venant de quelque " "part."); } if ((said("examine", "elevator") || said("examine", "door") || said("examine", "button") || said("examine", "brick")))
{ print("Il y a un bouton de chaque cote de l'asscenseur."); } if (said("examine", "fireplace"))
{ print("Tu te demande comment il est possible de rendre aussi reel des buches " "àgaz!"); } if ((said("examine", "curb") || said("examine", "bear")))
{ print("L'ours semble te suivre des yeux, peut-etre parceque ces derniers " "sonten verre!."); } if ((said("increase", "bear") || said("move", "bear") || said("move", "bear") || said("examine", "below", "bear")))
{ print("Il n'y a rien d'autre que de la poussiere."); } if (said("examine", "art"))
{ print("Il n'y a rien d'autre que de l'art moderne, celui-ci est signe " "\"MarkCrowe.\""); } if (said("examine", "back", "art"))
{ print("Tu ne peux pas, il est fermerment visser au mur."); } if (said("examine", "bench"))
{ print("Yep. c'est un sofa!"); } if ((said("rest") || said("rest", "down") || said("use", "bench")))
{ print("Au lieu de t'assoir, tu ferais mieux de regarder ce qui fait ce " "bruitde bouillon."); } if ((said("lie", "down") || said("sleep")))
{ print("Deja fatigue?"); } if (said("hear", "rol"))
{ print("Il y a du bruit dehors."); } if (said("increase", "door"))
{ print("La porte vers la terrasse est deja ouverte."); } if ((said("examine", "out") || said("examine", "garden") || said("examine", "glass") || said("examine", "out", "glass")))
{ print("De cette hauteur, la vue sur la ville est spectaculaire."); } if ((said("increase", "elevator") || said("move", "button")))
{ if (!isset(f200))
{ set(f54); } else
{ if (isset(f203))
{ print("Les portes de l'assenceur sont deja ouverte, il te suffit " "derentrer dedans."); } else
{ set(f67); varTitlePageStep = 0; set(boolTimingDelayOut); } } } Label1: if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ start.update(ObjFlyingDoll); end.of.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ stop.update(ObjFlyingDoll); set(f203); } if (varTitlePageStep == 3)
{ reset(f203); start.update(ObjFlyingDoll); reverse.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 4)
{ varTitlePageStep = 0; } if (varTitlePageStep == 101)
{ reset(f203); stop.update(ego); start.update(ObjFlyingDoll); reverse.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 102)
{ v76 = 42; } if (varTitlePageStep == 151)
{ move.obj(ego, 40, 120, 1, boolTimingDelayOut); } if (varTitlePageStep == 152)
{ move.obj(ego, 1, 120, 1, boolTimingDelayOut); } if (varTitlePageStep == 153)
{ reset(f48); v76 = 43; } if (varTitlePageStep == 251)
{ move.obj(ego, 35, 125, 1, boolTimingDelayOut); } if (varTitlePageStep == 252)
{ move.obj(ego, 60, 103, 1, boolTimingDelayOut); } if (varTitlePageStep == 253)
{ move.obj(ego, 114, 103, 1, boolTimingDelayOut); } if (varTitlePageStep == 254)
{ [ WARNING: this block contains no commands } if (varTitlePageStep <= 0)
{ stop.update(ObjFlyingDoll); } } if (varTitlePageStep > 250)
{ distance(ego, ObjTitleText, v52); if (v52 > 10)
{ follow.ego(ObjTitleText, 2, f40); } } if (isset(f204))
{ reset(f204); ++v200; if (v200 == 1)
{ move.obj(o3, 0, 123, 2, f204); } if (v200 == 2)
{ move.obj(o3, 0, 97, 2, f204); } if (v200 == 3)
{ erase(o3); } } if (isset(f206) && isset(f209))
{ sound(Sound15, f206); } if (edgeEgoHit == LEFT_EDGE)
{ v76 = 43; } if (posn(ego, 113, 93, 114, 106))
{ v76 = 45; } return(); [ Messages #message 1 "This is the living room of the hotel's penthouse suite. Obviously, the hotel spared no expense here. There's a fireplace on the wall to the south. No one is here, but you hear a gurgling noise coming from somewhere." #message 2 "You wonder how they can make those gas logs look so real!" #message 3 "There is a button on either side of the elevator." #message 4 "The bear looks back at you with a glassy-eyed stare, possibly because his eyes are made of glass!" #message 5 "It's another one of those boring works of modern art; this one is signed \"Mark Crowe.\"" #message 6 "Yep. It's a sofa!" #message 7 "From this height, the view of the city is spectacular." #message 8 "The elevator doors are already open. Just walk inside." #message 9 "Instead of sitting, you should investigate that gurgling sound you hear." #message 10 "There's a sound coming from outside." #message 11 "The door to the terrace is already open." #message 12 "You find nothing but dust." #message 13 "Tired already?" #message 14 "You can't. It's screwed to the wall." #message 15 "C'est le living room du penthouse de l'Hotel, Visiblement, l'hotel n'a pas regarder a la depense ici. il y a un feu ouvert sur le mur sud. Il n'y a personne, mais tu entends un bouillonement venant de quelque part." #message 16 "Il y a un bouton de chaque cote de l'asscenseur." #message 17 "Tu te demande comment il est possible de rendre aussi reel des buches à gaz!" #message 18 "L'ours semble te suivre des yeux, peut-etre parceque ces derniers sont en verre!." #message 19 "Il n'y a rien d'autre que de la poussiere." #message 20 "Il n'y a rien d'autre que de l'art moderne, celui-ci est signe \"Mark Crowe.\"" #message 21 "Tu ne peux pas, il est fermerment visser au mur." #message 22 "Yep. c'est un sofa!" #message 23 "Au lieu de t'assoir, tu ferais mieux de regarder ce qui fait ce bruit de bouillon." #message 24 "Deja fatigue?" #message 25 "Il y a du bruit dehors." #message 26 "La porte vers la terrasse est deja ouverte." #message 27 "De cette hauteur, la vue sur la ville est spectaculaire." #message 28 "Les portes de l'assenceur sont deja ouverte, il te suffit de rentrer dedans." #message 29 "C'est le living room du penthouse de l'Hotel, Visiblement, l'hotel n'apas regarder a la depense ici. il y a un feu ouvert sur le mur sud. Iln'y a personne, mais tu entends un bouillonement venant de quelque part." #message 30 "Tu te demande comment il est possible de rendre aussi reel des buches àgaz!" #message 31 "L'ours semble te suivre des yeux, peut-etre parceque ces derniers sonten verre!." #message 32 "Il n'y a rien d'autre que de l'art moderne, celui-ci est signe \"MarkCrowe.\"" #message 33 "Au lieu de t'assoir, tu ferais mieux de regarder ce qui fait ce bruitde bouillon." #message 34 "Les portes de l'assenceur sont deja ouverte, il te suffit derentrer dedans."

120
src/Logic45.lgc Normal file

File diff suppressed because one or more lines are too long

38
src/Logic56.lgc Normal file
View file

@ -0,0 +1,38 @@
if ((v229 == 1 || v229 == 3 || v229 == 2))
{ if (v235 >= 249)
{ v33 = 106; v232 = v235; v232 -= 249; } else
{ if (v235 >= 243)
{ v33 = 152; v232 = v235; v232 -= 243; } else
{ v33 = 45; v232 = v235; v232 -= 237; } } if (v232 == 0)
{ v32 = 28; } if (v232 == 1)
{ v32 = 46; } if (v232 == 2)
{ v32 = 64; } if (v232 == 3)
{ v32 = 82; } if (v232 == 4)
{ v32 = 100; } if (v232 == 5)
{ v32 = 118; } v232 = *v235; goto(Label2); Label1: if (v229 == 2)
{ v53 = 156; v55 = 0; } else
{ if (v229 == 3)
{ v53 = 157; v55 = 0; } else
{ v53 = v230; } } v54 = 0; v57 = 4; add.to.pic.v(v53, v54, v55, v32, v33, v57, v57); sound(Sound6, f40); } if (v229 == 4)
{ Label2: v55 = v232; if (v232 < 13)
{ v230 = 154; } else
{ if (v232 < 26)
{ v230 = 152; v55 -= 13; } else
{ if (v232 < 39)
{ v230 = 153; v55 -= 26; } else
{ v230 = 155; v55 -= 39; } } } v231 = v55; v231 += 2; if (v231 > 13)
{ v231 = 1; set(f252); } if (v231 > 10)
{ v231 = 10; } if (v229 != 4)
{ goto(Label1); } } if (v229 == 5)
{ v52 = 250; v52 -= v228; if (v52 > varInGameMoney)
{ varInGameMoney += v228; } else
{ v228 = 250; v228 -= varInGameMoney; varInGameMoney = 250; print("Congratulations, you've broken the bank. This casino has a limit of " "$250.00 per person, and you've reached it. No more for you, Larry!"); set(f255); } v228 = 0; v229 = 6; } if (v229 == 6)
{ if (monitorType == MONO)
{ clear.lines(24, 24, BLACK); v33 = 24; } else
{ clear.lines(21, 21, BLACK); v33 = 21; } if (v236 == 1)
{ v58 = 1; } else
{ if (v236 == 2)
{ v58 = 2; } else
{ v58 = 3; } } v32 = 0; display.v(v33, v32, v58); v229 = 7; } if (v229 == 7)
{ if (isset(boolCallDebugger) && isset(f30))
{ v217 = v223; v218 = v224; v216 = v222; set.text.attribute(BROWN, BLACK); display(24, 0, "Dealer=%v222 Player=%v223 Split=%v224 "); set.text.attribute(WHITE, BLACK); } } v229 = 0; return(); [ Messages #message 1 "Bet is $%v226.00 You have $%v90.00" #message 2 "Bet is $%v225.00 You have $%v90.00" #message 3 "Bet is $%v255.00 You have $%v90.00" #message 4 "Congratulations, you've broken the bank. This casino has a limit of $250.00 per person, and you've reached it. No more for you, Larry!" #message 5 "Dealer=%v222 Player=%v223 Split=%v224 "

89
src/Logic57.lgc Normal file
View file

@ -0,0 +1,89 @@
if (isset(newRoom))
{ load.view(View85); load.view(View22); load.view(View75); load.view(View76); load.view(View79); load.view(View80); load.sound(Sound10); load.sound(Sound11); load.sound(Sound22); animate.obj(o15); ignore.objs(o15); set.view(o15, View85); set.loop(o15, 0); fix.loop(o15); set.priority(o15, 15); animate.obj(o14); set.view(o14, View75); position(o14, 0, 166); animate.obj(o13); set.view(o13, View80); set.cel(o13, 0); stop.cycling(o13); if (currentRoom == 11)
{ v235 = 166; } else
{ v235 = 160; } if (previousRoom != 10)
{ v64 = 0; } else
{ v234 = 60; position.v(o13, v234, v235); draw(o13); v38 = v234; v38 += 4; v39 = v235; v39 -= 4; reposition.to.v(ego, v38, v39); force.update(ego); v233 = 2; if (v30 == 20)
{ load.view(View12); prevent.input(); stop.motion(ego); set(f85); v64 = 200; } else
{ start.motion(ego); v64 = 101; } } return(); } reset(f61); if (v64 == 4)
{ if (currentRoom == 11)
{ if (posn(ego, 70, 155, 90, 167))
{ set(f61); } } else
{ if (posn(ego, 70, 140, 90, 166))
{ set(f61); } } } if (!isset(haveInput))
{ goto(Label1); } if (said("examine", "street"))
{ print("Isn't it funny how there's so little traffic?"); } if ((said("examine", "sky") || said("examine", "up")))
{ print("The glow of the city lights obliterate the stars."); } if (said("climb", "anyword"))
{ print("You shinny up the pole, read the sign, and come right back down."); } if (said("examine", "dog"))
{ if (!isset(f236))
{ print("Where?"); } else
{ if (v231 == 1)
{ print("Look out! Here he comes again!"); } if (v231 == 2)
{ print("Obviously, he thinks you're a fire plug."); } if (v231 == 3)
{ print("Dogs like that make you want to keep moving."); } } } if (isset(f236))
{ if ((said("copulate", "dog", "rol") || said("anyword", "copulate", "rol") || said("leak", "on", "dog", "rol") || said("anyword", "leak", "on", "dog", "rol") || said("ass", "copulate", "dog", "rol")))
{ print("Sick-o!"); } if ((said("beat", "dog", "rol") || said("beat", "dog", "rol") || said("fight", "dog", "rol")))
{ print("After all he's done for you?"); } if (said("smell", "dog", "rol"))
{ print("He presently smells quite bad, although still better than you."); } if (said("caress", "dog"))
{ print("As you bend over to do so, his bare teeth convince you otherwise."); } if (said("catch", "dog"))
{ print("Who'd want him?"); } } if (said("examine", "light pole"))
{ print("There is a sign on the pole."); } if ((said("examine", "brick", "light pole") || said("examine", "brick", "on", "light pole") || said("examine", "brick")))
{ print("\"TAXI\nSTAND\""); } if (said("examine", "street"))
{ print("Thousands of cars stream past, just below the edge of your screen."); } if ((said("catch", "cab") || said("cab") || said("ask", "cab") || said("holler", "cab")))
{ if (v39 >= v235)
{ print("You'd better get out of the street first."); } else
{ print("\"YO!!\n\nTAXI!!!\""); if (v64 <= 0)
{ stop.motion(ego); set(f85); random(3, 7, v233); } } } if (v64 == 4)
{ if ((said("examine", "cab") || said("look in", "cab")))
{ print("It's not very clean."); print("It's not very new."); print("(And those are its good points!)"); } if (said("smell", "cab"))
{ print("It smells like an old cab."); } if ((said("board", "cab") || said("board") || said("increase", "door", "rol") || said("increase", "cab", "door", "rol") || said("increase", "door")))
{ if (!isset(f61))
{ set(f54); } else
{ if (!isset(f100))
{ print("Vowing to hold your breath forever, you enter this miserable " "excuse for public transportation."); } else
{ set(f67); } erase(ego); set(f231); set(f85); prevent.input(); set(f232); v64 = 101; v233 = 0; } } } if (said("examine", "alley"))
{ print("It's dark. Real dark."); } if (said("examine", "cab"))
{ print("Trust me, they're there!"); } Label1: if (v38 == v40 && v39 == v41 && v64 <= 0 && varTitlePageStep <= 0 && v30 == 0)
{ ++v230; if (v230 == 200)
{ draw(o14); sound(Sound22, f40); set(f236); follow.ego(o14, 5, f230); v231 = 1; } } else
{ v230 = 0; if (v231 == 1)
{ reset(f230); v232 = 2; } } if (isset(f230) && v231 == 1)
{ reset(f230); set(f58); v231 = 2; v232 = 35; stop.motion(ego); set(f85); stop.motion(o14); get.posn(o14, v52, v33); v32 = v38; if (v38 > 3)
{ v32 -= 4; } else
{ v32 = 0; } reposition.to.v(o14, v32, v33); if (v33 > v39)
{ set.view(o14, View76); } else
{ set.view(o14, View79); } } --v232; if (v232 == 1)
{ v231 = 3; start.motion(ego); reset(f85); start.motion(o14); set.view(o14, View75); wander(o14); } if (edgeObjHit > NOT_HIT && objHitEdge == 14 && v231 == 3)
{ erase(o14); reset(f236); v231 = 4; } distance(ego, o13, v52); if (edgeEgoHit == BOTTOM_EDGE && v52 == 255 && v30 != 15)
{ stop.motion(ego); set(f85); prevent.input(); v30 = 15; position(o15, 119, 167); draw(o15); sound(Sound11, f40); v56 = 10; if (v38 > 116)
{ v38 = 116; } move.obj.v(o15, v38, v39, v56, f234); } if (v30 == 15)
{ if (edgeEgoHit > NOT_HIT)
{ edgeEgoHit = NOT_HIT; } if (isset(f234))
{ reset(f234); set(f231); erase(ego); set.view(ego, View22); if (v38 > 33)
{ v38 -= 33; } else
{ v38 = 0; } position.v(ego, v38, v39); move.obj(o15, 0, 167, 10, f233); } if (isset(f231))
{ get.posn(o15, v32, v33); if ((v32 < v38 || v32 < 10))
{ reset(f231); draw(ego); } } if (isset(f233))
{ reset(f233); erase(o15); print("You know, the traffic here is really a killer! You should forget " "about crossing these streets!"); set(f50); } } if (isset(f44))
{ --v233; if (v233 == 1)
{ set(f232); } } if (v64 > 0)
{ get.posn(o13, v32, v33); if ((v32 == 103 || v32 == 88 || v32 == 36))
{ set(f232); } } if (isset(f232))
{ reset(f232); ++v64; if (v64 == 1)
{ v234 = 119; position.v(o13, v234, v235); draw(o13); v234 = 60; v56 = 0; move.obj.v(o13, v234, v235, v56, f232); step.size(o13, v87); } if (v64 == 2)
{ step.size(o13, varEgoSize); } if (v64 == 3)
{ step.size(o13, v85); set.cel(o13, 1); sound(Sound10, f40); } if (v64 == 4)
{ set.cel(o13, 0); start.motion(ego); reset(f85); v233 = 14; } if (v64 == 5)
{ print("\"I can't wait all day, bub!\""); v64 = 101; } if (v64 == 101)
{ get.posn(o13, v234, v235); if (v38 < v234 && v39 >= v235)
{ print("\"BEEP\nBEEP!\""); v233 = 5; --v64; } else
{ v64 = 102; } } if (v64 == 102)
{ step.size(o13, v85); v234 = 0; v56 = 0; move.obj.v(o13, v234, v235, v56, f232); } if (v64 == 103)
{ step.size(o13, v87); if (v30 == 20)
{ ignore.objs(ego); set.view(ego, View22); get.posn(o13, v38, v39); --v39; position.v(ego, v38, v39); draw(ego); } } if (v64 == 104)
{ v64 = 0; erase(o13); if (v30 == 20)
{ reset(f231); set(f50); } if (isset(f231))
{ v76 = 10; } } if (v64 == 201)
{ set.view(ego, View12); set(f34); v233 = 5; } if (v64 == 202)
{ erase(ego); print("\"You'll not ride with me again!\""); v64 = 101; v233 = 3; } } if ((isset(f231) || v30 == 15))
{ stop.motion(ego); set(f85); } return(); [ Messages #message 1 "You know, the traffic here is really a killer! You should forget about crossing these streets!" #message 2 "\"YO!!\n\nTAXI!!!\"" #message 3 "Vowing to hold your breath forever, you enter this miserable excuse for public transportation." #message 4 "It's not very clean." #message 5 "It's not very new." #message 6 "(And those are its good points!)" #message 7 "Look out! Here he comes again!" #message 8 "Obviously, he thinks you're a fire plug." #message 9 "Dogs like that make you want to keep moving." #message 10 "\"I can't wait all day, bub!\"" #message 11 "\"You'll not ride with me again!\"" #message 12 "" #message 13 "" #message 14 "Sick-o!" #message 15 "After all he's done for you?" #message 16 "He presently smells quite bad, although still better than you." #message 17 "\"TAXI\nSTAND\"" #message 18 "It's dark. Real dark." #message 19 "You'd better get out of the street first." #message 20 "\"BEEP\nBEEP!\"" #message 21 "Thousands of cars stream past, just below the edge of your screen." #message 22 "Trust me, they're there!" #message 23 "It smells like an old cab." #message 24 "Isn't it funny how there's so little traffic?" #message 25 "The glow of the city lights obliterate the stars." #message 26 "As you bend over to do so, his bare teeth convince you otherwise." #message 27 "You shinny up the pole, read the sign, and come right back down." #message 28 "Who'd want him?" #message 29 "" #message 30 "Where?" #message 31 "There is a sign on the pole." #message 32 ""

7
src/Logic58.lgc Normal file
View file

@ -0,0 +1,7 @@
if (v207 == 1)
{ v205 = v200; v205 *= v204; v52 = 250; v52 -= v205; if (v52 > varInGameMoney)
{ varInGameMoney += v205; } else
{ v205 = 250; v205 -= varInGameMoney; varInGameMoney = 250; print("Congratulations, you've broken the bank! This casino has a limit of " "$250.00 per person, and you've reached it. No more for you, Larry!"); set(f200); } v207 = 2; } if (v207 == 2)
{ if (monitorType == MONO)
{ clear.lines(24, 24, BLACK); display(24, 0, "Bet is $%v200.00 You have $%v90.00"); } else
{ clear.lines(21, 21, BLACK); display(21, 0, "Bet is $%v200.00 You have $%v90.00"); } } v207 = 0; return(); [ Messages #message 1 "Bet is $%v200.00 You have $%v90.00" #message 4 "Congratulations, you've broken the bank! This casino has a limit of $250.00 per person, and you've reached it. No more for you, Larry!"

24
src/Logic8.lgc Normal file
View file

@ -0,0 +1,24 @@
if (isset(newRoom))
{ set.horizon(1); set(noPromptRestart); v30 = 27; load.view(Larry_StandAndWalk); load.view(View185); load.view(View186); load.view(View187); load.view(View188); load.view(View189); load.view(View190); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); add.to.pic(View189, 0, 0, 56, 42, 4, 4); add.to.pic(View188, 0, 0, 17, 154, 0, 4); animate.obj(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); ignore.blocks(ObjFlyingDoll); set.view(ObjFlyingDoll, View185); set.loop(ObjFlyingDoll, 0); fix.loop(ObjFlyingDoll); set.cel(ObjFlyingDoll, 0); set.priority(ObjFlyingDoll, 5); stop.cycling(ObjFlyingDoll); cycle.time(ObjFlyingDoll, v85); position(ObjFlyingDoll, 56, 28); draw(ObjFlyingDoll); move.obj(ObjFlyingDoll, 56, 59, 1, boolTimingDelayOut); animate.obj(o3); ignore.objs(o3); ignore.blocks(o3); set.view(o3, View186); set.loop(o3, 2); fix.loop(o3); set.cel(o3, 0); set.priority(o3, 4); stop.cycling(o3); position(o3, 74, 80); draw(o3); move.obj(o3, 74, 111, 1, f40); animate.obj(ObjTitleText); ignore.objs(ObjTitleText); ignore.blocks(ObjTitleText); set.view(ObjTitleText, View186); set.loop(ObjTitleText, 1); fix.loop(ObjTitleText); set.cel(ObjTitleText, 0); set.priority(ObjTitleText, 6); stop.cycling(ObjTitleText); position(ObjTitleText, 79, 111); draw(ObjTitleText); stop.update(ObjTitleText); animate.obj(o4); ignore.objs(o4); ignore.blocks(o4); set.view(o4, View186); set.loop(o4, 2); fix.loop(o4); set.cel(o4, 0); set.priority(o4, 5); stop.cycling(o4); position(o4, 84, 167); draw(o4); stop.update(o4); animate.obj(o5); ignore.objs(o5); set.view(o5, View187); set.loop(o5, 4); fix.loop(o5); position(o5, 36, 111); draw(o5); set(f203); animate.obj(o6); ignore.objs(o6); set.view(o6, View186); set.loop(o6, 0); fix.loop(o6); set.cel(o6, 0); set.priority(o6, 6); stop.cycling(o6); position(o6, 128, 105); draw(o6); stop.update(o6); animate.obj(o7); ignore.objs(o7); set.view(o7, View186); set.loop(o7, 3); set.cel(o7, 0); position(o7, 38, 121); draw(o7); stop.cycling(o7); stop.update(o7); animate.obj(o8); set.view(o8, View188); set.loop(o8, 1); position(o8, 88, 133); draw(o8); stop.cycling(o8); random(26, 56, v200); animate.obj(o10); set.view(o10, View188); set.loop(o10, 3); position(o10, 103, 149); draw(o10); random(17, 33, v202); animate.obj(o9); set.view(o9, View188); set.loop(o9, 2); position(o9, 116, 149); draw(o9); stop.cycling(o9); animate.obj(o11); set.view(o11, View190); position(o11, 56, 155); draw(o11); wander(o11); cycle.time(o11, v85); step.time(o11, v85); set(f85); show.pic(); return(); } if (isset(haveInput))
{ set(haveMatch); print("Hey! You're not alive yet."); } if (isset(f203))
{ --v203; if (v203 == 1)
{ toggle(f204); if (isset(f204))
{ start.cycling(o5); random(4, 11, v203); } else
{ stop.cycling(o5); random(11, 22, v203); } } } --v200; if (v200 == 1)
{ random(0, 2, v52); set.cel.v(o8, v52); random(11, 33, v200); } --v202; if (v202 == 1)
{ random(7, 22, v202); toggle(f201); if (isset(f201))
{ start.cycling(o9); stop.cycling(o10); set.cel(o10, 0); } else
{ start.cycling(o10); stop.cycling(o9); set.cel(o9, 0); } } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ end.of.loop(ObjFlyingDoll, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ print("The Sierra adventure team races to your rescue, dumping your " "worthless, leisure suit- clad hulk into their giant bit bucket, for " "recycling into future games. Their underground workshop is humming " "with activity. This is \"Where Adventurers Are Made, Not Born!\""); stop.cycling(ObjFlyingDoll); move.obj(ObjFlyingDoll, 56, 80, 1, boolTimingDelayOut); move.obj(o3, 74, 132, 1, f40); } if (varTitlePageStep == 3)
{ stop.update(ObjFlyingDoll); stop.update(o3); start.update(o6); move.obj(o6, 103, 105, 1, boolTimingDelayOut); } if (varTitlePageStep == 4)
{ set.cel(o6, 1); move.obj(o6, 82, 105, 1, boolTimingDelayOut); } if (varTitlePageStep == 5)
{ stop.update(o6); start.cycling(o5); set.loop(o5, 0); move.obj(o5, 49, 117, 1, boolTimingDelayOut); reset(f203); print("Commander Cavin quickly assembles a replacement Larry, while " "subordinates repair players damaged in other Sierra adventure games."); } if (varTitlePageStep == 6)
{ set.cel(o7, 1); force.update(o7); set.loop(o5, 2); move.obj(o5, 62, 111, 1, boolTimingDelayOut); } if (varTitlePageStep == 7)
{ move.obj(o5, 78, 111, 1, boolTimingDelayOut); } if (varTitlePageStep == 8)
{ set.loop(o5, 3); v66 = 21; } if (varTitlePageStep == 9)
{ set.loop(o5, 1); move.obj(o5, 36, 111, 1, boolTimingDelayOut); set.cel(ObjTitleText, 1); set.cel(o6, 2); force.update(o6); } if (varTitlePageStep == 10)
{ set.loop(o5, 4); set(f203); v203 = 3; start.update(ObjTitleText); move.obj(ObjTitleText, 79, 40, 1, boolTimingDelayOut); start.update(o4); move.obj(o4, 84, 108, 1, boolTimingDelayOut); } if (varTitlePageStep == 11)
{ set.cel(o4, 1); reposition.to(o4, 84, 147); move.obj(o4, 84, 116, 1, f40); print("With your new body and ego, you are returned to fight again the " "battles of Lost Wages!\n\n(Now you know what we have to go through " "every time you press that \"Restart\" key.)"); } if (varTitlePageStep == 12)
{ restart.game(); } } return(); [ Messages #message 1 "Hey! You're not alive yet." #message 2 "" #message 3 "The Sierra adventure team races to your rescue, dumping your worthless, leisure suit- clad hulk into their giant bit bucket, for recycling into future games. Their underground workshop is humming with activity. This is \"Where Adventurers Are Made, Not Born!\"" #message 4 "Commander Cavin quickly assembles a replacement Larry, while subordinates repair players damaged in other Sierra adventure games." #message 5 "With your new body and ego, you are returned to fight again the battles of Lost Wages!\n\n(Now you know what we have to go through every time you press that \"Restart\" key.)"

36
src/Logic9.lgc Normal file
View file

@ -0,0 +1,36 @@
if (isset(newRoom))
{ load.view(View4); load.view(View1); load.view(View12); load.view(View73); load.view(View74); load.sound(Sound26); load.pic(currentRoom); draw.pic(currentRoom); discard.pic(currentRoom); animate.obj(ObjFlyingDoll); ignore.objs(ObjFlyingDoll); set.view(ObjFlyingDoll, View73); set.loop(ObjFlyingDoll, 1); set.cel(ObjFlyingDoll, 1); position(ObjFlyingDoll, 124, 131); draw(ObjFlyingDoll); step.size(ObjFlyingDoll, v85); set(boolTimingDelayOut); set(f200); if ((v78 == 4 || v78 == 2))
{ if (v39 < 158)
{ v39 = 158; } } if ((v78 == 1 || v78 == 3))
{ v38 = 77; v39 = 167; } position.v(ego, v38, v39); draw(ego); show.pic(); sound(Sound26, boolMusicEnded); return(); } if (isset(haveInput))
{ set(haveMatch); if (varTitlePageStep > 5)
{ print("Since you're dead, why are you talking?? Just hang on for the ride."); } else
{ print("It appears he wants something -- YOU! Get out of here!"); } } if (isset(boolTimingDelayOut))
{ reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1)
{ move.obj(ObjFlyingDoll, 112, 131, 2, boolTimingDelayOut); } if (varTitlePageStep == 2)
{ follow.ego(ObjFlyingDoll, 8, boolTimingDelayOut); } if (varTitlePageStep == 3)
{ set(f48); stop.motion(ego); set(f85); set.view(ObjFlyingDoll, View74); get.posn(ObjFlyingDoll, v32, v33); if (v32 < v38)
{ set.loop(ObjFlyingDoll, 1); if (v38 > 12)
{ v32 = v38; v32 -= 13; } else
{ v32 = 0; } } else
{ set.loop(ObjFlyingDoll, 0); if (v38 < 140)
{ v32 = v38; v32 += 5; } else
{ v32 = 145; } } v33 = v39; set.cel(ObjFlyingDoll, 0); reposition.to.v(ObjFlyingDoll, v32, v33); v66 = 7; } if (varTitlePageStep == 4)
{ erase(ObjFlyingDoll); reset(f200); set(f34); set.view(ego, View12); if (v38 > 5)
{ v38 -= 5; } else
{ v38 = 0; } if (v39 < 162)
{ v39 += 5; } else
{ v39 = 167; } reposition.to.v(ego, v38, v39); varTimingDelay = 5; } if (varTitlePageStep == 5)
{ set.view(ObjFlyingDoll, View73); draw(ObjFlyingDoll); wander(ObjFlyingDoll); set(f201); varTimingDelay = 3; } if (varTitlePageStep == 6)
{ set.view(ego, View1); v30 = 3; cycle.time(ego, v85); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 6)
{ print("Larry, when are you gonna learn to stay out of those dark alleys!!"); varTimingDelay = 3; } if (varTitlePageStep == 7)
{ reset(f34); set.view(ego, View4); v30 = 27; set.cel(ego, 0); if (v38 > 2)
{ v38 -= 3; } if (v39 < 160)
{ v39 += 7; } reposition.to.v(ego, v38, v39); varTimingDelay = 5; } if (varTitlePageStep == 8)
{ print("\"Hey guys!! He's screwed up again! Dump this one down the tubes, " "and get him another body!\""); set(f34); cycle.time(ego, varEgoSize); end.of.loop(ego, boolTimingDelayOut); } if (varTitlePageStep == 9)
{ reset(f48); v76 = 8; } } if (isset(boolMusicEnded) && isset(f200))
{ sound(Sound26, boolMusicEnded); } if (isset(f201) && edgeObjHit > NOT_HIT && objHitEdge == 1)
{ reset(f201); erase(ObjFlyingDoll); stop.sound(); } if (v78 == 2 && edgeEgoHit == LEFT_EDGE)
{ v76 = previousRoom; } if (v78 == 4 && edgeEgoHit == RIGHT_EDGE)
{ v76 = previousRoom; } if (edgeEgoHit == BOTTOM_EDGE && (v78 == 1 || v78 == 3))
{ v76 = previousRoom; } return(); [ Messages #message 1 "Larry, when are you gonna learn to stay out of those dark alleys!!" #message 2 "" #message 3 "\"Hey guys!! He's screwed up again! Dump this one down the tubes, and get him another body!\"" #message 4 "Since you're dead, why are you talking?? Just hang on for the ride." #message 5 "It appears he wants something -- YOU! Get out of here!"

1
src/Logic_BadEnding.lgc Normal file
View file

@ -0,0 +1 @@
if (isset(newRoom)) { print("Oh, no!\n\nStepping outside, you see the sun rising in the east. " "Glancing at your watch, you realize the terrible truth..."); print("...your night in Sierra World is over, and (technically speaking) " "you're still..."); print("a"); print("\n\nVIRGIN!!!\n\n"); set.horizon(4); prevent.input(); v81 = 7; load.pic(v81); load.pic(currentRoom); load.view(View32); load.view(Face_Larry_BadEnding); load.view(View33); load.sound(Sound32); load.sound(Sound33); load.sound(Sound13); draw.pic(currentRoom); add.to.pic(Face_Larry_BadEnding, 0, 0, 56, 129, 5, 4); animate.obj(ObjFlyingDoll); set.priority(ObjFlyingDoll, 4); set.view(ObjFlyingDoll, View32); set.loop(ObjFlyingDoll, 0); set.cel(ObjFlyingDoll, 0); position(ObjFlyingDoll, 23, 91); draw(ObjFlyingDoll); move.obj(ObjFlyingDoll, 81, 33, 1, boolTimingDelayOut); show.pic(); sound(Sound32, f40); return(); } prevent.input(); if (isset(boolTimingDelayOut)) { reset(boolTimingDelayOut); ++varTitlePageStep; if (varTitlePageStep == 1) { unanimate.all(); add.to.pic(Face_Larry_BadEnding, 0, 1, 32, 161, 14, 4); varTimingDelay = 4; } if (varTitlePageStep == 2) { add.to.pic(Face_Larry_BadEnding, 1, 0, 69, 119, 5, 4); sound(Sound33, f40); varTimingDelay = 4; } if (varTitlePageStep == 3) { add.to.pic(Face_Larry_BadEnding, 1, 1, 69, 119, 6, 4); varTimingDelay = 4; } if (varTitlePageStep == 4) { draw.pic(v81); animate.obj(ObjTitleText); set.view(ObjTitleText, View33); set.loop(ObjTitleText, 0); position(ObjTitleText, 50, 105); start.cycling(ObjTitleText); draw(ObjTitleText); show.pic(); v200 = 14; } if (varTitlePageStep == 5) { erase(ObjTitleText); set(f50); } } --v200; if ((v200 == 10 || v200 == 8 || v200 == 6 || v200 == 4 || v200 == 2)) { sound(Sound13, f40); shake.screen(1); } if (v200 == 1) { set(boolTimingDelayOut); } return(); [ Messages #message 1 "Oh, no!\n\nStepping outside, you see the sun rising in the east. Glancing at your watch, you realize the terrible truth..." #message 2 "...your night in Sierra World is over, and (technically speaking) you're still..." #message 3 "a" #message 4 "\n\nVIRGIN!!!\n\n"

30
src/Logic_Debug.lgc Normal file
View file

@ -0,0 +1,30 @@
if (isset(newRoom) && isset(f33) && monitorType != MONO)
{ set.text.attribute(BROWN, BLACK); clear.text.rect(24, 26, 24, 34, BLACK); display(24, 26, "Room %v0|3"); set.text.attribute(WHITE, BLACK); } if (controller(c19))
{ get.num("Object number:", v45); if (v45 > 15)
{ v45 = 15; } obj.status.v(v45); } if ((controller(c16) || said("find")))
{ v45 = 0; obj.status.v(v45); } if (controller(c18))
{ show.mem(); } if ((controller(c20) || said("examine", "priority")))
{ show.pri.screen(); } if (monitorType != MONO)
{ if (isset(f48))
{ set.text.attribute(BROWN, BLACK); display(24, 35, "H"); set.text.attribute(WHITE, BLACK); } else
{ display(24, 35, " "); } } if ((controller(c35) || said("all", "number")))
{ lastChar = 0; set.text.attribute(BROWN, LT_GRAY); text.screen(); display(2, 6, "Number Name of Object"); v45 = 1; v32 = 10; v33 = 4; v58 = 16; Label1: display.v(v33, v32, v58); ++v45; ++v33; if (v45 <= 20)
{ goto(Label1); } Label2: if (!have.key())
{ goto(Label2); } set.text.attribute(WHITE, BLACK); graphics(); } if (said("all", "area"))
{ get.num("Object number:", v46); get.room.v(v46, v45); print("Object %v46 is in room %v45."); } if (said("add", "priority"))
{ get.num("New priority:", v46); set.priority.v(ego, v46); } if (said("let go", "priority"))
{ release.priority(ego); } if (said("tp"))
{ get.num("New room:", v45); new.room.v(v45); } if (said("position"))
{ get.num("X coordinate:", v45); get.num("Y coordinate:", v46); reposition.to.v(ego, v45, v46); } if (monitorType != MONO && (said("examine", "position") || said("area", "number") || said("area") || controller(c36) || said("sp")))
{ toggle(f33); set.text.attribute(BROWN, BLACK); display(24, 26, "Room %v0|3"); set.text.attribute(WHITE, BLACK); } if (monitorType != MONO && isset(f33))
{ v45 = v38; v46 = v39; set.text.attribute(BROWN, BLACK); display(24, 16, "%v45|3/%v46|3"); set.text.attribute(WHITE, BLACK); } if ((said("gimme", "gimme") || controller(c37)))
{ display(0, 0, "You gottum, Larry."); v45 = 0; v46 = 255; Label3: ++v45; if (v45 <= 20)
{ put.v(v45, v46); goto(Label3); } } if (said("catch", "all"))
{ get.num("Object number:", v45); get.v(v45); } if (said("examine", "flag"))
{ get.num("Flag number:", v45); if (issetv(v45))
{ print("Flag %v45 set"); } else
{ print("Flag %v45 not set"); } } if (said("add", "flag"))
{ get.num("Flag number:", v45); set.v(v45); } if (said("reset", "flag"))
{ get.num("Flag number:", v45); reset.v(v45); } if (said("examine", "var"))
{ get.num("Variable number:", v45); v46 = *v45; print("Variable %v45 = %v46"); } if (said("add", "var"))
{ get.num("Variable number:", v45); get.num("New value:", v46); *v45 = v46; } return(); [ Messages #message 1 "New room:" #message 2 "X coordinate:" #message 3 "Y coordinate:" #message 4 "Object number:" #message 5 "Flag number:" #message 6 "New value:" #message 7 "You gottum, Larry." #message 8 "Variable number:" #message 9 "Variable %v45 = %v46" #message 10 "Flag %v45 set" #message 11 "Flag %v45 not set" #message 12 "New priority:" #message 13 "Object %v46 is in room %v45." #message 14 "%v45|3/%v46|3" #message 15 "Room %v0|3" #message 16 "%v45|2 %o45" #message 17 "Number Name of Object" #message 18 "%v8 memory pages left." #message 19 "" #message 20 "Unknown word: \"" #message 29 "H" #message 30 " " #message 31 ""

1
src/Logic_DebugCode.lgc Normal file
View file

@ -0,0 +1 @@
return(); [ Messages #message 1 "increment" #message 2 "decrement" #message 3 "assignn" #message 4 "assignv" #message 5 "addn" #message 6 "addv" #message 7 "subn" #message 8 "subv" #message 9 "lindirectv" #message 10 "rindirect" #message 11 "lindirectn" #message 12 "set" #message 13 "reset" #message 14 "toggle" #message 15 "set.v" #message 16 "reset.v" #message 17 "toggle.v" #message 18 "new.room" #message 19 "new.room.v" #message 20 "load.logics" #message 21 "load.logics.v" #message 22 "call" #message 23 "call.v" #message 24 "load.pic" #message 25 "draw.pic" #message 26 "show.pic" #message 27 "discard.pic" #message 28 "overlay.pic" #message 29 "show.pri.screen" #message 30 "load.view" #message 31 "load.view.v" #message 32 "discard.view" #message 33 "animate.obj" #message 34 "unanimate.all" #message 35 "draw" #message 36 "erase" #message 37 "position" #message 38 "position.v" #message 39 "get.posn" #message 40 "reposition" #message 41 "set.view" #message 42 "set.view.v" #message 43 "set.loop" #message 44 "set.loop.v" #message 45 "fix.loop" #message 46 "release.loop" #message 47 "set.cel" #message 48 "set.cel.v" #message 49 "last.cel" #message 50 "current.cel" #message 51 "current.loop" #message 52 "current.view" #message 53 "number.of.loops" #message 54 "set.priority" #message 55 "set.priority.v" #message 56 "release.priority" #message 57 "get.priority" #message 58 "stop.update" #message 59 "start.update" #message 60 "force.update" #message 61 "ignore.horizon" #message 62 "observe.horizon" #message 63 "set.horizon" #message 64 "object.onWater" #message 65 "object.on.land" #message 66 "object.on.anything" #message 67 "ignore.objs" #message 68 "observe.objs" #message 69 "distance" #message 70 "stop.cycling" #message 71 "start.cycling" #message 72 "normal.cycle" #message 73 "end.of.loop" #message 74 "reverse.cycle" #message 75 "reverse.loop" #message 76 "cycle.time" #message 77 "stop.motion" #message 78 "start.motion" #message 79 "step.size" #message 80 "step.time" #message 81 "move.obj" #message 82 "move.obj.v" #message 83 "follow.ego" #message 84 "wander" #message 85 "normal.motion" #message 86 "set.dir" #message 87 "get.dir" #message 88 "ignore.blocks" #message 89 "observe.blocks" #message 90 "block" #message 91 "unblock" #message 92 "get" #message 93 "get.v" #message 94 "drop" #message 95 "put" #message 96 "put.v" #message 97 "get.room.v" #message 98 "load.sound" #message 99 "sound" #message 100 "stop.sound" #message 101 "print" #message 102 "print.v" #message 103 "display" #message 104 "display.v" #message 105 "clear.lines" #message 106 "text.screen" #message 107 "graphics" #message 108 "set.cursor.char" #message 109 "set.text.attribute" #message 110 "shake.screen" #message 111 "configure.screen" #message 112 "status.line.on" #message 113 "status.line.off" #message 114 "set.string" #message 115 "get.string" #message 116 "word.to.string" #message 117 "parse" #message 118 "get.num" #message 119 "prevent.input" #message 120 "accept.input" #message 121 "set.key" #message 122 "add.to.pic" #message 123 "add.to.pic.v" #message 124 "status" #message 125 "save.game" #message 126 "restore.game" #message 127 "init.disk" #message 128 "restart.game" #message 129 "show.obj" #message 130 "random" #message 131 "program.control" #message 132 "player.control" #message 133 "obj.status.v" #message 134 "quit" #message 135 "show.mem" #message 136 "pause" #message 137 "echo.line" #message 138 "cancel.line" #message 139 "init.joy" #message 140 "toggle.monitor" #message 141 "version" #message 142 "script.size" #message 143 "set.game.id" #message 144 "log" #message 145 "set.scan.start" #message 146 "reset.scan.start" #message 147 "reposition.to" #message 148 "reposition.to.v" #message 149 "trace.on" #message 150 "trace.info" #message 151 "print.at" #message 152 "print.at.v" #message 153 "discard.view.v" #message 154 "clear.text.rect" #message 155 "set.upper.left" #message 156 "set.menu" #message 157 "set.menu.item" #message 158 "submit.menu" #message 159 "enable.item" #message 160 "disable.item" #message 161 "menu.input" #message 162 "show.obj.v" #message 163 "open.dialogue" #message 164 "close.dialogue" #message 165 "mul.n" #message 166 "mul.v" #message 167 "div.n" #message 168 "div.v" #message 169 "close.window" #message 220 "equaln" #message 221 "equalv" #message 222 "lessn" #message 223 "lessv" #message 224 "greatern" #message 225 "greaterv" #message 226 "isset" #message 227 "isset.v" #message 228 "has" #message 229 "obj.in.room" #message 230 "posn" #message 231 "controller" #message 232 "have.key" #message 233 "said" #message 234 "compare.strings" #message 235 "obj.in.box" #message 236 "center.posn" #message 237 "right.posn"

View file

@ -0,0 +1 @@
print.v(errorNumber); quit(1); return(); [ Messages #message 1 "DiscardView(%v18):%m30" #message 2 "SetView(%v18,_):%m26" #message 3 "SetView(_,%v18):%m30" #message 4 "SetLoop(%v18,_):%m26" #message 5 "SetLoop(%v18,_):\nBad loop #.%m25" #message 6 "SetLoop(%v18,_):%m31" #message 7 "SetCel(%v18,_):%m26" #message 8 "SetCel(%v18,_):\nBad cel #.%m25" #message 9 "Sound(%v18):\nSound not loaded.%m25" #message 10 "SetCel(%v18,_):%m31" #message 11 "Script buffer overflow.\nMaximum size = %v18%m25" #message 12 "Erase(%v18):%m26" #message 13 "AnimateObj(%v18):%m26" #message 14 "Print(%v18): no message%m25" #message 15 "Bad test: %v18%m25" #message 16 "Bad action: %v18%m25" #message 17 "StartUpdate(%v18):%m28" #message 18 "DrawPic(%v18):%m32" #message 19 "Draw(%v18):%m26" #message 20 "Draw(%v18):%m31" #message 21 "DiscardPic(%v18):%m32" #message 22 "SetScanStart() already active\nin logic %v18.%m25" #message 23 "Get(%v18) or Put(%v18):%m26" #message 24 "" #message 25 "\nPress ESC to quit." #message 26 "%m27.%m25" #message 27 "\nBad object number" #message 28 "%m27 or object not drawn.%m25" #message 29 "\nView not " #message 30 "%m29loaded.%m25" #message 31 "%m29set.%m25" #message 32 "Picture not loaded.%m25"

10
src/Logic_Help.lgc Normal file
View file

@ -0,0 +1,10 @@
prevent.input(); status.line.off(); set.text.attribute(BLUE, LT_GRAY); text.screen(); lastChar = 0; reset(haveMatch); display(1, 9, "Leisure Suit Larry in"); display(2, 5, "the Land of the Lounge Lizards"); display(5, 11, "KEYBOARD COMMANDS"); display(9, 1, "Use arrows or number keys to move"); display(10, 1, "Larry."); display(13, 1, "Press ESC to use the menus."); display(14, 1, "Press ENTER to choose from a menu,"); display(15, 1, "or ESC to return to the game."); display(18, 1, "Some menu choices list a function key"); display(19, 1, "\"shortcut\" beside their name."); display(22, 1, "For a Hint Book, call (209) 683-6858."); display(23, 1, " (For a good time, call the author!)"); Label1: if (!have.key())
{ goto(Label1); } lastChar = 0; set.text.attribute(WHITE, BLACK); text.screen(); display(1, 9, "Leisure Suit Larry in"); display(2, 5, "the Land of the Lounge Lizards"); display(5, 11, "JOYSTICK COMMANDS"); display(9, 1, "Point joystick in desired direction"); display(10, 1, "to move Larry."); display(13, 1, "Press top button to use the menus."); display(14, 1, "Press other button to see the status"); display(15, 1, "screen."); display(18, 1, "Some menu choices list a function key"); display(19, 1, "\"shortcut\" beside their name."); if (isset(f101))
{ Label2: if (!have.key())
{ goto(Label2); } lastChar = 0; set.text.attribute(WHITE, BLACK); text.screen(); display(1, 9, "Leisure Suit Larry in"); display(2, 5, "the Land of the Lounge Lizards"); display(5, 13, "MOUSE COMMANDS"); display(9, 1, "Put cursor where you want Larry to"); if (machineType == ATARI)
{ display(10, 1, "go, then click left button."); display(13, 1, "Press right button to use menus."); } else
{ if ((machineType == CORTLAND || machineType == MACINTOSH))
{ display(10, 1, "go, then click the button."); } else
{ if (machineType == AMIGA)
{ display(10, 1, "go, then click left button."); display(13, 1, "Press left button in the window"); display(14, 1, "bar to use menus."); } } } display(18, 1, "Some menu choices list a function key"); display(19, 1, "\"shortcut\" beside their name."); } display(23, 7, "Press any key to return to game."); Label3: if (!have.key())
{ goto(Label3); } lastChar = 0; set.text.attribute(WHITE, BLACK); accept.input(); status.line.on(); graphics(); set(haveMatch); return(); [ Messages #message 1 "Leisure Suit Larry in" #message 2 "the Land of the Lounge Lizards" #message 3 "KEYBOARD COMMANDS" #message 4 "Use arrows or number keys to move" #message 5 "Larry." #message 6 "Press ESC to use the menus." #message 7 "Press ENTER to choose from a menu," #message 8 "or ESC to return to the game." #message 9 "Some menu choices list a function key" #message 10 "\"shortcut\" beside their name." #message 17 "For a Hint Book, call (209) 683-6858." #message 18 " (For a good time, call the author!)" #message 21 "JOYSTICK COMMANDS" #message 22 "Point joystick in desired direction" #message 23 "to move Larry." #message 24 "Press top button to use the menus." #message 25 "Press other button to see the status" #message 26 "screen." #message 41 "MOUSE COMMANDS" #message 42 "Put cursor where you want Larry to" #message 43 "go, then click the button." #message 44 "Press right button to use menus." #message 45 "Press left button in the window" #message 46 "bar to use menus." #message 47 "Press any key to return to game." #message 48 "go, then click left button."

1
src/Logic_MainGame.lgc Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
src/Logic_SetValues.lgc Normal file
View file

@ -0,0 +1 @@
if (monitorType != MONO) { clear.lines(22, 22, BLACK); clear.lines(24, 24, BLACK); } if (isset(f38)) { prevent.input(); } animate.obj(ego); step.size(ego, v61); step.time(ego, v60); cycle.time(ego, v59); get.posn(ego, v38, v39); observe.blocks(ego); observe.objs(ego); observe.horizon(ego); v31 = 0; v63 = 0; v62 = 0; v76 = 0; varTitlePageStep = 0; v66 = 0; varTimingDelay = 0; reset(f46); reset(f47); reset(f41); reset(boolTimingDelayOut); [ timing is not expired reset(boolMusicEnded); [ music is not ended reset(f53); reset(noScript); v52 = 255; Label1: reset.v(v52); *v52 = 0; --v52; if (v52 > 199) { goto(Label1); } return(); [ Messages

1
src/Logic_Setup.lgc Normal file
View file

@ -0,0 +1 @@
set.cursor.char("_"); set.string(inputPrompt, "]"); set.game.id("LLLLL"); trace.info(Logic_DebugCode, 2, 9); set.text.attribute(WHITE, BLACK); maxScore = 222; if (monitorType != MONO) { clear.lines(22, 24, BLACK); } configure.screen(1, 23, 0); set(enableMenu); disable.item(CtrlMenuUnusedItem); set(soundOn); v61 = 1; v60 = 1; v59 = 1; v38 = 77; v39 = 166; v69 = 157; if ((machineType == PC || machineType == PCJR || machineType == TANDY || machineType == APPLEII)) { set(f102); } else { set(f101); } varInGameMoney = 94; v97 = 5; v99 = 15; set(f66); v72 = 10; varGameTimeHour = 10; [ Start At 10:00:00 pm v84 = 1; v85 = 2; varEgoSize = 3; v87 = 4; v88 = 5; if (varGameControlDebug > 0) { set(boolCallDebugger); reset(f38); reset(f85); accept.input(); animationInterval = 0; set(f42); set(enableMenu); set(f109); status.line.on(); } else { if (!isset(gameRestarted)) { set(f38); set(f85); prevent.input(); animationInterval = 2; reset(f42); reset(enableMenu); status.line.off(); } else { reset(f38); status.line.on(); set(f109); return(); } } set.key(0, 59, CtrlHelp); set.key(0, 60, CtrlSound); set.key(0, 61, c3); set.key(0, 62, c4); set.key(0, 63, CtrlSave); set.key(0, 64, c6); set.key(0, 65, CtrlLoad); set.key(0, 66, c8); set.key(0, 67, CtrlRestart); set.key(0, 68, CtrlMenuSpeedChange); if (machineType == TANDY) { set.key(61, 0, c38); set.key(45, 0, c39); set.key(43, 0, c38); } set.key(9, 0, CtrlInventory); if (machineType == AMIGA) { set.key(27, 0, CtrlPause); } else { set.key(27, 0, c23); } set.key(2, 0, CtrlBossKey); set.key(3, 0, c14); set.key(5, 0, c3); set.key(10, 0, CtrlJoystick); set.key(18, 0, CtrlMenuGraphicsMode); set.key(19, 0, CtrlSound); set.key(0, 32, c15); set.key(0, 18, c16); set.key(0, 23, c19); set.key(0, 50, c18); set.key(0, 25, c20); set.key(0, 45, c21); set.key(0, 47, c40); set.key(0, 44, CtrlQuit); if (machineType == PCJR) { set.key(49, 0, CtrlHelp); set.key(50, 0, CtrlSound); set.key(51, 0, c3); set.key(52, 0, c4); set.key(53, 0, CtrlSave); set.key(54, 0, c6); set.key(55, 0, CtrlLoad); set.key(56, 0, c8); set.key(57, 0, CtrlRestart); set.key(48, 0, CtrlMenuSpeedChange); } set.key(1, 1, c23); if (isset(f102)) { set.key(1, 2, CtrlInventory); } return(); [ Messages #message 1 "_" #message 2 "]" #message 3 "LLLLL"

1
src/Logic_Start.lgc Normal file

File diff suppressed because one or more lines are too long

1
src/Logic_Title.lgc Normal file

File diff suppressed because one or more lines are too long

1
src/Logic_TitleExit.lgc Normal file

File diff suppressed because one or more lines are too long

BIN
src/Music_Death.ags Normal file

Binary file not shown.

BIN
src/Music_Title_Main.ags Normal file

Binary file not shown.

BIN
src/Pct_CreditBg1.agp Normal file

Binary file not shown.

BIN
src/Pct_CreditBg2.agp Normal file

Binary file not shown.

BIN
src/Pct_CreditBg3.agp Normal file

Binary file not shown.

BIN
src/Pct_TitleBackground.agp Normal file

Binary file not shown.

BIN
src/PnjPoliceman.agv Normal file

Binary file not shown.

BIN
src/SierraFactory.agp Normal file

Binary file not shown.

BIN
src/Taxi.agp Normal file

Binary file not shown.

Binary file not shown.

BIN
src/Title_Cameo_Coding.agv Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.