shithub: pokecrystal

ref: b8fc67848e1d5911204fa42bbd9b954fdec6228a
dir: /engine/battle/move_effects/snore.asm/

View raw version
BattleCommand_Snore:
; snore
	ld a, BATTLE_VARS_STATUS
	call GetBattleVar
	and SLP
	ret nz
	call ResetDamage
	ld a, $1
	ld [wAttackMissed], a
	call FailMove
	jp EndMoveEffect