From 7307fc8dce605823fbdf8e5ec8530d7aaf675cfa Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 5 Apr 2018 11:44:02 -0400 Subject: Use constants for bit/set/res more --- engine/battle/effect_commands.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/battle/effect_commands.asm') 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 -- cgit v1.2.3