mirror of https://github.com/pret/pokecrystal.git
14 lines
191 B
NASM
14 lines
191 B
NASM
|
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
|