Prev: 8751 Up: Map Next: 887D
8866: Draw the nasty's attributes
Used by the routine at 8751.
Input
IX Pointer to nasty data (C596)
8866 LD C,(IX+$09) Get the attribute.
8869 LD H,(IX+$0D) Get the current co-ordinates.
886C LD L,(IX+$0C)
This entry point is used by the routine in 8751.
886F LD A,L Convert the X co-ordinate into an appropriate screen address.
8870 CP L
8871 AND H
8872 AND $07
8874 JP Z,$FBED Draw the attribute, restoring the old background.
8877 LD A,(IX+$0B) Otherwise get the attribute and just draw it.
887A JP $FBC6
Prev: 8751 Up: Map Next: 887D