13 users online: 7 up,  Atari2.0, Hayashi Neru, ioscotty, Isikoro, JX444444, karls_Corinthia, Klug, neidoodle,  RussianMan, S.U,  Telinc1, Zavok - Guests: 53 - Bots: 209
Users: 58,010 (2,497 active)
Latest user: slavi

Hurt/Kill on Sound Effect Trigger

UberASM Repository → Hurt/Kill on Sound Effect Trigger

Submission Details

Name: Hurt/Kill on Sound Effect Trigger
Author: Kevin
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: Hurts or kills Mario when any sound effect starts playing (choose which option in the asm file).
Requested by Golden Yoshi.

Note: if you're using AddmusicK, make sure to follow the instructions in the readme provided. Also, if using AddmusicK 1.0.7, the pause/unpause sfx won't trigger the effect.
Tags: hurt kill lorom sa-1 sfx sound effect
Comments: 1 (jump to comments)
0.0 (0 ratings)
No rating
Download 1.36 KiB | 137 downloads

Comments (1)

JamesD28 Link
Tested with:

• Lunar Magic 3.21
• SA-1 Pack v1.32
• UberASM Tool 1.4
• AddmusicK 1.0.7
• Snes9x v1.60
• bsnes plus v05

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.