![]() |
Routines |
| Prev: 36640 | Up: Map | Next: 36698 |
|
Used by the routine at GirlWonRound.
|
||||||||||||||
| PlayerLostRound | 36667 | LD A,(36732) | Jump to LostRound_GameOver if *PlayerLives is zero. | |||||||||||
| 36670 | OR A | |||||||||||||
| 36671 | JR Z,LostRound_GameOver | |||||||||||||
|
The player lost, so lose a life...
|
||||||||||||||
| 36673 | DEC A | Decrease *PlayerLives by one. | ||||||||||||
| 36674 | LD (36732),A | |||||||||||||
|
Replenish the player and girls cash reserves.
|
||||||||||||||
| 36677 | LD HL,25700 | Write 25700 to PlayerCash. | ||||||||||||
| 36680 | LD (38581),HL | |||||||||||||
| 36683 | LD A,8 | A=8 (does nothing, this is immediately overwritten). | ||||||||||||
| 36685 | CALL LifeLost | Call LifeLost. | ||||||||||||
| 36688 | XOR A | Return with A=0. | ||||||||||||
| 36689 | RET | |||||||||||||
|
Display a random "Round lost" message.
|
||||||||||||||
| LostRound_GameOver | 36690 | LD A,14 | Call Messaging_Girl using message block 14. | |||||||||||
| 36692 | CALL Messaging_Girl | |||||||||||||
| 36695 | LD A,1 | Return with A=1. | ||||||||||||
| 36697 | RET | |||||||||||||
| Prev: 36640 | Up: Map | Next: 36698 |