Prev: C538 Up: Map Next: C55F
C554: Check Overlap With Next Object
Used by the routine at UpdateThrownItem.
Checks whether the object at IX overlaps the object that is four places further along the object table.
Input
IX Object
Output
F The carry flag is set if the objects overlap
CheckOverlapWithNextObject C554 PUSH IX Point IY at the same object (using the stack).
C556 POP IY
C558 LD DE,$0040 Move IY on by four objects.
C55B ADD IY,DE
C55D JR CheckObjectsOverlap Jump to CheckObjectsOverlap to check whether they overlap.
Prev: C538 Up: Map Next: C55F