Prev: 37374 Up: Map Next: 37410
37395: Draw Item Graphic
Used by the routines at DrawChicken, HandlerDoorClosed and HandlerTrapOpen.
Draws the graphic of an entity at its position, using DrawGraphic.
Input
IX The entity
DrawItemGraphic 37395 LD E,(IX+3) Fetch the X position of the entity.
37398 LD D,(IX+4) Fetch the Y position of the entity.
37401 LD C,(IX+0) Fetch the graphic of the entity.
37404 LD B,(IX+5) Fetch the attribute of the entity.
37407 JP DrawGraphic Jump to DrawGraphic to draw the graphic.
Prev: 37374 Up: Map Next: 37410