Routines |
Prev: 37574 | Up: Map | Next: 37697 |
Used by the routine at CountSuits.
|
||||
Clear down the evaluation table.
|
||||
CalculateHand | 37687 | LD HL,38043 | HL=TableHandEvaluation_Type. | |
37690 | LD B,7 | Set a counter in B for the 7 evaluation metrics the game utilises. | ||
Reset all the evaluation metrics.
|
||||
ResetEvaluationTable_Loop | 37692 | LD (HL),0 | Write 0 to the evaluation metric. | |
37694 | INC HL | Increment the evaluation metric pointer by one. | ||
37695 | DJNZ ResetEvaluationTable_Loop | Decrease the metrics counter by one and loop back to ResetEvaluationTable_Loop all the evaluation metrics have been reset. | ||
Continue on to CheckStraightFlush.
|
Prev: 37574 | Up: Map | Next: 37697 |