Prev: 45957 Up: Map Next: 45987
45968: Count Death Timer
Tick the actor's death countdown and lose a life when it reaches zero.
Input
IX Actor slot
Tick the death countdown and lose a life when it expires.
CountDeathTimer 45968 LD A,(24172) Return if PlayerInactive is not zero.
45971 AND A
45972 RET NZ
45973 DEC (IX+5) Decrease *IX+5 by one.
45976 RET NZ Return if the result is above zero.
45977 JP LoseLife Jump to LoseLife.
Same death countdown for type 133, without the PlayerInactive test.
CountDeathTimer_Unconditional 45980 DEC (IX+5) Decrease *IX+5 by one.
45983 RET NZ Return if the result is above zero.
45984 JP LoseLife Jump to LoseLife.
Prev: 45957 Up: Map Next: 45987