![]() |
Routines |
| Prev: A18C | Up: Map | Next: A1D0 |
|
Used by the routine at Action_Shoot.
Returns with the zero flag set when the object is an animal (bit 6) and not broken (bit 3).
|
||||
| Condition_AnimalAndNotBroken | A1C8 | LD A,(IX+$07) | Read the attribute flags from the object record. | |
| A1CB | AND $48 | Keep the animal bit and the broken bit. | ||
| A1CD | CP $40 | Compare with 40: animal set, broken clear. | ||
| A1CF | RET | Return. | ||
| Prev: A18C | Up: Map | Next: A1D0 |