the-infocom-files / ballyhoo

Ballyhoo
5 stars 4 forks source link

"EAST" and "OUT" are not the same thing in APE-ROOM #47

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

In APE-ROOM, the EAST and OUT exits do not behave the same way:

      (EAST PER APE-ENTER)
      (OUT TO MEN IF APE-DOOR IS OPEN)

The difference is that APE-ENTER will let you through regardless of the door during the end game:

<ROUTINE APE-ENTER ()
     <COND (<OR ,END-GAME
            <FSET? ,APE-DOOR ,OPENBIT>>
        <COND (<EQUAL? ,HERE ,APE-ROOM>
               <RETURN ,MEN>)
              (T
               <RETURN ,APE-ROOM>)>)
           (T
        <TELL "The " D ,APE-DOOR " is ">
        <OPEN-CLOSED ,APE-DOOR>
        <TELL ,PERIOD>
        <RFALSE>)>>

This is because in the end game, Mahler has bent open the bars and escaped from his cage.

I guess you could argue that "OUT" implies going through the door, but the description of Inside Mahler's Cage says that the door "is east". So I think it's just an oversight, and that both should use PER APE-ENTER.