![]() |
Routines |
| Prev: 44325 | Up: Map | Next: 44355 |
|
Used by the routine at Action_AddToScore.
Adds A to the BCD score at Score.
|
||||||||
|
Add the points in A to the BCD score at Score.
|
||||||||
| AddToScore | 44340 | PUSH HL | Add the points in A to the BCD score at Score. | |||||
| 44341 | LD HL,(41223) | |||||||
| 44344 | ADD A,L | |||||||
| 44345 | DAA | |||||||
| 44346 | LD L,A | |||||||
| 44347 | JR NC,AddToScore_0 | |||||||
| 44349 | INC H | |||||||
| AddToScore_0 | 44350 | LD (41223),HL | ||||||
| 44353 | POP HL | Restore HL from the stack. | ||||||
| 44354 | RET | Return. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 44325 | Up: Map | Next: 44355 |