ref: a283f44954c4035cb76b2911e5775182c46cdf79
parent: 52290d8e03eb60a1328baf5d5dc8bf3301a2da56
author: IIMarckus <[email protected]>
date: Mon Aug 16 10:44:57 EDT 2021
More EFFECTIVEness.
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -1424,7 +1424,7 @@
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 @@
call BattleCheckTypeMatchup
ld a, [wTypeMatchup]
and a
- ld a, 10 ; 1.0
+ ld a, EFFECTIVE
jr nz, .reset
call ResetDamage
xor a