diff options
| author | yenatch <yenatch@gmail.com> | 2017-12-10 01:47:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-10 01:47:10 -0500 |
| commit | 94c7def4883fbdbcd3987a067443a2069b8bb610 (patch) | |
| tree | 171c67509afba62571266bd6bebbfdb829d2a876 /predef | |
| parent | 89b9292db0898f8ad2b6ea8513a3190762eb58c8 (diff) | |
| parent | d554b997c590825f030bd1be71989653b16a2ae0 (diff) | |
Merge pull request #409 from roukaour/master
Document constants with comments, actual names, and more thorough usage
Diffstat (limited to 'predef')
| -rw-r--r-- | predef/cgb.asm | 2 | ||||
| -rw-r--r-- | predef/sgb.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/predef/cgb.asm b/predef/cgb.asm index 5ac243963..af762221e 100644 --- a/predef/cgb.asm +++ b/predef/cgb.asm @@ -204,7 +204,7 @@ _CGB_PokegearPals: ; 8eb9 _CGB_StatsScreenHPPals: ; 8edb ld de, UnknBGPals - ld a, [wcda1] + ld a, [wCurHPPal] ld l, a ld h, $0 add hl, hl diff --git a/predef/sgb.asm b/predef/sgb.asm index 1d8184cc2..545a8d4e8 100644 --- a/predef/sgb.asm +++ b/predef/sgb.asm @@ -168,7 +168,7 @@ Predef_LoadSGBLayout: ; 864c ld de, wSGBPals ld bc, $10 call CopyBytes - ld a, [wcda1] + ld a, [wCurHPPal] ld l, a ld h, 0 add hl, hl |
