Use EFFECTIVE constant for 1.0× battle damage.

This commit is contained in:
IIMarckus 2021-08-16 14:42:45 -06:00
parent d93c13c94c
commit 52290d8e03

View File

@ -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