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

.align $100
SM_STEPS: //number of steps the sm should do before it dies
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e
.byte $00,$00,$00,$0d,$0d,$0e

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

.align $100
SM_DELAYS: //initial frame delays for each state machine
.byte $01,$01,$01,$05,$03,$01
.byte $01,$01,$01,$06,$04,$02
.byte $01,$01,$01,$07,$05,$03
.byte $01,$01,$01,$08,$06,$04
.byte $01,$01,$01,$09,$07,$05
.byte $01,$01,$01,$0a,$08,$06
.byte $01,$01,$01,$0b,$09,$07
.byte $01,$01,$01,$0c,$0a,$08
.byte $01,$01,$01,$0d,$0b,$09
.byte $01,$01,$01,$85,$83,$81
.byte $01,$01,$01,$86,$84,$82
.byte $01,$01,$01,$87,$85,$83
.byte $01,$01,$01,$88,$86,$84
.byte $01,$01,$01,$89,$87,$85
.byte $01,$01,$01,$8a,$88,$86
.byte $01,$01,$01,$8b,$89,$87
.byte $01,$01,$01,$fd,$fb,$f9
.byte $01,$01,$01,$fc,$fa,$f8
.byte $01,$01,$01,$fb,$f9,$f7
.byte $01,$01,$01,$fa,$f8,$f6
.byte $01,$01,$01,$f9,$f7,$f5
.byte $01,$01,$01,$f8,$f6,$f4
.byte $01,$01,$01,$f7,$f5,$f3
.byte $01,$01,$01,$f6,$f4,$f2
.byte $01,$01,$01,$f5,$f3,$f1
