summaryrefslogtreecommitdiff
path: root/battle/ai/items.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-01 18:14:37 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-01 18:19:52 -0500
commit6b2d0ae841f5a7ff851d462b12f09eac998d2d8f (patch)
tree280e64b26f9b525606de02701f0c9a768301c4d2 /battle/ai/items.asm
parent010b450834bd595b961582aea5e5771632510ef9 (diff)
parent25c126c69beebfdf26d0de286e25c65f6f3db16e (diff)
Fix merge conflicts
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r--battle/ai/items.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm
index 95997a67e..547d213df 100644
--- a/battle/ai/items.asm
+++ b/battle/ai/items.asm
@@ -9,7 +9,7 @@ AI_SwitchOrTryItem: ; 38000
and a
ret nz
- callba Function3e8d1
+ callba CheckSubstatus_RechargeChargedRampageBideRollout
ret nz
ld a, [PlayerSubStatus5]
@@ -24,6 +24,7 @@ AI_SwitchOrTryItem: ; 38000
ld a, [InBattleTowerBattle] ; Load always the first TrainerClass for BattleTower-Trainers
and a
jr nz, .ok
+
ld a, [TrainerClass]
dec a
ld bc, 7