diff options
author | dannye <33dannye@gmail.com> | 2021-01-06 22:01:30 -0600 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2021-01-06 22:01:30 -0600 |
commit | 0dc8af64aab2658a882f73d34bd7a5cc6563f7a1 (patch) | |
tree | e9b1a552f849a7c4bef055725b018937b3f5c56c /src/macros/data.asm | |
parent | fec3f3580a54dbaa3dfb138398c92b37d6c58dee (diff) | |
parent | a99feeb46f165fd7c4419811be4b3f591d8f1dad (diff) |
Merge branch 'anims' of https://github.com/ElectroDeoxys/poketcg
Diffstat (limited to 'src/macros/data.asm')
-rw-r--r-- | src/macros/data.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/macros/data.asm b/src/macros/data.asm index 23de208..519468f 100644 --- a/src/macros/data.asm +++ b/src/macros/data.asm @@ -81,6 +81,18 @@ gfx: MACRO dw ($4000 * (BANK(\1) - BANK(CardGraphics)) + (\1 - $4000)) / 8 ENDM +frame_table: MACRO + db BANK(\1) - BANK(AnimData1) ; maybe use better reference for Bank20? + dw \1 +ENDM + +frame_data: MACRO + db \1 ; frame index + db \2 ; anim count + db \3 ; x translation + db \4 ; y translation +ENDM + tx: MACRO dw \1_ ENDM |