diff options
author | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2019-09-18 07:45:12 +0100 |
---|---|---|
committer | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2019-09-18 07:45:12 +0100 |
commit | 64f6e5a34a56c597f6ba846fd17281092f18aef8 (patch) | |
tree | 1dc1c39ea830fbd143cab7f21c990baa94a30769 /src/macros | |
parent | fbeee52c8f7e0679b440bc9cb35d335a79f9cfd5 (diff) | |
parent | 061a4bdc5a0ece89a5fad6279529d71926074084 (diff) |
Merge branch 'master' of https://github.com/pret/poketcg
Diffstat (limited to 'src/macros')
-rw-r--r-- | src/macros/data.asm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/macros/data.asm b/src/macros/data.asm index a7ac93d..f2a2210 100644 --- a/src/macros/data.asm +++ b/src/macros/data.asm @@ -88,4 +88,15 @@ ENDM textitem: MACRO db \1, \2 tx \3 +ENDM + +; cursor x / cursor y / attribute / idx-up / idx-down / idx-right / idx-left +; idx-[direction] means the index to get when the input is in the direction. +; its attribute is used for drawing a flipped cursor. +cursor_transition: MACRO + db \1, \2, \3 + rept 4 + db \4 + shift + endr ENDM
\ No newline at end of file |