diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-11-23 20:37:18 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-11-23 20:37:18 -0500 |
commit | e706b878d9f78466e6cc9eda184e14a798cc4a0d (patch) | |
tree | a5625f28a4d5af1358727b54772659cee892b031 /engine/battle/effect_commands.asm | |
parent | ab0f9c287a45d1986985545d7ec6a2cd862e26fc (diff) |
Use ~X instead of $ff ^ X
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r-- | engine/battle/effect_commands.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 77623f07b..de1a15103 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -340,7 +340,7 @@ CantMove: ld a, BATTLE_VARS_SUBSTATUS3 call GetBattleVarAddr ld a, [hl] - and $ff ^ (1 << SUBSTATUS_BIDE | 1 << SUBSTATUS_RAMPAGE | 1 << SUBSTATUS_CHARGED) + and ~(1 << SUBSTATUS_BIDE | 1 << SUBSTATUS_RAMPAGE | 1 << SUBSTATUS_CHARGED) ld [hl], a call ResetFuryCutterCount |