mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
More EFFECTIVEness.
This commit is contained in:
parent
52290d8e03
commit
a283f44954
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user