![]() |
Routines |
| Prev: 42384 | Up: Map | Next: 42542 |
|
Used by the routine at GameEntryPoint.
|
||||
|
Fetch the active player.
|
||||
| Handler_TimeOut | 42525 | LD HL,(43902) | HL=*ActivePlayer. | |
|
Action, decrease the active players lives by one.
See Infinite Lives.
|
||||
| 42528 | DEC (HL) | Decrease *HL by one. | ||
|
Is the player out of lives?
|
||||
| 42529 | LD A,(HL) | A=*HL. | ||
|
This is why 43389 can't be altered on its own to set higher staring lives.
|
||||
| 42530 | AND %00000011 | Keep only bits 0-1. | ||
| 42532 | JR Z,Handler_Fired | Jump to Handler_Fired if is zero. | ||
| 42534 | CALL Print_YoureFired | Call Print_YoureFired. | ||
| 42537 | CALL PressAnyKey | Call PressAnyKey. | ||
| 42540 | JR SwitchPlayers | Jump to SwitchPlayers. | ||
| Prev: 42384 | Up: Map | Next: 42542 |