sm_effect_6.asm
defame-demogroup_c64_sa2019invite/rsrc/sm_effect_6.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,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27
.byte $00,$00,$00,$27,$27,$27

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

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

.align $100
SM_DELAYS: //initial frame delays for each state machine
.byte $0d,$02,$03,$03,$02,$01
.byte $0c,$02,$03,$03,$02,$02
.byte $0b,$02,$03,$03,$02,$03
.byte $0a,$02,$03,$03,$02,$04
.byte $09,$02,$03,$03,$02,$05
.byte $08,$02,$03,$03,$02,$06
.byte $07,$02,$03,$03,$02,$07
.byte $06,$02,$03,$03,$02,$08
.byte $05,$02,$03,$03,$02,$09
.byte $04,$02,$03,$03,$02,$0a
.byte $03,$02,$03,$03,$02,$0b
.byte $02,$02,$03,$03,$02,$0c
.byte $01,$02,$03,$03,$02,$0d
.byte $02,$02,$03,$03,$02,$0c
.byte $03,$02,$03,$03,$02,$0b
.byte $04,$02,$03,$03,$02,$0a
.byte $05,$02,$03,$03,$02,$09
.byte $06,$02,$03,$03,$02,$08
.byte $07,$02,$03,$03,$02,$07
.byte $08,$02,$03,$03,$02,$06
.byte $09,$02,$03,$03,$02,$05
.byte $0a,$02,$03,$03,$02,$04
.byte $0b,$02,$03,$03,$02,$03
.byte $0c,$02,$03,$03,$02,$02
.byte $0d,$02,$03,$03,$02,$01
