ref: 52290d8e03eb60a1328baf5d5dc8bf3301a2da56
parent: d93c13c94c3680bace68ee2333dd81b1efad1734
author: IIMarckus <iimarckus@gmail.com>
date: Mon Aug 16 10:42:45 EDT 2021
Use EFFECTIVE constant for 1.0× battle damage.
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -2359,7 +2359,7 @@
ld a, [wTypeModifier]
and $7f
- cp 10 ; 1.0
+ cp EFFECTIVE
ret z
ld hl, SuperEffectiveText
jr nc, .print