Prev: 9B16 Up: Map Next: 9B81
9B6C: Execute Action.
Used by the routines at Action_Dir, Action_Examine, 96B3 and 9F4A.
Input
HL Pointer to the action code
TriggerAction 9B6C PUSH IX Stash IX, IY, DE, BC and HL on the stack.
9B6E PUSH IY
9B70 PUSH DE
9B71 PUSH BC
9B72 PUSH HL
9B73 LD A,L Call TriggerAction_Jump if HL is not empty (i.e. $0000).
9B74 OR H
9B75 CALL NZ,TriggerAction_Jump
9B78 POP HL Restore HL, BC, DE, IY and IX from the stack.
9B79 POP BC
9B7A POP DE
9B7B POP IY
9B7D POP IX
9B7F RET Return.
TriggerAction_Jump 9B80 JP (HL) Indirect jump to the address held in HL.
Prev: 9B16 Up: Map Next: 9B81