summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/snore.asm
blob: e2432c59fb1de19d65e6e08f91c3fe69eab029e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
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