RGBDS syntax updates (#358)

New MACRO and DEF syntax
This commit is contained in:
vulcandth 2022-06-06 16:25:31 -05:00 committed by GitHub
parent d7808d110f
commit 6b5be9129c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
101 changed files with 958 additions and 958 deletions

View file

@ -214,7 +214,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

View file

@ -1,4 +1,4 @@
move: MACRO
MACRO move
db \1 ; animation (interchangeable with move id)
db \2 ; effect
db \3 ; power