mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
13 lines
176 B
NASM
13 lines
176 B
NASM
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
|
|
|