Prev: 9C6A Up: Map Next: 9C85
9C77: Execute Character Action
Used by the routine at Game_Initialisation.
Runs the action looked up for this character and then returns at once when that character has no action.
Input
IY Character timetable pointer
ExecuteCharacterAction 9C77 CALL Handler_FindCharacterAction Return if Handler_FindCharacterAction finds no character action.
9C7A RET Z
9C7B LD L,(IX+$01) Read the action handler for this character.
9C7E LD H,(IX+$02)
9C81 LD A,L See whether the pointer is empty.
9C82 OR H
9C83 RET Z Return if the action handler address is empty.
9C84 JP (HL) Jump to the action handler.
Prev: 9C6A Up: Map Next: 9C85