Language…
15 users online: Adsila, Angelito, GiraffeKiller, Gulaschko, Heitor Porfirio,  Hooded Edge, Koopster, mangort, MMXWL, NunteMusic, RZRider, Sammmoo, SmashNcrab, VitorSMHack, yoshi3706 - Guests: 109 - Bots: 169
Users: 62,929 (2,660 active)
Latest user: BAYRON

Save Power-Up to Item Box with L/R

UberASM Repository → Save Power-Up to Item Box with L/R

Submission Details

Name: Save Power-Up to Item Box with L/R
Author: AmperSam
Added:
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This UberASM will "steal" any of the 4 valid power-up states that Mario can be in (Big, Flower, Cape and Star) when you press L or R, and store the corresponding power-up in the item box. (As seen in my KLDC 2022 entry "Save It For Later").

Note: if Mario has a power-up AND has star power, e.g. cape and star, this ASM will steal the star power first. Only pressing L/R after stealing the star will steal the power-up.

This ASM comes with a few options:
- you can give Mario a handful of invincibility frames as if he took damage, to give players leeway to react
- you can disable stealing the star power altogether to prevent unintended use of the star
- you can enable dropping an existing power-up from the item box when stealing
Tags: item box lorom power-up sa-1 star
Comments: 1 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 1.45 KiB | 22 downloads

Screenshots

Comments (1)

 Burning Loaf Link
Tested with:
  • Mesen 2.0.0
  • Lunar Magic 3.33
  • SA-1 Pack 1.40
  • UberASM Tool 1.6

Neat mechanic. #tb{:]}
I've added a |!bank next to the JSL in the code.