summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-10-19 10:23:58 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-10-19 10:23:58 -0400
commit0a244e043c83dff064d7e3ec054a587c7f999d0d (patch)
treefa04984075ef0e37674a9d2025f2765d4764260f /items
parent52605b764a6ecfb781ca9e70d51dad909dabe7c3 (diff)
Move battle start animation functions to its own file
Diffstat (limited to 'items')
-rw-r--r--items/item_effects.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index b68c7c85c..77f278ebd 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -208,7 +208,7 @@ FriendBall:
MoonBall:
LoveBall:
ParkBall: ; e8a2
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
dec a
jp nz, Functionf7a0
@@ -1657,7 +1657,7 @@ Functionf0d6: ; f0d6
call Functionf30d
ld a, 1
ret nz
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
and a
jr z, .asm_f104
@@ -1936,7 +1936,7 @@ Functionf2a2: ; f2a2 (3:72a2)
ret
Functionf2a6: ; f2a6 (3:72a6)
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
and a
ret z
ld a, [CurPartyMon]
@@ -2280,7 +2280,7 @@ XAccuracy: ; f482
PokeDoll: ; f48f
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
dec a
jr nz, .asm_f4a6
inc a
@@ -2362,7 +2362,7 @@ Tablef504: ; f504
PokeFlute: ; f50c
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
and a
jr nz, .asm_f512
.asm_f512
@@ -2375,7 +2375,7 @@ PokeFlute: ; f50c
ld hl, PartyMon1Status
call .Functionf554
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
cp WILD_BATTLE
jr z, .asm_f52b
ld hl, OTPartyMon1Status
@@ -2448,7 +2448,7 @@ UnknownText_0xf576: ; 0xf576
Function_0xf57b: ; f57b
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
and a
jr nz, .asm_f58c
@@ -2600,7 +2600,7 @@ Functionf64c: ; f64c
; f652
Functionf652: ; f652
- ld a, [IsInBattle]
+ ld a, [wBattleMode]
and a
jr z, .asm_f66c
ld a, [CurPartyMon]