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:
@@ -37,7 +37,7 @@ GetBattleAnimFrame:
|
||||
push af
|
||||
ld a, [hl]
|
||||
push hl
|
||||
and (Y_FLIP << 1 | X_FLIP << 1) ^ $ff
|
||||
and $ff ^ (Y_FLIP << 1 | X_FLIP << 1)
|
||||
ld hl, BATTLEANIMSTRUCT_DURATION
|
||||
add hl, bc
|
||||
ld [hl], a
|
||||
|
||||
Reference in New Issue
Block a user