aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/move_effects
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-17 21:25:52 -0500
committerGitHub <noreply@github.com>2022-06-17 22:25:52 -0400
commitedb55e00f84024dd3634a25df8715e8b9cb3454b (patch)
tree043aa188ef8748d8bb3e52b4abe7570db7486ce9 /engine/battle/move_effects
parentMention WildDataPointers in map_constants.asm (diff)
downloadpokeyellow-edb55e00f84024dd3634a25df8715e8b9cb3454b.tar.gz
pokeyellow-edb55e00f84024dd3634a25df8715e8b9cb3454b.tar.xz
pokeyellow-edb55e00f84024dd3634a25df8715e8b9cb3454b.zip
Rename `SLP` to `SLP_MASK` (#361)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
Diffstat (limited to 'engine/battle/move_effects')
-rw-r--r--engine/battle/move_effects/haze.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/move_effects/haze.asm b/engine/battle/move_effects/haze.asm
index c15c848b..76722d0e 100644
--- a/engine/battle/move_effects/haze.asm
+++ b/engine/battle/move_effects/haze.asm
@@ -24,7 +24,7 @@ HazeEffect_:
.cureStatuses
ld a, [hl]
ld [hl], $0
- and SLP | (1 << FRZ)
+ and (1 << FRZ) | SLP_MASK
jr z, .cureVolatileStatuses
; prevent the Pokemon from executing a move if it was asleep or frozen
ld a, $ff