Prev: 9447 Up: Map Next: 947B
9473: Calculate Card
Input
HL Pointer to a card count in Table_CardDuplicates
Output
A The card ID that the card count refers to
CalculateCard 9473 LD DE,$9540 DE=Table_CardDuplicates.
9476 XOR A Reset flags.
9477 SBC HL,DE HL-=DE (with carry).
9479 LD A,L A=L.
947A RET Return.
Prev: 9447 Up: Map Next: 947B