Prev: 36614 Up: Map Next: 36667
36640: Player Won Round
Used by the routines at PlayGame and Handler_Showdown.
PlayerWonRound 36640 LD A,(38580) Update *PlayerCash as the player has won this round. So, add *PotValue to *PlayerCash and write the result back to *PlayerCash.
36643 LD B,A
36644 LD A,(38581)
36647 ADD A,B
36648 LD (38581),A
Display a random "You've won" message.
ID Message ID Message
1 message-04-00 2 message-04-01
3 message-04-02 4 message-04-03
5 message-04-04
36651 LD A,4 Call Messaging_Girl using message block 4.
36653 CALL Messaging_Girl
Check if this is round over or game over for the girl.
36656 LD A,(38582) Call GirlLostRound if *GirlCash is lower than 10.
36659 CP 10
36661 LD A,0
36663 CALL C,GirlLostRound
36666 RET Return with A=0.
Prev: 36614 Up: Map Next: 36667