You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Move-unique effect commands consistently go in engine/battle/move_effects/
This commit is contained in:
13
engine/battle/move_effects/snore.asm
Normal file
13
engine/battle/move_effects/snore.asm
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user