From a283f44954c4035cb76b2911e5775182c46cdf79 Mon Sep 17 00:00:00 2001 From: IIMarckus Date: Mon, 16 Aug 2021 14:44:57 -0600 Subject: [PATCH] More EFFECTIVEness. --- engine/battle/effect_commands.asm | 4 ++-- 1 file 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