aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/moveEffects/mist_effect.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-30 21:38:41 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-30 21:38:41 -0500
commit38065a744de1065cc021a4cafe22476f8425448d (patch)
treea37a103d7c22f3cc5f62689e5062877961493caa /engine/battle/moveEffects/mist_effect.asm
parentMerge pull request #116 from YamaArashi/master (diff)
downloadpokeyellow-38065a744de1065cc021a4cafe22476f8425448d.tar.gz
pokeyellow-38065a744de1065cc021a4cafe22476f8425448d.tar.xz
pokeyellow-38065a744de1065cc021a4cafe22476f8425448d.zip
No more W_
Diffstat (limited to 'engine/battle/moveEffects/mist_effect.asm')
-rw-r--r--engine/battle/moveEffects/mist_effect.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/moveEffects/mist_effect.asm b/engine/battle/moveEffects/mist_effect.asm
index 1f8e40b0..fcdb4b28 100644
--- a/engine/battle/moveEffects/mist_effect.asm
+++ b/engine/battle/moveEffects/mist_effect.asm
@@ -1,9 +1,9 @@
MistEffect_: ; 33f2b (c:7f2b)
- ld hl, W_PLAYERBATTSTATUS2
+ ld hl, wPlayerBattleStatus2
ld a, [H_WHOSETURN]
and a
jr z, .mistEffect
- ld hl, W_ENEMYBATTSTATUS2
+ ld hl, wEnemyBattleStatus2
.mistEffect
bit ProtectedByMist, [hl] ; is mon protected by mist?
jr nz, .mistAlreadyInUse