shithub: pokecrystal

ref: 6a9e929bf93badc306437104015d78b4bc339d25
dir: /engine/battle/move_effects/snore.asm/

View raw version
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