Prev: 64227 Up: Map Next: 64294
64245: Draw location graphic, if present
Used by the routines at DESC_LIT_LOC
DRAW_LOCATION 64245 LD HL,(64186)
64248 LD DE,(23331) DE=current location
64252 ADD HL,DE HL=offset in picture lookup table
64253 BIT 7,(HL) Is there a picture to show?
64255 JR Z,DRAW_LOCATION_1 If not, exit Illustrator routines
64257 BIT 6,(HL) Have we shown this picture already?
64259 JR NZ,DRAW_LOCATION_0
64261 BIT 7,(IX+29) Check 'show picture flag'
64265 JR Z,DRAW_LOCATION_1 If set, exit illustrator routines
DRAW_LOCATION_0 64267 RES 6,(HL) Set picture state to shown
64269 RES 7,(IX+29) Set 'show picture' flag to 0
64273 PUSH IX
64275 CALL CLEAR_SCREEN Clear screen
64278 CALL DRAW_PICTURE Draw picture
64281 CALL PIC_WAIT_FOR_KEY Wait for keypress and clear picture
64284 POP IX
This entry point is used by the routine at DRAW_LOCATION.
DRAW_LOCATION_1 64286 RES 7,(IX+29) Set 'show picture' flag to 0
64290 LD HL,(27549) HL=Address of Location table
64293 RET
Prev: 64227 Up: Map Next: 64294