aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/hp_bar.asm2
-rw-r--r--engine/gfx/sprite_oam.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/gfx/hp_bar.asm b/engine/gfx/hp_bar.asm
index d848a337..c1ae598e 100644
--- a/engine/gfx/hp_bar.asm
+++ b/engine/gfx/hp_bar.asm
@@ -214,7 +214,7 @@ UpdateHPBar_PrintHPNumber:
ld [wHPBarTempHP], a
push hl
ldh a, [hUILayoutFlags]
- bit 0, a
+ bit BIT_PARTY_MENU_HP_BAR, a
jr z, .hpBelowBar
ld de, $9
jr .next
diff --git a/engine/gfx/sprite_oam.asm b/engine/gfx/sprite_oam.asm
index 3916c0db..737443a6 100644
--- a/engine/gfx/sprite_oam.asm
+++ b/engine/gfx/sprite_oam.asm
@@ -124,7 +124,7 @@ PrepareOAMData::
inc hl
inc e
ld a, [hl]
- bit 1, a ; is the tile allowed to set the sprite priority bit?
+ bit BIT_SPRITE_UNDER_GRASS, a
jr z, .skipPriority
ldh a, [hSpritePriority]
or [hl]
@@ -132,7 +132,7 @@ PrepareOAMData::
inc hl
ld [de], a
inc e
- bit 0, a ; OAMFLAG_ENDOFDATA
+ bit BIT_END_OF_OAM_DATA, a
jr z, .tileLoop
ld a, e