shithub: pokecrystal

ref: 7d3ea88611efbc2f9b903063e2816b1cae1bad35
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