![]() |
Routines |
| Prev: 9630 | Up: Map | Next: 9686 |
|
Used by the routine at YouSeePreposition.
Prints the location text, draws the picture, waits for a key, and lists the exits and what is here.
|
||||
|
From here starts the "intro" to a location;
|
||||
| YouSeeStart | 965B | LD B,A | Store A in B temporarily. | |
| 965C | CALL LocateLocation | Call LocateLocation to set IX to point to the appropriate location data for the current location. | ||
| 965F | CALL PrintMessage | Call PrintMessage to print message. | ||
| 9662 | LD L,(IX+$08) | Load the location data offset for the current location description. | ||
| 9665 | LD H,(IX+$09) | |||
| 9668 | LD A,H | Use byte 9 of this object again. | ||
| 9669 | OR L | Combine this flag with the low byte. | ||
| 966A | CALL YouSeePrint | Call YouSeePrint to print the location description. | ||
| 966D | LD A,B | Call Drawing with the location id. | ||
| 966E | CALL Drawing | |||
| 9671 | LD A,($7F77) | Test if LocationID contains FF, call Turn_WaitForAKey if it does not (i.e. wait for a keypress only if something has been drawn). | ||
| 9674 | INC A | |||
| 9675 | CALL NZ,Turn_WaitForAKey | |||
| 9678 | CALL Print_LineBreak | Call Print_LineBreak to print a newline. | ||
| 967B | LD A,B | Call MessageListTheObjects with the location id. | ||
| 967C | CALL MessageListTheObjects | |||
|
This entry point is used by the routine at YouSeeController.
|
||||
| YouSee_Exits | 967F | LD A,B | Call DisplayExits with the location id. | |
| 9680 | CALL DisplayExits | |||
| 9683 | JP TurnDescribeWhatIsHere | Jump to TurnDescribeWhatIsHere to describe what is here. | ||
| Prev: 9630 | Up: Map | Next: 9686 |