![]() |
Routines |
| Prev: 9506 | Up: Map | Next: 9516 |
|
Used by the routine at 9447.
|
||||
|
Starting with the ace, work backwards until we find the highest value card in the current hand.
|
||||
| Handler_HighCard | 950D | LD HL,$954C | HL=Table_CardDuplicates_Ace (e.g. the end of Table_CardDuplicates). | |
|
This entry point is used by the routine at 9447.
|
||||
| Handler_HighCard_Loop | 9510 | LD A,(HL) | Fetch the duplicate count for the current card. | |
| 9511 | DEC HL | Decrease the duplicates table pointer by one. | ||
| 9512 | OR A | Keep jumping back to Handler_HighCard_Loop until the duplicate count shows this card is present in the hand. | ||
| 9513 | JR Z,Handler_HighCard_Loop | |||
| 9515 | RET | Return. | ||
| Prev: 9506 | Up: Map | Next: 9516 |