Prev: B856 Up: Map Next: B865
B85C: Set Deadly Flags
Makes an object deadly, so that the player dies if it touches the object or if the object touches the player.
Input
IX Address of the object
SetDeadlyFlags B85C LD A,(IX+$0D) Fetch the flags that go with the object.
B85F OR %10100000 Set the bits that make the object fatal for the player to hit and for it to hit the player.
B861 LD (IX+$0D),A Store the flags.
B864 RET Return.
View the equivalent code in;
Prev: B856 Up: Map Next: B865