Prev: A050 Up: Map Next: A0AE
A09D: Print how things are placed with this object: "in the", "on the"...
Used by the routines at DO_LOOK and CONTENTS_INTRO.
Picked by the low four bits of byte 4 of its record, from the phrases at MSG_IN_ON_BEHIND_UNDER, four bytes apart: in, on, behind, under, tied to.
Input
IX The object's record
PLACED_WORD A09D LD HL,MSG_IN_ON_BEHIND_UNDER The phrase for its byte 4
A0A0 LD A,(IX+$04)
A0A3 RLCA
A0A4 RLCA
A0A5 AND $3C
A0A7 LD E,A
A0A8 LD D,$00
A0AA ADD HL,DE
A0AB JP RUN_MESSAGE_HL
Prev: A050 Up: Map Next: A0AE