summaryrefslogtreecommitdiff
path: root/battle/effects/curse.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effects/curse.asm')
-rw-r--r--battle/effects/curse.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/effects/curse.asm b/battle/effects/curse.asm
index fc08beae6..27f821ffc 100644
--- a/battle/effects/curse.asm
+++ b/battle/effects/curse.asm
@@ -66,11 +66,11 @@ BattleCommand54: ; 37588
jr nz, .failed
ld a, BATTLE_VARS_SUBSTATUS1_OPP
- call _GetBattleVar
- bit 1, [hl]
+ call GetBattleVarAddr
+ bit SUBSTATUS_CURSE, [hl]
jr nz, .failed
- set 1, [hl]
+ set SUBSTATUS_CURSE, [hl]
call AnimateCurrentMove
ld hl, GetHalfMaxHP
call CallBattleCore