Prev: 36419 Up: Map Next: 36441
36420: Check Showdown
Used by the routine at PlayGame.
CheckShowdown 36420 LD A,(36441) Increment *InteractionCounter by one.
36423 INC A
36424 LD (36441),A
36427 SRL A Divide InteractionCounter by two.
36429 RET C Return if *InteractionCounter doesn't divide exactly by two (e.g. return if the number is odd).
Both the girl and the player had a "turn" so update the counter.
36430 LD (38584),A Write A to *TurnCounter.
36433 CP 4 Have there been 4 turns yet?
36435 POP HL Restore HL from the stack.
36436 CALL Z,Handler_Showdown Call Handler_Showdown if there have been 4 turns.
36439 PUSH HL Stash HL on the stack.
36440 RET Return.
Prev: 36419 Up: Map Next: 36441