Prev: 9291 Up: Map Next: 92E0
92D8: 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 92D8 LD A,($5E1F) Fetch the pickup flags from PickupFlags.
92DB AND %11111101 Reset bit 1.
92DD LD ($5E1F),A Update the pickup flags in PickupFlags.
Prev: 9291 Up: Map Next: 92E0