Prev: 38491 Up: Map Next: 38554
38534: 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 38534 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 38537 LD DE,2 The location name starts 2 bytes into the record.
38540 PUSH IY Point IY at the name, 2 bytes into the record.
38542 PUSH IX
38544 POP IY
38546 ADD IY,DE
38548 CALL Message_ChooseTheNounByte Call Message_ChooseTheNounByte to choose which noun byte to print.
38551 POP IY Restore IY from the stack.
38553 RET Return.
View the equivalent code in;
Prev: 38491 Up: Map Next: 38554