I'm making a Starman using the invincibility cheat code. It all works really well so far, but, as you know, the player cannot be crushed to death if he is invincible. With a Starman, the player is not supposed to be immune to crushing. However, I don't know how to recreate the crushing "algorithm."
Another thing: For a flying npc, such as a para-goomba (the one with a changeable AI), how do you chage the AI setting. I looked it up, but the NPC AI page wasn't helpful.







The flashing effect would be a bit annoying, though.