Language…
13 users online: Dark Prince, Easy Difficulty,  Erik, ForthRightMC, hanokah, Hot Sauce, Isikoro, JeepySol, Koszmxr, Lyfuh, norwegianboyee, yoshiatom, ZedPakku - Guests: 94 - Bots: 162
Users: 69,698 (2,536 active)
Latest user: Konamicode895271

Press R to Switch Mario and Luigi Overworld

UberASM Repository → Press R to Switch Mario and Luigi Overworld

Submission Details

Name: Press R to Switch Mario and Luigi Overworld
Author: Bensalot
Added:
Type: Game Mode
Includes GFX: No
Includes Hijack: Yes
Featured: No
Description: This will switch the player from Mario to Luigi and back when Pressing the R button on the overworld during a Single Player game while leaving the 2 Player option intact.

It will take Mario's Score, Bonus Stars, Powerups, Yoshi's, overworld position and completely allows you to swap players without any odd behaviors like some of the other versions of "Switch Characters" blocks or patches.

This will work with Smallhacker's Separate Player graphics patch to give Luigi separate graphics from Mario. Instructions in the uberasm

Note: Does require a patch for asar that is included. It fixes the lives system so that you won't get weird behaviors when you get a game over as Luigi.

Also included a patch that maps player 1 and player 2 to the same controller.

* Made necessary changes mentioned in the removal log.
Now allows the user to undo changes made in the attached asm asar patch files by setting the value to 0.

Note: Included is a line of code to add to the separate luigi gfx patch V2 or below but this is not necessary for the uberasm to work properly. It is only a suggestion and only fixes an issue that the original patch had that I was able to find a fix for. If the V3 update I submitted is approved for the separate luigi gfx patch than there is no need to make any changes and again does not need to be done at all if the user does not wish to bother with it.
Tags: lorom luigi overworld player sa-1
Comments: 12 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 3.55 KiB | 679 downloads

Screenshots

Comments (12)

MegaSonic1999 Link
Are both Mario and Luigi able to keep the same powerups and amount of coins during swap?
Link13 Link
Glitch: When lives drop to 0, the player continues with 99 lives.
Zatara Link
When I finish a level with Luigi, "Mario Course Clear" appears. Is there any way to fix this or do I need to edit the Status Bar GFX to remove the Mario/Luigi names?
Apple Boy Link
Does this work with 32x32 players?
TyriqueM2005 Link
Hi, I'm new to smw hacking, just wandering if there was a way to add a player 3 and 4 to SMW and how I would do that I can't seem to find much help?
Mapping_bl Link
yes it is possible but nobody ever done it before
Skewer Link
The "3rd Player" and onwards does work to an extent, however, you're going to have to find a way to either reload P1 or P2 upon clearing a level because the OW will freak out; there is no register for P3 or onwards, so if you're in a submap, you won't load into the proper submap and otherwise.
 MarioFanGamer Link
Moderated with:
  • Lunar Magic v3.30
  • Asar v1.81
  • SA-1 Pack v1.40
  • BSNES v115
  • Separate Luigi Graphics v3
The UberASM code works as intended. Two suggestions:
Allow controller 2 to be enabled in two player mode and consider cleaning the freespace code if you revert lives.asm. It's technically a revert patch but it's better to just remove the hijack altogether than run the hijacked code in freespace. Reverting a freespace jump is a bit difficult but it looks like this:
Code
if read1($00A0BF) == $5C	; Or $22 for JSL
	autoclean read($00A0BF+1)
endif
Black Goku Link
Ohh. Ok.
Bensalot Author Link
Originally posted by Black Goku
Originally posted by AyGaAlPa
This UberASM include the OW luigi graphics??

The Separate OW Luigi graphics patch with Sa-1 support is in the files of Bensalot


It should be noted the separate ow luigi gfx patch you are referring to has a lot of flaws and requires a fair bit of work around. There is still an issue that scrambles up the ow when transitioning maps for example. I didnt realize the file was still there, if you want to use it I won't stop you, but use at your own risk.
Black Goku Link
Originally posted by AyGaAlPa
This UberASM include the OW luigi graphics??

The Separate OW Luigi graphics patch with Sa-1 support is in the files of Bensalot
AyGaAlPa Link
This UberASM include the OW luigi graphics??