quill | Routines |
Prev: 25518 | Up: Map | Next: 25640 |
Used by the routine at NOUN_CHECK.
|
||||
PROCESS_RESPONSE_TABLE | 25592 | LD HL,(27543) | HL = address of Response table | |
25595 | SET 3,(IY+8) | Processing response table flag set | ||
25599 | RES 4,(IY+8) | Processing not finished yet | ||
This entry point is used by the routines at PROCESS_STATUS, PROCESS_ENTRY_MATCH, COND_AT, PROCESS_ACTIONS_0 and PRINT_MSG_DONE.
|
||||
PROCESS_RESPONSE_ENTRY | 25603 | XOR A | A=0 | |
25604 | CP (HL) | Is current process table entry 0? | ||
25605 | JR NZ,PROCESS_ENTRY_MATCH | If not, check if entry matches words entered | ||
25607 | BIT 3,(IY+8) | Are we looking at response table? | ||
25611 | JP Z,START_TURN | If so, now start a new turn | ||
25614 | BIT 4,(IY+8) | Should we stop processing table entries? | ||
25618 | JP NZ,PROCESS_STATUS | If not, process status table again | ||
25621 | LD HL,7 | "Can't go in that direction" | ||
25624 | LD A,(23329) | A=id of current verb | ||
25627 | CP 13 | Is it less than 13? | ||
25629 | JR C,PROCESS_RESPONSE_TABLE_0 | Display "can't go in that direction" message | ||
25631 | LD HL,8 | "I can't" message | ||
PROCESS_RESPONSE_TABLE_0 | 25634 | CALL PRINT_SYSMSG_NEWLINE | Print system message | |
25637 | JP PROCESS_STATUS | Process status table again |
Prev: 25518 | Up: Map | Next: 25640 |