Prev: 37521 Up: Map Next: 37600
37592: Clear Pickup Flag
Used by the routine at HandlerPickupItem.
Resets bit 1 of PickupFlags, which is set while an item is being picked up, and then sets the colour of the item with SetItemAttributes.
Input
IX The item entity
ClearPickupFlag 37592 LD A,(24095) Fetch the pickup flags from PickupFlags.
37595 AND %11111101 Reset bit 1.
37597 LD (24095),A Update the pickup flags in PickupFlags.
Prev: 37521 Up: Map Next: 37600