component VersatilePlayfield data: array of 0..255 baseoffset -1 end system VersatilePlayfield locals 2 on preframe do with [VersatilePlayfield] --- lda {{data}} sta {{$1}} --- on scanline do once --- .if {{arg 0}} = 0 lda ({{local 0}}),y tax .endif --- on scanline do once --- .if {{arg 0}} = 1 lda ({{local 0}}),y sta $00,x .endif --- on postframe do once --- lda #0 sta PF0 sta PF1 sta PF2 --- on checkplatform do with [HasXpos,HasYpos] --- lda {{