Prev: 50522 Up: Map Next: 50545
50528: Record The Result In The Room Graphics
Used by the routine at ProcessDisplayAction.
Counts from 255 and stores each step in the room graphics parameter until the count runs out.
RecordResultRoomGraphics_CountCountRemaining 50528 LD B,255 Start the count at 255 so the first step is 0.
RecordResultRoomGraphics_TestCountHasReached 50530 INC B Jump to RecordResultRoomGraphics_Return if the count has reached zero.
50531 CALL CheckDisplayParameter
50534 JR Z,RecordResultRoomGraphics_Return
50536 LD (41013),A Store the room graphics parameter and call ProcessObjectDisplayLogic.
50539 CALL ProcessObjectDisplayLogic
50542 JR Z,RecordResultRoomGraphics_TestCountHasReached Jump back to RecordResultRoomGraphics_TestCountHasReached while the object has nothing to display.
RecordResultRoomGraphics_Return 50544 RET Return.
Prev: 50522 Up: Map Next: 50545