mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Define ld_dims for in-order (width, height) pairs
This commit is contained in:
parent
2acc7f378a
commit
145a1c3441
@ -53,3 +53,8 @@ lda_coord: MACRO
|
||||
ld a, [(\2) screenrows + (\1) + \3]
|
||||
endc
|
||||
ENDM
|
||||
|
||||
ld_dims: MACRO
|
||||
; register, width, height
|
||||
lb \1, \3, \2
|
||||
ENDM
|
||||
|
Loading…
Reference in New Issue
Block a user