![]() |
Routines |
| Prev: 6AD7 | Up: Map | Next: 6B23 |
|
Draws the illustration when the room on screen is not the current one, and remembers the room.
|
||||
| DrawRoomOnce | 6B15 | LD HL,$6185 | Point HL at PictureDrawn. | |
| 6B18 | LD A,($5D87) | Fetch CurrentRoom. | ||
| 6B1B | CP (HL) | Test the room on screen. | ||
| 6B1C | DI | Disable interrupts. | ||
| 6B1D | LD (HL),A | Remember this room. | ||
| 6B1E | CALL NZ,DrawIfPictures | Call DrawIfPictures if the room on screen was not this one. | ||
| 6B21 | EI | Allow interrupts again. | ||
| 6B22 | RET | Return. | ||
| Prev: 6AD7 | Up: Map | Next: 6B23 |