Language…
6 users online: anoMaly666, Brian94, HD_DankBaron, monkey03297,  Nanako, TheOrangeToad - Guests: 248 - Bots: 269
Users: 64,795 (2,377 active)
Latest user: mathew

L or R to spawn Bullet Bill

CompleteASM

Hello! I am looking for a custom ASM code that allows the player to press either the L or R button to spawn a bullet bill in front of them that moves in the direction they're facing. I would like the bullet bills to move slower than the ones in the vanilla game, so the player can jump on them easier.

https://www.smwcentral.net/?p=section&a=details&id=27201

I talked with someone on the SMWCentral Discord server and they said that it would not be too difficult to modify the ASM linked above to do what I would like it to do, but I am not ASM savvy at all, so I hope someone can help me out with this. I will also link the disassembly file for the bullet bill.

https://www.smwcentral.net/?p=section&a=details&id=26768

This would be a massive help for me. Thanks in advance to whoever accepts this! Contact me if you have any questions or issues. :D
Sure, I modified the UberASM to spawn the bullet disassembly:


The bullet sets its speed with this table:
XSpeed:
db $20,$E0...

To make it slower, you can try
db $18,-$18...

And to change how far the bullet spawns from mario, you can modify this table in the uberasm:
xoffset_lo:

(don't modify xoffset_hi)

CompleteASM