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

@@ -171,7 +171,7 @@ BattleAnimOAMUpdate:
or b
ld b, a
ld a, [wBattleAnimTempPalette]
and (PRIORITY | Y_FLIP | X_FLIP | OBP_NUM) ^ $ff
and PALETTE_MASK | VRAM_BANK_1
or b
ld [de], a