Routines |
Prev: 37906 | Up: Map | Next: 38003 |
Used by the routine at CheckPair.
|
||||
37959 | CALL Handler_HighCard | Call Handler_HighCard. | ||
37962 | PUSH HL | Stash HL on the stack. | ||
37963 | CALL CalculateCard | Call CalculateCard. | ||
37966 | INC A | Increment A by one. | ||
37967 | LD (38044),A | Write A to *TableHandEvaluation_BaseCard. | ||
37970 | CALL CalculateSuit | Call CalculateSuit. | ||
37973 | LD (38045),A | Write A to *TableHandEvaluation_BaseCardSuit. | ||
37976 | POP HL | Restore HL from the stack. | ||
Record this hand "type".
|
||||
37977 | LD A,1 | Write "High Card" to *TableHandEvaluation_Type. | ||
37979 | LD (38043),A | |||
37982 | LD B,4 | B=4. | ||
37984 | LD DE,38046 | DE=TableHandEvaluation_HighCard_1. | ||
37987 | CALL Handler_HighCard_Loop | Call Handler_HighCard_Loop. | ||
37990 | PUSH HL | Stash HL and DE on the stack. | ||
37991 | PUSH DE | |||
37992 | CALL CalculateCard | Call CalculateCard. | ||
37995 | POP DE | Restore DE and HL from the stack. | ||
37996 | POP HL | |||
37997 | INC A | Increment A by one. | ||
37998 | LD (DE),A | Write A to *DE. | ||
37999 | INC DE | Increment DE by one. | ||
38000 | DJNZ 37987 | Decrease counter by one and loop back to 37987 until counter is zero. | ||
38002 | RET | Return. |
Prev: 37906 | Up: Map | Next: 38003 |