mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Use EFFECTIVE constant for 1.0× battle damage.
This commit is contained in:
parent
d93c13c94c
commit
52290d8e03
@ -2359,7 +2359,7 @@ BattleCommand_SuperEffectiveText:
|
|||||||
|
|
||||||
ld a, [wTypeModifier]
|
ld a, [wTypeModifier]
|
||||||
and $7f
|
and $7f
|
||||||
cp 10 ; 1.0
|
cp EFFECTIVE
|
||||||
ret z
|
ret z
|
||||||
ld hl, SuperEffectiveText
|
ld hl, SuperEffectiveText
|
||||||
jr nc, .print
|
jr nc, .print
|
||||||
|
Loading…
Reference in New Issue
Block a user