Prev: 52641 Up: Map Next: 52760
52671: Record The Result In The Room Display
Used by the routine at DispatchCharacterScript.
Writes 46 to the saved character and resolves the room display parameters.
52671 LD A,46 Write 46 to the saved character.
52673 LD (41011),A
52676 LD A,(IX+1) Read the moved marker, then call ProcessRoomDisplayParameter to resolve the room display parameter.
52679 CALL ProcessRoomDisplayParameter
52682 LD (41012),A Record the room display parameter.
52685 LD A,(IX+2)
52688 LD (41821),A Store it in the saved object field at 41821.
52691 LD A,(IX+3) Read the action flags, then call ProcessRoomDisplayParameter to resolve the room display parameter.
52694 CALL ProcessRoomDisplayParameter
52697 LD (41822),A Store it in the saved object field at 41822.
52700 LD A,(IX+4) Read the attribute type, then call ProcessRoomDisplayParameter to resolve the room display parameter.
52703 CALL ProcessRoomDisplayParameter
52706 LD (41823),A Store it in the saved object field at 41823.
52709 LD A,8 Take 8 then call AllocateMemory to allocate memory.
52711 CALL AllocateMemory
52714 LD A,(41012) Store the record's flag byte.
52717 LD (IX+0),A
52720 LD (IX+1),255 Mark the object as moved.
52724 LD A,(41821) Store the location.
52727 LD (IX+2),A
52730 LD HL,(41822) Read the saved object fields at 41822.
52733 LD (IX+3),L Store it in the action flags and store it in the attribute type.
52736 LD (IX+4),H
52739 LD HL,(40942) Read the link pointer.
52742 LD (40942),IX Store the low byte of the pointer in the previous display entry.
52746 LD (IX-2),L
52749 LD (IX-1),H Store the high byte of the pointer in the previous display entry.
52752 LD HL,26666 Take the prompt message, then call PrintTextAndHandleControlCharacters to print the prompt message.
52755 CALL PrintTextAndHandleControlCharacters
52758 JR ContinueScriptExecution Jump ahead to ContinueScriptExecution to resume script execution.
Prev: 52641 Up: Map Next: 52760