summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2021-08-16 14:42:45 -0600
committerIIMarckus <iimarckus@gmail.com>2021-08-16 14:42:45 -0600
commit52290d8e03eb60a1328baf5d5dc8bf3301a2da56 (patch)
treeeda696ad9f9df72358d33defe15729771dc44a17 /engine/battle/effect_commands.asm
parentd93c13c94c3680bace68ee2333dd81b1efad1734 (diff)
Use EFFECTIVE constant for 1.0× battle damage.
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index e1c3ac364..e300ac855 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -2359,7 +2359,7 @@ BattleCommand_SuperEffectiveText:
ld a, [wTypeModifier]
and $7f
- cp 10 ; 1.0
+ cp EFFECTIVE
ret z
ld hl, SuperEffectiveText
jr nc, .print