Prev: 9386 Up: Map Next: 93C9
93B0: Check For Straight
Used by the routine at CheckFlush.
Check if there is a straight.
CheckStraight 93B0 CALL Handler_Straight Call Handler_Straight.
93B3 JR NZ,CheckThreeOfAKind Jump to CheckThreeOfAKind if there are no straights.
There is a straight! Process it.
93B5 DEC HL Decrease HL by one.
93B6 LD A,(HL) A=*HL.
93B7 CALL CalculateCard Call CalculateCard.
93BA LD ($949C),A Write A to *TableHandEvaluation_BaseCard.
93BD CALL CalculateSuit Call CalculateSuit.
93C0 LD ($949D),A Write A to *TableHandEvaluation_BaseCardSuit.
Record this hand "type".
93C3 LD A,$05 Write "Straight" to *TableHandEvaluation_Type.
93C5 LD ($949B),A
93C8 RET Return.
Prev: 9386 Up: Map Next: 93C9