You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user