Prev: 7AF5 Up: Map Next: 7B78
7B63: Copy the name of object (or, with A set, location) B to DE
Used by the routine at WOULD_WORK.
How a character's action, which comes as object numbers, gets names in TARGET_NAME and INSTRUMENT_NAME like a typed sentence's. $FF copies nothing.
NAME_OF_NUMBER 7B63 INC B
7B64 RET Z
7B65 DEC B
7B66 AND A
7B67 LD A,B
7B68 JR Z,NAME_OF_NUMBER_0
7B6A CALL ROOM_NAME_AT
7B6D JR NAME_OF_NUMBER_1
NAME_OF_NUMBER_0 7B6F CALL OBJECT_NAME_AT
NAME_OF_NUMBER_1 7B72 LD BC,$0006
7B75 LDIR
7B77 RET
Prev: 7AF5 Up: Map Next: 7B78