Routines |
Prev: A185 | Up: Map | Next: A1AE |
Used by the routine at HandlerBatlet.
|
||||||||
AddPointsToScore | A19C | LD HL,$5E2C | HL=Score_3. | |||||
A19F | LD A,(HL) | A=score byte #3. | ||||||
A1A0 | ADD A,C | Add C to score byte #3 with BCD conversion. | ||||||
A1A1 | DAA | |||||||
A1A2 | LD (HL),A | Update score byte #3. | ||||||
A1A3 | DEC HL | Move onto the next score byte. | ||||||
A1A4 | LD A,(HL) | A=score byte #2. | ||||||
A1A5 | ADC A,B | Add (with carry) B to score byte #2 with BCD conversion. | ||||||
A1A6 | DAA | |||||||
A1A7 | LD (HL),A | Update score byte #2. | ||||||
A1A8 | DEC HL | Move onto the next score byte. | ||||||
A1A9 | LD A,(HL) | A=score byte #1. | ||||||
A1AA | ADC A,$00 | Add 00 (i.e. just the carry flag) to score byte #1 with BCD conversion. | ||||||
A1AC | DAA | |||||||
A1AD | LD (HL),A | Update score byte #1. | ||||||
View the equivalent code in;
|
Prev: A185 | Up: Map | Next: A1AE |