Prev: C141 Up: Map Next: C17A
C172: Can this special object be picked up?
Used by the routine at try_pickup_loop.
Only types $60 to $66, the seven kinds of charm, and only when the player (IX) is on or beside it. $67, the extra life, is not picked up but collected by touching (upd_103).
Input
IY the object
F on exit, carry set if it can
can_pickup_spec_obj C172 LD A,(IY+$00)
C175 SUB $60
C177 CP $07
C179 RET NC
Prev: C141 Up: Map Next: C17A