diff options
author | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2020-12-24 16:55:24 +0000 |
---|---|---|
committer | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2020-12-24 18:31:19 +0000 |
commit | 0a1e2b2c6600143c848905fd6d1c54a58bfc4329 (patch) | |
tree | 76ead64fc69584a7653208f39f4e3f25f51c285b /src/macros | |
parent | d25383b1ea8b7f80393694167ad28759b8a06269 (diff) |
Identify and unpack frame animation data
Diffstat (limited to 'src/macros')
-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 |