aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2023-11-21 20:18:04 -0600
committerdannye <33dannye@gmail.com>2023-11-21 20:18:04 -0600
commita247120ac115c7c7f48d487dbaf9aaaf26e18757 (patch)
tree56dd818eaa0f515291e2643feeebc5dd265cf74e /engine/battle/core.asm
parentFix inaccurate comment in UpdateNPCSprite (diff)
downloadpokeyellow-a247120ac115c7c7f48d487dbaf9aaaf26e18757.tar.gz
pokeyellow-a247120ac115c7c7f48d487dbaf9aaaf26e18757.tar.xz
pokeyellow-a247120ac115c7c7f48d487dbaf9aaaf26e18757.zip
Fix a few usages of EFFECTIVE
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index b93b6fa7..ca3294b8 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -5324,8 +5324,7 @@ AIGetTypeEffectiveness:
inc hl
ld c, [hl] ; c = type 2 of player's pokemon
; initialize to neutral effectiveness
- ; bug: this is $10 (MORE_EFFECTIVE + 1) but should be 10 (EFFECTIVE)
- ld a, MORE_EFFECTIVE + 1
+ ld a, $10 ; bug: should be EFFECTIVE (10)
ld [wTypeEffectiveness], a
ld hl, TypeEffects
.loop