| The Hobbit (v1.0) | Routines |
| Prev: A0DE | Up: Map | Next: A100 |
|
Returns with Z set if the object at IX is a living thing (bit 6 of its flags set) and not dead (bit 3 clear). Used by SHOOT (8FE0).
|
||||
| A0F8 | LD A,(IX+$07) | A = the object's own flags | ||
| A0FB | AND $48 | Keep just "alive" and "dead" | ||
| A0FD | CP $40 | Alive and not dead? | ||
| A0FF | RET | Z reflects the answer | ||
| Prev: A0DE | Up: Map | Next: A100 |