Prev: 29291 Up: Map Next: 29375
29356: Room drawing: Point bitmap virtual cursor and terrain interaction cursor to coordinates x=C, y=B
Used by the routine at 27865.
Input
B y-coordinate (characters)
C x-coordinate (characters)
29356 CALL 29441 Read two bytes AFTER HL position into BC, advancing HL before both reads
29359 PUSH HL Store HL
29360 PUSH BC Store BC
29361 CALL 36551 Move virtual bitmap cursor to display file address for coordinates x=C, y=B
29364 POP BC Restore BC
29365 CALL 36586 Point HL at terrain interaction data for character coordinates x=C, y=B
29368 LD (23481),HL ...and store this pointed-to location
29371 POP HL Restore HL
29372 JP 28060 Return to room drawing routine and process next data
Prev: 29291 Up: Map Next: 29375