Prev: E361 Up: Map Next: E3C2
E3A4: Lose A Life
This entry point is used by the routines at InitialiseGame, Handler_Animals, Handler_Player and Handler_Pirates.
LoseLife E3A4 LD A,$01 Write 01 to *FFFB.
E3A6 LD ($FFFB),A
E3A9 POP BC Restore BC from the stack.
E3AA LD HL,$0064 HL=0064.
E3AD LD DE,$00C8 DE=00C8.
E3B0 CALL $03B5 Call BEEPER.
E3B3 LD A,($5BF1) Decrease *PlayerLives by one.
E3B6 DEC A
E3B7 LD ($5BF1),A
E3BA CP $FF Call ED8F is *PlayerLives is equal to FF.
E3BC CALL Z,$ED8F
E3BF JP SetFirstRoom Jump to SetFirstRoom.
Prev: E361 Up: Map Next: E3C2