summaryrefslogtreecommitdiff
path: root/engine/overworld/variables.asm
diff options
context:
space:
mode:
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 406cf715..880dda38 100644
--- a/engine/overworld/variables.asm
+++ b/engine/overworld/variables.asm
@@ -118,5 +118,5 @@ _GetVarAction::
.BattleResult:
ld a, [wBattleResult]
- and $ff ^ BATTLERESULT_BITMASK
+ and ~BATTLERESULT_BITMASK
jp .loadstringbuffer2