summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2021-08-16 14:44:57 -0600
committerIIMarckus <iimarckus@gmail.com>2021-08-16 14:44:57 -0600
commita283f44954c4035cb76b2911e5775182c46cdf79 (patch)
tree46beb062f8e620bb25da511b1e40337cf3df8415
parent52290d8e03eb60a1328baf5d5dc8bf3301a2da56 (diff)
More EFFECTIVEness.
-rw-r--r--engine/battle/effect_commands.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index e300ac855..77623f07b 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -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