ASM Branch (C2) code troubles

Started by Almas, January 06, 2009, 10:12:52 PM

Previous topic - Next topic

Almas

#15
Thanks so much for your help - managed to complete the code at long last and also get some understanding behind it!

One of the glitches I had to work around was with a bne - I thought it meant you would skip the next X bits but instead you skip TO X bits ahead. Caused some bizarre crashes while I tried to figure out what was going on.
EDIT: The final product for those interested:

Short Hop Height/Fast Fall Speed Multiplier [Super Smash Bros: Brawl, American]
045A9304 XXXXXXXX
045A9308 YYYYYYYY
C285765C 00000006
3FC0805A 3BDE7304
2C002F20 4082000C
C3FE2000 EC3F0072
2C002F5C 4082000C
C3FE2004 EC3F0072
4E800020 00000000


Where the XXXXXXXX is a float to multiply normal shorthop height by, and YYYYYYYY the value to multiply fastfall speed by.

Thanks again for all your help.