This commit is contained in:
scawful
2024-12-19 13:53:59 -05:00
parent 4927fa284b
commit a901945316
3 changed files with 23 additions and 3 deletions

View File

@@ -127,6 +127,13 @@ macro CheckFlag(flag_addr, bit_pos, set_label, clear_label)
BRA set_label
endmacro
macro CheckFlagLong(flag_addr, bit_pos, set_label, clear_label)
LDA.l flag_addr
AND.b #(1 << bit_pos)
BEQ clear_label
BRA set_label
endmacro
; Increase the sprite frame every (frames_wait) frames
; reset to (frame_start) when reaching (frame_end)
; This is using SprTimerB