• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Request Code to take no hitstun?

divekicked

Smash Cadet
Joined
May 1, 2015
Messages
51
So it's pretty useful to play against the 20XX cpus to help your punish/edge guard game, but 90% of the time they are just dogging you and you can't really practice what you wanna practice efficiently. Is there a code where you take no hitstun/hitstop but still are notified when you are hit? Like how Fox's laser works, but for all hits.
 

SinsOfApathy

Smash Journeyman
Joined
Feb 24, 2015
Messages
474
NNID
Psion312
Here's the assembly that should work, but haven't tested. Don't have AsmwiiRD here to convert it atm. Will edit post later with Gecko Code.

Code type: C0
Code:
lis r24, 0x8045
ori r24, r24, 0x3080
lwz r23, 0(r24)
cmpwi r23, 0 #if == 0, P1 not in match
beq Exit

lwz r24, 0xB0(r24) #Grab player pointer from static struct
lwz r24, 0x2C(r24) #Point to Player Data
lwz r24, 0x2D4(r24) #Point to article FP @ 0x2420
lwz r24, -0xE0(r24) #Grab counter at 0x2340

cmpwi r24, 0 #if (counter == 0) due to grab, hitstun, or respawn
beq Exit
lis r23, 0x3F80 #Load FP 1 into r23
stw r23, 0(r24)

Exit:
blr
 
Last edited:

divekicked

Smash Cadet
Joined
May 1, 2015
Messages
51
Thanks, i know nothing of converting ASM to Gecko so whenever you get around to that ill be grateful
 

SinsOfApathy

Smash Journeyman
Joined
Feb 24, 2015
Messages
474
NNID
Psion312
Code:
C0000000 00000008
3F008045 63183080
82F80000 2C170000
41820024 831800B0
8318002C 831802D4
8318FF20 2C180000
4182000C 3EE03F80
92F80000 4E800020
60000000 00000000
 

divekicked

Smash Cadet
Joined
May 1, 2015
Messages
51
So i finally got around to testing it and it doesnt seem to work + plus it freezes in game randomly, maybe its different in dolphin idk
 

SinsOfApathy

Smash Journeyman
Joined
Feb 24, 2015
Messages
474
NNID
Psion312
So i finally got around to testing it and it doesnt seem to work + plus it freezes in game randomly, maybe its different in dolphin idk
20XX isn't compatible with the Gecko handler, because it's using that region. I realized that last night after the post.

I'll double-check if it's working on my end though. I wasn't 100% on if it would or not, but alternatively it could be done by hooking the hitstun calculation itself.
 

Achilles1515

Smash Master
Joined
Jun 18, 2007
Messages
3,211
Location
Cincinnati / Columbus OH
20XX isn't compatible with the Gecko handler, because it's using that region. I realized that last night after the post.

I'll double-check if it's working on my end though. I wasn't 100% on if it would or not, but alternatively it could be done by hooking the hitstun calculation itself.
The default Gecko codehandler will ALWAYS be compatible with the 20XX Hack Pack. I would never shoot myself in the foot like that.
 

Achilles1515

Smash Master
Joined
Jun 18, 2007
Messages
3,211
Location
Cincinnati / Columbus OH
Ah, guess I was thinking of all the reported crashes due to C2 codes.
Well, that's a good point because I was specifically talking about Dolphin and USB Loader GX because those are the only two I ever use. We've heard that Nintendont can't load C2 codes, but I was under the assumption that applied to vanilla Melee (and every GC game), rather than 20XX specifically.
 

SinsOfApathy

Smash Journeyman
Joined
Feb 24, 2015
Messages
474
NNID
Psion312
Well, that's a good point because I was specifically talking about Dolphin and USB Loader GX because those are the only two I ever use.
I'd imagine that those crashes are more due to conflicts with patched regions code, specifically because Netplay Community Settings is a bloated POS at this point, which is what most people complain about crashing from. And both your codes and NCS modify the Debug Menu.

We've heard that Nintendont can't load C2 codes, but I was under the assumption that applied to vanilla Melee (and every GC game), rather than 20XX specifically.
Someone reported this issue on Nintendont's Github last week, and FIX94 talked about moving the codes themselves back into the 8XXXXXXXX range while leaving the Geckohandler stub in the 9XXXXXXXX. That would fix this issue entirely.
 
Top Bottom