![]() |
Routines |
| Prev: CE89 | Up: Map | Next: CEC4 |
|
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 | CEBB | LD (IX+$00),$0C | Turn the object that touched the player into a burst. | |||||
|
See Infinite Health.
|
||||||||
| CEBF | LD HL,$BBF3 | Take one point of health from the player, and return if there is some left. | ||||||
| CEC2 | DEC (HL) | |||||||
| CEC3 | RET NZ | |||||||
|
Continue on to KillPlayer.
|
||||||||
| Prev: CE89 | Up: Map | Next: CEC4 |