Prev: 965B Up: Map Next: 969A
9686: Turn: Print Or Describe
Used by the routine at YouSeeStart.
Prints the location description when one is present. Otherwise it prints the location name.
YouSeePrint 9686 JP NZ,PrintMessage Jump to PrintMessage to print the location description if its pointer in HL is not zero (the caller sets the zero flag).
This entry point is used by the routine at YouSeeController.
YouSeePrint_PrintTheLocationName 9689 LD DE,$0002 The location name starts 02 bytes into the record.
968C PUSH IY Point IY at the name, 02 bytes into the record.
968E PUSH IX
9690 POP IY
9692 ADD IY,DE
9694 CALL Message_ChooseTheNounByte Call Message_ChooseTheNounByte to choose which noun byte to print.
9697 POP IY Restore IY from the stack.
9699 RET Return.
View the equivalent code in;
Prev: 965B Up: Map Next: 969A