![]() |
Routines |
| Prev: CFD1 | Up: Map | Next: CFF0 |
|
Index 13 of depth_order_tbl: the boxes overlap on all three axes. Order does not come into it. If either is one of the seven collectable objects (types 96 to 102), that object is turned into type 187, whose handler at upd_185_187 removes it from the list of special objects for good and makes it vanish. The candidate is checked first; only one of the pair is changed.
|
||||
| objs_coincide | CFE1 | LD A,(IX+$00) | candidate a collectable? | |
| CFE4 | SUB $60 | |||
| CFE6 | CP $07 | |||
| CFE8 | JR NC,check_iy_collectable | |||
| CFEA | LD (IX+$00),$BB | yes: destroy it | ||
| CFEE | JR coincide_done | |||
| Prev: CFD1 | Up: Map | Next: CFF0 |