sm_effect_8.asm
defame-demogroup_c64_sa2019invite/rsrc/sm_effect_8.asm
.pc = $1000 "SM EFFECT DEFINITION"
SM_OFFSETS: //x offset of each statemachine (sets initial start location and then updated per frame)
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $00,$01,$02,$03,$04,$05
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22
.byte $27,$26,$25,$24,$23,$22

.align $100
SM_STEPS: //number of steps the sm should do before it dies
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06
.byte $07,$07,$07,$07,$06,$06

.align $100
SM_DELTAS: //distance deltas of each state machine - high bit is subtraction
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $06,$06,$06,$06,$06,$06
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86
.byte $86,$86,$86,$86,$86,$86



.align $100
SM_DELAYS: //initial frame delays for each state machine
.byte $01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01
.byte $08,$08,$08,$08,$08,$08
.byte $08,$08,$08,$08,$08,$08
.byte $08,$08,$08,$08,$08,$08
.byte $08,$08,$08,$08,$08,$08
.byte $08,$08,$08,$08,$08,$08
.byte $08,$08,$08,$08,$08,$08
.byte $10,$10,$10,$10,$10,$10
.byte $10,$10,$10,$10,$10,$10
.byte $10,$10,$10,$10,$10,$10
.byte $10,$10,$10,$10,$10,$10
.byte $10,$10,$10,$10,$10,$10
.byte $10,$10,$10,$10,$10,$10
.byte $18,$18,$18,$18,$18,$18
.byte $18,$18,$18,$18,$18,$18
.byte $18,$18,$18,$18,$18,$18
.byte $18,$18,$18,$18,$18,$18
.byte $18,$18,$18,$18,$18,$18
.byte $18,$18,$18,$18,$18,$18
.byte $18,$18,$18,$18,$18,$18
