• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Some PSA and BBox questions

GP&B

Ike 'n' Ike
Joined
May 8, 2009
Messages
4,609
Location
Orlando, FL
NNID
MetalDude
1. How do I input a negative value in a function? Putting in a minus (-) sign just results in a large number (71589 or something and it's got a few decimal places after). For an example, I'm trying to subtract character velocity.

2. Related to this, how is it that I make a special completely negate the present horizontal and vertical velocities? I copied almost everything in Yoshi's Down B actions (including the actions that the special is redirected to) for Lloyd's Rising Falcon and he can still be controlled in the air and even turn around when he's not supposed to. A bit clear on RA-bit[18] doesn't do anything either (the one that dictates whether you can control yourself during a special).

3. Also related to the previous two questions although this one kind of requires that you actually see the animations and coding to help but I'll ask anyways. While Rising Falcon goes off fine in the air (except for the control problem), grounded Rising Falcon leaves him stuck on the last frame of the animation without him descending at all. I compared how Yoshi's bones work when he's put into the air and how Lloyd's bones work and they both bring the same bones off the ground and leave one on the ground.

If it helps, two functions I took from Yoshi that I didn't really know what they did are 0D000200 and 04060100. If a PSA expert could tell me what those do, that'd be great.

4. Jab attack has, for the most part, been figured out on linking. Just one small error that makes Attack12 automatically link into Attack13 that I need to fix now.

5. Is there a certain image format that sword trails need to be in to work? Lloyd replaces Wolf so the first part is 002D. But no matter what I tested with the second part (0001, 2, 3, 4, 5, etc.), the two images I had for sword trails (both on separate swords) did not apply even though I do have the sword trail function working in game (purely white and no transparency). The same applies for sword glows.
 

standardtoaster

Tubacabra
Joined
Nov 26, 2009
Messages
9,253
Location
Eau Claire, Wisconsin
Are you using PSA 1.3? It doesn't show negatives properly.

Probably some special floats that control movement.

0D000200 Concurrent Infinite Loop Runs a subroutine once per frame for the current action.

04060100 Set Animation Frame Changes the current frame of the animation. Does not change the frame of the subaction (i.e. timers and such are unaffected).
 

GP&B

Ike 'n' Ike
Joined
May 8, 2009
Messages
4,609
Location
Orlando, FL
NNID
MetalDude
Are you using PSA 1.3? It doesn't show negatives properly.

Probably some special floats that control movement.

0D000200 Concurrent Infinite Loop Runs a subroutine once per frame for the current action.

04060100 Set Animation Frame Changes the current frame of the animation. Does not change the frame of the subaction (i.e. timers and such are unaffected).
Yes I am. Is there anything I can do about that or is putting in a negative still going to work properly anyways?

I don't know what I can do with Concurrent Infinite Loop (mostly given that I don't know how the subroutines operate), but I do know how to work with Set Animation Frame and that actually cuts out an unncecessary one frame animation. That also might explain why the aerial version just jumps into the diving frame. I don't know what the parameters are but I could probably look at Yoshi's animations and see if the frame number and one of the numbers in that function match up.

EDIT: Found that the second parameter in CIP is the subroutine. In Wolf's moveset, there's two of these functions that lead to two different subroutines, both with button press requirements, the second one having a subaction change. This makes perfect sense now. The function runs this subroutine once per frame that checks for the jab button to be pressed again to initiate the next jab move.

I updated questions 3 and 4. I found out the answer to the latter.

Thanks for the help with these two. Anything else you could help with?
 
Top Bottom