diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-08-25 22:23:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-25 22:23:45 -0400 |
commit | 3eacab563d0e1ab5557c2443556a7a5e58d14cad (patch) | |
tree | 3d747166409fdc94f0fd1aa760693a7ee5bd2156 /home/sprite_anims.asm | |
parent | 89681d231611938a791f4256e602c88c2f9aa3e1 (diff) | |
parent | b2adcd6d6ff91efc764a6ecc65147be7b9cda9e8 (diff) |
Merge pull request #555 from Rangi42/ldh
Use real labels for HRAM instead of constants, and the ldh instruction
Diffstat (limited to 'home/sprite_anims.asm')
-rw-r--r-- | home/sprite_anims.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/sprite_anims.asm b/home/sprite_anims.asm index 5f3ef82d2..7f271575e 100644 --- a/home/sprite_anims.asm +++ b/home/sprite_anims.asm @@ -1,5 +1,5 @@ PushLYOverrides:: - ld a, [hLCDCPointer] + ldh a, [hLCDCPointer] and a ret z @@ -19,7 +19,7 @@ PushLYOverrides:: _InitSpriteAnimStruct:: ld [wSpriteAnimIDBuffer], a - ld a, [hROMBank] + ldh a, [hROMBank] push af ld a, BANK(InitSpriteAnimStruct) @@ -35,7 +35,7 @@ _InitSpriteAnimStruct:: ReinitSpriteAnimFrame:: ld [wSpriteAnimIDBuffer], a - ld a, [hROMBank] + ldh a, [hROMBank] push af ld a, BANK(_ReinitSpriteAnimFrame) |