![]() |
Routines |
| Prev: 41316 | Up: Map | Next: 41356 |
|
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 | 41324 | LD L,(IX+8) | Read the name token from the object record. | |
| 41327 | LD H,(IX+9) | 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 | 41330 | PUSH DE | Point HL at the name table used when bit 7 is clear. | |
| 41331 | PUSH HL | |||
| 41332 | LD HL,41508 | |||
| 41335 | BIT 7,A | Jump to Message_NameFromThisRecord_DescribeTheDirection if bit 7 of A is clear. | ||
| 41337 | JR Z,Message_NameFromThisRecord_DescribeTheDirection | |||
| 41339 | LD HL,41524 | Point HL at the name table used when bit 7 is set. | ||
| Message_NameFromThisRecord_DescribeTheDirection | 41342 | CALL ExitsTheDirectionWord_0 | Call ExitsTheDirectionWord_0 to describe the direction word. | |
| 41345 | POP HL | Point at the message "[0x04] is[0x01][0x15]". | ||
| 41346 | PUSH DE | |||
| 41347 | PUSH HL | |||
| 41348 | LD HL,44987 | |||
| 41351 | CALL PrintMessage | Call PrintMessage to print message. | ||
| 41354 | POP DE | Restore DE from the stack. | ||
| 41355 | RET | Return. | ||
| Prev: 41316 | Up: Map | Next: 41356 |