diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-02-13 19:48:21 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-02-13 19:48:21 -0500 |
commit | 205fd1ac81c2d1dcec010c478979bd6159edc72d (patch) | |
tree | 00b70faa84c87265b6ee4e68f0df1fc4946afca2 /engine/gfx | |
parent | b6ec1cd884e34cd67c18e6faae7054b5b30b6c9e (diff) |
Identify hUILayoutFlags and hPikachuSpriteVRAMOffset
Diffstat (limited to 'engine/gfx')
-rw-r--r-- | engine/gfx/hp_bar.asm | 2 | ||||
-rw-r--r-- | engine/gfx/sprite_oam.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/gfx/hp_bar.asm b/engine/gfx/hp_bar.asm index b47b1fbd..fcbf1a29 100644 --- a/engine/gfx/hp_bar.asm +++ b/engine/gfx/hp_bar.asm @@ -214,7 +214,7 @@ UpdateHPBar_PrintHPNumber: ld [wHPBarTempHP], a push hl ld de, $15 - ldh a, [hFlagsFFFA] + ldh a, [hUILayoutFlags] bit 0, a jr z, .next ld de, $9 diff --git a/engine/gfx/sprite_oam.asm b/engine/gfx/sprite_oam.asm index 85db1b53..3ffd995f 100644 --- a/engine/gfx/sprite_oam.asm +++ b/engine/gfx/sprite_oam.asm @@ -106,7 +106,7 @@ PrepareOAMData:: cp $80 jr c, .asm_4a1c ld b, a - ldh a, [hFFFC] + ldh a, [hPikachuSpriteVRAMOffset] add b .asm_4a1c ld [de], a ; tile id |