diff options
author | yenatch <yenatch@gmail.com> | 2015-04-09 12:25:29 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-04-09 12:25:29 -0400 |
commit | 941d2b9eb8a59b42ea71a08b34b25c06477cf36d (patch) | |
tree | b304682416ef55ddb763759cab6d03aeb1af5f55 /engine/battle/moveEffects/mist_effect.asm | |
parent | c2efe700ac1c5cca88bac710b98388a99665741e (diff) | |
parent | 9739c26ed7fa89492cbc8609445d292ced48ee65 (diff) |
Merge pull request #93 from xCrystal/master
Document some move effects
Diffstat (limited to 'engine/battle/moveEffects/mist_effect.asm')
-rw-r--r-- | engine/battle/moveEffects/mist_effect.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/moveEffects/mist_effect.asm b/engine/battle/moveEffects/mist_effect.asm index adee1dfd..8394eec1 100644 --- a/engine/battle/moveEffects/mist_effect.asm +++ b/engine/battle/moveEffects/mist_effect.asm @@ -1,17 +1,17 @@ MistEffect_: ; 33f2b (c:7f2b) ld hl, W_PLAYERBATTSTATUS2 - ld a, [$fff3] + ld a, [H_WHOSETURN] and a - jr z, .asm_33f36 + jr z, .mistEffect ld hl, W_ENEMYBATTSTATUS2 -.asm_33f36 +.mistEffect bit ProtectedByMist, [hl] ; is mon protected by mist? - jr nz, .asm_33f4a + jr nz, .mistAlreadyInUse set ProtectedByMist, [hl] ; mon is now protected by mist callab PlayCurrentMoveAnimation ld hl, ShroudedInMistText jp PrintText -.asm_33f4a +.mistAlreadyInUse ld hl, PrintButItFailedText_ ld b, BANK(PrintButItFailedText_) jp Bankswitch |