summaryrefslogtreecommitdiff
path: root/engine/battle/common_text.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/common_text.asm')
-rw-r--r--engine/battle/common_text.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/common_text.asm b/engine/battle/common_text.asm
index 687fbf99..f357f695 100644
--- a/engine/battle/common_text.asm
+++ b/engine/battle/common_text.asm
@@ -8,7 +8,7 @@ PrintBeginningBattleText: ; f4000 (3d:4000)
cp LAVENDER_HOUSE_1
jr c, .pokemonTower
.notPokemonTower
- ld a,[W_BATTLETYPE]
+ ld a,[wBattleType]
cp $4 ; new battle type?
jr nz,.notnewbattletype
callab Func_fd0d0
@@ -35,7 +35,7 @@ PrintBeginningBattleText: ; f4000 (3d:4000)
call DelayFrames
ld hl, TrainerWantsToFightText
.wildBattle
- ld a, [W_BATTLETYPE]
+ ld a, [wBattleType]
and a
jr nz, .doNotDrawPokeballs
push hl