Prev: 54768 Up: Map Next: 54890
54878: Check entity at IX for collision with another entity (only those defined before, and in reverse order) at same depth level whose interaction-(11,7) flag is set
Used by the routine at 52315.
Input
IX Address of complex state data for an entity
Output
F Carry flag set if no entity found, reset otherwise
A Class of entity, if found, otherwise 254
IY Address of complex state data for colliding entity
54878 LD C,0 Set depth offset to 0 (i.e. check entities at same depth)
54880 PUSH IX Load IY with address in IX...
54882 POP IY ...
54884 LD DE,65523 Load DE with -13
54887 JP 54987 Move IY back to previous entity in complex state data and jump into collision check routine
Prev: 54768 Up: Map Next: 54890