Language…
20 users online: Alex No,  AmperSam, Anas,  Anorakun, DanMario24YT, GiraffeKiller, Golden Yoshi, Green, Green Jerry, h.carrell, Hammerer, JikissGamer, MaffYuu, Maw, Metal-Yoshi94, Ray Hamilton, Rykon-V73,  StayAtHomeStegosaurus, Tulip Time Scholarship Games, Zatara - Guests: 303 - Bots: 457
Users: 64,795 (2,369 active)
Latest user: mathew

Switch between powerups

OpenASM

As the name implies, I'd like an UberASM code that allows the player to switch back and forth between a specified table of powerups with L and R respectively either in a level or the OW. However, they can only switch between the specified powerups if they are obtained somewhere in the game in some way, such as collecting the sprite for the powerup or touching a block which gives the player said powerup. If the player gets hit while in the status of one of the specified powerups, they cannot switch back to that lost powerup unless they collect it again.

For optimal convenience, there should be a table allowing the user to toggle the powerup-switching ability on a per-level basis, in case they're planning to use a counterbreak code. If any of the specified powerups are collected in the item box, then the switching ability should affect the item box, but this should be optional.

If the user wants, they can save the collected powerups to a certain free RAM address via SRAM/BW-RAM Plus. Also, I believe the custom powerups patch respects the $19 table (all custom powerups are stored there). I suggest you test it to see if it actually works fine though.

I think this concept will be brilliant for those who want the player to use different powerups flexibly in the same level instead of restricting them to one powerup at a time throughout the level. Thank you for reading and hope you understand what I mean.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Since it has been nearly a month since I made this request, I thought it would be fine to bump it. If this request seems obtusely specific for you to do, then by all means, please disregard it. Thank you.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

So you basically want a Bowser's Fury styled Item Reserve but with 1 of each powerup as the limit instead of 5?


YY-CHR > Photoshop.
Originally posted by BlueToad
So you basically want a Bowser's Fury styled Item Reserve but with 1 of each powerup as the limit instead of 5?


Well, switching between the reserve items would be cool, but I don't think it's necessary for me. I mentioned that just in case someone else would like it. And I haven't really played Bowser's Fury.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

Originally posted by Anas
Originally posted by BlueToad
So you basically want a Bowser's Fury styled Item Reserve but with 1 of each powerup as the limit instead of 5?


Well, switching between the reserve items would be cool, but I don't think it's necessary for me. I mentioned that just in case someone else would like it. And I haven't really played Bowser's Fury.

What I meant was that your request translated to Bowser's Fury's system of handling powerups, because:
  1. An item is added to the reserve when you collect it
  2. You lose that powerup permanently if you get hit until you collect it again
  3. You can switch between powerups at any time


By the way, I do not know any ASM myself, I just wrote this down so that people willing to take up this request understands what they are trying to code.


YY-CHR > Photoshop.
Aha, I see.
My Mode 0 guide.

My Discord server. It has a lot of archived ASM stuff, so check that out!

OpenASM