diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-09 00:50:59 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-09 02:15:46 -0500 |
commit | 512863989fb2cb17bcca2f27a61fe3fa8f567b9a (patch) | |
tree | 84ab5a58da5e42fa32bc5eb2779d6a47c54ce71e /home.asm | |
parent | 89b9292db0898f8ad2b6ea8513a3190762eb58c8 (diff) |
Document constants with comments, actual names, and more thorough usage
Diffstat (limited to 'home.asm')
-rw-r--r-- | home.asm | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -718,22 +718,20 @@ SetHPPal:: ; 334e GetHPPal:: ; 3353 ; Get palette for hp bar pixel length e in d. - ld d, HP_GREEN ld a, e cp (50 * 48 / 100) ret nc - inc d ; yellow + inc d ; HP_YELLOW cp (21 * 48 / 100) ret nc - inc d ; red + inc d ; HP_RED ret ; 335f CountSetBits:: ; 0x335f ; Count the number of set bits in b bytes starting from hl. ; Return in a, c and [wd265]. - ld c, 0 .next ld a, [hli] |