Uberasm version of a patch made at request of: Ladida
Allows Mario to slide attack by running and ducking. Will kill any enemy that can be killed by a star.
As always, no credit necessary.
Hello, I have run into a glitch with this patch that will randomly kill Mario when sliding through a sprite (seems like any sprite will cause it).
I have made a post detailing my problems, theory as to why it's happening, and a video showing exactly what I mean, here https://www.smwcentral.net/?p=viewthread&t=101592
Unmentioned in the thread linked above, but it could also be caused when used in a level with Ice Physics.
Otherwise this is a very cool patch, and opens up a lot of cool options for level making.
EDIT: Binavik, and Monkeyfist01, have helped me understand what's going wrong here, and we were able to find a fix.
Putting a semicolon in front of lines [ LDA $1490|!addr ] and [ BNE .hasStar ] as well as changing [ LDA #$03 ] to [ LDA #$02 ] will fix this problem, however, it has a small side effect of giving Mario invincibility/star power for 3-4 frames after releasing the down input.
EDIT 2: This fix will also cause another side effect: If you collect a star, the slide mechanic will cancel out the star's power, as well as cause the star power music to play indefinitely until Mario dies and restarts the level.
Follow Us On