Prev: 50701 Up: Map Next: 50728
50707: Record The Result In The Room Graphics
Used by the routine at ProcessDisplayRecordFromScript.
Counts from zero and stores the room graphics parameter until the graphics limit.
RecordResultRoomGraphics_CountGraphicsSteps 50707 PUSH BC Save BC and start the graphics count at zero.
50708 LD B,0
RecordResultRoomGraphics_TestDisplayParameter 50710 CALL CheckDisplayParameter Go to RecordResultRoomGraphics_Save if the count has reached the graphics limit.
50713 JR Z,RecordResultRoomGraphics_Save
50715 LD (41013),A Store it in the room graphics parameter, then call ProcessObjectDisplayWithPointer to run object display with pointer.
50718 CALL ProcessObjectDisplayWithPointer
50721 JR NZ,RecordResultRoomGraphics_Save Jump ahead to RecordResultRoomGraphics_Save to return if ProcessObjectDisplayWithPointer does not return 0.
50723 INC B Try the next graphics value from RecordResultRoomGraphics_TestDisplayParameter.
50724 JR RecordResultRoomGraphics_TestDisplayParameter
Return.
RecordResultRoomGraphics_Save 50726 POP BC Restore BC from the stack.
50727 RET Return.
Prev: 50701 Up: Map Next: 50728