SnoozyBoi
Life, man. It's all just one big Rat Run, huh?
So, another thing I wanted to do with lua scripting was try to make it so When you bounce off of a spring, object or enemy, your midair ability (in this case CA_DOUBLEJUMP) is "recharged" so you can chain them together. I had found and tried using the object flag MFE_SPRUNG as a base but it only seemed to affect local variables for custom moves (candive) and not the jump move.
attached is the code I wrote for this, but I'm sure it would need to be broader in scope than what I've already written.
If anyone can figure out what flags I would need to swap around, lemme know! I'm learning lua fairly quickly but there's a bunch of small stuff im still working out.
(also, thought this might be important, the player has SF_NOJUMPSPIN as well, and I haven't implemented jumping frames so the spring frames are standing in)
attached is the code I wrote for this, but I'm sure it would need to be broader in scope than what I've already written.
If anyone can figure out what flags I would need to swap around, lemme know! I'm learning lua fairly quickly but there's a bunch of small stuff im still working out.
(also, thought this might be important, the player has SF_NOJUMPSPIN as well, and I haven't implemented jumping frames so the spring frames are standing in)