Prev: 25556 Up: Map Next: 25574
25559: Print Object Name
Used by the routines at DescribeLocation and ListCarried.
Prints object text A from ObjectText, the phrases used when a location lists what is here.
PrintObjectName 25559 PUSH AF Stash the registers the printer will use.
25560 PUSH HL
25561 PUSH BC
25562 PUSH DE
25563 LD (23439),A Write it to *MessageNumber.
25566 LD HL,36070 Point HL at ObjectText.
25569 CALL PrintMessage Call PrintMessage.
25572 JR PrintCharacter_Done Jump to PrintCharacter_Done to restore the registers and return.
Prev: 25556 Up: Map Next: 25574