Prev: 9412 Up: Map Next: 9473
9447: Routine at 9447
Used by the routine at CheckPair.
9447 CALL Handler_HighCard Call Handler_HighCard.
944A PUSH HL Stash HL on the stack.
944B CALL CalculateCard Call CalculateCard.
944E INC A Increment A by one.
944F LD ($949C),A Write A to *TableHandEvaluation_BaseCard.
9452 CALL CalculateSuit Call CalculateSuit.
9455 LD ($949D),A Write A to *TableHandEvaluation_BaseCardSuit.
9458 POP HL Restore HL from the stack.
Record this hand "type".
9459 LD A,$01 Write "High Card" to *TableHandEvaluation_Type.
945B LD ($949B),A
945E LD B,$04 B=04.
9460 LD DE,$949E DE=TableHandEvaluation_HighCard_1.
9463 CALL Handler_HighCard_Loop Call Handler_HighCard_Loop.
9466 PUSH HL Stash HL and DE on the stack.
9467 PUSH DE
9468 CALL CalculateCard Call CalculateCard.
946B POP DE Restore DE and HL from the stack.
946C POP HL
946D INC A Increment A by one.
946E LD (DE),A Write A to *DE.
946F INC DE Increment DE by one.
9470 DJNZ $9463 Decrease counter by one and loop back to 9463 until counter is zero.
9472 RET Return.
Prev: 9412 Up: Map Next: 9473