in response to your video:
The best way to specify which objects are allowed to trigger a tile is not in the changetileatcollision macro, but the tile scripts themselves (scripts> defined scripts, then on the next panel, Game>tile types>pick the tile you want. )
make sure you arent editing blank.asm
at the beginning of the tile type script for the tile you want only certain things to trigger, add something like this:
Code:
LDA Object_flags,x
AND #%00000010 ; is it a player?
BNE +
RTS
+
that will only allow player types
or
Code:
LDA Object_type,x
CMP #$06 ; is it object 6?
BEQ +
RTS
+
in that example, object #6 will trigger the tile at collision
if you want to be able to have more than 1 object that can trigger the tile, then you ould do it like this:
Code:
LDA Object_type,x
CMP #$01 ; is it object 1?
BEQ +
CMP #$06; is it object 6?
BEQ +
RTS ; if neither, then stop
+
;rest of the code goes under here