![]() |
Routines |
| Prev: C28B | Up: Map | Next: C29A |
|
Used by the routines at RunDangerousFixed, RunDangerousMarked, RunHarmfulFallingObject, RunHarmfulBobbingBlock, RunHarmfulSliderX, RunHarmfulSliderY, RunWanderingSpark, RunWanderer and RunFourFrameWanderer.
Flags an object as one that harms the player, both when it hits something that is not moving and when something moves into it.
|
||||||||
| 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 |