Use ~X instead of $ff ^ X

This commit is contained in:
Rangi
2021-11-23 20:37:18 -05:00
parent ab0f9c287a
commit e706b878d9
16 changed files with 23 additions and 23 deletions

View File

@@ -532,7 +532,7 @@ TrainerCard_Page2_3_OAMUpdate:
inc de
ld a, [wTrainerCardBadgeTileID]
and $ff ^ (1 << 7)
and ~(1 << 7)
add [hl]
ld [de], a ; tile id
inc hl