Language…
6 users online: Cappaque, Cote de Boeuf, JakesBRjust, papyrus074, ShadowBoxer_Sandshrew, spr0ches - Guests: 108 - Bots: 96
Users: 70,607 (2,480 active)
Latest user: Will605

Kill on x Button Presses UberASM

CompleteASM

Name
Kill on x Button Presses

Type
UberASM

Description
An UberASM that will kill the player once they have pressed a specific button x amount of times. Counter should reset upon every death or load/reload of a level. The amount of presses before death needs to be configurable. It would be nice if the button this measures could be configurable, but for my personal use I would only need to count the amount of "B" button presses. The counter does not need to be visible to the player, in my use case it wouldn't be, but if a visible counter could be configured that might be handy for other uses as well.
Apparently it was simpler than what I thought. You can download it here.

The amount of button presses for triggering Mario's death is limited to 255, I hope that's not a problem (I can increase it if needed).

Let me know if it is ok, or if I should make some changes.
ROM Hack Manager - SMW Resources - SMW Toolbox
Originally posted by zuccha
Apparently it was simpler than what I thought. You can download it here.


Wow, not only was that extremely fast, but the code and defines are masterfully commented! Excellent work, it's more than I could ask for! #smrpg{y}

CompleteASM