Prev: 58209 Up: Map Next: 58306
58276: Lose A Life
This entry point is used by the routines at InitialiseGame, Handler_Animals, Handler_Player and Handler_Pirates.
LoseLife 58276 LD A,1 Write 1 to *65531.
58278 LD (65531),A
58281 POP BC Restore BC from the stack.
58282 LD HL,100 HL=0100.
58285 LD DE,200 DE=0200.
58288 CALL 949 Call BEEPER.
58291 LD A,(23537) Decrease *PlayerLives by one.
58294 DEC A
58295 LD (23537),A
58298 CP 255 Call 60815 is *PlayerLives is equal to 255.
58300 CALL Z,60815
58303 JP SetFirstRoom Jump to SetFirstRoom.
Prev: 58209 Up: Map Next: 58306