Prev: CD95 Up: Map Next: CDBF
CDA1: Show The Room Description
Used by the routine at DispatchCharacterScript.
Resolves the room the command names, prints its description, and resumes the script.
Input
IX Script pointer
ShowRoomDescription CDA1 LD L,(IX+$02) Read the location and read the action flags.
CDA4 LD H,(IX+$03)
CDA7 PUSH HL
CDA8 LD A,(IX+$01) Read the moved marker, then call ProcessRoomDisplayParameter to resolve the room display parameter.
CDAB CALL ProcessRoomDisplayParameter
CDAE LD ($A034),A Record the room display parameter and write 07 to the display mode.
CDB1 LD A,$07
CDB3 LD ($A00F),A
CDB6 LD HL,$6830 Take the message, then call PrintTextAndHandleControlCharacters to print the message.
CDB9 CALL PrintTextAndHandleControlCharacters
CDBC JP ContinueScriptExecution Jump ahead to ContinueScriptExecution to resume script execution.
Prev: CD95 Up: Map Next: CDBF