![]() |
Routines |
| Prev: B191 | Up: Map | Next: B308 |
|
Used by the routine at InitialiseDisplayBuffer.
Asks the picture handler whether this object has anything to draw.
|
||||
| ReadRoomGraphicsParameter | B2DF | CALL ReportNextEmptyDisplayStep | Call ReportNextEmptyDisplayStep to report that this display step found nothing. | |
| ReadRoomGraphicsParameter_0 | B2E2 | CALL MatchSecondNoun | Go to ReadRoomGraphicsParameter_RecordRoomGraphics if bit 7 of the display mode flag at B179 is set or the handler returns FF. | |
| B2E5 | JR Z,ReadRoomGraphicsParameter_RecordRoomGraphics | |||
| B2E7 | CALL ProcessObjectDisplayLogic | Jump back to ReadRoomGraphicsParameter_0 while the object has nothing to display. | ||
| B2EA | JR Z,ReadRoomGraphicsParameter_0 | |||
| B2EC | LD A,($A035) | Save the room graphics parameter at B185. | ||
| B2EF | LD ($B185),A | |||
| B2F2 | LD HL,$B171 | Point HL at the pass count at B171. | ||
| B2F5 | INC (HL) | Count one more pass at B171 and jump back to ReadRoomGraphicsParameter_0 if the saved flag at ObjectTablePointer+12 is zero. | ||
| B2F6 | LD A,($B190) | |||
| B2F9 | AND A | |||
| B2FA | JR Z,ReadRoomGraphicsParameter_0 | |||
| ReadRoomGraphicsParameter_RecordRoomGraphics | B2FC | LD A,($B185) | Record the room graphics parameter. | |
| B2FF | LD ($A035),A | |||
| B302 | RET | Return. | ||
|
This entry point is used by the routine at InitialiseDisplayBuffer.
Leave the room-graphics handler at B6AE and return zero.
|
||||
| ReadRoomGraphicsParameter_LeaveRoomGraphics | B303 | LD HL,$B6AE | Leave the room-graphics handler at B6AE. | |
| B306 | XOR A | Clear A. | ||
| B307 | RET | Return. | ||
| Prev: B191 | Up: Map | Next: B308 |