From c1ef7b75972fa4fbdf125bc85cc1a66f358151cd Mon Sep 17 00:00:00 2001 From: vulcandth Date: Mon, 6 Jun 2022 16:25:34 -0500 Subject: RGBDS syntax updates (#86) New MACRO and DEF syntax --- data/moves/animations.asm | 2 +- data/moves/moves.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'data/moves') diff --git a/data/moves/animations.asm b/data/moves/animations.asm index 15f1ad52..1cc44fe7 100644 --- a/data/moves/animations.asm +++ b/data/moves/animations.asm @@ -213,7 +213,7 @@ AttackAnimationPointers: ; if \2 is a subanimation_id: ;\3: tileset_id ;\4: delay -battle_anim: MACRO +MACRO battle_anim IF _NARG == 4 db (\3 << 6) | \4 db \1 - 1 diff --git a/data/moves/moves.asm b/data/moves/moves.asm index 0e52e01c..b7e5e7af 100644 --- a/data/moves/moves.asm +++ b/data/moves/moves.asm @@ -1,4 +1,4 @@ -move: MACRO +MACRO move db \1 ; animation (interchangeable with move id) db \2 ; effect db \3 ; power -- cgit v1.3.1-sl0p