Prev: 87AF Up: Map Next: 87F5
87E7: Start an attacker if one of their records is free
Used by the routine at update_objects.
Fallen into from spawn_tick every eighth pass, and jumped to by update_objects when the load is light. Looks for a free record among the first four (attacker_records) and fills it (start_attacker).
spawn_attacker 87E7 LD A,(attacker_records) A free record among the first four: fill it
87EA LD IX,object_records
87EE CALL find_free_record
87F1 JP Z,start_attacker
87F4 RET
Prev: 87AF Up: Map Next: 87F5