aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-27 20:27:34 -0500
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-27 20:27:34 -0500
commitf023c68417ff0b14db1ab28ecff67f8d123ede44 (patch)
tree6d71be2e4ef32a20b3848e569cd55a5bde337db5 /engine/battle
parentUse exported constants for VC patch (#483) (diff)
downloadpokeyellow-f023c68417ff0b14db1ab28ecff67f8d123ede44.tar.gz
pokeyellow-f023c68417ff0b14db1ab28ecff67f8d123ede44.tar.xz
pokeyellow-f023c68417ff0b14db1ab28ecff67f8d123ede44.zip
Use `EFFECT_1E`
Diffstat (limited to 'engine/battle')
-rw-r--r--engine/battle/core.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 51d0c1b8..a951a072 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -4447,7 +4447,7 @@ CalculateDamage:
; Multi-hit attacks may or may not have 0 bp.
cp TWO_TO_FIVE_ATTACKS_EFFECT
jr z, .skipbp
- cp $1e
+ cp EFFECT_1E
jr z, .skipbp
; Calculate OHKO damage based on remaining HP.