summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index 1791cbdb..e73582ca 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -1426,7 +1426,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:
@@ -1489,7 +1489,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
@@ -2365,7 +2365,7 @@ BattleCommand_SuperEffectiveText:
ld a, [wTypeModifier]
and $7f
- cp 10 ; 1.0
+ cp EFFECTIVE
ret z
ld hl, SuperEffectiveText
jr nc, .print