Prev: C28B Up: Map Next: C29A
C291: Set Deadly Flags
Flags an object as one that harms the player, both when it hits something that is not moving and when something moves into it.
Input
IX Record of the object
SetDeadlyFlags C291 LD A,(IX+$0D) Fetch the hit flags of the object.
C294 OR %10100000 Set bits 5 and 7, which are the ones that harm anything that touches the object.
C296 LD (IX+$0D),A Set them in the object.
C299 RET Return.
View the equivalent code in;
Prev: C28B Up: Map Next: C29A