summaryrefslogtreecommitdiff
path: root/engine/battle/ai/switch.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/ai/switch.asm')
-rw-r--r--engine/battle/ai/switch.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/ai/switch.asm b/engine/battle/ai/switch.asm
index 1998e7ec..23b6d3ba 100644
--- a/engine/battle/ai/switch.asm
+++ b/engine/battle/ai/switch.asm
@@ -5,7 +5,7 @@ CheckPlayerMoveTypeMatchups:
push hl
push de
push bc
- ld a, 10
+ ld a, BASE_AI_SWITCH_SCORE
ld [wEnemyAISwitchScore], a
ld hl, wPlayerUsedMoves
ld a, [hl]
@@ -37,7 +37,7 @@ CheckPlayerMoveTypeMatchups:
cp EFFECTIVE ; 1.0
jr nc, .neutral
-.not_very_effective
+; not very effective
ld a, e
cp 1 ; 0.1
jr nc, .next