![]() |
Routines |
| Prev: 9B44 | Up: Map | Next: 9B80 |
|
Used by the routines at Action_Direction, Turn_RunTheHandlerIfPresent, TurnAdvanceTheOtherCharacters, Turn_StepTheScriptPointer and ActionHandAnObjectOver.
Calls the handler address stored for an action.
|
||||||||
|
Save the registers and call the handler when its address is not zero.
|
||||||||
| TriggerAction | 9B6C | PUSH IX | Save IX, IY, DE, BC and the handler address, and call TriggerAction_Jump when that address is not zero. | |||||
| 9B6E | PUSH IY | |||||||
| 9B70 | PUSH DE | |||||||
| 9B71 | PUSH BC | |||||||
| 9B72 | PUSH HL | |||||||
| 9B73 | LD A,L | |||||||
| 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. | ||||||
| Prev: 9B44 | Up: Map | Next: 9B80 |