diff options
author | yenatch <yenatch@gmail.com> | 2015-10-27 14:30:22 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-10-27 14:30:22 -0400 |
commit | 006d14640ce7f434bdc09be20eb92778574d4a89 (patch) | |
tree | 69b0adeb87fdd0c8f23cfb739215953b491e9747 /battle/ai/items.asm | |
parent | 25025d1b6c00e94ac9e479747898d30267fb3282 (diff) | |
parent | 9a9cb38e39c991e102a1c6da7e8e16b2a1c61e07 (diff) |
Merge pull request #319 from JimB16/master
Added comments and changed labels (mainly for AI- and Battle-Functions)
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r-- | battle/ai/items.asm | 3 |
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 |