19 users online: Alucard648, DasFueller, DrFrankatron, FPI, Hennares, Lyfuh, magianegra21, Mapsking, mariobros123, MarioriaM, Minish Yoshi, monkey03297, MontyMoleLoreMaster, pnaha, Rudi_Schrausch, saulosama1,  Segment1Zone2, will___, Zatara - Guests: 190 - Bots: 171
Users: 64,424 (2,481 active)
Latest user: mariobros123

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
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)
0.0 (0 ratings)
No rating
Download 1.45 KiB | 45 downloads


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.