summaryrefslogtreecommitdiff
path: root/data/battle_ai_scripts.s
diff options
context:
space:
mode:
Diffstat (limited to 'data/battle_ai_scripts.s')
-rw-r--r--data/battle_ai_scripts.s18
1 files changed, 9 insertions, 9 deletions
diff --git a/data/battle_ai_scripts.s b/data/battle_ai_scripts.s
index c227391ca..8f3cfb657 100644
--- a/data/battle_ai_scripts.s
+++ b/data/battle_ai_scripts.s
@@ -3044,17 +3044,17 @@ AI_TrySkillSwapOnAlly:
end
AI_TrySkillSwapOnAlly2:
- if_not_equal 14, Score_Minus30_
- if_has_move AI_USER_PARTNER, MOVE_FIRE_BLAST, AI_TrySkillSwapOnAllyEnd
- if_has_move AI_USER_PARTNER, MOVE_THUNDER, AI_TrySkillSwapOnAllyEnd
- if_has_move AI_USER_PARTNER, MOVE_CROSS_CHOP, AI_TrySkillSwapOnAllyEnd
- if_has_move AI_USER_PARTNER, MOVE_HYDRO_PUMP, AI_TrySkillSwapOnAllyEnd
- if_has_move AI_USER_PARTNER, MOVE_DYNAMIC_PUNCH, AI_TrySkillSwapOnAllyEnd
- if_has_move AI_USER_PARTNER, MOVE_BLIZZARD, AI_TrySkillSwapOnAllyEnd
- if_has_move AI_USER_PARTNER, MOVE_MEGAHORN, AI_TrySkillSwapOnAllyEnd
+ if_not_equal ABILITY_COMPOUND_EYES, Score_Minus30_
+ if_has_move AI_USER_PARTNER, MOVE_FIRE_BLAST, AI_TrySkillSwapOnAllyPlus3
+ if_has_move AI_USER_PARTNER, MOVE_THUNDER, AI_TrySkillSwapOnAllyPlus3
+ if_has_move AI_USER_PARTNER, MOVE_CROSS_CHOP, AI_TrySkillSwapOnAllyPlus3
+ if_has_move AI_USER_PARTNER, MOVE_HYDRO_PUMP, AI_TrySkillSwapOnAllyPlus3
+ if_has_move AI_USER_PARTNER, MOVE_DYNAMIC_PUNCH, AI_TrySkillSwapOnAllyPlus3
+ if_has_move AI_USER_PARTNER, MOVE_BLIZZARD, AI_TrySkillSwapOnAllyPlus3
+ if_has_move AI_USER_PARTNER, MOVE_MEGAHORN, AI_TrySkillSwapOnAllyPlus3
goto Score_Minus30_
-AI_TrySkillSwapOnAllyEnd:
+AI_TrySkillSwapOnAllyPlus3:
goto Score_Plus3
AI_TryStatusOnAlly: