summaryrefslogtreecommitdiff
path: root/engine/battle/moveEffects/mist_effect.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /engine/battle/moveEffects/mist_effect.asm
parent53fcd05aa24693093d8af1dc8ec4fedd3957decc (diff)
Sync with pokered
Diffstat (limited to 'engine/battle/moveEffects/mist_effect.asm')
-rw-r--r--engine/battle/moveEffects/mist_effect.asm19
1 files changed, 0 insertions, 19 deletions
diff --git a/engine/battle/moveEffects/mist_effect.asm b/engine/battle/moveEffects/mist_effect.asm
deleted file mode 100644
index 65070a3e..00000000
--- a/engine/battle/moveEffects/mist_effect.asm
+++ /dev/null
@@ -1,19 +0,0 @@
-MistEffect_:
- ld hl, wPlayerBattleStatus2
- ld a, [H_WHOSETURN]
- and a
- jr z, .mistEffect
- ld hl, wEnemyBattleStatus2
-.mistEffect
- bit PROTECTED_BY_MIST, [hl] ; is mon protected by mist?
- jr nz, .mistAlreadyInUse
- set PROTECTED_BY_MIST, [hl] ; mon is now protected by mist
- callab PlayCurrentMoveAnimation
- ld hl, ShroudedInMistText
- jp PrintText
-.mistAlreadyInUse
- jpab PrintButItFailedText_
-
-ShroudedInMistText:
- TX_FAR _ShroudedInMistText
- db "@"