Language…
22 users online:  7 up, Alansanchez412, Alex No, ameliaisonline, Angel Miranda,  Anorakun,  Blaagon, Charlie1019, Children's Playmate Magazine, Dark Prince, edidari, Evernn, EvilAdmiralKivi, fanfan21, Hot Sauce, KBY30, PyroKastrix, RobloxFindTheMarkes, Romiori,  Sayuri, wye,  zuccha - Guests: 185 - Bots: 105
Users: 69,204 (2,361 active)
Latest user: Glooblum

Exchange Lives for Powerups with Select Button

OpenASM

Hello!

Requesting a Patch or UberASM that will let you "spend" 1ups for powerups. While playing a level (not in overworld) you'd press "select" and Mario would gain either a Mushroom, Fire Flower, or Cape based on how many lives you can afford to spend (Never letting you spend lives that will put you below 1).

Example:
>Mushroom costs 4 lives.
Fire Flower costs 6 lives.
Cape cost 9 lives.
>When you press the select button, Mario is instantly powered up to whatever the most expensive powerup you can afford. (if you have 5-6 lives -> Mushroom, 7-8 lives Fire Flower, 10+ lives -> Cape).
>Lives are deducted from your 1UP Counter Instantly.

I'd be using this with item box disabled, and the following code that disables ever dropping below 1 Life.
Code
org $00D0D8
	LDA $0DBE
	BEQ NotGameOver
	DEC $0DBE
	BRA NotGameOver

org $00D0E6:
  NotGameOver

This would make collecting coins/lives useful in hacks that don't want to use the traditional life system.

Edit: I would also like it to play a sound when you press select if you don’t have enough lives to purchase a powerup. (Compatible with AddMusick)

If someone could help me with this it would be extremely appreciated! Been working on a hack called Ryckert’s Island over the last 3 years and this is the final system I need help with to release!
Your request has been automatically canceled and archived as it is older than 30 days and has not been claimed. More information on why this happens can be found here.

Please feel free to re-request it again by making a new thread, or request something else.

OpenASM