Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db $42
- JMP Invalid : JMP Invaild : JMP Invalid : JMP Ivalid : JMP Invalid : JMP ValidC : JMP ValidFB : JMP Invalid : JMP Invalid : JMP Invalid
- !FreeRAM = $0079 ;Set this to a free/unused RAM address. Don't touch it if you don't know what that means.
- ValidC:
- LDA !FreeRAM
- CMP #$04
- BCS Shatter
- INC !FreeRAM
- INC !FreeRAM
- RTL
- ValidFB:
- LDA !FreeRAM
- CMP #$04
- BCS Shatter
- INC !FreeRAM
- RTL
- Shatter:
- LDA #$02 ;\
- STA $9C ; \
- JSL $00BEB0 ; \
- PHB ; \
- LDA #$02 ; \
- PHA ; |Shatter the block. Set "LDA #$00" to "LDA #$01" for rainbow explosion.
- PLB ; /
- LDA #$00 ; /
- JSR $028663 ; /
- PLB ;/
- RTL
- Invalid:
- RTL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement