Fireworks

by ixitxachitl

Game:

Description:

!sprite = #$7A

LDA $9E
CMP #$4A
BEQ n1
CMP #$7B
BEQ n1
LDA !sprite
STA $9E

n1:
LDA $9F
CMP #$4A
BEQ n2
CMP #$7B
BEQ n2
LDA !sprite
STA $9F

n2:
LDA $A0
CMP #$4A
BEQ n3
CMP #$7B
BEQ n3
LDA !sprite
STA $A0

n3:
LDA $A1
CMP #$4A
BEQ n4
CMP #$7B
BEQ n4
LDA !sprite
STA $A1

n4:
LDA $A2
CMP #$4A
BEQ n5
CMP #$7B
BEQ n5
LDA !sprite
STA $A2

n5:
LDA $A3
CMP #$4A
BEQ n6
CMP #$7B
BEQ n6
LDA !sprite
STA $A3

n6:
LDA $A4
CMP #$4A
BEQ n7
CMP #$7B
BEQ n7
LDA !sprite
STA $A4

n7:
LDA $A5
CMP #$4A
BEQ n8
CMP #$7B
BEQ n8
LDA !sprite
STA $A5

n8:
LDA $A6
CMP #$4A
BEQ n9
CMP #$7B
BEQ n9
LDA !sprite
STA $A6

n9:
LDA $A7
CMP #$4A
BEQ n10
CMP #$7B
BEQ n10
LDA !sprite
STA $A7

n10:
LDA $A8
CMP #$4A
BEQ n11
CMP #$7B
BEQ n11
LDA !sprite
STA $A8

n11:
LDA $A9
CMP #$4A
BEQ n12
CMP #$7B
BEQ n12
LDA !sprite
STA $A9

n12:
RTL
back to listings