You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
Standardize on $ff ^ X for bitwise negating 8-bit values
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user