aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/moveEffects/mist_effect.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2017-12-30 00:59:48 +0100
committerxCrystal <rgr.crystal@gmail.com>2017-12-30 00:59:48 +0100
commit94b9a86c8b9b6ea29653e98921205056790d6617 (patch)
treebff3c6553162ced5b7b463198e336036c805dd6e /engine/battle/moveEffects/mist_effect.asm
parentReplace hardcoded address offset (diff)
downloadpokeyellow-94b9a86c8b9b6ea29653e98921205056790d6617.tar.gz
pokeyellow-94b9a86c8b9b6ea29653e98921205056790d6617.tar.xz
pokeyellow-94b9a86c8b9b6ea29653e98921205056790d6617.zip
Uppercase battle status constants
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 b92777de..65070a3e 100644
--- a/engine/battle/moveEffects/mist_effect.asm
+++ b/engine/battle/moveEffects/mist_effect.asm
@@ -5,9 +5,9 @@ MistEffect_:
jr z, .mistEffect
ld hl, wEnemyBattleStatus2
.mistEffect
- bit ProtectedByMist, [hl] ; is mon protected by mist?
+ bit PROTECTED_BY_MIST, [hl] ; is mon protected by mist?
jr nz, .mistAlreadyInUse
- set ProtectedByMist, [hl] ; mon is now protected by mist
+ set PROTECTED_BY_MIST, [hl] ; mon is now protected by mist
callab PlayCurrentMoveAnimation
ld hl, ShroudedInMistText
jp PrintText