![]() |
Routines |
| Prev: 24625 | Up: Map | Next: 24667 |
|
||||||||
| AddPointsToScore | 24646 | LD HL,24142 | HL=Score_3. | |||||
| 24649 | LD A,(HL) | A=score byte #3. | ||||||
| 24650 | ADD A,C | Add C to score byte #3 with BCD conversion. | ||||||
| 24651 | DAA | |||||||
| 24652 | LD (HL),A | Update score byte #3. | ||||||
| 24653 | DEC HL | Move onto the next score byte. | ||||||
| 24654 | LD A,(HL) | A=score byte #2. | ||||||
| 24655 | ADC A,B | Add (with carry) B to score byte #2 with BCD conversion. | ||||||
| 24656 | DAA | |||||||
| 24657 | LD (HL),A | Update score byte #2. | ||||||
| 24658 | DEC HL | Move onto the next score byte. | ||||||
| 24659 | LD A,(HL) | A=score byte #1. | ||||||
| 24660 | ADC A,0 | Add 0 (i.e. just the carry flag) to score byte #1 with BCD conversion. | ||||||
| 24662 | DAA | |||||||
| 24663 | LD (HL),A | Update score byte #1. | ||||||
| 24664 | JP Score_Player | Jump to Score_Player. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 24625 | Up: Map | Next: 24667 |