diff options
author | JimB16 <f1@jimb.de> | 2015-10-26 03:26:53 +0100 |
---|---|---|
committer | JimB16 <f1@jimb.de> | 2015-10-26 03:26:53 +0100 |
commit | 9a9cb38e39c991e102a1c6da7e8e16b2a1c61e07 (patch) | |
tree | 46c064628b3d8015da22d6396b3c711e80646745 /battle/ai/items.asm | |
parent | 3b9a3cc3bee8934e45f5e4d3fd9704b3fa619560 (diff) | |
parent | 0d17d4a75866d053f5e0b48c66deb2508071d98b (diff) |
merge with newest update
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 6a3faf1bf..547d213df 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 @@ -732,7 +732,7 @@ AI_Switch: ; 3846c callba Function3d57a xor a ld [wd264], a - ld a, [InLinkBattle] + ld a, [wLinkMode] and a ret nz scf |