summaryrefslogtreecommitdiff
path: root/battle/core.asm
diff options
context:
space:
mode:
authorJimB16 <f1@jimb.de>2015-09-04 22:30:40 +0200
committerJimB16 <f1@jimb.de>2015-09-04 22:30:40 +0200
commitc76a3c6ecd36d650a1715c0f5520c2336bd27f9c (patch)
tree33d6ca89e8050d6a691a2092b02414441480a75b /battle/core.asm
parentd6a4dada406f8ee010f08a16d24907bde50e1d6c (diff)
changed more labels
Diffstat (limited to 'battle/core.asm')
-rw-r--r--battle/core.asm15
1 files changed, 8 insertions, 7 deletions
diff --git a/battle/core.asm b/battle/core.asm
index 3696b2bb5..7e85e996d 100644
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -2462,7 +2462,7 @@ Function3cfa4: ; 3cfa4
ld a, [InLinkBattle]
and a
ret nz
- ld a, [wcfc0]
+ ld a, [InBattleTowerBattle]
bit 0, a
jr nz, .asm_3d006
call Function3ebd8
@@ -3068,7 +3068,7 @@ LostBattle: ; 3d38e
ld a, 1
ld [BattleEnded], a
- ld a, [wcfc0]
+ ld a, [InBattleTowerBattle]
bit 0, a
jr nz, .asm_3d3bd
@@ -5175,7 +5175,7 @@ BattleMenu_Pack: ; 3e1c7
and a
jp nz, ItemsCantBeUsed
- ld a, [wcfc0]
+ ld a, [InBattleTowerBattle]
and a
jp nz, ItemsCantBeUsed
@@ -6214,7 +6214,8 @@ LoadEnemyMon: ; 3e8eb
and a
jp nz, Function3dabd
- ld a, [wcfc0] ; ????
+; and also not in a BattleTower-Battle
+ ld a, [InBattleTowerBattle] ; ????
bit 0, a
jp nz, Function3dabd
@@ -7107,7 +7108,7 @@ BadgeStatBoosts: ; 3ed45
and a
ret nz
- ld a, [wcfc0]
+ ld a, [InBattleTowerBattle]
and a
ret nz
@@ -7329,7 +7330,7 @@ Function3ee3b: ; 3ee3b
and a
ret nz
- ld a, [wcfc0]
+ ld a, [InBattleTowerBattle]
bit 0, a
ret nz
@@ -8716,7 +8717,7 @@ endr
call Function3d0be
ld hl, BattleText_0x80730
call StdBattleTextBox
- ld a, [wcfc0]
+ ld a, [InBattleTowerBattle]
bit 0, a
ret z
call ClearTileMap