diff options
author | yenatch <yenatch@gmail.com> | 2015-10-25 20:48:44 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-10-25 20:48:44 -0400 |
commit | 0d17d4a75866d053f5e0b48c66deb2508071d98b (patch) | |
tree | 75bb638d39ab6b4d0bcd3167c22d275eb52ffdbd /battle/ai/items.asm | |
parent | 6fcba7a28a0d3d7826603b54b187dc5fca853669 (diff) | |
parent | 79ceca591b022673cb7fb2cc59e5175716743eb5 (diff) |
Merge pull request #322 from PikalaxALT/master
Split out and comment phone and animation code.
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r-- | battle/ai/items.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm index 7d847b9da..95997a67e 100644 --- a/battle/ai/items.asm +++ b/battle/ai/items.asm @@ -1,11 +1,11 @@ AI_SwitchOrTryItem: ; 38000 and a - ld a, [IsInBattle] + ld a, [wBattleMode] dec a ret z - ld a, [InLinkBattle] + ld a, [wLinkMode] and a ret nz @@ -731,7 +731,7 @@ AI_Switch: ; 3846c callba Function3d57a xor a ld [wd264], a - ld a, [InLinkBattle] + ld a, [wLinkMode] and a ret nz scf |