Standardize on $ff ^ X for bitwise negating 8-bit values

This commit is contained in:
Rangi
2019-02-16 13:52:19 -05:00
parent 96bcf72d96
commit 7c42452748
5 changed files with 6 additions and 6 deletions

View File

@@ -242,7 +242,7 @@ BattleAnim_ClearOAM:
ld c, NUM_SPRITE_OAM_STRUCTS
.loop
ld a, [hl]
and ~PALETTE_MASK & ~VRAM_BANK_1
and $ff ^ (PALETTE_MASK | VRAM_BANK_1)
ld [hli], a
rept SPRITEOAMSTRUCT_LENGTH + -1
inc hl