shithub: pokecrystal

ref: 4c4fca1028c2d0906dc101d89ca6e0be4664c342
dir: /engine/battle/move_effects/snore.asm/

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

; 359e6