mirror of https://github.com/pret/pokecrystal.git
hldims, bcdims, dedims
This commit is contained in:
parent
145a1c3441
commit
1321a70029
|
@ -27,6 +27,15 @@ bgcoord: MACRO
|
|||
endc
|
||||
ENDM
|
||||
|
||||
hldims EQUS "dims hl,"
|
||||
bcdims EQUS "dims bc,"
|
||||
dedims EQUS "dims de,"
|
||||
|
||||
dims: MACRO
|
||||
; register, width, height
|
||||
lb \1, \3, \2
|
||||
ENDM
|
||||
|
||||
dwcoord: MACRO
|
||||
; x, y
|
||||
rept _NARG / 2
|
||||
|
@ -53,8 +62,3 @@ 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