Prev: 43735 Up: Map Next: 43940
43928: Test Box Against Ship
Used by the routines at CheckBeamHit and CheckItemPickup.
Tests the box at CollisionBox against the box in HL and DE.
Input
HL Position of the second box
D Width of the second box
E Height of the second box
Output
$5C1C Non-zero if the boxes overlap
TestBoxAgainstShip 43928 PUSH IX Stash IX on the stack.
43930 LD IX,43940 The collision box.
43934 CALL TestBoxesOverlap Call TestBoxesOverlap.
43937 POP IX Bring IX back off the stack.
43939 RET Return.
Prev: 43735 Up: Map Next: 43940