summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-04-09 21:30:24 -0400
committerGitHub <noreply@github.com>2018-04-09 21:30:24 -0400
commit40b537d45b4b8937038126f7e5d2d21ccee460c0 (patch)
tree881a090b80b2c22985fc6d1231b03c6721a83462 /engine/battle/effect_commands.asm
parente4b41fad4fd3787ca2e61adb5377ba8f68fca7ef (diff)
parent53ff57ca663dc5bf9c3731022b0eb0dc73f2207f (diff)
Merge pull request #503 from Rangi42/master
Factor wMisc into meaningful parts; move most code out of home.asm
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index ea6c22dda..580c25583 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -5390,8 +5390,8 @@ INCLUDE "engine/battle/move_effects/teleport.asm"
SetBattleDraw: ; 36804
ld a, [wBattleResult]
- and $c0
- or $2
+ and BATTLERESULT_BITMASK
+ or DRAW
ld [wBattleResult], a
ret