mirror of https://github.com/pret/pokecrystal.git
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]
|
ld a, [(\2) screenrows + (\1) + \3]
|
||||||
endc
|
endc
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
|
ld_dims: MACRO
|
||||||
|
; register, width, height
|
||||||
|
lb \1, \3, \2
|
||||||
|
ENDM
|
||||||
|
|
Loading…
Reference in New Issue