pokecrystal-board/engine/battle/move_effects/snore.asm
vulcandth 5f0597e944
Rename SLP to SLP_MASK (#918)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-06-17 22:25:56 -04:00

11 lines
172 B
NASM

BattleCommand_Snore:
ld a, BATTLE_VARS_STATUS
call GetBattleVar
and SLP_MASK
ret nz
call ResetDamage
ld a, $1
ld [wAttackMissed], a
call FailMove
jp EndMoveEffect