header : lorom !shoottimer = $1DFD !holdframes = #$10 org $00D08C autoclean JML FireballButtonCheck freedata FireballButtonCheck: BIT $15 BVC .checkspin LDA !shoottimer INC CMP !holdframes BCS .flashing STA !shoottimer JML $00D0AD .flashing ;SFX and flashing palettes here, too lazy to put it in a skeleton code JML $00D0AD .checkspin LDA !shoottimer BNE .nospin_shoot JML $00D090 .nospin_shoot CMP #$10 STZ !shoottimer BCC .normalfireball JSR .yoshifireball JML $00D0AD .normalfireball JML $00FEA8 .yoshifireball LDY #$09 - LDA $170B,y BEQ + DEY BPL - RTS + LDA #$11 STA $170B,y LDA $E4,x STA $171F,y LDA $14E0,x STA $1733,y LDA $D8,x STA $1715,y LDA $14D4,x STA $1729,y LDA #$00 STA $173D,y LDA #$00 STA $1747,y LDA #$FF STA $176F,y RTS