![]() |
Routines |
| Prev: 9341 | Up: Map | Next: 936E |
|
Used by the routine at CheckStraightFlush.
|
||||
|
Check if there is a four-of-a-kind.
|
||||
| CheckFourOfAKind | 9359 | CALL Handler_FourOfAKind | Call Handler_FourOfAKind. | |
| 935C | JR NZ,CheckFullHouse | Jump to CheckFullHouse if there are no four-of-a-kind matches. | ||
|
There is a four-of-a-kind! Process it.
|
||||
| 935E | CALL CalculateCard | Call CalculateCard. | ||
| 9361 | LD ($949C),A | Write A to *TableHandEvaluation_BaseCard. | ||
|
Record this hand "type".
|
||||
| 9364 | LD A,$08 | Write "Four-Of-A-Kind" to *TableHandEvaluation_Type. | ||
| 9366 | LD ($949B),A | |||
| 9369 | XOR A | Write 00 to *TableHandEvaluation_BaseCardSuit. | ||
| 936A | LD ($949D),A | |||
| 936D | RET | Return. | ||
| Prev: 9341 | Up: Map | Next: 936E |