![]() |
Routines |
| Prev: 58745 | Up: Map | Next: 58781 |
|
Used by the routines at StartGame, DrawMonsterIcons, PlayNote, DrawWallStrip, ThrowItem and FlipSprite.
Adds an unsigned number to HL.
|
||||||||||||||
| AddAToHL | 58774 | ADD A,L | Add A to L. | |||||||||||
| 58775 | LD L,A | Copy it to L. | ||||||||||||
| 58776 | LD A,H | Fetch H. | ||||||||||||
| 58777 | ADC A,0 | Add 0 with carry. | ||||||||||||
| 58779 | LD H,A | Copy it to H. | ||||||||||||
| 58780 | RET | Return. | ||||||||||||
|
View the equivalent code in;
|
||||||||||||||
| Prev: 58745 | Up: Map | Next: 58781 |