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