More EFFECTIVEness.

This commit is contained in:
IIMarckus 2021-08-16 14:44:57 -06:00
parent 52290d8e03
commit a283f44954

View File

@ -1424,7 +1424,7 @@ CheckTypeMatchup:
ld b, [hl] ld b, [hl]
inc hl inc hl
ld c, [hl] ld c, [hl]
ld a, 10 ; 1.0 ld a, EFFECTIVE
ld [wTypeMatchup], a ld [wTypeMatchup], a
ld hl, TypeMatchups ld hl, TypeMatchups
.TypesLoop: .TypesLoop:
@ -1487,7 +1487,7 @@ BattleCommand_ResetTypeMatchup:
call BattleCheckTypeMatchup call BattleCheckTypeMatchup
ld a, [wTypeMatchup] ld a, [wTypeMatchup]
and a and a
ld a, 10 ; 1.0 ld a, EFFECTIVE
jr nz, .reset jr nz, .reset
call ResetDamage call ResetDamage
xor a xor a