summaryrefslogtreecommitdiff
path: root/engine/overworld/variables.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-04-05 11:44:02 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-04-05 11:44:02 -0400
commit7307fc8dce605823fbdf8e5ec8530d7aaf675cfa (patch)
tree63a1d741812989026ac3a22806f7677525c3512c /engine/overworld/variables.asm
parent99df17d57173cb82abc668714727c5dada6aac73 (diff)
Use constants for bit/set/res more
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 89026fdba..3adf6df33 100644
--- a/engine/overworld/variables.asm
+++ b/engine/overworld/variables.asm
@@ -146,6 +146,6 @@ _GetVarAction:: ; 80648 (20:4648)
.BattleResult: ; 80728
ld a, [wBattleResult]
- and $3f
+ and $ff ^ BATTLERESULT_BITMASK
jp .loadstringbuffer2
; 80730