Tip: Layer 3 backgrounds and tides disappear when you hit a message box, so unless you apply this fix, plan your level around that. For example, you can add a sublevel without layer 3 at the start/midpoint, and include your message there.
This patch allows the player to have reversed gravity. Included are two gravity blocks and two UberASM for levels for gravity controlled by on-off blocks and gravity controlled by controller button presses; read the readme for more details.
I can definitely understand why many people can't get this to work - they either don't like Readme files, or they don't understand when it says the following:
Quote
Once this patch is inserted, asar should output "flip_gravity is located at: $location".
In order to flip gravity in your code, use JSL $location; modify the !flip_gravity defines in the included ASM.
And people end up overlooking this, and forget to change the !flip_gravity define.
That aside, I dislike this method either, since every time the patch is reapplied, that output address that is displayed in Asar tends to change. It'd be much better if the patch made a simple dummy JSL hijack in a fixed spot, thus making it not necessary to keep changing the damn ROM address define every time.
As people have stated below the controlled_gravity has an error which causes it not to function correctly. If you wish to use the controlled_gravity.asm version of this patch, remove lines 34 and 17 to make it work as intended.
Thanks, but is there a similar fix for on_off_gravity.asm?
As people have stated below the controlled_gravity has an error which causes it not to function correctly. If you wish to use the controlled_gravity.asm version of this patch, remove lines 34 and 17 to make it work as intended.
All the versions included in this patch are not working.
The controlled_gravity seems to double-trigger, the on_off_gravity softlocks the player and the blocks turn Mario invisible. I changed the freeRAM because I am using the SSPs, but there is definetly something wrong with this.
I share the same sentiments, I tried using this patch, specifically the On/Off Gravity, but every time I would hit an On/Off block, the game would crash.
This is a cool idea, I just wish it worked.
All the versions included in this patch are not working.
The controlled_gravity seems to double-trigger, the on_off_gravity softlocks the player and the blocks turn Mario invisible. I changed the freeRAM because I am using the SSPs, but there is definetly something wrong with this.
I'm not certain what might have caused it, but the controlled_gravity version included seems to not function properly. The ON/OFF block version functions correctly and perfectly. But even on a clean ROM the controlled_gravity version will double trigger every time that I press any button that I assign to change gravity, such that Mario does an odd flip in place that clips through ledges and gravity remains whatever it was beforehand. As a result, it is impossible to ever switch gravity, only maintain whatever gravity direction it was before. My theory is it has to do with the freeRAM interaction, but I'm not entirely certain, my debugging was not conclusive.
Nice patch but if I change !reversed = ... To an other number than 60 (for compatibilitie with GHB's Screen Scrolling Pipes), it do strange things. I use FreeRAM
Follow Us On