Banner
Views: 828,458,647
Time:
26 users online:  1UPdudes, Amine Retro, Anorakun, autisticsceptile1993, broom, BrownBuddy, chickaDEE Magazine, Darkwoon,  Deeke, h.carrell, HackSMW, Jonzi37, MassPunishment, mikairanutshack, MiracleWater, MrDeePay, NewPointless, Pizzabusive, PWM, Sancles, Shingo, slopcore, Sping bot, timeisart, Wilson12, yert1232 - Guests: 71 - Bots: 118 Users: 44,372 (2,548 active)
Latest: yert1232
Tip: If you're using the wall-running purple triangles in your hack, remember to add tile 1EB (or a tile that acts like tile 1EB) underneath it. Extended object 44/45 will include this tile for you.Not logged in.
Help with low gravity UberASM code (I found a simpler one but need help still)
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Help with low gravity UberASM code (I found a simpler one but need help still)
Pages: « 1 »
I got this UberASM low gravity code. It works great, but it makes it so spinjumps and normal jumps are the same height. Jumps are also the same height no matter what speed they are at. I would prefer that the t-pose jump is the current height, and lower speed jumps are lower than they are currently. I know nothing about ASM, so is there any chance you can help me with that, too? Here is the code so you don't have to download it:




tahix edit: collapsed code.
Hey Neeberz, in the future, please put long blocks of code like above in the collapse tags for easier readability. Thank you.
Thanks, I'll make note of that #smw{:TUP:}
Hello? If there's anything wrong with my post or if the wrong place will someone tell me
Your question is perfectly valid! It's just the code is more or less needlessly complex, and at least I don't know off the top of my head how to adjust it to your needs. It looks like instead of actually changing the gravity, it just adjusts the player's Y speed for a certain amount of time to simulate lower gravity. What I think you'd need to do is initialize the timer with different values depending on your X speed and jump type.

If this thread gets no attention, have you tried asking on Discord yet?

--------------------


 
Don't have a Discord, and I have absolutely zero knowledge of ASM so I probably won't be able to fix any of it by myself, but I guess I'll try Itried and failed lol
Thanks for replying anyway
This one is okay too, and it's much more simple







but the code also breaks flying with a feather, so if you can help me so the code doesn't apply when flying that would be great. I also want to make Mario rise/fall slower and jump about 3 blocks lower. Help is appreciated
Well, to address your first issue, inserting the following lines of code right after "main:" will make it so the code doesn't run when Mario is in cape form:



Hope that helps! #tb{:)}

I'll try to find a way to implement your second and third requests, and I'll update this post if I get something working.
I want it to apply when you have a cape, but not when you are actually flying with it. Thanks for replying though
Sorry I misunderstood!

When you say fly do you mean all forms of Cape Mario flight or just the one when Cape Mario gets P-Speed?
Just when he has p-speed and jumps. I realized that I might need to disable slow falling with the cape, too, because that in combination with the low gravity slow falling might be a problem
I think this should be what you're looking for:



It basically checks whether Mario is flying, and if he is, it skips over the rest of the code.

Insert this where the other code I gave you is, but make sure you get rid of the other code, otherwise this one won't work. Your final code should look like this:



Oh, and disabling slow falling with the cape doesn't seem to be necessary since the code doesn't seem to affect Cape Mario's falling whatsoever.

About your requests for Mario to rise/fall slower and jump lower, I couldn't find an (easy) way to make it work. The only way I could find to do something like that would be to modify the actual Y speed values that Mario gets off of jumping at different X speeds, but that would require an asar patch. I couldn't find a way to get both the UberASM code and the asar patch to work on the same ROM, but I'm not very experienced with that sort of thing. Anyhow, I would recommend getting someone way more experienced with ASM to help you out with those larger things.

Hope I helped you! #tb{:D}
Thanks a million!
Anyone else know?
bump
Dude you can’t just post ”bump”. Didn’t the code you got from the last guy work? And really, get on discord.

Something mad powerful is on its way to Extra Mario World!
Oh! I'm sorry if you didn't see the shelless green koopa under my username, but I'm new to these forums and didn't know if posting bump (you know, Bring Up My Post) when your post asking for help is dead, was proper etiquette here. Now, about discord, I'm assuming your parents don't restrict what websites you can use using something called circle like mine or something else similar to it. Wow, you're very lucky. The code from a little bit ago did fix some problems but not all of them. Now shut up and leave unless you are going to be helpful.

Edit: sorry
Seeing as you're new to the forums let me be the first to let you know that we have etiquette here including not attacking other users who offer help, yes he was offering help by asking if the code didn't fix your issue.
Second you never said anything about issues still being present. You had 3 posts in a row a "thanks" assuming the issues were solved, a "anyone else" with nothing attached and finally a bump which was unneeded except you're being impatient. Not everyone is familiar with what you're running into and with that not giving info on your issue helps no one.

Count this as a slight warning to keep your attitude in check.
Sorry for losing my cool. As you can see from a seemingly confusing post by cpdj above, I had mentioned some other issues.\
Originally posted by cpdj
About your requests for Mario to rise/fall slower and jump lower, I couldn't find an (easy) way to make it work. The only way I could find to do something like that would be to modify the actual Y speed values that Mario gets off of jumping at different X speeds, but that would require an asar patch. I couldn't find a way to get both the UberASM code and the asar patch to work on the same ROM, but I'm not very experienced with that sort of thing. Anyhow, I would recommend getting someone way more experienced with ASM to help you out with those larger things.
Also mentioned it in this post. I accidentally edited the other times I mentioned it out when I was editing my posts from before, Ssrry for not making those requests clear

Again, sincere apologies, and next time I'll think more before I post. I would still appreciate help if anyone is able to give it
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Help with low gravity UberASM code (I found a simpler one but need help still)

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 16

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy