![]() |
Routines |
| Prev: 39748 | Up: Map | Next: 39808 |
|
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 | 39788 | PUSH IX | Save IX, IY, DE, BC and the handler address, and call TriggerAction_Jump when that address is not zero. | |||||
| 39790 | PUSH IY | |||||||
| 39792 | PUSH DE | |||||||
| 39793 | PUSH BC | |||||||
| 39794 | PUSH HL | |||||||
| 39795 | LD A,L | |||||||
| 39796 | OR H | |||||||
| 39797 | CALL NZ,TriggerAction_Jump | |||||||
| 39800 | POP HL | Restore HL, BC, DE, IY and IX from the stack. | ||||||
| 39801 | POP BC | |||||||
| 39802 | POP DE | |||||||
| 39803 | POP IY | |||||||
| 39805 | POP IX | |||||||
| 39807 | RET | Return. | ||||||
| Prev: 39748 | Up: Map | Next: 39808 |