Prev: B385 Up: Map Next: B3A3
B390: 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 B390 LD A,($5E6C) Return if PlayerInactive is not zero.
B393 AND A
B394 RET NZ
B395 DEC (IX+$05) Decrease *IX+05 by one.
B398 RET NZ Return if the result is above zero.
B399 JP LoseLife Jump to LoseLife.
Same death countdown for type 85, without the PlayerInactive test.
CountDeathTimer_Unconditional B39C DEC (IX+$05) Decrease *IX+05 by one.
B39F RET NZ Return if the result is above zero.
B3A0 JP LoseLife Jump to LoseLife.
Prev: B385 Up: Map Next: B3A3