News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Missiles and shotblocks

Started by Mettyk25jigsaw, January 30, 2016, 04:17:43 AM

Previous topic - Next topic

Mettyk25jigsaw

Does anyone know of a way that you can make missiles 'not' be able to destroy shotblocks with bts 00 to 07  ? That is missiles only preferably, but if it has to include supers too, then no probs....Obviously I still want beams to destroy shot blocks...Any help would be greatly appreciated....

P.JBoy

#1
You'll have to code in a check for missiles yourself. The code that handles a shotblock being shot starts at $949E73.

The current projectile index is $0DDE, which you can use to index the projectile data at $0C18 to check if the bit for missiles is set (#$0100)
...