Use ~X instead of $ff ^ X
This commit is contained in:
@@ -37,7 +37,7 @@ GetBattleAnimFrame:
|
||||
push af
|
||||
ld a, [hl]
|
||||
push hl
|
||||
and $ff ^ (Y_FLIP << 1 | X_FLIP << 1)
|
||||
and ~(Y_FLIP << 1 | X_FLIP << 1)
|
||||
ld hl, BATTLEANIMSTRUCT_DURATION
|
||||
add hl, bc
|
||||
ld [hl], a
|
||||
|
Reference in New Issue
Block a user