|Details for Slide Attack|
|File Name:||Slide Attack|
|Authors:||HuFlungDu, Major Flare|
|Type:||Level, Game Mode|
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.
|Tags:||attack, lorom, physics, sa-1, slide|
Download - 464 bytes
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.
|Posted by: slopcore - | Link|
|Tested with: LM 3.04, UberASMTool 1.4, SA-1 1.31. Works as intended, so accepted (I just added the screenshot).|
|Posted by: KevinM - | Link|