You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use ~X instead of $ff ^ X
This commit is contained in:
@@ -472,7 +472,7 @@ SaveOptions:
|
||||
ld bc, wOptionsEnd - wOptions
|
||||
call CopyBytes
|
||||
ld a, [wOptions]
|
||||
and $ff ^ (1 << NO_TEXT_SCROLL)
|
||||
and ~(1 << NO_TEXT_SCROLL)
|
||||
ld [sOptions], a
|
||||
jp CloseSRAM
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user