Works as intended, so, accepted. There are a few less than ideal behaviours, but I wouldn't consider them issues since this mechanic by nature is very limiting anyway:
- When the !damage define is set to kill, the code runs in some additional situations that the hurt setting doesn't - some examples of this include collecting a star, the "No Yoshi" intros, and the level end sequence. This also means that when using the kill setting, the only vanilla ways to exit a level without dying are with a keyhole or side exit.
- The "Time is running out" counts as a SFX, so this will also hurt/kill Mario.
- When using AMK, collecting a powerup will not hurt Mario when using the hurt setting, but he will still die from collecting one if using the kill setting. When not using AMK, both settings hurt/kill Mario.