Prev: 7BD0 Up: Map Next: 7BF2
7BE4: Drop item, interior
Used by the routine at drop_item_tail.
Input
HL Pointer to itemstruct.room.
drop_item_interior 7BE4 INC HL Point to itemstruct.x
7BE5 LD DE,$800F Point DE at the hero's map position.x
7BE8 LD A,(DE) Fetch x
7BE9 LD (HL),A Store x in itemstruct.x
7BEA INC HL Point to itemstruct.y
7BEB INC E Point DE at the hero's map position.y
7BEC INC E
7BED LD A,(DE) Fetch y
7BEE LD (HL),A Store y in itemstruct.y
7BEF INC HL Point HL at itemstruct.height
7BF0 LD (HL),$05 Set height to five
FALL THROUGH into calc_interior_item_iso_pos.
Prev: 7BD0 Up: Map Next: 7BF2