the-infocom-files / ballyhoo

Ballyhoo
5 stars 4 forks source link

"PITCHMAN, NO" doesn't work as intended #49

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

If you ask the pitchman about anything, he'll try to steer the conversation to Dr. Nostrum's extract instead.

>ASK PITCHMAN ABOUT MUNRAB
"I don't know much about that," he says. "But have you asked me about Dr.
Nostrum's Prehydrogenated Genuine Preparation of Naturally Nitrated
Compound Herbified Extract?"

At that point he'll respond to "YES", "NO" and "PITCHMAN, YES":

>YES
Well then scram."
>PITCHMAN, YES
"Well then scram."
>NO
He takes a deep breath. "Well, brother, step right up -- I don't care what's
your sickness, I don't care what's draggin' you down, don't tell me 'cause I
don't want to know whether it's pyorrhea, anorexia nervosa, sick headache,
goiter, varicose veins, bilious derangements, nervous debility ..." The pitchman
realizes he's getting nowhere with you and turns his attention back to the
detective.

But PITCHMAN, NO does not work:

>PITCHMAN, NO
He just grins, revealing a gold tooth.

It's obviously meant to work. CON-F does this:

              (<AND <VERB? YES>
                <EQUAL? ,AWAITING-REPLY 8>>
               <V-YES>)
              (<AND <VERB? NO>
                <EQUAL? ,AWAITING-REPLY 8>>
               <V-NO>)
              (T
               <TELL "He just grins, revealing a gold tooth." CR>)>)

But it probably fails because V-NO does this:

           (<AND <EQUAL? ,AWAITING-REPLY 8>
             <IN? ,CON ,HERE>>
        <PERFORM ,V?ASK-ABOUT ,CON ,FLASK>
        <RTRUE>)

So WINNER is probably still the pitchman, i.e. this would be equivalent to "PITCHMAN, ASK PITCHMAN ABOUT FLASK", not "ASK PITCHMAN ABOUT FLASK".

Temporarily setting WINNER to PROTAGONIST (like in the "PITCHMAN, HELLO" case) fixes the problem. Either in CON-F or V-NO.