diff options
author | YamaArashi <shadow962@live.com> | 2015-08-07 04:24:06 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-08-07 04:24:06 -0700 |
commit | 525f1b96f390a7b7625574405cad56277f200ef3 (patch) | |
tree | a715da91e46ebd5ba8a2e5eb808f49cf7ff854a2 /home.asm | |
parent | 8d30191707758a36b513c4368b9fdb7705730865 (diff) |
named CountSetBits output variable
Diffstat (limited to 'home.asm')
-rw-r--r-- | home.asm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1292,7 +1292,7 @@ INCLUDE "engine/menu/start_menu.asm" ; hl = address of string of bytes ; b = length of string of bytes ; OUTPUT: -; [wd11e] = number of set bits +; [wNumSetBits] = number of set bits CountSetBits:: ; 2b7f (0:2b7f) ld c,0 .loop @@ -1309,7 +1309,7 @@ CountSetBits:: ; 2b7f (0:2b7f) dec b jr nz,.loop ld a,c - ld [wd11e],a ; store number of set bits + ld [wNumSetBits],a ret ; subtracts the amount the player paid from their money |