diff options
Diffstat (limited to 'engine/gfx/sprite_oam.asm')
-rw-r--r-- | engine/gfx/sprite_oam.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/gfx/sprite_oam.asm b/engine/gfx/sprite_oam.asm index 136e3afb..85db1b53 100644 --- a/engine/gfx/sprite_oam.asm +++ b/engine/gfx/sprite_oam.asm @@ -119,9 +119,9 @@ PrepareOAMData:: or [hl] .skipPriority and $f0 - bit 4, a ; OBP0 or OBP1 + bit OAM_OBP_NUM, a jr z, .spriteusesOBP0 - or %100 ; palettes 4-7 are OBP1 + or OAM_HIGH_PALS .spriteusesOBP0 ld [de], a inc hl |