diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-21 21:34:10 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-21 21:34:10 -0400 |
commit | 2127643f8d526e0fc70f93f8ec52fa0b21c67aec (patch) | |
tree | 442abd3fb02e5435835a68aef0ff59ffbd73f0f8 /engine/battle/ai/switch.asm | |
parent | c65b0fcd4424a696a7d063ecad8a5e11b841fe3f (diff) |
Identify remaining battle AI labels
Diffstat (limited to 'engine/battle/ai/switch.asm')
-rw-r--r-- | engine/battle/ai/switch.asm | 4 |
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 |