mirror of https://github.com/pret/pokecrystal.git
More EFFECTIVEness.
This commit is contained in:
parent
52290d8e03
commit
a283f44954
|
@ -1424,7 +1424,7 @@ CheckTypeMatchup:
|
|||
ld b, [hl]
|
||||
inc hl
|
||||
ld c, [hl]
|
||||
ld a, 10 ; 1.0
|
||||
ld a, EFFECTIVE
|
||||
ld [wTypeMatchup], a
|
||||
ld hl, TypeMatchups
|
||||
.TypesLoop:
|
||||
|
@ -1487,7 +1487,7 @@ BattleCommand_ResetTypeMatchup:
|
|||
call BattleCheckTypeMatchup
|
||||
ld a, [wTypeMatchup]
|
||||
and a
|
||||
ld a, 10 ; 1.0
|
||||
ld a, EFFECTIVE
|
||||
jr nz, .reset
|
||||
call ResetDamage
|
||||
xor a
|
||||
|
|
Loading…
Reference in New Issue