Prev: AAD7 Up: Map Next: ABA4
AB98: Test a box against the collision box
Used by the routines at beam_hits_ship and collect_pickup.
Calls boxes_overlap with IX at collision_box: the hit flag scratch_count is 1 if the box given in HL and DE touches it.
Input
L x
H y of the bottom row
D Width in pixels
E Height in rows
test_collision_box AB98 PUSH IX
AB9A LD IX,collision_box
AB9E CALL boxes_overlap
ABA1 POP IX
ABA3 RET
Prev: AAD7 Up: Map Next: ABA4