summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.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/battle/effect_commands.asm
parent99df17d57173cb82abc668714727c5dada6aac73 (diff)
Use constants for bit/set/res more
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