mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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