Revise frame macro to account for flags in sprite anim framesets
This commit is contained in:
@@ -140,7 +140,14 @@ lda_coord: MACRO
|
||||
; pic animations
|
||||
frame: MACRO
|
||||
db \1
|
||||
db \2
|
||||
x = \2
|
||||
IF _NARG > 2
|
||||
rept _NARG +- 2
|
||||
x = x | (1 << (\3 + 1))
|
||||
shift
|
||||
endr
|
||||
endc
|
||||
db x
|
||||
ENDM
|
||||
setrepeat: MACRO
|
||||
db $fe
|
||||
|
Reference in New Issue
Block a user