summaryrefslogtreecommitdiff
path: root/macros/scripts/battle_anims.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-10-30 12:26:04 -0400
committerGitHub <noreply@github.com>2020-10-30 12:26:04 -0400
commitd831e40b99853c8e29e3939bb100b6ecf03b1028 (patch)
tree7d97e9277ee405a77046481100bf11adbc325367 /macros/scripts/battle_anims.asm
parent26ddba8cfd8f035c06bd6419b64a6c4d7dbc226f (diff)
parentdb72c5103e807c4960ff62ca1764cac151288586 (diff)
Merge pull request #64 from Rangi42/unreferenced
Comment, remove, or revise many unreferenced labels
Diffstat (limited to 'macros/scripts/battle_anims.asm')
-rw-r--r--macros/scripts/battle_anims.asm4
1 files changed, 1 insertions, 3 deletions
diff --git a/macros/scripts/battle_anims.asm b/macros/scripts/battle_anims.asm
index 123a262a..a6ebe431 100644
--- a/macros/scripts/battle_anims.asm
+++ b/macros/scripts/battle_anims.asm
@@ -1,7 +1,5 @@
anim_wait: MACRO
-if \1 >= $d0
- fail "anim_wait argument must be less than $d0."
-endc
+ assert (\1) < $d0, "anim_wait argument must be less than $d0"
db \1
ENDM