Originally posted by Nint3ndoleggend Originally posted by Hunter-
Hi, im not really experienced with sprite asm. However you could make contact with the sprite run the death subroutine ($00F606). If you need any help doing that i'd be glad to try to look through the sprite's asm and try to find out how for you. The palette is probably one of the values in "TileProperties" as seen below in the bullet_bill_1c.asm file.
Thank you! How can I find the sprite routine when it is touched by Mario? I would like to do that with other sprites too
This code would check for contact with the sprite and if it's the case, damage Mario. Note that you should check the option "Don't use default interaction with Mario" in the cfg editor:
JSL $01A7DC|!BankB ; \
BCC + ; | check for contact with Mario and damage it if it's the case
JSL $00F5B7|!BankB ; /