![]() |
Routines |
| Prev: A164 | Up: Map | Next: A18C |
|
Used by the routines at Action_CarryOnWithTheObject, Action_LeaveIfTheWayIsOpen, Action_Shoot, ActionOpenOrClose, Action_Close, Action_Attack, Action_UseTheOtherObject, Action_Examine, Action_Lock, Action_Unlock, ActionClimbOut and EventContainersAndScripts.
Reads the name token from this object's record and prints "is" with that name.
|
||||
| Message_NameFromThisRecord | A16C | LD L,(IX+$08) | Read the name token from the object record. | |
| A16F | LD H,(IX+$09) | Read the name token's high byte from the object record. | ||
|
This entry point is used by the routine at Message_NameFromTheOtherRecord.
|
||||
| Message_NameFromThisRecord_ChooseTheNameTable | A172 | PUSH DE | Point HL at the name table used when bit 7 is clear. | |
| A173 | PUSH HL | |||
| A174 | LD HL,$A224 | |||
| A177 | BIT 7,A | Jump to Message_NameFromThisRecord_DescribeTheDirection if bit 7 of A is clear. | ||
| A179 | JR Z,Message_NameFromThisRecord_DescribeTheDirection | |||
| A17B | LD HL,$A234 | Point HL at the name table used when bit 7 is set. | ||
| Message_NameFromThisRecord_DescribeTheDirection | A17E | CALL ExitsTheDirectionWord_0 | Call ExitsTheDirectionWord_0 to describe the direction word. | |
| A181 | POP HL | Point at the message "[0x04] is[0x01][0x15]". | ||
| A182 | PUSH DE | |||
| A183 | PUSH HL | |||
| A184 | LD HL,$AFBB | |||
| A187 | CALL PrintMessage | Call PrintMessage to print message. | ||
| A18A | POP DE | Restore DE from the stack. | ||
| A18B | RET | Return. | ||
| Prev: A164 | Up: Map | Next: A18C |