![]() |
Routines |
| Prev: 52873 | Up: Map | Next: 52932 |
|
Used by the routines at UpdateGhost and UpdateCreature.
Turns the object that has touched the player into a burst, and takes one point of health from the player. When the player has no health left, the player dies.
|
||||||||
| HurtPlayer | 52923 | LD (IX+0),12 | Turn the object that touched the player into a burst. | |||||
|
See Infinite Health.
|
||||||||
| 52927 | LD HL,48115 | Take one point of health from the player, and return if there is some left. | ||||||
| 52930 | DEC (HL) | |||||||
| 52931 | RET NZ | |||||||
|
Continue on to KillPlayer.
|
||||||||
| Prev: 52873 | Up: Map | Next: 52932 |