![]() |
Routines |
| Prev: B856 | Up: Map | Next: B865 |
|
Sets bits 7 and 5 of +13. The collision code (adj_for_out_of_bounds) passes bit 7 of a moving object on to whatever it runs into, and bit 5 of an object on to whatever runs into it, as bit 6 -- the "has touched something deadly" flag the player's handler checks. With both set, it does not matter who moved.
|
||||
| set_both_deadly_flags | B85C | LD A,(IX+$0D) | +13 OR $A0 | |
| B85F | OR $A0 | |||
| B861 | LD (IX+$0D),A | |||
| B864 | RET | |||
| Prev: B856 | Up: Map | Next: B865 |