summaryrefslogtreecommitdiff
path: root/battle/ai/scoring.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-07 09:48:32 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-07 09:48:32 -0500
commit2cbb1acc6e3bc5fe30d1be8f665d2252703518ac (patch)
tree57908e1a0387e0d7a2ef88935aa1be36e3cacf71 /battle/ai/scoring.asm
parente0445806694a80a98e4d803478a2675ec8803ba6 (diff)
Pokemon animations
Diffstat (limited to 'battle/ai/scoring.asm')
-rw-r--r--battle/ai/scoring.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/ai/scoring.asm b/battle/ai/scoring.asm
index 52c71d624..39d2a8eca 100644
--- a/battle/ai/scoring.asm
+++ b/battle/ai/scoring.asm
@@ -576,7 +576,7 @@ AI_Smart_Explosion: ; 388a6
; Unless this is the enemy's last Pokemon...
push hl
- callba CountEnemyAliveMons
+ callba CheckEnemyHasMonToSwitchTo
pop hl
jr nc, .asm_388b7
@@ -2028,7 +2028,7 @@ endr
jp nz, AIDiscourageMove
push hl
- callba CountEnemyAliveMons
+ callba CheckEnemyHasMonToSwitchTo
pop hl
jr nc, .asm_38eb0
@@ -2160,7 +2160,7 @@ endr
AI_Smart_PerishSong: ; 38f4a
push hl
- callab CountEnemyAliveMons
+ callab CheckEnemyHasMonToSwitchTo
pop hl
jr c, .no