Prev: 52671 Up: Map Next: 52795
52760: Read The Character's Room
Used by the routine at DispatchCharacterScript.
Copies this character's room display into the saved parameters.
52760 LD A,(IX+1) Read the moved marker, then call ProcessRoomDisplayParameter to resolve the room display parameter.
52763 CALL ProcessRoomDisplayParameter
52766 LD (41011),A Record the saved character.
52769 LD A,(IX+2) Call ProcessRoomDisplayParameter to resolve the room-display parameter.
52772 CALL ProcessRoomDisplayParameter
52775 LD (41012),A Record the room display parameter.
52778 LD A,(IX+3) Read the action flags, then call ProcessRoomDisplayParameter to resolve the room display parameter.
52781 CALL ProcessRoomDisplayParameter
52784 LD (41013),A Store it in the room graphics parameter, then call ProcessDisplayAction to run display action.
52787 CALL ProcessDisplayAction
52790 RET C Return if the display record has bit 7 set, so the script resumes.
52791 JR Z,ProcessScriptCommandWithCounter Go to ProcessScriptCommandWithCounter if the display action matched.
52793 JR ContinueScriptExecution Jump ahead to ContinueScriptExecution to resume script execution.
Prev: 52671 Up: Map Next: 52795