summaryrefslogtreecommitdiff
path: root/engine/overworld/variables.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:37:18 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:37:18 -0500
commite706b878d9f78466e6cc9eda184e14a798cc4a0d (patch)
treea5625f28a4d5af1358727b54772659cee892b031 /engine/overworld/variables.asm
parentab0f9c287a45d1986985545d7ec6a2cd862e26fc (diff)
Use ~X instead of $ff ^ X
Diffstat (limited to 'engine/overworld/variables.asm')
-rw-r--r--engine/overworld/variables.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/variables.asm b/engine/overworld/variables.asm
index 321665ad5..65ad1ec74 100644
--- a/engine/overworld/variables.asm
+++ b/engine/overworld/variables.asm
@@ -137,5 +137,5 @@ _GetVarAction::
.BattleResult:
ld a, [wBattleResult]
- and $ff ^ BATTLERESULT_BITMASK
+ and ~BATTLERESULT_BITMASK
jp .loadstringbuffer2