Prev: 37959 Up: Map Next: 38011
38003: Calculate Card
Input
HL Pointer to a card count in Table_CardDuplicates
Output
A The card ID that the card count refers to
CalculateCard 38003 LD DE,38208 DE=Table_CardDuplicates.
38006 XOR A Reset flags.
38007 SBC HL,DE HL-=DE (with carry).
38009 LD A,L A=L.
38010 RET Return.
Prev: 37959 Up: Map Next: 38011