![]() |
Routines |
| Prev: 8F06 | Up: Map | Next: 8F3B |
|
Used by the routines at PlayGame and Handler_Showdown.
|
||||||||||||||||||
| PlayerWonRound | 8F20 | LD A,($96B4) | Update *PlayerCash as the player has won this round. So, add *PotValue to *PlayerCash and write the result back to *PlayerCash. | |||||||||||||||
| 8F23 | LD B,A | |||||||||||||||||
| 8F24 | LD A,($96B5) | |||||||||||||||||
| 8F27 | ADD A,B | |||||||||||||||||
| 8F28 | LD ($96B5),A | |||||||||||||||||
|
Display a random "You've won" message.
|
||||||||||||||||||
| 8F2B | LD A,$04 | Call Messaging_Girl using message block 04. | ||||||||||||||||
| 8F2D | CALL Messaging_Girl | |||||||||||||||||
|
Check if this is round over or game over for the girl.
|
||||||||||||||||||
| 8F30 | LD A,($96B6) | Call GirlLostRound if *GirlCash is lower than 0A. | ||||||||||||||||
| 8F33 | CP $0A | |||||||||||||||||
| 8F35 | LD A,$00 | |||||||||||||||||
| 8F37 | CALL C,GirlLostRound | |||||||||||||||||
| 8F3A | RET | Return with A=00. | ||||||||||||||||
| Prev: 8F06 | Up: Map | Next: 8F3B |