Prev: 40042 Up: Map Next: 40069
40055: Execute Character Action
Used by the routine at GameEntryPoint.
Input
IY Character timetable pointer
ExecuteCharacterAction 40055 CALL Handler_FindCharacterAction Call Handler_FindCharacterAction.
40058 RET Z Return if no action was found (the termination character was returned 255).
40059 LD L,(IX+1) Fetch the action handler address and store it in HL.
40062 LD H,(IX+2)
40065 LD A,L Return if the action handler address is empty.
40066 OR H
40067 RET Z
40068 JP (HL) Jump to the action handler.
Prev: 40042 Up: Map Next: 40069