You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Use EFFECTIVE constant for 1.0× battle damage.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user