Super Mario Advance 4 (P Switch codes)

MathUser

New member
Joined
Aug 15, 2025
Messages
20
I spent a long time trying to get solar magic advance to make a pswitch save file for super mario advance 4 to and was unsuccessful. I would rather have a patch that a save file anyway. This is the effects I wanted to add to the game:

1ups replaced with 3ups moon
falling into pits saves you from dying twice
add grass on levels (SMB2 Style)
turn enemies into coins (SMW Style)
Random Item box (SMW style)

Well, the codes work perfectly on visualboy advance, I dont know why they dont work on gpsp on psp.

Heres the codes if anyone wants to use these features.

These are the values.
0001 SMB2 plants
1000 Floating Platform Switch
0008 Hold Box Switch
0040 Fireball Into coins

This is the code with all these features combined.
83002D52 1049

3BF62471 2BA12A6E
723C9BC3 D352DDAD

This code works with the p-switch code list. Its the code to have all items while using Mario. I was having a hard time getting a patch for that so I just added a code instead of patch.

83002D52 3ACD
83002D64 0040
83003A8A 4000

This version of the code has all the previous codes/effects and also replaces all the enemies with harder ones, doubles the health of bosses, and awards double the normal points for beating them. Plus, when the player is hit with this switch active, they will always revert to small Mario/Luigi regardless of the current powerup, as was the case in the original Famicom version.


All the previous info was copy pasted from another website. I am looking to add all the pswitch codes to a gba patch. I wasn't able to find out how to make a cheatfile for GBA and visualboy advance is the only way I could do it. I don't really care to play it on pc.
 
I don't have the hardware to try it out. Not familiar with the encoding so far. For me it seems to be CPU bus and different regions have different encoding. Starting out with 8 should be the ROM I think..
Open the ROM in a hex editor..

1.webp

A: Seems what defines the type.
B: Seems to be the address. This can be ROM or RAM (with 8 it should be a ROM address)
C: Should be the new value to write into that location.

In this forum it is described much deeper.


I hope this will help you to translate the cheat codes and make the changes permanent to the ROM (if possible)
Since you can not make RAM patches this would be more involved to recreate something similar.
 
you go to gamehacking.org? I used to be an administrater there, I used iamstillhiro1112 name back then.
 
They have a forum, discord and a data base. I think it is one of the biggest archive. It is a cool scene and cheats can be a tone of fun.
Did you do a lot of cheats, or why did you leave the scene?

I been in the discord posting codes but my submission thread got deleted twice now.. but I was not too intressted to be active. Usually I do some along hacks. I might as well just share them in a readme/describitons.
 
Last I saw the forums got closed down. They are still, but the forum is just a archive. Yeah, I think I did a lot of codes. I was the first one to make infinite wing smash code for castlevania SOTN. Made it a little more like the saturn game by doing that. I also made a code to make the farie familiar sing when alucard sleeps.
 
I got these codes but they do nothing when I tried to patch them into the rom. Anyone else know how to do it?

  • Have e-Card Effect (RAW)<br>
  • SMB2 Plants<br>08001A46 2901<br><br>
  • Item Box<br>08042EAC 2801<br><br>
  • Hitting Enemies With Fireballs Turns Them Into Coins<br>08089092 2801<br><br>
  • Floating Platforms Appear When Falling In Pits<br>08092F28 2801
Have e-Card Effects (Action Replay 3.4)<br>
SMB2 Plants<br>23C04C6E FEF20B78<br>7055BCC5 F2E0D851<br><br>
Item Box<br>F570CB2E 0A63E53F<br>4CE4651B F6161959<br><br>
Hitting Enemies With Fireballs Turns Them Into Coins<br>E1333D6A 5A35EAF6<br>4CE4651B F6161959<br><br>
Floating Platforms Appear When Falling Into Pits<br>5CCE2167 FC6A9043<br>4CE4651B F6161959
 
Back
Top