PDA

View Full Version : [2.50.2] Setting LA_HOPPING on Land Freezes ZC



ZoriaRPG
07-26-2016, 08:21 AM
Reviving this, as i was never flagged as fixed.

Calling:

Link->Action = LA_HOPPING

...while Link is not in the water, causes ZC to lock up. F6 still works, but all input for Link is disabled, and of course, he doesn't hop if you set this anyway.

Saffith
07-26-2016, 12:10 PM
I could just add it to the list of things you're not allowed to set it, to, I guess. There isn't really anything sensible for it to do.

ZoriaRPG
07-26-2016, 05:55 PM
I'd prefer that setting it causes Link to hop, as exiting water; but whatever works for the present. Doesn't the hopping normally change his tile and adjust his Y or something?

For now, just let me know where you put the assign redirect, or whatever you use to block it; and if/when I feel like granting Link the ability to hop on command, I'll know where you forced it off.

Is LA_SPINNING similarly blocked, or does it just not know what to do when set?

Saffith
07-26-2016, 06:55 PM
Hopping is used for both entering and exiting water. There's nothing else special about it, though. Despite the name, he just walks in and out. It'll be checked at the beginning of LinkClass::setAction(), along with a bunch of others.
Spinning is allowed, but only if LInk is already using the sword.