Language…
19 users online:  AmperSam,  Anorakun, Beed28, DanMario24YT, gizmo_321, Golden Yoshi, Green, h.carrell, Hammerer, JezJitzu, Mohamad20ZX, OrangeBronzeDaisy, Papangu, recam, Serge, signature_steve, SMW Magic, Spedinja, TrashCity - Guests: 282 - Bots: 410
Users: 64,795 (2,370 active)
Latest user: mathew

Disabling Mario/Luigi Life Exchanging

Hello,

I'm trying to find a way to somehow disable the ability to push the L and R buttons while on the overworld in two-player mode to keep the life exchange window from opening. My hack currently has Carol's SMB3 Warp Whistle custom sprite in it, but when I press L (which is the button Carol has set for warping), the life exchange window opens, and it only warps me after the window is closed. The reason I need this is because I usually play my hacks with friends and it's annoying to use the warp whistle because when L is pushed, the life exchange window pops up, and I'm not warped immediately, and after I close the window, the warp whistle doesn't make the sound effect it's supposed to. The screen only flashes and warps me. However, in one-player mode, the whistle works just fine--with the flash, the sound effect, and the warping. How can I somehow hack my ROM (I'm guessing it's with a hex editor like Translhextion or something) so that I can disable the life exchange window in two-player mode from appearing when the player presses L? I would like to add, however, that the life exchange window also appears when one of the players gets a Game Over while in two-player mode; that I would like to maintain.

I understand that this is a hefty request, and that it's most likely that a solution for my problem is completely out of the question, but I have been looking high and low for a possible answer to my problem already in the forums with no luck, so asking is my last shot. Hopefully someone familiar with ASM and advanced hex edits can help me.

Thanks in advance.
You could try to hex edit 0x2772B and change AD to 60.
Or try this patch (it does the same)

Code
header
lorom
ORG $04F52B
RTS

Anime statistic on MyAnimeList:
400 animes completed ✓
6000 episodes completed ✓
100 Days completed ✓
... what even am I doing with my life?
Hmmm... The window still shows up, though. The only change is that it makes the window blank and thus disables the life exchange part. What I mean is for the window to not show up at all, so that when the player presses L, nothing happens. That way, the warp whistle will warp the player immediately, without the window opening first. Do you think there's another alternative that simply disables the window from opening altogether and make it so that pressing L or R does nothing?

If not, then I guess the help thread has served its purpose in trying and I thank you for that. :)
try this:

Code
header : lorom
org $04836E
BRA $05	;$BEQ $05
Thank you! It worked perfectly, exactly like I wanted! #smw{:TUP:}